WP Staging – DB & File Duplicator & Migration - Version 2.11.0

Version Description

  • New: Compatible up to WordPress 6.1.1
  • New: Add support for uploading backups to DigitalOcean Spaces, Wasabi and other S3 compatible storages #1966
  • Enh: Allow backup upload to Amazon S3 when bucket has Lock Object and retention enabled #1973
  • Enh: Show warning if test connection to backup storage provider fails during save settings #1965
  • Enh: Show warning if there are more than 4 overdue backup cron jobs #1986
  • Enh: Show message if unable to pre-scan directories before cloning #1993
  • Fix: Could not delete oldest backup from (S)FTP cloud storage provider if FTP location was set in FTP settings #1953
  • Fix: Under rare circumstances a fatal error is thrown during backup if scheduled time is NULL
  • Fix: SSL and Passive checkboxes were not considered during FTP backup storage test connection #1965
  • Fix: Fatal error when set_time_limit() has been disabled by the hosting provider #1977
  • Fix: Preserve backup cloud storage provider settings when pushing and improve Google Drive backup authentication #1999
  • Dev: Deprecated heredoc syntax for variables. Fix unit tests for php 8.2RC #1975

2.10.0 * New: Compatible up to WordPress 6.0.3 * New: Show loader icon while saving settings or testing backup remote storages connections #1925 * New: Show settings last saved time for backup remote storages SFTP, Amazon S3 and Google Drive #1925 * New: Show last update and install date for WP STAGING|PRO plugin in System Info #1928 * New: Show selected themes and plugins for UPDATE and RESET clone jobs #1926 * New: Fix issues when restoring multisites backup if network subsites have different domains. It now support restore or conversion of domain based subsite to subdirectory based subsite #1872 * New: Option to disable local storage space and upload backup(s) only to remote storage spaces #1935 * Enh: Huge improve of backup restoring performance by factor 2-3. #1951 * Enh: Huge improve of backup creating performance on slow database servers. #1951 * Enh: Add extra search & replace rule for elementor generated data #1902 * Enh: Add dropdown to select bucket region for S3 backups instead of typing it in manually. Improve Amazon S3 settings page #1943 * Enh: Skip search & replace if restoring a backup on the same site #1949 * Enh: Add extra search & replace rule for elementor generated data #1949 * Enh: Add search replace filter for database backup restore #1872 * Enh: Allow access of staging site by using user email addresses beside usernames #1928 * Enh: Add option to not ask for license key activation on local development sites #1913 * Enh: Add better log messages for non working cron jobs #1907 * Fix: Prevent a rare situation where the database is copied slowly with only one row per request #1951 * Fix: Table selection ignored when creating a new staging site #1946 * Fix: Could not properly restore network sites when a multisite backup was restored on a new WordPress that had a different table prefix than the source website #1948 * Fix: Adjusted multiple SplFileObject methods (due to unconsistent behaviour of these methods across multiple PHP versions) to support PHP 8.0 > 8.0.19, PHP 8.1 > 8.1.6 and upcoming PHP 8.2 #1903 * Fix: Deleting the oldest remote backup from SFTP, Amazon S3 and Google Drive fails sometimes #1890 * Fix: No update notification visible in wp staging user interface when there is a new pro version available #1894 * Fix: Clean up code #1871 * Fix: Unable to create backup if there are files in WP STAGING cache folder that can not be deleted like .nfs* files. #1859 * Fix: Analytics reporting does not contain the list of installed plugins #1896 * Fix: If an Amazon S3 api key contained + character, it turned into space character when saving in database #1912 * Fix: Always store the names of installed plugins, mu-plugins and themes in backup metadata #1906 * Fix: When restoring database with large amount of tables on PHP > 8.0.1 some tables doesn't get created due unconsistent behaviour of FileObject library across PHP versions. #1872 * Fix: Undefined var message in the log files if SSL connection could not be established due to outdated TLS on client server #1913 * Fix: While creating a single staging site out of a network site, the folders (uploads/sites/ID) from other network sites weren't excluded and contained in the staging site #1922 * Fix: Selecting parent folder does not automatically select its subfolders for UPDATE and RESET clone jobs. #1926 * Fix: Amazon S3 only supports a maximum of 10,000 chunks for uploading a single backup file. With previous 5MB chunk size, backup uploads to S3 failed if they are bigger than 50 GB. Now backup chunk size is adjusted according to the size of the backup file by making sure total chunks are less than 10,000 #1924 * Fix: Error when pushing a staging site and all folders are selected #1883 * Dev: Add testing suite to run unit tests against multiple PHP versions #1903 * Dev: Add sass/scss support for compiling css #1925 * Dev: Add Xdebug support for PHP 8.1, use custom php.ini in PHP 8.0 and PHP 8.1 #1928 * Dev: Update DI52 version to 3.0 for performance gain #1934

Download this release

Release Info

Developer ReneHermi
Plugin Icon 128x128 WP Staging – DB & File Duplicator & Migration
Version 2.11.0
Comparing to
See all releases

Code changes from version 2.10.0 to 2.11.0

Files changed (33) hide show
  1. Backend/Administrator.php +0 -81
  2. Backend/Modules/Jobs/Job.php +1 -1
  3. Backend/Modules/Jobs/JobExecutable.php +15 -4
  4. Backend/Modules/Jobs/Scan.php +8 -3
  5. Backend/Modules/SystemInfo.php +127 -41
  6. Backend/views/backup/free-version.php +1 -1
  7. Backend/views/backup/listing.php +2 -2
  8. Backend/views/backup/modal/export.php +1 -1
  9. Backend/views/settings/tabs/general.php +15 -21
  10. Backend/views/settings/tabs/storages/amazons3-settings.php +9 -94
  11. Backend/views/settings/tabs/storages/base-s3-settings.php +114 -0
  12. Backend/views/settings/tabs/storages/digitalocean-spaces-settings.php +16 -0
  13. Backend/views/settings/tabs/storages/generic-s3-settings.php +145 -0
  14. Backend/views/settings/tabs/storages/googledrive-settings.php +2 -1
  15. Backend/views/settings/tabs/storages/wasabi-s3-settings.php +16 -0
  16. Backend/views/tools/tabs/import_export.php +0 -57
  17. Core/Utils/Cache.php +2 -2
  18. Core/Utils/functions.php +0 -20
  19. Framework/Analytics/AnalyticsEventDto.php +1 -0
  20. Framework/BackgroundProcessing/Queue.php +1 -1
  21. Framework/Facades/Sanitize.php +1 -1
  22. Framework/Filesystem/Filters/RecursivePathExcludeFilter.php +2 -0
  23. Framework/Queue/FileSeekableQueue.php +6 -0
  24. Framework/Traits/ResourceTrait.php +1 -1
  25. Framework/Utils/Sanitize.php +1 -1
  26. Framework/Utils/ServerVars.php +18 -0
  27. assets/css/dist/wpstg-admin.css +3 -6
  28. assets/css/dist/wpstg-admin.css.map +1 -1
  29. assets/css/dist/wpstg-admin.min.css +1 -1
  30. assets/css/dist/wpstg-admin.min.css.map +1 -1
  31. assets/js/dist/wpstg-admin.js +8 -7
  32. assets/js/dist/wpstg-admin.js.map +1 -1
  33. assets/js/dist/wpstg-admin.min.js +1 -1
Backend/Administrator.php CHANGED
@@ -127,8 +127,6 @@ class Administrator
127
  add_action("admin_menu", [$this, "addMenu"], 10);
128
  add_action("admin_init", [$this, "upgrade"]);
129
  add_action("admin_post_wpstg_download_sysinfo", [$this, "systemInfoDownload"]);
130
- add_action("admin_post_wpstg_export", [$this, "export"]);
131
- add_action("admin_post_wpstg_import_settings", [$this, "import"]);
132
  add_action("admin_notices", [$this, "messages"]);
133
 
134
  if (!defined('WPSTGPRO_VERSION')) {
@@ -376,7 +374,6 @@ class Administrator
376
  {
377
  // Tabs
378
  $tabs = new Tabs([
379
- "import_export" => __("Import/Export", "wp-staging"),
380
  "system_info" => __("System Info", "wp-staging")
381
  ]);
382
 
@@ -402,84 +399,6 @@ class Administrator
402
  echo esc_html(wp_strip_all_tags(new SystemInfo()));
403
  }
404
 
405
- /**
406
- * Import JSON settings file
407
- */
408
- public function import()
409
- {
410
- if (empty($_POST["wpstg_import_nonce"])) {
411
- return;
412
- }
413
-
414
- if (!wp_verify_nonce($_POST["wpstg_import_nonce"], "wpstg_import_nonce")) {
415
- return;
416
- }
417
-
418
- if (!current_user_can("update_plugins")) {
419
- return;
420
- }
421
-
422
- $importFile = isset($_FILES["import_file"]) ? $this->sanitize->sanitizeFileUpload($_FILES["import_file"]) : null;
423
- if ($importFile === null) {
424
- wp_die("Please upload a valid .json file", "wp-staging");
425
- }
426
-
427
- $fileExtension = explode('.', $importFile["name"]);
428
- $fileExtension = end($fileExtension);
429
- if ($fileExtension !== "json") {
430
- wp_die("Please upload a valid .json file", "wp-staging");
431
- }
432
-
433
-
434
- $importFile = $importFile["tmp_name"];
435
-
436
- if (empty($importFile)) {
437
- wp_die(esc_html__("Please upload a file to import", "wp-staging"));
438
- }
439
-
440
- update_option("wpstg_settings", json_decode(file_get_contents($importFile, true)));
441
-
442
- wp_safe_redirect(admin_url("admin.php?page=wpstg-tools&wpstg-message=settings-imported"));
443
-
444
- return;
445
- }
446
-
447
- /**
448
- * Export settings to JSON file
449
- */
450
- public function export()
451
- {
452
- if (empty($_POST["wpstg_export_nonce"])) {
453
- return;
454
- }
455
-
456
- if (!wp_verify_nonce($_POST["wpstg_export_nonce"], "wpstg_export_nonce")) {
457
- return;
458
- }
459
-
460
- if (!current_user_can("manage_options")) {
461
- return;
462
- }
463
-
464
- $settings = get_option("wpstg_settings", []);
465
-
466
- ignore_user_abort(true);
467
-
468
- // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.safe_modeDeprecatedRemoved
469
- if (!in_array("set_time_limit", explode(',', ini_get("disable_functions")))) {
470
- set_time_limit(0);
471
- }
472
-
473
- $fileName = apply_filters("wpstg_settings_export_filename", "wpstg-settings-export-" . date("m-d-Y")) . ".json";
474
-
475
- nocache_headers();
476
- header("Content-Type: application/json; charset=utf-8");
477
- header("Content-Disposition: attachment; filename={$fileName}");
478
- header("Expires: 0");
479
-
480
- echo json_encode($settings);
481
- }
482
-
483
  /**
484
  * Render a view file
485
  * @param string $file
127
  add_action("admin_menu", [$this, "addMenu"], 10);
128
  add_action("admin_init", [$this, "upgrade"]);
129
  add_action("admin_post_wpstg_download_sysinfo", [$this, "systemInfoDownload"]);
 
 
130
  add_action("admin_notices", [$this, "messages"]);
131
 
132
  if (!defined('WPSTGPRO_VERSION')) {
374
  {
375
  // Tabs
376
  $tabs = new Tabs([
 
377
  "system_info" => __("System Info", "wp-staging")
378
  ]);
379
 
399
  echo esc_html(wp_strip_all_tags(new SystemInfo()));
400
  }
401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  /**
403
  * Render a view file
404
  * @param string $file
Backend/Modules/Jobs/Job.php CHANGED
@@ -217,7 +217,7 @@ abstract class Job implements ShutdownableInterface
217
  public function log($msg, $type = Logger::TYPE_INFO)
218
  {
219
  if (!isset($this->options->clone)) {
220
- $this->options->clone = date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));
221
  }
222
 
223
  if ($this->hasLoggedFileNameSet === false && strlen($this->options->clone) > 0) {
217
  public function log($msg, $type = Logger::TYPE_INFO)
218
  {
219
  if (!isset($this->options->clone)) {
220
+ $this->options->clone = time();
221
  }
222
 
223
  if ($this->hasLoggedFileNameSet === false && strlen($this->options->clone) > 0) {
Backend/Modules/Jobs/JobExecutable.php CHANGED
@@ -2,7 +2,9 @@
2
 
3
  namespace WPStaging\Backend\Modules\Jobs;
4
 
 
5
  use WPStaging\Framework\Utils\Strings;
 
6
 
7
  // No Direct Access
8
  if (!defined("WPINC")) {
@@ -43,11 +45,20 @@ abstract class JobExecutable extends Job
43
  // Calculate total steps
44
  $this->calculateTotalSteps();
45
 
46
- // Set server settings (Do not set this globally. HS Ticket #9061)
47
- wpstg_setup_environment();
 
48
 
49
- // TODO: inject using DI
50
- $this->strUtil = new Strings();
 
 
 
 
 
 
 
 
51
  }
52
 
53
  /**
2
 
3
  namespace WPStaging\Backend\Modules\Jobs;
4
 
5
+ use WPStaging\Core\WPStaging;
6
  use WPStaging\Framework\Utils\Strings;
7
+ use WPStaging\Framework\Utils\ServerVars;
8
 
9
  // No Direct Access
10
  if (!defined("WPINC")) {
45
  // Calculate total steps
46
  $this->calculateTotalSteps();
47
 
48
+ // Set server settings for jobs (Do not set this globally as this will affect other plugins and even wp core then as well. Helpscout Ticket #9061)
49
+ // Set whether a client disconnect should abort script execution
50
+ @ignore_user_abort(true);
51
 
52
+ // Set maximum execution time
53
+ WPStaging::make(ServerVars::class)->setTimeLimit(0);
54
+
55
+ // Set maximum time in seconds a script is allowed to parse input data
56
+ @ini_set('max_input_time', '-1');
57
+
58
+ // Set maximum backtracking steps
59
+ @ini_set('pcre.backtrack_limit', PHP_INT_MAX);
60
+
61
+ $this->strUtil = WPStaging::make(Strings::class);
62
  }
63
 
64
  /**
Backend/Modules/Jobs/Scan.php CHANGED
@@ -454,14 +454,19 @@ class Scan extends Job
454
  try {
455
  $directories = new DirectoryIterator($dirPath);
456
  } catch (UnexpectedValueException $ex) {
 
 
 
 
 
457
  echo json_encode([
458
  'success' => false,
459
  'type' => '',
460
  // TODO: Create a Swal Response Class and Js library to handle that response or, Implement own Swal alternative
461
  'swalOptions' => [
462
- 'title' => __('Error!', 'wp-staging'),
463
- 'html' => $ex->getMessage(),
464
- 'cancelButtonText' => __('Ok', 'wp-staging'),
465
  'showCancelButton' => true,
466
  'showConfirmButton' => false,
467
  ],
454
  try {
455
  $directories = new DirectoryIterator($dirPath);
456
  } catch (UnexpectedValueException $ex) {
457
+ $errorMessage = $ex->getMessage();
458
+ if ($ex->getCode() === 5) {
459
+ $errorMessage = esc_html__('Access Denied: No read permission to scan the root directory for cloning. Alternatively you can try the WP STAGING backup feature!', 'wp-staging');
460
+ }
461
+
462
  echo json_encode([
463
  'success' => false,
464
  'type' => '',
465
  // TODO: Create a Swal Response Class and Js library to handle that response or, Implement own Swal alternative
466
  'swalOptions' => [
467
+ 'title' => esc_html__('Error!', 'wp-staging'),
468
+ 'html' => $errorMessage,
469
+ 'cancelButtonText' => esc_html__('Ok', 'wp-staging'),
470
  'showCancelButton' => true,
471
  'showConfirmButton' => false,
472
  ],
Backend/Modules/SystemInfo.php CHANGED
@@ -37,7 +37,7 @@ class SystemInfo
37
  public function __construct()
38
  {
39
  $this->isMultiSite = is_multisite();
40
- $this->helper = new Utils\Helper();
41
  }
42
 
43
  /**
@@ -99,7 +99,7 @@ class SystemInfo
99
  */
100
  public function info($title, $value)
101
  {
102
- return str_pad($title, 56, ' ', STR_PAD_RIGHT) . $value . PHP_EOL;
103
  }
104
 
105
  /**
@@ -161,24 +161,95 @@ class SystemInfo
161
  */
162
  public function wpstaging()
163
  {
164
- // Get wpstg settings
165
  $settings = (object)get_option('wpstg_settings', []);
166
 
167
- $output = "-- WP STAGING Settings" . PHP_EOL . PHP_EOL;
168
- $output .= $this->info("Query Limit:", isset($settings->queryLimit) ? $settings->queryLimit : 'undefined');
169
- $output .= $this->info("DB Search & Replace Limit:", isset($settings->querySRLimit) ? $settings->querySRLimit : 'undefined');
170
- $output .= $this->info("File Copy Limit:", isset($settings->fileLimit) ? $settings->fileLimit : 'undefined');
171
- $output .= $this->info("Batch Size:", isset($settings->batchSize) ? $settings->batchSize : 'undefined');
172
- $output .= $this->info("CPU Load:", isset($settings->cpuLoad) ? $settings->cpuLoad : 'undefined');
173
- $output .= $this->info("WP in Subdir:", $this->isSubDir() ? 'true' : 'false');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
  $output .= PHP_EOL . PHP_EOL . "-- Available Sites. Version < 1.1.6.x" . PHP_EOL . PHP_EOL;
176
 
177
  // Clones data < 1.1.6.x
178
  $clones = (object)get_option('wpstg_existing_clones', []);
179
- foreach ($clones as $key => $value) {
180
- $output .= $this->info("Site name & subfolder :", $value);
 
 
181
  }
 
182
  $output .= PHP_EOL . PHP_EOL . "-- Available Sites. Version > 2.0.x" . PHP_EOL . PHP_EOL;
183
 
184
  // Clones data version > 2.x
@@ -188,15 +259,15 @@ class SystemInfo
188
  // make sure $stagingSites is an array
189
  if (is_array($stagingSites)) {
190
  foreach ($stagingSites as $key => $clone) {
191
- $path = !empty($clone['path']) ? $clone['path'] : 'undefined';
192
 
193
- $output .= $this->info("Number:", isset($clone['number']) ? $clone['number'] : 'undefined');
194
- $output .= $this->info("directoryName:", isset($clone['directoryName']) ? $clone['directoryName'] : 'undefined');
195
  $output .= $this->info("Path:", $path);
196
- $output .= $this->info("URL:", isset($clone['url']) ? $clone['url'] : 'undefined');
197
- $output .= $this->info("DB Prefix:", isset($clone['prefix']) ? $clone['prefix'] : 'undefined');
198
  $output .= $this->info("DB Prefix wp-config.php:", $this->getStagingPrefix($clone));
199
- $output .= $this->info("WP STAGING Version:", isset($clone['version']) ? $clone['version'] : 'undefined');
200
  $output .= $this->info("WP Version:", $this->getStagingWpVersion($path)) . PHP_EOL . PHP_EOL;
201
  }
202
  }
@@ -211,21 +282,20 @@ class SystemInfo
211
  $output .= '' . PHP_EOL;
212
 
213
 
214
- $output .= $this->info("Pro Version:", get_option('wpstgpro_version', 'undefined'));
215
  $output .= $this->info("Pro License Key:", get_option('wpstg_license_key'));
216
  // @see \WPStaging\Backend\Pro\Upgrade\Upgrade::OPTION_INSTALL_DATE
217
- $output .= $this->info("Pro Install Date:", get_option('wpstgpro_install_date', 'undefined'));
218
  // @see \WPStaging\Backend\Pro\Upgrade\Upgrade::OPTION_UPGRADE_DATE
219
- $output .= $this->info("Pro Update Date:", get_option('wpstgpro_upgrade_date', 'undefined'));
220
- $output .= $this->info("Free or Pro Install Date (deprecated):", get_option('wpstg_installDate', 'undefined'));
221
- $output .= $this->info("Free Version:", get_option('wpstg_version', 'undefined'));
222
- $output .= $this->info("Free Install Date:", get_option(Upgrade::OPTION_INSTALL_DATE, 'undefined'));
223
- $output .= $this->info("Free Update Date:", get_option(Upgrade::OPTION_UPGRADE_DATE, 'undefined'));
224
- $output .= $this->info("Updated from Pro Version:", get_option('wpstgpro_version_upgraded_from', 'undefined'));
225
- $output .= $this->info("Updated from Free Version:", get_option('wpstg_version_upgraded_from', 'undefined'));
226
  $output .= $this->info("Is Staging Site:", (new SiteInfo())->isStagingSite() ? 'true' : 'false') . PHP_EOL . PHP_EOL;
227
 
228
-
229
  return apply_filters("wpstg_sysinfo_after_wpstaging_info", $output);
230
  }
231
 
@@ -252,7 +322,7 @@ class SystemInfo
252
  }
253
 
254
  $frontPageID = get_option("page_on_front");
255
- $blogPageID = get_option("page_for_posts");
256
 
257
  // Front Page
258
  $pageFront = ($frontPageID != 0) ? get_the_title($frontPageID) . " (#{$frontPageID})" : "Unset";
@@ -301,14 +371,16 @@ class SystemInfo
301
  {
302
  $output = $this->header("WordPress Configuration");
303
  $output .= $this->info("Version:", get_bloginfo("version"));
304
- $output .= $this->info("Language:", (defined("WPLANG") && WPLANG) ? WPLANG : "en_US");
305
 
306
  $permalinkStructure = get_option("permalink_structure");
307
- $output .= $this->info("Permalink Structure:", ($permalinkStructure) ?: "Default");
308
 
309
  $output .= $this->info("Active Theme:", $this->theme());
310
  $output .= $this->info("Show On Front:", get_option("show_on_front"));
311
 
 
 
312
  // Frontpage information
313
  $output .= $this->frontPage();
314
 
@@ -316,7 +388,7 @@ class SystemInfo
316
  $output .= $this->wpRemotePost();
317
 
318
  // Table Prefix
319
- $wpDB = WPStaging::getInstance()->get("wpdb");
320
  $tablePrefix = "DB Prefix: " . $wpDB->prefix . ' ';
321
  $tablePrefix .= "Length: " . strlen($wpDB->prefix) . " Status: ";
322
  $tablePrefix .= (strlen($wpDB->prefix) > 16) ? " ERROR: Too long" : " Acceptable";
@@ -324,15 +396,15 @@ class SystemInfo
324
  $output .= $this->info("Table Prefix:", $tablePrefix);
325
 
326
  // Constants
327
- $output .= $this->info("WP Content Path:", WP_CONTENT_DIR);
328
- $output .= $this->info("WP Plugin Dir:", WP_PLUGIN_DIR);
329
  if (defined('UPLOADS')) {
330
  $output .= $this->info("WP UPLOADS CONST:", UPLOADS);
331
  }
332
  $uploads = wp_upload_dir();
333
- $output .= $this->info("WP Uploads Dir:", $uploads['basedir']);
334
  if (defined('WP_TEMP_DIR')) {
335
- $output .= $this->info("WP Temp Dir:", WP_TEMP_DIR);
336
  }
337
 
338
  // WP Debug
@@ -392,7 +464,7 @@ class SystemInfo
392
  public function plugins()
393
  {
394
  // Get plugins and active plugins
395
- $plugins = get_plugins();
396
  $activePlugins = get_option("active_plugins", []);
397
 
398
  // Active plugins
@@ -414,7 +486,7 @@ class SystemInfo
414
 
415
  $output = $this->header("Network Active Plugins");
416
 
417
- $plugins = wp_get_active_network_plugins();
418
  $activePlugins = get_site_option("active_sitewide_plugins", []);
419
 
420
  foreach ($plugins as $pluginPath) {
@@ -467,7 +539,7 @@ class SystemInfo
467
  $output .= $this->info("PHP User:", $this->getPHPUser());
468
 
469
  $displayErrors = ini_get("display_errors");
470
- $output .= $this->info("Display Errors:", ($displayErrors) ? "On ({$displayErrors})" : "N/A");
471
 
472
  return apply_filters("wpstg_sysinfo_after_php_config", $output);
473
  }
@@ -580,7 +652,7 @@ class SystemInfo
580
  // Compare names without scheme to bypass cases where siteurl and home have different schemes http / https
581
  // This is happening much more often than you would expect
582
  $siteurl = preg_replace('#^https?://#', '', rtrim(get_option('siteurl'), '/'));
583
- $home = preg_replace('#^https?://#', '', rtrim(get_option('home'), '/'));
584
 
585
  if ($home !== $siteurl) {
586
  return true;
@@ -624,7 +696,7 @@ class SystemInfo
624
  private function getStagingWpVersion($path)
625
  {
626
 
627
- if ($path === 'undefined') {
628
  return "Error: Cannot detect WP version";
629
  }
630
 
@@ -642,4 +714,18 @@ class SystemInfo
642
  }
643
  return $matches[1];
644
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
645
  }
37
  public function __construct()
38
  {
39
  $this->isMultiSite = is_multisite();
40
+ $this->helper = new Utils\Helper();
41
  }
42
 
43
  /**
99
  */
100
  public function info($title, $value)
101
  {
102
+ return str_pad($title, 56, ' ', STR_PAD_RIGHT) . print_r($value, true) . PHP_EOL;
103
  }
104
 
105
  /**
161
  */
162
  public function wpstaging()
163
  {
 
164
  $settings = (object)get_option('wpstg_settings', []);
165
 
166
+ $output = "-- WP STAGING Settings" . PHP_EOL . PHP_EOL;
167
+ $output .= $this->info("DB Query Limit:", isset($settings->queryLimit) ? $settings->queryLimit : '[not set]');
168
+ $output .= $this->info("DB Search & Replace Limit:", isset($settings->querySRLimit) ? $settings->querySRLimit : '[not set]');
169
+ $output .= $this->info("File Copy Limit:", isset($settings->fileLimit) ? $settings->fileLimit : '[not set]');
170
+ $output .= $this->info("Maximum File Size:", isset($settings->maxFileSize) ? $settings->maxFileSize : '[not set]');
171
+ $output .= $this->info("File Copy Batch Size:", isset($settings->batchSize) ? $settings->batchSize : '[not set]');
172
+ $output .= $this->info("CPU Load Priority:", isset($settings->cpuLoad) ? $settings->cpuLoad : '[not set]');
173
+ $output .= $this->info("Keep Permalinks:", isset($settings->keepPermalinks) ? $settings->keepPermalinks : '[not set]');
174
+ $output .= $this->info("Debug Mode:", isset($settings->debugMode) ? $settings->debugMode : '[NOT SET]');
175
+ $output .= $this->info("Optimize Active:", isset($settings->optimizer) ? $settings->optimizer : '[not set]');
176
+ $output .= $this->info("Delete on Uninstall:", isset($settings->unInstallOnDelete) ? $settings->unInstallOnDelete : '[not set]');
177
+ $output .= $this->info("Check Directory Size:", isset($settings->checkDirectorySize) ? $settings->checkDirectorySize : '[not set]');
178
+ $output .= $this->info("Access Permissions:", isset($settings->userRoles) ? $settings->userRoles : '[not set]');
179
+ $output .= $this->info("Users With Staging Access:", isset($settings->usersWithStagingAccess) ? $settings->usersWithStagingAccess : '[not set]');
180
+ $output .= $this->info("Admin Bar Color:", isset($settings->adminBarColor) ? $settings->adminBarColor : '[not set]');
181
+ $analyticsHasConsent = get_option('wpstg_analytics_has_consent');
182
+ $output .= $this->info("Send Usage Information:", !empty($analyticsHasConsent) ? 'true' : 'false');
183
+ $output .= $this->info("Send Backup Errors via E-Mail:", isset($settings->schedulesErrorReport) ? $settings->schedulesErrorReport : '[not set]');
184
+ $output .= $this->info("E-Mail Address:", isset($settings->schedulesReportEmail) ? $settings->schedulesReportEmail : '[not set]');
185
+
186
+ $output .= PHP_EOL . PHP_EOL . "-- Google Drive Settings" . PHP_EOL . PHP_EOL;
187
+
188
+ $googleDriveSettings = (object)get_option('wpstg_googledrive', []);
189
+ if (!empty($googleDriveSettings)) {
190
+ foreach ($googleDriveSettings as $key => $value) {
191
+ $output .= $this->info($key, empty($value) ? '[not set]' : $this->removeCredentials($key, $value));
192
+ }
193
+ }
194
+
195
+ $output .= PHP_EOL . PHP_EOL . "-- Amazon S3 Settings" . PHP_EOL . PHP_EOL;
196
+
197
+ $amazonS3Settings = (object)get_option('wpstg_amazons3', []);
198
+ if (!empty($amazonS3Settings)) {
199
+ foreach ($amazonS3Settings as $key => $value) {
200
+ $output .= $this->info($key, empty($value) ? '[not set]' : $this->removeCredentials($key, $value));
201
+ }
202
+ }
203
+
204
+ $output .= PHP_EOL . PHP_EOL . "-- DigitalOcean Spaces Settings" . PHP_EOL . PHP_EOL;
205
+
206
+ $digitalOceanSpacesSettings = (object)get_option('wpstg_digitalocean-spaces', []);
207
+ foreach ($digitalOceanSpacesSettings as $key => $value) {
208
+ $output .= $this->info($key, empty($value) ? 'not set' : $this->removeCredentials($key, $value));
209
+ }
210
+
211
+ $output .= PHP_EOL . PHP_EOL . "-- Wasabi Settings" . PHP_EOL . PHP_EOL;
212
+
213
+ $wasabiSettings = (object)get_option('wpstg_wasabi-s3', []);
214
+ foreach ($wasabiSettings as $key => $value) {
215
+ $output .= $this->info($key, empty($value) ? 'not set' : $this->removeCredentials($key, $value));
216
+ }
217
+
218
+ $output .= PHP_EOL . PHP_EOL . "-- Generic S3 Settings" . PHP_EOL . PHP_EOL;
219
+
220
+ $genericS3Settings = (object)get_option('wpstg_generic-s3', []);
221
+ foreach ($genericS3Settings as $key => $value) {
222
+ $output .= $this->info($key, empty($value) ? 'not set' : $this->removeCredentials($key, $value));
223
+ }
224
+
225
+ $output .= PHP_EOL . PHP_EOL . "-- SFTP Settings" . PHP_EOL . PHP_EOL;
226
+
227
+ $sftpSettings = (object)get_option('wpstg_sftp', []);
228
+ if (!empty($sftpSettings)) {
229
+ foreach ($sftpSettings as $key => $value) {
230
+ $output .= $this->info($key, empty($value) ? '[not set]' : $this->removeCredentials($key, $value));
231
+ }
232
+ }
233
+
234
+ $output .= PHP_EOL . PHP_EOL . "-- Backup Schedules" . PHP_EOL . PHP_EOL;
235
+
236
+ $backupSchedules = get_option('wpstg_backup_schedules', []);
237
+ if (!empty($backupSchedules)) {
238
+ foreach ($backupSchedules as $key => $value) {
239
+ $output .= $this->info('Schedule ' . !empty($key) ? $key : '', empty($value) ? '[not set]' : print_r($value, true));
240
+ }
241
+ }
242
 
243
  $output .= PHP_EOL . PHP_EOL . "-- Available Sites. Version < 1.1.6.x" . PHP_EOL . PHP_EOL;
244
 
245
  // Clones data < 1.1.6.x
246
  $clones = (object)get_option('wpstg_existing_clones', []);
247
+ if (!empty($clones)) {
248
+ foreach ($clones as $key => $value) {
249
+ $output .= $this->info("Site name & subfolder :", $value);
250
+ }
251
  }
252
+
253
  $output .= PHP_EOL . PHP_EOL . "-- Available Sites. Version > 2.0.x" . PHP_EOL . PHP_EOL;
254
 
255
  // Clones data version > 2.x
259
  // make sure $stagingSites is an array
260
  if (is_array($stagingSites)) {
261
  foreach ($stagingSites as $key => $clone) {
262
+ $path = !empty($clone['path']) ? $clone['path'] : '[not set]';
263
 
264
+ $output .= $this->info("Number:", isset($clone['number']) ? $clone['number'] : '[not set]');
265
+ $output .= $this->info("directoryName:", isset($clone['directoryName']) ? $clone['directoryName'] : '[not set]');
266
  $output .= $this->info("Path:", $path);
267
+ $output .= $this->info("URL:", isset($clone['url']) ? $clone['url'] : '[not set]');
268
+ $output .= $this->info("DB Prefix:", isset($clone['prefix']) ? $clone['prefix'] : '[not set]');
269
  $output .= $this->info("DB Prefix wp-config.php:", $this->getStagingPrefix($clone));
270
+ $output .= $this->info("WP STAGING Version:", isset($clone['version']) ? $clone['version'] : '[not set]');
271
  $output .= $this->info("WP Version:", $this->getStagingWpVersion($path)) . PHP_EOL . PHP_EOL;
272
  }
273
  }
282
  $output .= '' . PHP_EOL;
283
 
284
 
285
+ $output .= $this->info("Pro Version:", get_option('wpstgpro_version', '[not set]'));
286
  $output .= $this->info("Pro License Key:", get_option('wpstg_license_key'));
287
  // @see \WPStaging\Backend\Pro\Upgrade\Upgrade::OPTION_INSTALL_DATE
288
+ $output .= $this->info("Pro Install Date:", get_option('wpstgpro_install_date', '[not set]'));
289
  // @see \WPStaging\Backend\Pro\Upgrade\Upgrade::OPTION_UPGRADE_DATE
290
+ $output .= $this->info("Pro Update Date:", get_option('wpstgpro_upgrade_date', '[not set]'));
291
+ $output .= $this->info("Free or Pro Install Date (deprecated):", get_option('wpstg_installDate', '[not set]'));
292
+ $output .= $this->info("Free Version:", get_option('wpstg_version', '[not set]'));
293
+ $output .= $this->info("Free Install Date:", get_option(Upgrade::OPTION_INSTALL_DATE, '[not set]'));
294
+ $output .= $this->info("Free Update Date:", get_option(Upgrade::OPTION_UPGRADE_DATE, '[not set]'));
295
+ $output .= $this->info("Updated from Pro Version:", get_option('wpstgpro_version_upgraded_from', '[not set]'));
296
+ $output .= $this->info("Updated from Free Version:", get_option('wpstg_version_upgraded_from', '[not set]'));
297
  $output .= $this->info("Is Staging Site:", (new SiteInfo())->isStagingSite() ? 'true' : 'false') . PHP_EOL . PHP_EOL;
298
 
 
299
  return apply_filters("wpstg_sysinfo_after_wpstaging_info", $output);
300
  }
301
 
322
  }
323
 
324
  $frontPageID = get_option("page_on_front");
325
+ $blogPageID = get_option("page_for_posts");
326
 
327
  // Front Page
328
  $pageFront = ($frontPageID != 0) ? get_the_title($frontPageID) . " (#{$frontPageID})" : "Unset";
371
  {
372
  $output = $this->header("WordPress Configuration");
373
  $output .= $this->info("Version:", get_bloginfo("version"));
374
+ $output .= $this->info("WPLANG:", (defined("WPLANG") && WPLANG) ? WPLANG : "en_US");
375
 
376
  $permalinkStructure = get_option("permalink_structure");
377
+ $output .= $this->info("Permalink Structure:", ($permalinkStructure) ?: "Default");
378
 
379
  $output .= $this->info("Active Theme:", $this->theme());
380
  $output .= $this->info("Show On Front:", get_option("show_on_front"));
381
 
382
+ $output .= $this->info("Installed in Subdir:", $this->isSubDir() ? 'true' : 'false');
383
+
384
  // Frontpage information
385
  $output .= $this->frontPage();
386
 
388
  $output .= $this->wpRemotePost();
389
 
390
  // Table Prefix
391
+ $wpDB = WPStaging::getInstance()->get("wpdb");
392
  $tablePrefix = "DB Prefix: " . $wpDB->prefix . ' ';
393
  $tablePrefix .= "Length: " . strlen($wpDB->prefix) . " Status: ";
394
  $tablePrefix .= (strlen($wpDB->prefix) > 16) ? " ERROR: Too long" : " Acceptable";
396
  $output .= $this->info("Table Prefix:", $tablePrefix);
397
 
398
  // Constants
399
+ $output .= $this->info("WP_CONTENT_DIR:", WP_CONTENT_DIR);
400
+ $output .= $this->info("WP_PLUGIN_DIR:", WP_PLUGIN_DIR);
401
  if (defined('UPLOADS')) {
402
  $output .= $this->info("WP UPLOADS CONST:", UPLOADS);
403
  }
404
  $uploads = wp_upload_dir();
405
+ $output .= $this->info("uploads['basedir']:", $uploads['basedir']);
406
  if (defined('WP_TEMP_DIR')) {
407
+ $output .= $this->info("WP_TEMP_DIR:", WP_TEMP_DIR);
408
  }
409
 
410
  // WP Debug
464
  public function plugins()
465
  {
466
  // Get plugins and active plugins
467
+ $plugins = get_plugins();
468
  $activePlugins = get_option("active_plugins", []);
469
 
470
  // Active plugins
486
 
487
  $output = $this->header("Network Active Plugins");
488
 
489
+ $plugins = wp_get_active_network_plugins();
490
  $activePlugins = get_site_option("active_sitewide_plugins", []);
491
 
492
  foreach ($plugins as $pluginPath) {
539
  $output .= $this->info("PHP User:", $this->getPHPUser());
540
 
541
  $displayErrors = ini_get("display_errors");
542
+ $output .= $this->info("Display Errors:", ($displayErrors) ? "On ({$displayErrors})" : "N/A");
543
 
544
  return apply_filters("wpstg_sysinfo_after_php_config", $output);
545
  }
652
  // Compare names without scheme to bypass cases where siteurl and home have different schemes http / https
653
  // This is happening much more often than you would expect
654
  $siteurl = preg_replace('#^https?://#', '', rtrim(get_option('siteurl'), '/'));
655
+ $home = preg_replace('#^https?://#', '', rtrim(get_option('home'), '/'));
656
 
657
  if ($home !== $siteurl) {
658
  return true;
696
  private function getStagingWpVersion($path)
697
  {
698
 
699
+ if ($path === '[not set]') {
700
  return "Error: Cannot detect WP version";
701
  }
702
 
714
  }
715
  return $matches[1];
716
  }
717
+
718
+ /**
719
+ * @param $key
720
+ * @param $value
721
+ * @return mixed|string
722
+ */
723
+ private function removeCredentials($key, $value)
724
+ {
725
+ $protectedFields = ['accessToken', 'refreshToken', 'accessKey', 'secretKey', 'password', 'passphrase'];
726
+ if (!empty($value) && in_array($key, $protectedFields)) {
727
+ return '[REMOVED]';
728
+ }
729
+ return empty($value) ? '[not set]' : $value;
730
+ }
731
  }
Backend/views/backup/free-version.php CHANGED
@@ -21,7 +21,7 @@ use WPStaging\Framework\Facades\Escape;
21
  </div>
22
  </div>
23
  <div id="wpstg-did-you-know" style="margin-bottom:12px">
24
- <strong><?php echo sprintf(Escape::escapeHtml(__('Did you know? You can upload a WP STAGING backup to another server to move a website. <a href="%s" target="_blank">Read more</a>', 'wp-staging')), 'https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/'); ?></strong>
25
  </div>
26
 
27
  <div id="wpstg-step-1">
21
  </div>
22
  </div>
23
  <div id="wpstg-did-you-know" style="margin-bottom:12px">
24
+ <strong><?php echo sprintf(Escape::escapeHtml(__('Did you know? You can upload a WP STAGING backup to another server to transfer a website. <a href="%s" target="_blank">Read more</a>', 'wp-staging')), 'https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/'); ?></strong>
25
  </div>
26
 
27
  <div id="wpstg-step-1">
Backend/views/backup/listing.php CHANGED
@@ -40,7 +40,7 @@ $cronStatus = $backupScheduler->checkCronStatus();
40
  $cronMessage = $backupScheduler->getCronMessage();
41
  if ($cronMessage !== '') { ?>
42
  <div class="notice <?php echo $cronStatus === true ? 'notice-warning' : 'notice-error'; ?>" style="margin-bottom: 10px;">
43
- <p><strong><?php esc_html_e('WP STAGING:', 'wp-staging') ?></strong></p>
44
  <p><?php echo Escape::escapeHtml(__($cronMessage, 'wp-staging')); ?></p>
45
  </div>
46
  <?php } ?>
@@ -53,7 +53,7 @@ if ($cronMessage !== '') { ?>
53
  <?php endif; ?>
54
  <div id="wpstg-did-you-know" style="margin-bottom:12px">
55
  <strong><?php echo sprintf(
56
- Escape::escapeHtml(__('Did you know? You can upload backup files to another website to transfer it. <a href="%s" target="_blank">Read more</a>', 'wp-staging')),
57
  'https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/'
58
  ); ?></strong>
59
  </div>
40
  $cronMessage = $backupScheduler->getCronMessage();
41
  if ($cronMessage !== '') { ?>
42
  <div class="notice <?php echo $cronStatus === true ? 'notice-warning' : 'notice-error'; ?>" style="margin-bottom: 10px;">
43
+ <p><strong><?php esc_html_e('WP STAGING Notice:', 'wp-staging') ?></strong></p>
44
  <p><?php echo Escape::escapeHtml(__($cronMessage, 'wp-staging')); ?></p>
45
  </div>
46
  <?php } ?>
53
  <?php endif; ?>
54
  <div id="wpstg-did-you-know" style="margin-bottom:12px">
55
  <strong><?php echo sprintf(
56
+ Escape::escapeHtml(__('Did you know? You can upload backup files to another site to transfer a website. <a href="%s" target="_blank">Read more</a>', 'wp-staging')),
57
  'https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/'
58
  ); ?></strong>
59
  </div>
Backend/views/backup/modal/export.php CHANGED
@@ -126,7 +126,7 @@ $recurrenceTimes = $time->range('midnight', 'tomorrow - 1 minutes', $recurInterv
126
  <div class="wpstg--tooltip" style="position: absolute;">
127
  <img class="wpstg--dashicons wpstg-dashicons-19 wpstg--grey" src="<?php echo esc_url($urlAssets); ?>svg/vendor/dashicons/info-outline.svg" alt="info" />
128
  <span class="wpstg--tooltiptext wpstg--tooltiptext-backups">
129
- <?php esc_html_e('Choose how many backups you want to keep before old ones are deleted to free up disk space.', 'wp-staging') ?>
130
  </span>
131
  </div>
132
  </label>
126
  <div class="wpstg--tooltip" style="position: absolute;">
127
  <img class="wpstg--dashicons wpstg-dashicons-19 wpstg--grey" src="<?php echo esc_url($urlAssets); ?>svg/vendor/dashicons/info-outline.svg" alt="info" />
128
  <span class="wpstg--tooltiptext wpstg--tooltiptext-backups">
129
+ <?php esc_html_e('How many local backups to keep before deleting old ones to free up storage space.', 'wp-staging') ?>
130
  </span>
131
  </div>
132
  </label>
Backend/views/settings/tabs/general.php CHANGED
@@ -96,10 +96,7 @@ use WPStaging\Framework\Facades\Escape;
96
  <span class="description">
97
  <?php
98
  esc_html_e(
99
- "Number of files to copy that will be copied within one request.
100
- The higher the value the faster the file copy process.
101
- To find out the highest possible values try a high value like 500 or more. If you get timeout issues, lower it
102
- until you get no more errors during copying process.",
103
  "wp-staging"
104
  ); ?>
105
  <br>
@@ -107,7 +104,7 @@ use WPStaging\Framework\Facades\Escape;
107
  <strong><?php esc_html_e("Important:", "wp-staging") ?></strong>
108
  <?php
109
  esc_html_e(
110
- "If CPU Load Priority is <strong>Low</strong>, set a file copy limit value of 50 or higher! Otherwise file copying process takes a lot of time.",
111
  "wp-staging"
112
  ); ?>
113
  <br>
@@ -130,8 +127,7 @@ use WPStaging\Framework\Facades\Escape;
130
  <span class="description">
131
  <?php
132
  esc_html_e(
133
- "Maximum size of the files which are allowed to copy. All files larger than this value will be skipped.
134
- Note: Increase this option only if you have a good reason. Files larger than a few megabytes are in 99% of all cases log and backup files which are not needed on a staging site.",
135
  "wp-staging"
136
  ); ?>
137
  <br>
@@ -155,8 +151,8 @@ use WPStaging\Framework\Facades\Escape;
155
  "Buffer size for the file copy process in megabyte.
156
  The higher the value the faster large files are copied.
157
  To find out the highest possible values try a high one and lower it until
158
- you get no errors during file copy process. Usually this value correlates directly
159
- with the memory consumption of php so make sure that
160
  it does not exceed any php.ini max_memory limits.",
161
  "wp-staging"
162
  ); ?>
@@ -179,12 +175,10 @@ use WPStaging\Framework\Facades\Escape;
179
  <span class="description">
180
  <?php
181
  echo sprintf(esc_html__(
182
- "Using high will result in fast as possible processing but the cpu load
183
- increases and it's also possible that staging process gets interrupted because of too many ajax requests
184
- (e.g. %s).
185
- Using a lower value results in lower cpu load on your server but also slower staging site creation.",
186
  "wp-staging"
187
- ), "<strong>authorization error</strong>"); ?>
188
  <br>
189
  <strong>Default: </strong> Low
190
  </span>
@@ -204,8 +198,8 @@ use WPStaging\Framework\Facades\Escape;
204
  <?php
205
  $form->renderLabel("wpstg_settings[disableAdminLogin]") ?>
206
  <span class="description">
207
- If you want to remove the requirement to login to the staging site you can deactivate it here.
208
- <strong>Note:</strong> The staging site discourages search engines from indexing the site by setting the 'noindex' tag into header of the staging site.
209
  </span>
210
  </div>
211
  </td>
@@ -253,12 +247,12 @@ use WPStaging\Framework\Facades\Escape;
253
  <span class="description">
254
  <?php
255
  esc_html_e(
256
- "Enable an extended debug mode that creates additional log entries in wp-content/uploads/wp-staging/logs/logfile.log.",
257
  "wp-staging"
258
  );
259
  ?>
260
  <strong>
261
- <?php esc_attr_e('Do NOT activate this until we ask you to do so!', 'wp-staging') ?>
262
  </strong>
263
  </span>
264
  </div>
@@ -276,7 +270,7 @@ use WPStaging\Framework\Facades\Escape;
276
  <span class="description">
277
  <?php
278
  esc_html_e(
279
- "The Optimizer is a mu plugin that disables all other plugins during WP STAGING processing. This lowers memory consumption and speeds up processing. This should always be enabled!",
280
  "wp-staging"
281
  ); ?>
282
  </span>
@@ -295,7 +289,7 @@ use WPStaging\Framework\Facades\Escape;
295
  <span class="description">
296
  <?php
297
  esc_html_e(
298
- "Check this box if you like to remove all data when the plugin is deleted.
299
  This will not remove staging sites files or database tables.",
300
  "wp-staging"
301
  ); ?>
@@ -316,7 +310,7 @@ use WPStaging\Framework\Facades\Escape;
316
  <span class="description">
317
  <?php
318
  echo sprintf(esc_html__(
319
- "Check this box if you like WP Staging to check sizes of each directory on scanning process.
320
  %s
321
  Warning this may cause timeout problems in big directory / file structures.",
322
  "wp-staging"
96
  <span class="description">
97
  <?php
98
  esc_html_e(
99
+ "Number of files to be copied within one request. The higher the value, the faster files are copied. To find out the highest possible values, try a high value like 500 or more. If you get timeout problems, decrease the value until no more errors occur during the copy process.",
 
 
 
100
  "wp-staging"
101
  ); ?>
102
  <br>
104
  <strong><?php esc_html_e("Important:", "wp-staging") ?></strong>
105
  <?php
106
  esc_html_e(
107
+ "If CPU Load Priority is LOW, set the file copy limit to 50 to copy files as fast as possible.",
108
  "wp-staging"
109
  ); ?>
110
  <br>
127
  <span class="description">
128
  <?php
129
  esc_html_e(
130
+ "Maximum size of the files that may be copied. All files larger than this will be skipped. Note: Increase this option only if you have a good reason to do so. Files larger than a few megabytes are 99% of the time log and backup files that are not needed on a staging site.",
 
131
  "wp-staging"
132
  ); ?>
133
  <br>
151
  "Buffer size for the file copy process in megabyte.
152
  The higher the value the faster large files are copied.
153
  To find out the highest possible values try a high one and lower it until
154
+ you get no more errors during file copy process. Usually this value correlates directly
155
+ with the memory consumption of PHP so make sure that
156
  it does not exceed any php.ini max_memory limits.",
157
  "wp-staging"
158
  ); ?>
175
  <span class="description">
176
  <?php
177
  echo sprintf(esc_html__(
178
+ "Using HIGH will result in fast as possible processing but the cpu load
179
+ increases. Using a lower value results in lower cpu load on your server but also slower staging site creation.",
 
 
180
  "wp-staging"
181
+ ), "<strong>Authorization error 403</strong>"); ?>
182
  <br>
183
  <strong>Default: </strong> Low
184
  </span>
198
  <?php
199
  $form->renderLabel("wpstg_settings[disableAdminLogin]") ?>
200
  <span class="description">
201
+ Remove the requirement to login to the staging site.
202
+ <strong>Note:</strong> The staging site always discourages search engines from indexing the site by setting the 'noindex' tag into header of the staging site.
203
  </span>
204
  </div>
205
  </td>
247
  <span class="description">
248
  <?php
249
  esc_html_e(
250
+ "Enable a debug mode that creates log entries in wp-content/uploads/wp-staging/logs/logfile.log.",
251
  "wp-staging"
252
  );
253
  ?>
254
  <strong>
255
+ <?php esc_attr_e('It\'s not recommended to activate this until we ask you to do so!', 'wp-staging') ?>
256
  </strong>
257
  </span>
258
  </div>
270
  <span class="description">
271
  <?php
272
  esc_html_e(
273
+ "The Optimizer is a mu-plugin that disables all other plugins during WP STAGING processing. This lowers memory consumption and speeds up processing. It should always be enabled!",
274
  "wp-staging"
275
  ); ?>
276
  </span>
289
  <span class="description">
290
  <?php
291
  esc_html_e(
292
+ "Activate this if you like to remove all data when the plugin is deleted.
293
  This will not remove staging sites files or database tables.",
294
  "wp-staging"
295
  ); ?>
310
  <span class="description">
311
  <?php
312
  echo sprintf(esc_html__(
313
+ "Activate this to check sizes of each directory on scanning process.
314
  %s
315
  Warning this may cause timeout problems in big directory / file structures.",
316
  "wp-staging"
Backend/views/settings/tabs/storages/amazons3-settings.php CHANGED
@@ -4,97 +4,12 @@
4
  * @var string $providerId
5
  */
6
 
7
- use WPStaging\Framework\Facades\Escape;
8
- use WPStaging\Framework\Facades\Sanitize;
9
-
10
- ?>
11
- <fieldset>
12
- <?php
13
- /** @var \WPStaging\Pro\Backup\Storage\Storages\Amazon\S3 */
14
- $amazonS3Storage = \WPStaging\Core\WPStaging::make(\WPStaging\Pro\Backup\Storage\Storages\Amazon\S3::class);
15
- $regions = $amazonS3Storage->getRegions();
16
- $isStorageAuthenticated = $amazonS3Storage->isAuthenticated();
17
- $options = $amazonS3Storage->getOptions();
18
- $accessKey = empty($options['accessKey']) ? '' : Sanitize::sanitizePassword($options['accessKey']);
19
- $secretKey = empty($options['secretKey']) ? '' : Sanitize::sanitizePassword($options['secretKey']);
20
- $region = empty($options['region']) ? '' : Sanitize::sanitizeString($options['region']);
21
- $maxBackupsToKeep = empty($options['maxBackupsToKeep']) ? 2 : Sanitize::sanitizeInt($options['maxBackupsToKeep']);
22
- $maxBackupsToKeep = $maxBackupsToKeep > 0 ? $maxBackupsToKeep : 15;
23
- $location = empty($options['location']) ? '' : Sanitize::sanitizeString($options['location']);
24
- $lastUpdated = empty($options['lastUpdated']) ? 0 : Sanitize::sanitizeInt($options['lastUpdated']);
25
- ?>
26
- <p>
27
- <strong class="wpstg-fs-14"><?php esc_html_e('Amazon S3', 'wp-staging'); ?></strong>
28
- <br/>
29
- <br/>
30
- <?php echo esc_html__('Upload backup files to your personal Amazon S3 account.', 'wp-staging'); ?>
31
- <br>
32
- <?php echo sprintf(
33
- Escape::escapeHtml(__('None of your backup data is sent to any other party! <a href="%s" target="_blank">Our privacy policy</a>.', 'wp-staging')),
34
- 'https://wp-staging.com/privacy-policy/#'
35
- ); ?>
36
- <br/>
37
- </p>
38
- <div class="wpstg-form-group">
39
- <form class="wpstg-provider-settings-form" id="wpstg-provider-settings-form" method="post">
40
- <div id="wpstg-provider-test-connection-fields">
41
- <strong><?php esc_html_e('API Keys', 'wp-staging') ?></strong>
42
-
43
- <input type="hidden" name="provider" value="<?php echo esc_attr($providerId); ?>" />
44
-
45
- <p>
46
- <?php echo sprintf(
47
- Escape::escapeHtml(__('<a href="%s" target="_blank">How to create Amazon API keys and a S3 bucket</a>.', 'wp-staging')),
48
- 'https://wp-staging.com/docs/how-to-backup-website-to-amazon-s3-bucket/'
49
- ); ?>
50
- </p>
51
-
52
- <fieldset class="wpstg-fieldset">
53
- <label><?php esc_html_e('Access Key', 'wp-staging') ?></label>
54
- <input class="wpstg-form-control" type="text" name="access_key" value="<?php echo esc_attr($accessKey); ?>" />
55
- </fieldset>
56
-
57
- <fieldset class="wpstg-fieldset">
58
- <label><?php esc_html_e('Secret Key', 'wp-staging') ?></label>
59
- <input class="wpstg-form-control" type="text" name="secret_key" value="<?php echo esc_attr($secretKey); ?>" style="min-width:300px;" />
60
- </fieldset>
61
-
62
- <fieldset class="wpstg-fieldset">
63
- <label><?php esc_html_e('Region', 'wp-staging') ?></label>
64
- <select class="wpstg-form-select" name="region" style="min-width:300px;">
65
- <?php foreach ($regions as $regionKey => $regionName) : ?>
66
- <option value="<?php echo esc_attr($regionKey); ?>" <?php echo ($regionKey === $region) ? 'selected' : '' ; ?>><?php echo esc_html($regionName) . ' ' . esc_html($regionKey); ?></option>
67
- <?php endforeach; ?>
68
- </select>
69
- </fieldset>
70
-
71
- <fieldset class="wpstg-fieldset">
72
- <label><?php esc_html_e('Bucket Name', 'wp-staging') ?></label>
73
- <span>s3:</span><input class="wpstg-form-control" type="text" name="location" value="<?php echo esc_attr($location); ?>" />
74
- <p>
75
- <?php echo sprintf(
76
- Escape::escapeHtml(__("Create the bucket beforhand in your Amazon S3 account and add it here! %s To add a subdirectory you can write <code>s3:[bucket-name]/[directory-name]</code>. <br>The directory will be created by WP STAGING automatically during backup upload. ", 'wp-staging')),
77
- '<br>'
78
- ); ?>
79
- </p>
80
- </fieldset>
81
- </div>
82
- <button type="button" id="wpstg-btn-provider-test-connection" class="wpstg-link-btn wpstg-blue-primary"><?php esc_html_e("Test Connection", "wp-staging") ?></button>
83
-
84
- <hr/>
85
- <strong><?php esc_html_e('Upload Settings', 'wp-staging') ?></strong>
86
- <fieldset class="wpstg-fieldset">
87
- <label><?php esc_html_e('Max Backups to Keep', 'wp-staging') ?></label>
88
- <input class="wpstg-form-control" type="number" name="max_backups_to_keep" value="<?php echo esc_attr($maxBackupsToKeep); ?>" min="1" style="max-width: 60px" />
89
- </fieldset>
90
-
91
- <?php
92
- require_once "{$this->path}views/settings/tabs/storages/last-saved-notice.php";
93
- ?>
94
-
95
- <hr/>
96
-
97
- <button type="button" id="wpstg-btn-save-provider-settings" class="wpstg-link-btn wpstg-blue-primary"><?php esc_html_e("Save Settings", "wp-staging") ?></button>
98
- </form>
99
- </div>
100
- </fieldset>
4
  * @var string $providerId
5
  */
6
 
7
+ $auth = \WPStaging\Core\WPStaging::make(\WPStaging\Pro\Backup\Storage\Storages\Amazon\S3::class);
8
+ $providerName = __('Amazon S3', 'wp-staging');
9
+ $settingText = __('How to create Amazon API keys and a S3 bucket', 'wp-staging');
10
+ $settingLink = 'https://wp-staging.com/docs/how-to-backup-website-to-amazon-s3-bucket/';
11
+ $settingText1 = '';
12
+ $settingLink1 = '';
13
+
14
+ $baseSettingsPath = $this->path . "views/settings/tabs/storages/base-s3-settings.php";
15
+ require_once($baseSettingsPath);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Backend/views/settings/tabs/storages/base-s3-settings.php ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @var \WPStaging\Pro\Backup\Storage\Storages\BaseS3\S3Auth $auth
5
+ * @var string $providerId
6
+ * @var string $providerName
7
+ * @var string $settingText
8
+ * @var string $settingLink
9
+ * @var string $settingText1
10
+ * @var string $settingLink1
11
+ * @var string $locationName
12
+ */
13
+
14
+ use WPStaging\Framework\Facades\Escape;
15
+ use WPStaging\Framework\Facades\Sanitize;
16
+
17
+ ?>
18
+ <fieldset>
19
+ <?php
20
+ $regions = $auth->getRegions();
21
+ $isStorageAuthenticated = $auth->isAuthenticated();
22
+ $options = $auth->getOptions();
23
+ $accessKey = empty($options['accessKey']) ? '' : Sanitize::sanitizePassword($options['accessKey']);
24
+ $secretKey = empty($options['secretKey']) ? '' : Sanitize::sanitizePassword($options['secretKey']);
25
+ $region = empty($options['region']) ? '' : Sanitize::sanitizeString($options['region']);
26
+ $maxBackupsToKeep = empty($options['maxBackupsToKeep']) ? 2 : Sanitize::sanitizeInt($options['maxBackupsToKeep']);
27
+ $maxBackupsToKeep = $maxBackupsToKeep > 0 ? $maxBackupsToKeep : 15;
28
+ $location = empty($options['location']) ? '' : Sanitize::sanitizeString($options['location']);
29
+ $lastUpdated = empty($options['lastUpdated']) ? 0 : Sanitize::sanitizeInt($options['lastUpdated']);
30
+ $locationName = empty($locationName) ? 'Bucket' : $locationName;
31
+ ?>
32
+ <p>
33
+ <strong class="wpstg-fs-14"><?php echo esc_html($providerName); ?></strong>
34
+ <br/>
35
+ <br/>
36
+ <?php echo sprintf(esc_html__('Upload backup files to your %s account.', 'wp-staging'), esc_html($providerName)); ?>
37
+ <br>
38
+ <?php echo sprintf(
39
+ Escape::escapeHtml(__('None of your backup data is sent to any other party! <a href="%s" target="_blank">Our privacy policy</a>.', 'wp-staging')),
40
+ 'https://wp-staging.com/privacy-policy/#'
41
+ ); ?>
42
+ <br/>
43
+ </p>
44
+ <div class="wpstg-form-group">
45
+ <form class="wpstg-provider-settings-form" id="wpstg-provider-settings-form" method="post">
46
+ <div id="wpstg-provider-test-connection-fields">
47
+ <strong><?php esc_html_e('API Keys', 'wp-staging') ?></strong>
48
+
49
+ <input type="hidden" name="provider" value="<?php echo esc_attr($providerId); ?>" />
50
+
51
+ <?php if (!empty($settingLink) && !empty($settingText)) : ?>
52
+ <p>
53
+ <a href="<?php echo esc_attr($settingLink); ?>" target="_blank"><?php echo esc_html($settingText); ?></a>
54
+ </p>
55
+ <?php endif; ?>
56
+
57
+ <fieldset class="wpstg-fieldset">
58
+ <label><?php esc_html_e('Access Key', 'wp-staging') ?></label>
59
+ <input class="wpstg-form-control" type="text" name="access_key" value="<?php echo esc_attr($accessKey); ?>" />
60
+ </fieldset>
61
+
62
+ <fieldset class="wpstg-fieldset">
63
+ <label><?php esc_html_e('Secret Key', 'wp-staging') ?></label>
64
+ <input class="wpstg-form-control" type="text" name="secret_key" value="<?php echo esc_attr($secretKey); ?>" style="min-width:300px;" />
65
+ </fieldset>
66
+
67
+ <fieldset class="wpstg-fieldset">
68
+ <label><?php esc_html_e('Region', 'wp-staging') ?></label>
69
+ <?php if (!empty($regions)) { ?>
70
+ <select class="wpstg-form-select" name="region" style="min-width:300px;">
71
+ <?php foreach ($regions as $regionKey => $regionName) : ?>
72
+ <option value="<?php echo esc_attr($regionKey); ?>" <?php echo ($regionKey === $region) ? 'selected' : '' ; ?>><?php echo esc_html($regionName) . ' ' . esc_html($regionKey); ?></option>
73
+ <?php endforeach; ?>
74
+ </select>
75
+ <?php } else { ?>
76
+ <input class="wpstg-form-control" type="text" name="region" value="<?php echo esc_attr($region); ?>" />
77
+ <?php } ?>
78
+ </fieldset>
79
+
80
+ <fieldset class="wpstg-fieldset">
81
+ <label><?php esc_html_e($locationName, 'wp-staging') ?></label>
82
+ <span>s3:</span><input class="wpstg-form-control" type="text" name="location" value="<?php echo esc_attr($location); ?>" />
83
+ <?php if (!empty($settingLink1) && !empty($settingText1)) : ?>
84
+ <a href="<?php echo esc_attr($settingLink1); ?>" target="_blank"><?php echo esc_html($settingText1); ?></a>
85
+ <?php endif; ?>
86
+ <p>
87
+ <?php echo sprintf(
88
+ Escape::escapeHtml(__('Create the %1$s beforhand in your %2$s account and add it here! %3$s To add a subdirectory you can write <code>s3:[%1$s]/[directory-name]</code>. <br>The directory will be created by WP STAGING automatically during backup upload. ', 'wp-staging')),
89
+ esc_html($locationName),
90
+ esc_html($providerName),
91
+ '<br>'
92
+ ); ?>
93
+ </p>
94
+ </fieldset>
95
+ </div>
96
+ <button type="button" id="wpstg-btn-provider-test-connection" class="wpstg-link-btn wpstg-blue-primary"><?php esc_html_e("Test Connection", "wp-staging") ?></button>
97
+
98
+ <hr/>
99
+ <strong><?php esc_html_e('Upload Settings', 'wp-staging') ?></strong>
100
+ <fieldset class="wpstg-fieldset">
101
+ <label><?php esc_html_e('Max Backups to Keep', 'wp-staging') ?></label>
102
+ <input class="wpstg-form-control" type="number" name="max_backups_to_keep" value="<?php echo esc_attr($maxBackupsToKeep); ?>" min="1" style="max-width: 60px" />
103
+ </fieldset>
104
+
105
+ <?php
106
+ require_once "{$this->path}views/settings/tabs/storages/last-saved-notice.php";
107
+ ?>
108
+
109
+ <hr/>
110
+
111
+ <button type="button" id="wpstg-btn-save-provider-settings" class="wpstg-link-btn wpstg-blue-primary"><?php esc_html_e("Save Settings", "wp-staging") ?></button>
112
+ </form>
113
+ </div>
114
+ </fieldset>
Backend/views/settings/tabs/storages/digitalocean-spaces-settings.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @var string $providerId
5
+ */
6
+
7
+ $auth = \WPStaging\Core\WPStaging::make(\WPStaging\Pro\Backup\Storage\Storages\DigitalOceanSpaces\Auth::class);
8
+ $providerName = __('DigitalOcean Spaces', 'wp-staging');
9
+ $settingText = __('Create tokens on DigitalOcean', 'wp-staging');
10
+ $settingLink = 'https://cloud.digitalocean.com/account/api/tokens';
11
+ $settingText1 = __('Create Space on DigitalOcean', 'wp-staging');
12
+ $settingLink1 = 'https://cloud.digitalocean.com/spaces/new';
13
+ $locationName = 'Space';
14
+
15
+ $baseSettingsPath = $this->path . "views/settings/tabs/storages/base-s3-settings.php";
16
+ require_once($baseSettingsPath);
Backend/views/settings/tabs/storages/generic-s3-settings.php ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @var string $providerId
5
+ */
6
+
7
+ use WPStaging\Core\WPStaging;
8
+ use WPStaging\Framework\Facades\Escape;
9
+ use WPStaging\Framework\Facades\Sanitize;
10
+ use WPStaging\Pro\Backup\Storage\Storages\GenericS3\Auth;
11
+ use WPStaging\Pro\Backup\Storage\Storages\GenericS3\Providers;
12
+
13
+ ?>
14
+ <fieldset>
15
+ <?php
16
+ /** @var Auth */
17
+ $auth = WPStaging::make(Auth::class);
18
+ $providers = Providers::PROVIDERS;
19
+ $isStorageAuthenticated = $auth->isAuthenticated();
20
+ $options = $auth->getOptions();
21
+ $s3provider = empty($options['provider']) ? '' : Sanitize::sanitizeString($options['provider']);
22
+ $accessKey = empty($options['accessKey']) ? '' : Sanitize::sanitizePassword($options['accessKey']);
23
+ $secretKey = empty($options['secretKey']) ? '' : Sanitize::sanitizePassword($options['secretKey']);
24
+ $region = empty($options['region']) ? '' : Sanitize::sanitizeString($options['region']);
25
+ $maxBackupsToKeep = empty($options['maxBackupsToKeep']) ? 2 : Sanitize::sanitizeInt($options['maxBackupsToKeep']);
26
+ $maxBackupsToKeep = $maxBackupsToKeep > 0 ? $maxBackupsToKeep : 15;
27
+ $location = empty($options['location']) ? '' : Sanitize::sanitizeString($options['location']);
28
+ $lastUpdated = empty($options['lastUpdated']) ? 0 : Sanitize::sanitizeInt($options['lastUpdated']);
29
+
30
+ if ($s3provider === '') {
31
+ $customProviderName = empty($options['providerName']) ? '' : Sanitize::sanitizeString($options['providerName']);
32
+ $endpoint = empty($options['endpoint']) ? '' : Sanitize::sanitizeString($options['endpoint']);
33
+ $version = empty($options['version']) ? '' : Sanitize::sanitizeString($options['version']);
34
+ $ssl = isset($options['ssl']) ? Sanitize::sanitizeBool($options['ssl']) : false;
35
+ $usePathStyleEndpoint = isset($options['usePathStyleEndpoint']) ? Sanitize::sanitizeBool($options['usePathStyleEndpoint']) : false;
36
+ }
37
+
38
+ $locationName = empty($locationName) ? 'Bucket' : $locationName;
39
+
40
+ ?>
41
+ <p>
42
+ <strong class="wpstg-fs-14"><?php esc_html_e('Generic S3', 'wp-staging'); ?></strong>
43
+ <br/>
44
+ <br/>
45
+ <?php echo esc_html__('Upload backup files to your personal Generic S3 account.', 'wp-staging'); ?>
46
+ <br>
47
+ <?php echo sprintf(
48
+ Escape::escapeHtml(__('None of your backup data is sent to any other party! <a href="%s" target="_blank">Our privacy policy</a>.', 'wp-staging')),
49
+ 'https://wp-staging.com/privacy-policy/#'
50
+ ); ?>
51
+ <br/>
52
+ </p>
53
+ <div class="wpstg-form-group">
54
+ <form class="wpstg-provider-settings-form" id="wpstg-provider-settings-form" method="post">
55
+ <div id="wpstg-provider-test-connection-fields">
56
+ <strong><?php esc_html_e('API Keys', 'wp-staging') ?></strong>
57
+
58
+ <input type="hidden" name="provider" value="<?php echo esc_attr($providerId); ?>" />
59
+
60
+ <fieldset class="wpstg-fieldset">
61
+ <label><?php esc_html_e('S3 Compatible Provider', 'wp-staging') ?></label>
62
+ <select class="wpstg-form-select" name="s3_provider" style="min-width:300px;">
63
+ <option value="" <?php echo ('' === $s3provider) ? 'selected' : '' ; ?>><?php esc_html_e('Custom Provider', 'wp-staging'); ?></option>
64
+ <?php foreach ($providers as $providerArr) : ?>
65
+ <option value="<?php echo esc_attr($providerArr['key']); ?>" <?php echo ($providerArr['key'] === $s3provider) ? 'selected' : '' ; ?>><?php echo esc_html($providerArr['name']); ?></option>
66
+ <?php endforeach; ?>
67
+ </select>
68
+ </fieldset>
69
+
70
+ <div id="wpstg-s3-custom-provider-fields" class="hidden" <?php echo ('' === $s3provider) ? 'style="display: block;"' : '' ; ?>>
71
+
72
+ <strong><?php esc_html_e('Custom Provider', 'wp-staging') ?></strong>
73
+
74
+ <fieldset class="wpstg-fieldset">
75
+ <label><?php esc_html_e('Name', 'wp-staging') ?></label>
76
+ <input class="wpstg-form-control" type="text" name="provider_name" value="<?php echo esc_attr($customProviderName); ?>" />
77
+ </fieldset>
78
+
79
+ <fieldset class="wpstg-fieldset">
80
+ <label><?php esc_html_e('Endpoint', 'wp-staging') ?></label>
81
+ <input class="wpstg-form-control" type="text" name="endpoint" value="<?php echo esc_attr($endpoint); ?>" style="min-width:300px;" />
82
+ </fieldset>
83
+
84
+ <fieldset class="wpstg-fieldset">
85
+ <label><?php esc_html_e('Version', 'wp-staging') ?></label>
86
+ <input class="wpstg-form-control" type="text" name="version" value="<?php echo esc_attr($version); ?>" style="min-width:300px;" />
87
+ </fieldset>
88
+
89
+ <fieldset class="wpstg-fieldset">
90
+ <label><?php esc_html_e('SSL', 'wp-staging') ?></label>
91
+ <input type="checkbox" name="ssl" value="true" <?php echo $ssl === true ? 'checked ' : '' ?>/>
92
+ </fieldset>
93
+
94
+ <fieldset class="wpstg-fieldset">
95
+ <label><?php esc_html_e('Use path style endpoint', 'wp-staging') ?></label>
96
+ <input type="checkbox" name="use_path_style_endpoint" value="true" <?php echo $usePathStyleEndpoint === true ? 'checked ' : '' ?>/>
97
+ </fieldset>
98
+ </div>
99
+
100
+ <fieldset class="wpstg-fieldset">
101
+ <label><?php esc_html_e('Access Key', 'wp-staging') ?></label>
102
+ <input class="wpstg-form-control" type="text" name="access_key" value="<?php echo esc_attr($accessKey); ?>" />
103
+ </fieldset>
104
+
105
+ <fieldset class="wpstg-fieldset">
106
+ <label><?php esc_html_e('Secret Key', 'wp-staging') ?></label>
107
+ <input class="wpstg-form-control" type="text" name="secret_key" value="<?php echo esc_attr($secretKey); ?>" style="min-width:300px;" />
108
+ </fieldset>
109
+
110
+ <fieldset class="wpstg-fieldset">
111
+ <label><?php esc_html_e('Region', 'wp-staging') ?></label>
112
+ <input class="wpstg-form-control" type="text" name="region" value="<?php echo esc_attr($region); ?>" />
113
+ </fieldset>
114
+
115
+ <fieldset class="wpstg-fieldset">
116
+ <label><?php esc_html_e('Bucket Name', 'wp-staging') ?></label>
117
+ <input class="wpstg-form-control" type="text" name="location" value="<?php echo esc_attr($location); ?>" />
118
+ <p>
119
+ <?php echo sprintf(
120
+ Escape::escapeHtml(__("Create the %s beforhand in your S3 account and add it here! %s To add a subdirectory you can write <code>s3:[bucket-name]/[directory-name]</code>. <br>The directory will be created by WP STAGING automatically during backup upload. ", 'wp-staging')),
121
+ esc_html($locationName),
122
+ '<br>'
123
+ ); ?>
124
+ </p>
125
+ </fieldset>
126
+ </div>
127
+ <button type="button" id="wpstg-btn-provider-test-connection" class="wpstg-link-btn wpstg-blue-primary"><?php esc_html_e("Test Connection", "wp-staging") ?></button>
128
+
129
+ <hr/>
130
+ <strong><?php esc_html_e('Upload Settings', 'wp-staging') ?></strong>
131
+ <fieldset class="wpstg-fieldset">
132
+ <label><?php esc_html_e('Max Backups to Keep', 'wp-staging') ?></label>
133
+ <input class="wpstg-form-control" type="number" name="max_backups_to_keep" value="<?php echo esc_attr($maxBackupsToKeep); ?>" min="1" style="max-width: 60px" />
134
+ </fieldset>
135
+
136
+ <?php
137
+ require_once "{$this->path}views/settings/tabs/storages/last-saved-notice.php";
138
+ ?>
139
+
140
+ <hr/>
141
+
142
+ <button type="button" id="wpstg-btn-save-provider-settings" class="wpstg-link-btn wpstg-blue-primary"><?php esc_html_e("Save Settings", "wp-staging") ?></button>
143
+ </form>
144
+ </div>
145
+ </fieldset>
Backend/views/settings/tabs/storages/googledrive-settings.php CHANGED
@@ -6,12 +6,13 @@
6
 
7
  use WPStaging\Framework\Facades\Escape;
8
  use WPStaging\Framework\Facades\Sanitize;
 
9
 
10
  ?>
11
  <fieldset>
12
  <?php
13
  /** @var \WPStaging\Pro\Backup\Storage\Storages\GoogleDrive\Auth */
14
- $googleDriveStorage = \WPStaging\Core\WPStaging::getInstance()->get(\WPStaging\Pro\Backup\Storage\Storages\GoogleDrive\Auth::class);
15
  $isGoogleDriveAuthenticated = $googleDriveStorage->isAuthenticated();
16
  $options = $googleDriveStorage->getOptions();
17
 
6
 
7
  use WPStaging\Framework\Facades\Escape;
8
  use WPStaging\Framework\Facades\Sanitize;
9
+ use WPStaging\Pro\Backup\Storage\Storages\GoogleDrive\Auth;
10
 
11
  ?>
12
  <fieldset>
13
  <?php
14
  /** @var \WPStaging\Pro\Backup\Storage\Storages\GoogleDrive\Auth */
15
+ $googleDriveStorage = \WPStaging\Core\WPStaging::make(Auth::class);
16
  $isGoogleDriveAuthenticated = $googleDriveStorage->isAuthenticated();
17
  $options = $googleDriveStorage->getOptions();
18
 
Backend/views/settings/tabs/storages/wasabi-s3-settings.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @var string $providerId
5
+ */
6
+
7
+ $auth = \WPStaging\Core\WPStaging::make(\WPStaging\Pro\Backup\Storage\Storages\Wasabi\Auth::class);
8
+ $providerName = __('Wasabi S3', 'wp-staging');
9
+ $settingText = '';
10
+ $settingLink = '';
11
+ $settingText1 = '';
12
+ $settingLink1 = '';
13
+ $locationName = 'Wasabi Bucket';
14
+
15
+ $baseSettingsPath = $this->path . "views/settings/tabs/storages/base-s3-settings.php";
16
+ require_once($baseSettingsPath);
Backend/views/tools/tabs/import_export.php DELETED
@@ -1,57 +0,0 @@
1
- <!-- Export -->
2
- <div>
3
- <p>
4
- <strong class="wpstg-fs-14">
5
- <?php esc_html_e("Export Settings", "wp-staging")?>
6
- </strong>
7
- </p>
8
-
9
- <div class="inside">
10
- <p>
11
- <?php esc_html_e(
12
- "Export the WP-Staging settings for this site as a .json file. " .
13
- "This allows you to easily import the configuration into another site.",
14
- "wp-staging"
15
- )?>
16
- </p>
17
-
18
- <form method="post" action="<?php echo esc_url(admin_url("admin-post.php?action=wpstg_export")) ?>">
19
- <p><input type="hidden" name="wpstg-action" value="export_settings" /></p>
20
- <p>
21
- <?php wp_nonce_field("wpstg_export_nonce", "wpstg_export_nonce")?>
22
- <?php submit_button(esc_html__("Export", "wp-staging"), "primary", "submit", false)?>
23
- </p>
24
- </form>
25
- </div>
26
- </div>
27
- <!-- /Export -->
28
-
29
- <!-- Import -->
30
- <div class="">
31
- <h3>
32
- <strong class="wpstg-fs-14">
33
- <?php esc_html_e("Import Settings", "wp-staging")?>
34
- </strong>
35
- </h3>
36
-
37
- <div class="inside">
38
- <p>
39
- <?php esc_html_e(
40
- "Import the WP-Staging settings from a .json file. This file can be obtained " .
41
- "by exporting the settings on another site using the form above.",
42
- "wp-staging"
43
- )?>
44
- </p>
45
- <form method="post" enctype="multipart/form-data" action="<?php echo esc_url(admin_url("admin-post.php?action=wpstg_import_settings")) ?>">
46
- <p>
47
- <input type="file" name="import_file"/>
48
- </p>
49
- <p>
50
- <input type="hidden" name="wpstg-action" value="import_settings" />
51
- <?php wp_nonce_field("wpstg_import_nonce", "wpstg_import_nonce")?>
52
- <?php submit_button(esc_html__("Import", "wp-staging"), "secondary", "submit", false)?>
53
- </p>
54
- </form>
55
- </div>
56
- </div>
57
- <!-- /Import -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Core/Utils/Cache.php CHANGED
@@ -119,11 +119,11 @@ class Cache
119
  try {
120
  // Save it to file
121
  if (!wpstg_put_contents($cacheFile, @serialize($value))) {
122
- $this->returnException(" Can't save data to: " . $cacheFile . " Disk quota exceeded or not enough free disk space left");
123
  return false;
124
  }
125
  } catch (Exception $e) {
126
- $this->returnException(" Can't save data to: " . $cacheFile . " Error: " . $e);
127
  return false;
128
  }
129
  return true;
119
  try {
120
  // Save it to file
121
  if (!wpstg_put_contents($cacheFile, @serialize($value))) {
122
+ $this->returnException(" Can't save data to: " . $cacheFile . " Disk quota exceeded or not enough free disk space left. Ask your host to increase the storage disk space.");
123
  return false;
124
  }
125
  } catch (Exception $e) {
126
+ $this->returnException(" Can't write to: " . $cacheFile . " Error: " . $e);
127
  return false;
128
  }
129
  return true;
Core/Utils/functions.php CHANGED
@@ -12,26 +12,6 @@
12
 
13
  use WPStaging\Framework\Utils\WpDefaultDirectories;
14
 
15
- /**
16
- * PHP setup environment
17
- *
18
- * @return void
19
- */
20
- function wpstg_setup_environment()
21
- {
22
- // Set whether a client disconnect should abort script execution
23
- @ignore_user_abort(true);
24
-
25
- // Set maximum execution time
26
- @set_time_limit(0);
27
-
28
- // Set maximum time in seconds a script is allowed to parse input data
29
- @ini_set('max_input_time', '-1');
30
-
31
- // Set maximum backtracking steps
32
- @ini_set('pcre.backtrack_limit', PHP_INT_MAX);
33
- }
34
-
35
  /**
36
  * Windows Compatibility Fix
37
  * Replace Windows directory separator (Backward slash)
12
 
13
  use WPStaging\Framework\Utils\WpDefaultDirectories;
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  /**
16
  * Windows Compatibility Fix
17
  * Replace Windows directory separator (Backward slash)
Framework/Analytics/AnalyticsEventDto.php CHANGED
@@ -63,6 +63,7 @@ abstract class AnalyticsEventDto implements \JsonSerializable
63
  $this->site_info = $this->getAnalyticsSiteInfo();
64
  }
65
 
 
66
  public function jsonSerialize()
67
  {
68
  return get_object_vars($this);
63
  $this->site_info = $this->getAnalyticsSiteInfo();
64
  }
65
 
66
+ #[\ReturnTypeWillChange]
67
  public function jsonSerialize()
68
  {
69
  return get_object_vars($this);
Framework/BackgroundProcessing/Queue.php CHANGED
@@ -954,7 +954,7 @@ class Queue
954
  $now = current_time('mysql');
955
  $cancelQuery = "UPDATE {$tableName}
956
  SET status='{$newStatus}', claimed_at=NULL, updated_at='{$now}'
957
- WHERE jobId in (${jobIdsInterval})";
958
  $cancelResult = $this->database->query($cancelQuery, true);
959
 
960
  if ($cancelResult === false) {
954
  $now = current_time('mysql');
955
  $cancelQuery = "UPDATE {$tableName}
956
  SET status='{$newStatus}', claimed_at=NULL, updated_at='{$now}'
957
+ WHERE jobId in ({$jobIdsInterval})";
958
  $cancelResult = $this->database->query($cancelQuery, true);
959
 
960
  if ($cancelResult === false) {
Framework/Facades/Sanitize.php CHANGED
@@ -15,7 +15,7 @@ use WPStaging\Framework\Utils\Sanitize as UtilsSanitize;
15
  * @method static array sanitizeFileUpload(array $value)
16
  * @method static array sanitizeExcludeRules(string $value)
17
  * @method static array sanitizeArrayInt(array $value)
18
- * @method static array sanitizeArray(array $value)
19
  * @method static string decodeBase64AndSanitize(string $value)
20
  */
21
  class Sanitize extends Facade
15
  * @method static array sanitizeFileUpload(array $value)
16
  * @method static array sanitizeExcludeRules(string $value)
17
  * @method static array sanitizeArrayInt(array $value)
18
+ * @method static array sanitizeArray(array $value, array $config)
19
  * @method static string decodeBase64AndSanitize(string $value)
20
  */
21
  class Sanitize extends Facade
Framework/Filesystem/Filters/RecursivePathExcludeFilter.php CHANGED
@@ -58,6 +58,7 @@ class RecursivePathExcludeFilter extends RecursiveFilterIterator
58
  return $this->wpRootPath;
59
  }
60
 
 
61
  public function accept()
62
  {
63
  // Get the current SplFileInfo object
@@ -75,6 +76,7 @@ class RecursivePathExcludeFilter extends RecursiveFilterIterator
75
  return !$this->excludeFilter->isMatched($fileInfo);
76
  }
77
 
 
78
  public function getChildren()
79
  {
80
  return new self($this->getInnerIterator()->getChildren(), $this->excludePaths, $this->getWpRootPath());
58
  return $this->wpRootPath;
59
  }
60
 
61
+ #[\ReturnTypeWillChange]
62
  public function accept()
63
  {
64
  // Get the current SplFileInfo object
76
  return !$this->excludeFilter->isMatched($fileInfo);
77
  }
78
 
79
+ #[\ReturnTypeWillChange]
80
  public function getChildren()
81
  {
82
  return new self($this->getInnerIterator()->getChildren(), $this->excludePaths, $this->getWpRootPath());
Framework/Queue/FileSeekableQueue.php CHANGED
@@ -105,31 +105,37 @@ class FileSeekableQueue implements SeekableQueueInterface, \SeekableIterator
105
  }
106
  }
107
 
 
108
  public function current()
109
  {
110
  return $this->fileGenerator->current();
111
  }
112
 
 
113
  public function next()
114
  {
115
  $this->fileGenerator->next();
116
  }
117
 
 
118
  public function key()
119
  {
120
  return $this->fileGenerator->key();
121
  }
122
 
 
123
  public function valid()
124
  {
125
  return $this->fileGenerator->valid();
126
  }
127
 
 
128
  public function rewind()
129
  {
130
  $this->handle->fseek(0);
131
  }
132
 
 
133
  public function seek($offset)
134
  {
135
  $this->handle->fseek($offset);
105
  }
106
  }
107
 
108
+ #[\ReturnTypeWillChange]
109
  public function current()
110
  {
111
  return $this->fileGenerator->current();
112
  }
113
 
114
+ #[\ReturnTypeWillChange]
115
  public function next()
116
  {
117
  $this->fileGenerator->next();
118
  }
119
 
120
+ #[\ReturnTypeWillChange]
121
  public function key()
122
  {
123
  return $this->fileGenerator->key();
124
  }
125
 
126
+ #[\ReturnTypeWillChange]
127
  public function valid()
128
  {
129
  return $this->fileGenerator->valid();
130
  }
131
 
132
+ #[\ReturnTypeWillChange]
133
  public function rewind()
134
  {
135
  $this->handle->fseek(0);
136
  }
137
 
138
+ #[\ReturnTypeWillChange]
139
  public function seek($offset)
140
  {
141
  $this->handle->fseek($offset);
Framework/Traits/ResourceTrait.php CHANGED
@@ -226,7 +226,7 @@ trait ResourceTrait
226
  $memoryLimit = wp_convert_hr_to_bytes(ini_get('memory_limit'));
227
 
228
  // No memory limit
229
- if ($memoryLimit == -1) {
230
  $memoryLimit = 256 * MB_IN_BYTES;
231
  }
232
 
226
  $memoryLimit = wp_convert_hr_to_bytes(ini_get('memory_limit'));
227
 
228
  // No memory limit
229
+ if ($memoryLimit == -1 || $memoryLimit < 0) {
230
  $memoryLimit = 256 * MB_IN_BYTES;
231
  }
232
 
Framework/Utils/Sanitize.php CHANGED
@@ -189,7 +189,7 @@ class Sanitize
189
 
190
  /**
191
  * @param array $items
192
- * @param array $config
193
  * @return array
194
  */
195
  public function sanitizeArray($items, $config = [])
189
 
190
  /**
191
  * @param array $items
192
+ * @param array $config An array that defines the expected type of a key,e.g. ['thisIsAbooleanValue' => true, 'thisShouldBeAnInteger' => int]
193
  * @return array
194
  */
195
  public function sanitizeArray($items, $config = [])
Framework/Utils/ServerVars.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WPStaging\Framework\Utils;
4
+
5
+ class ServerVars
6
+ {
7
+ /**
8
+ * @param $int int
9
+ * @return void
10
+ */
11
+ public function setTimeLimit($int = 0)
12
+ {
13
+ // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.safe_modeDeprecatedRemoved
14
+ if (!in_array("set_time_limit", explode(',', ini_get("disable_functions")))) {
15
+ set_time_limit($int);
16
+ }
17
+ }
18
+ }
assets/css/dist/wpstg-admin.css CHANGED
@@ -60,7 +60,7 @@
60
  color: #83c11f; }
61
 
62
  .wpstg--grey {
63
- color: #3e3e3e; }
64
 
65
  .wpstg--darkgrey {
66
  color: #1b1b1b; }
@@ -2149,11 +2149,11 @@ li#wpstg-backup-no-results .no-backups-found-text, #wpstg-no-staging-site-result
2149
  max-width: 1200px !important; }
2150
 
2151
  .wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title {
2152
- color: #a8a8a8; }
2153
 
2154
  .wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content {
2155
  margin-top: 8px;
2156
- color: #a8a8a8; }
2157
 
2158
  .wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step,
2159
  .wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,
@@ -2302,9 +2302,6 @@ body.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-sho
2302
  .wpstg-restore-finished-container .wpstg--swal2-title {
2303
  color: #565656 !important; }
2304
 
2305
- /*#wpstg-restore-success {
2306
- color: #565656;
2307
- }*/
2308
  .wpstg-restore-finished-container .wpstg--swal2-content {
2309
  margin-top: 20px;
2310
  color: #a8a8a8; }
60
  color: #83c11f; }
61
 
62
  .wpstg--grey {
63
+ color: #393939; }
64
 
65
  .wpstg--darkgrey {
66
  color: #1b1b1b; }
2149
  max-width: 1200px !important; }
2150
 
2151
  .wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title {
2152
+ color: #393939; }
2153
 
2154
  .wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content {
2155
  margin-top: 8px;
2156
+ color: #393939; }
2157
 
2158
  .wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step,
2159
  .wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,
2302
  .wpstg-restore-finished-container .wpstg--swal2-title {
2303
  color: #565656 !important; }
2304
 
 
 
 
2305
  .wpstg-restore-finished-container .wpstg--swal2-content {
2306
  margin-top: 20px;
2307
  color: #a8a8a8; }
assets/css/dist/wpstg-admin.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["wpstg-admin.scss"],"names":[],"mappings":"AAAA,gBAAgB;AAChB;;;;;;;CAOC;AACD,SAAS;AACT;EACE,8BAA8B;EAC9B,2BAA2B,EA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qBAAqB;EACrB,iBAAiB;EACjB,kBAAkB,EAAE;;AAEtB;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,gBAAgB,EAAE;;AAEpB;EACE,gBAAgB,EAAE;;AAEpB;EACE,oBAAoB;EACpB,mBAAmB,EAAE;;AAEvB;EACE,gBAAgB,EAAE;;AAEpB;EACE,WAAW;EACX,YAAY,EAAE;;AAEhB;EACE,kBAAkB,EAAE;;AAEtB;EACE,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;EAChB,6EAA6E;EAC7E,qEAAqE,EAAE;;AAEzE;EACE;IACE,YAAY;IACZ,gBAAgB;IAChB,cAAc;IACd,iBAAiB,EAAE;EACrB;IACE,UAAU;IACV,cAAc,EAAE;EAClB;IACE,UAAU,EAAE,EAAE;;AAElB;EACE,WAAW;EACX,yBAAyB;EACzB,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,eAAe;EACf,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;EACnB,cAAc;EACd,qBAAqB;EACrB,mBAAmB,EAAE;;AAEvB;EACE,gCAAgC;EAChC,mBAAmB;EACnB,cAAc;EACd,6DAA6D;EAC7D,qDAAqD,EAAE;;AAEzD;EACE,mBAAmB,EAAE;;AAEvB;EACE;;KAEG;EACH,SAAS;EACT,gBAAgB;EAChB,iBAAiB;EACjB,oBAAoB,EAAE;;AAExB;EACE,kBAAkB,EAAE;;AAEtB;EACE,0BAA0B,EAAE","file":"wpstg-admin.css","sourcesContent":["@charset \"UTF-8\";\n/**\n * WPSTG Admin CSS\n *\n * @package WPSTG\n * @subpackage Admin CSS\n * @copyright Copyright (c) 2021, René Hermenau\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n/* vars */\n:root {\n --wpstg-color-warning: #ffb804;\n --wpstg-color-info: #24a1f0; }\n\n/* IMPORTS */\n.wpstg-badge {\n background: #f8f9fa;\n color: #333;\n border-radius: 3px;\n font-size: 12px;\n padding: 4px 8px; }\n .wpstg-badge.wpstg-badge-warning {\n background: var(--wpstg-color-warning);\n color: #fff; }\n .wpstg-badge.wpstg-badge-info {\n background: var(--wpstg-color-info);\n color: #fff; }\n\n/* Font Faces */\n/* roboto-regular - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n src: url(\"../../fonts/roboto-v29-latin-regular.eot\");\n /* IE9 Compat Modes */\n src: local(\"\"), url(\"../../fonts/roboto-v29-latin-regular.eot?#iefix\") format(\"embedded-opentype\"), url(\"../../fonts/roboto-v29-latin-regular.woff2\") format(\"woff2\"), url(\"../../fonts/roboto-v29-latin-regular.woff\") format(\"woff\"), url(\"../../fonts/roboto-v29-latin-regular.ttf\") format(\"truetype\"), url(\"../../fonts/roboto-v29-latin-regular.svg#Roboto\") format(\"svg\");\n /* Legacy iOS */ }\n\n/* Colors */\n.wpstg--violet {\n color: #9d37ae; }\n\n.wpstg-border--violet {\n border: 1px solid #9d37ae; }\n\n.wpstg--red {\n color: #E01E5A; }\n\n.wpstg-cta--red {\n color: #fe008f; }\n\n.wpstg--blue {\n color: #24a1f0; }\n\n.wpstg--darkblue {\n color: #0e86d9; }\n\n.wpstg--green {\n color: #83c11f; }\n\n.wpstg--grey {\n color: #3e3e3e; }\n\n.wpstg--darkgrey {\n color: #1b1b1b; }\n\n.wpstg--filter--svg {\n filter: invert(24%) sepia(11%) saturate(558%) hue-rotate(169deg) brightness(97%) contrast(91%); }\n\n/* CSS for Tabs */\nbody.wp-staging-pro_page_wpstg_backup,\nbody.toplevel_page_wpstg_clone,\nbody.wp-staging-pro_page_wpstg-settings,\nbody.wp-staging-pro_page_wpstg-tools,\nbody.wp-staging-pro_page_wpstg-license {\n background-color: #f3f5f7; }\n\n#wpstg-tab-container ul {\n list-style: none;\n margin: 0;\n padding: 0;\n background: #f1f1f1;\n float: left; }\n\n#wpstg-tab-container ul li:first-child.selected-tab {\n border-top: none; }\n\n#wpstg-tab-container ul li a.selected-tab {\n font-weight: bold;\n text-decoration: none; }\n\n#wpstg-tab-container .row {\n padding-top: 10px;\n padding-bottom: 12px; }\n\n.wpstg-tabs-container .nav-tab-wrapper {\n padding: 0; }\n\n#wpstg-tab-container .row label strong,\n#wpstg-tab-container .row strong {\n font-weight: bold; }\n\n.wpstg-tabs a {\n padding: 5px; }\n\n#wpstg-tab-container > ul > li.wpstg-tabs.active {\n background-color: white; }\n\n#wpstg_settingsgeneral_header .row:nth-child(3),\n#wpstg_settingsgeneral_header .row:nth-child(4) {\n display: none; }\n\n#wpstg-tab-container .wpstg-settings-panel {\n padding: 0 20px 20px 20px;\n overflow: auto; }\n\n#wpstg-tab-container .wpstg-form-table th {\n vertical-align: top;\n text-align: left;\n padding: 20px 10px 20px 0;\n line-height: 1.3;\n font-weight: bold;\n font-size: 14px;\n color: #484848;\n width: 30%; }\n\n#wpstg-tab-container .wpstg-form-table tr {\n border-bottom: 1px solid #E7E7E7; }\n\n#wpstg-tab-container span.description {\n display: block;\n font-weight: 400;\n font-style: normal;\n font-size: 13px;\n margin-top: 7px;\n color: #484848; }\n\n#wpstg-tab-container .col-title {\n color: #484848; }\n\n@media only screen and (max-width: 680px) {\n #wpstg-tab-container ul {\n float: none; }\n #wpstg-tab-container .wpstg-form-table tr > th {\n width: 100%; }\n #wpstg-tab-container span.description {\n font-size: 14px; }\n #wpstg-tab-container .wpstg-form-table tr > th,\n #wpstg-tab-container .wpstg-form-table tr > td {\n padding: 10px; } }\n\n#wpstg-tab-container ul li {\n margin-bottom: 0; }\n\n#wpstg-tab-container ul li a {\n display: block;\n padding: 10px 4px 10px 14px;\n border-width: 1px 0;\n border-style: solid;\n border-top-color: white;\n border-bottom-color: #e7e7e7;\n text-decoration: none;\n color: #0097DF;\n font-weight: bold; }\n\n#wpstg-tab-container ul li a:hover {\n background-color: #e5e5e5;\n color: #777777; }\n\n.wpstg-logo {\n display: block;\n font-size: 16px;\n padding-top: 20px;\n width: 220px;\n float: left; }\n\n.wpstg-logo img {\n max-width: 212px; }\n\n.wpstg-version {\n display: block;\n padding-top: 40px;\n color: #9b9b9b; }\n\n.wpstg_admin .nav-tab {\n color: #3C3C3C; }\n\n#wpstg-tab-container table tbody tr:nth-child(1) > th > div {\n font-size: 20px; }\n\n/* Cloning workflow */\n#wpstg-clonepage-wrapper {\n margin-bottom: 20px;\n width: 98%; }\n\n@media screen and (min-width: 1090px) {\n #wpstg-clonepage-wrapper {\n float: left;\n margin-bottom: 20px; } }\n\n#wpstg-steps {\n margin-top: 0px;\n margin-left: 20px; }\n\n#wpstg-steps li {\n color: #444;\n line-height: 20px;\n padding-right: 10px;\n float: left; }\n\n.wpstg-step-num {\n border: 1px solid #3e3e3e;\n border-radius: 3px;\n display: inline-block;\n width: 20px;\n height: 20px;\n text-align: center;\n margin-right: 5px; }\n\n.wpstg-current-step {\n font-weight: bold; }\n\n.wpstg-current-step .wpstg-step-num {\n background: #3e3e3e;\n color: #eee; }\n\n.wpstg-box {\n margin: 10px 0;\n padding: 10px;\n position: relative;\n overflow: hidden;\n transition: border-color .2s ease-in-out; }\n\n.wpstg-clone {\n margin-bottom: 10px;\n padding: 16px;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 3px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n.wpstg-clone.active {\n border-color: #1d94cf; }\n\n.wpstg-clone-header {\n display: flex;\n align-items: center; }\n\n.wpstg-clone-title {\n display: inline-block;\n margin-right: 8px;\n font-size: 15px;\n max-width: 300px;\n text-decoration: none;\n font-weight: bold;\n color: #3e3e3e; }\n\n.wpstg-clone-title:hover {\n color: #111111; }\n\n.wpstg-clone-labels {\n display: inline-block; }\n\n.wpstg-clone-labels .wpstg-clone-label {\n display: inline-block;\n padding: 1px 4px;\n margin-right: 4px;\n font-size: 11px;\n border-radius: 3px;\n background: #8bc34a;\n color: #fff; }\n\n.wpstg-clone-actions {\n margin-left: auto;\n display: flex;\n margin-top: 5px; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler {\n text-decoration: none;\n background: #25a1f0;\n padding: 6px 10px;\n border-radius: 2px;\n font-size: 14px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n color: #ffffff; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler:hover {\n background: #002648;\n color: white; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu {\n background: #fff;\n display: none;\n flex-direction: column;\n position: absolute;\n right: 0;\n top: calc(100% + 4px);\n padding: 8px;\n border-radius: 2px;\n width: 100px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n z-index: 1000; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.wpstg-menu-dropup {\n top: auto;\n bottom: 100%;\n transform: translate3d(0px, -3px, 0px); }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.shown {\n display: flex; }\n\n.wpstg-clone-action,\n.wpstg-dropdown-action {\n color: #3e3e3e;\n padding: 6px 8px;\n border-radius: 3px;\n text-decoration: none;\n position: relative;\n transition: color .2s ease-in-out;\n border-bottom: 1px solid #f3f3f3; }\n\n.wpstg-clone-action:hover,\n.wpstg-dropdown-action:hover {\n background: rgba(0, 0, 0, 0.05); }\n\n.wpstg-dropdown-action {\n color: #3e3e3e;\n background: transparent;\n border: 0 solid black;\n outline: none;\n box-shadow: none; }\n\n.wpstg-remove-clone:hover {\n color: #E01E5A; }\n\n.wpstg-clone-action:last-child {\n border: none; }\n\n.wpstg-clone:hover .wpstg-clone-action {\n display: inline-block; }\n\n#wpstg-show-error-details:focus,\n#wpstg-workflow .wpstg-clone-action {\n outline: none;\n box-shadow: none; }\n\n.wpstg-link-btn {\n background: #45a1c9;\n color: #fff;\n display: inline-block;\n padding: 5px 10px;\n text-decoration: none;\n vertical-align: baseline;\n transition: all .2s ease-in-out; }\n\n.wpstg-link-btn:hover,\n.wpstg-link-btn:focus {\n color: #fff;\n outline: none;\n box-shadow: none; }\n\n#wpstg-workflow .wpstg-link-btn:active {\n vertical-align: baseline; }\n\n.wpstg-link-btn[disabled] {\n background: #777 !important;\n border-color: #555 !important;\n pointer-events: none; }\n\n#wpstg-cancel-cloning,\n#wpstg-cancel-cloning-update {\n margin-top: 5px; }\n\n#wpstg-cancel-cloning.success,\n#wpstg-cancel-cloning.success {\n background: #64dd58;\n border-color: #54bd4a; }\n\n#wpstg-error-wrapper,\n#wpstg-error-details {\n display: none;\n padding-top: 10px;\n font-size: 13px;\n clear: both; }\n\n#wpstg-show-error-details {\n display: inline-block;\n margin-left: 5px;\n color: #555;\n text-decoration: none;\n transition: color .2s ease-in-out; }\n\n#wpstg-show-error-details:hover {\n color: #1d94cf; }\n\n#wpstg-error-details {\n border-left: 5px solid #E01E5A;\n padding: 10px;\n width: 500px; }\n\n#wpstg-try-again {\n display: none; }\n\n#wpstg-home-link {\n float: right; }\n\n.wpstg-loader {\n content: url(\"../../img/loading.gif\");\n display: none; }\n\n.wpstg-loader.wpstg-finished {\n display: block;\n content: \"Finished\";\n background-color: #00c89a;\n color: white;\n padding: 2px 10px;\n margin-top: 0;\n border-radius: 3px; }\n\n#wpstg-workflow {\n max-width: 800px;\n position: relative;\n clear: both;\n padding-top: 20px;\n float: left;\n min-width: 500px;\n min-height: 380px;\n padding-right: 20px;\n padding-bottom: 20px; }\n\n#wpstg-sidebar {\n float: left;\n max-width: 400px;\n display: block;\n margin-left: 10px; }\n\n#wpstg-workflow.loading::after,\n#wpstg-removing-clone.loading::after {\n background: rgba(255, 255, 255, 0.7);\n content: 'Loading... may take a while for huge websites';\n display: block;\n width: 100%;\n height: 100%;\n font-size: 20px;\n padding-top: 100px;\n text-align: center;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 99; }\n\n#wpstg-removing-clone.loading::after {\n content: 'REMOVING' !important; }\n\n#wpstg-existing-clones,\n#wpstg-removing-clone {\n position: relative; }\n\n#wpstg-existing-clones h3 {\n color: #3e3e3e; }\n\n#wpstg-removing-clone .wpstg-tab-section {\n display: block; }\n\n.wpstg-progress-bar {\n max-width: 900px;\n height: 27px;\n padding: 0;\n background-color: #d6d8d7; }\n\n.wpstg-progress {\n float: left;\n background: #3fa5ee;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center;\n overflow: hidden; }\n\n.wpstg-progress-files {\n background: #16b4f0;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center; }\n\n#wpstg-new-clone-id.wpstg-error-input,\n#wpstg-clone-path.wpstg-error-input {\n border: 1px solid #E01E5A;\n box-shadow: 0 0 2px rgba(255, 66, 53, 0.8); }\n\n#wpstg-new-clone-id {\n width: 450px;\n max-width: 100%;\n margin-left: 15px; }\n\n#wpstg-new-clone {\n background: #25a1f0;\n border-color: #2188c9; }\n\n#wpstg-new-clone:hover {\n background: #259be6;\n border-color: #2188c9; }\n\n#wpstg-clone-path {\n margin-left: 10px;\n width: 350px; }\n\n.wpstg-error-msg {\n color: #E01E5A; }\n\n#wpstg-clone-id-error {\n display: block;\n background-color: #f0f8ff;\n padding: 10px;\n margin: 20px; }\n\n#wpstg-start-cloning + .wpstg-error-msg {\n display: block;\n margin-top: 5px; }\n\n.wpstg-size-info {\n color: #999;\n font-weight: normal;\n position: relative;\n left: 2px; }\n\n.wpstg-db-table .wpstg-size-info {\n top: 2px; }\n\n.wpstg-db-table:hover {\n background-color: #f0f8ff; }\n\n#wpstg-workflow #wpstg-start-cloning {\n margin-left: 5px;\n vertical-align: baseline; }\n\n/* Tabs */\n.wpstg-tabs-wrapper {\n max-width: 640px;\n margin: 10px 0; }\n\n#wpstg-path-wrapper {\n border-bottom: 2px dashed #ccc;\n padding-bottom: 10px;\n margin-bottom: 10px; }\n\n.wpstg-tab-section {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n display: none;\n width: calc(100% - 72px);\n padding: 0px 36px; }\n\n.wpstg-tab-section::after {\n display: block;\n content: '';\n clear: both; }\n\n.wpstg-tab-header {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n color: #444;\n font-size: 16px;\n font-weight: bold;\n display: block;\n padding: 10px;\n text-decoration: none; }\n\n.wpstg-tab-triangle {\n display: inline-block;\n margin-right: 12px;\n animation: transform 0.5s;\n width: 0;\n height: 0;\n margin-top: -3px;\n vertical-align: middle;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 10px solid;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-tab-triangle.wpstg-no-icon {\n margin-right: 2px;\n width: auto;\n height: auto;\n vertical-align: auto;\n border-top: 0px solid;\n border-bottom: 0px solid;\n border-left: 0px solid; }\n\n.wpstg-tab-triangle.wpstg-rotate-90 {\n transform: rotate(90deg); }\n\n.wpstg-tab-header:focus {\n color: #444;\n outline: none;\n box-shadow: none; }\n\n#wpstg-large-files {\n display: none;\n border: 1px dashed #ccc;\n padding: 10px 10px 10px;\n margin-top: 20px;\n position: relative;\n font-size: 12px; }\n\n#wpstg-large-files h3 {\n background: #fff;\n margin: 0;\n padding: 0 5px;\n position: absolute;\n top: -10px;\n left: 5px; }\n\n.wpstg-subdir {\n display: none;\n margin-left: 20px; }\n\n.wpstg-subdir.wpstg-push {\n display: block;\n margin-left: 20px; }\n\n.wpstg-dir a.disabled {\n color: #888;\n cursor: default;\n text-decoration: none; }\n\n.wpstg-check-subdirs {\n display: inline-block;\n margin-left: 10px; }\n\n.wpstg-notice-alert {\n display: block;\n background-color: #E01E5A;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px;\n color: white; }\n\n.wpstg-notice--white {\n display: block;\n background-color: #ffffff;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px; }\n\n.wpstg-notice-alert a {\n color: white; }\n\n.wpstg-notice-alert h3 {\n color: white; }\n\n.wpstg-header {\n font-weight: 400;\n line-height: 1.6em;\n font-size: 19px;\n /*\n border-bottom: 1px solid #DFDFDF;\n */\n clear: both;\n padding-top: 10px; }\n\n#wpstg-clone-label {\n font-size: 14px;\n font-weight: bold; }\n\n.wpstg-log-details {\n height: 300px;\n overflow: scroll;\n max-width: 650px;\n font-family: monospace;\n font-size: 12px;\n line-height: 15px;\n border: 1px solid #FFF;\n background-color: black;\n color: #c0c0c0;\n padding: 3px;\n white-space: nowrap;\n margin-top: 15px; }\n\n#wpstg-finished-result {\n display: none; }\n\n#wpstg-remove-cloning {\n background: #ff3428;\n border-color: #e72f24;\n margin-top: 5px; }\n\n#wpstg-success-notice {\n padding: 10px;\n background-color: white;\n max-width: 900px;\n border: 1px solid #ccc;\n margin-top: 20px; }\n\n.wpstg_beta_notice {\n margin-bottom: 20px; }\n\n.wpstg-sysinfo {\n width: 700px;\n height: 400px; }\n\n.wpstg-form-table .col-title label {\n font-weight: 600; }\n\n.wpstg-form-table td:first-child {\n width: 30%;\n padding-right: 20px; }\n\n.wpstg-share-button-container {\n margin: 5px 0; }\n\n.wpstg-share-button-container p {\n margin: 0 0 10px 0; }\n\n.wpstg-share-button {\n display: inline-block; }\n\n.wpstg-share-button a {\n text-decoration: none; }\n\n.wpstg-share-button .wpstg-share {\n font-family: sans-serif;\n font-weight: bold;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-share-button .wpstg-share {\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n color: #FFF;\n display: inline;\n font-size: 12px;\n padding: 4px 8px; }\n\n.wpstg-share-button-twitter .wpstg-share {\n background-color: #00ABF0; }\n\n.wpstg-share-button-facebook .wpstg-share {\n background-color: #3b5998; }\n\n.wpstg-share-button-googleplus .wpstg-share {\n background-color: #F53424; }\n\n.wpstg-share-button-twitter .share:active,\n.wpstg-share-button-facebook .share:active,\n.wpstg-share-button-googleplus .share:active {\n background-color: #353535; }\n\n#wpstg-check-space {\n margin-left: 8px; }\n\n#wpstg-welcome li {\n font-size: 18px;\n line-height: 29px;\n position: relative;\n padding-left: 23px;\n list-style: none !important; }\n\n#wpstg-welcome {\n margin-top: 20px;\n margin-right: 20px;\n background-color: white; }\n\n.wpstg-heading-pro {\n font-weight: bold; }\n\n.wpstg-h2 {\n margin-top: 0;\n margin-bottom: 1.2rem;\n font-size: 30px;\n line-height: 2.5rem; }\n\n#wpstg-welcome li:before {\n width: 1em;\n height: 100%;\n background: url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left 0.4em no-repeat;\n background-size: contain;\n content: \"\";\n position: absolute;\n top: -2px;\n left: 0;\n color: #77b227; }\n\n.wpstg-h1 {\n margin-bottom: 1.35rem;\n font-size: 2.5em;\n line-height: 3.68rem;\n letter-spacing: normal; }\n\n.wpstg--swal2-content {\n color: #3e3e3e; }\n\n.wpstg--swal2-content h1 {\n color: #444; }\n\n#wpstg-welcome h2 {\n margin: 0 0 15px; }\n\n#wpstg-welcome .wpstg-footer {\n clear: both;\n margin-top: 20px;\n font-style: italic; }\n\n#wpstg-footer {\n clear: both;\n margin-top: 20px;\n margin-right: 10px;\n padding-top: 50px; }\n\n#wpstg-footer a {\n text-decoration: none; }\n\n#wpstg-footer li {\n margin-bottom: 2px;\n list-style: circle; }\n\n#wpstg-footer ul {\n margin-left: 15px;\n margin-top: 0px; }\n\n.wpstg-footer--title {\n margin-left: 15px; }\n\n.wpstg-staging-info {\n margin-top: 8px;\n color: #3e3e3e;\n font-size: 12px; }\n\n.wpstg-staging-info a {\n color: #3e3e3e; }\n\n.wpstg-staging-info li {\n margin-bottom: 2px; }\n\n.wpstg-bold {\n font-weight: 600; }\n\n#wpstg-processing-status {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: left; }\n\n#wpstg-processing-timer {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: right; }\n\n#wpstg-report-issue-button {\n margin-left: 30px;\n border: 1px solid #E01E5A;\n color: #E01E5A;\n background-color: white; }\n\n#wpstg-report-issue-button:hover {\n background-color: #dc2b62;\n color: #fff; }\n\n.wpstg-blue-primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n height: 28px;\n margin: 0;\n /*\n padding: 0 10px 1px;\n */\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n -webkit-appearance: none;\n border-radius: 3px;\n white-space: nowrap;\n box-sizing: border-box;\n background: #25a1f0;\n border-color: #2188c9;\n color: #fff;\n /*\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n */ }\n\n.wpstg-blue-primary:hover {\n background: #127fc6; }\n\na.wpstg-blue-primary {\n padding: 5px 10px;\n height: auto; }\n\n.wpstg-blue-primary:hover {\n background-color: #259be6; }\n\n.wpstg-report-issue-form {\n position: absolute;\n z-index: 999;\n width: 300px;\n background-color: #fff;\n padding: 15px 15px 10px;\n border: 1px solid #e8e8e8;\n border-radius: 3px;\n box-shadow: 0 1px 0 0 #fff inset;\n display: none;\n right: 0;\n top: 35px; }\n\n@media (max-width: 600px) {\n .wpstg-report-issue-form {\n position: relative; } }\n\n.wpstg-report-show {\n display: block; }\n\n.wpstg-field input[type=text],\n.wpstg-field textarea {\n width: 100%;\n font-weight: 400;\n line-height: 1.4;\n margin-bottom: 4px; }\n\n.wpstg-report-email,\n.wpstg-report-hosting-provider {\n width: 100%;\n font-weight: 400;\n font-size: .8rem;\n height: 2.3rem;\n line-height: 2.3rem;\n border-radius: 3px;\n margin-bottom: 4px;\n padding: 0 10px; }\n\n.wpstg-report-description {\n border-radius: 3px;\n font-size: .8rem;\n padding: 6px 10px;\n resize: none; }\n\n.wpstg-report-privacy-policy {\n font-size: 12px;\n margin-bottom: 15px; }\n\n#wpstg-report-cancel {\n float: right;\n margin-right: 5px;\n font-weight: bold; }\n\n#wpstg-success-button {\n font-weight: bold; }\n\n.wpstg-message {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n background-color: #f5e0de;\n border-radius: 3px;\n color: rgba(0, 0, 0, 0.6);\n height: auto;\n margin: 10px 0;\n min-height: 18px;\n padding: 6px 10px;\n position: relative; }\n\n.wpstg-message.wpstg-error-message {\n background-color: #f5e0de;\n color: #b65147;\n font-size: 12px; }\n\n.wpstg-message.wpstg-success-message {\n background-color: #d7f8e0;\n color: #515151; }\n\n.wpstg-message p {\n margin: 3px 0;\n font-size: 13px; }\n\n.wpstg-warning {\n display: block;\n padding: 10px;\n background-color: #ffb804;\n color: #ffffff;\n margin: 10px 10px 10px 0; }\n\n.wpstg-warning a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n.wpstg-error {\n display: block;\n padding: 10px !important;\n background-color: #E01E5A !important;\n color: #ffffff;\n margin: 10px 10px 10px 0 !important;\n border-color: transparent !important;\n border-left-color: transparent !important;\n box-shadow: none !important; }\n\n.wpstg-error a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n#wpstg-resume-cloning {\n display: none; }\n\n#wpstg-external-db th {\n text-align: left;\n width: 120px; }\n\n#wpstg-db-connect {\n font-weight: normal; }\n\n#wpstg-db-status {\n display: block;\n margin-top: 5px;\n padding: 5px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-text-field > #wpstg-db-status {\n margin-top: 8px;\n margin-left: 150px;\n min-width: 300px; }\n\n.wpstg-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6; }\n\n.wpstg-failed {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1; }\n\n#wpstg_select_tables_cloning {\n height: 600px;\n font-size: 13px; }\n\n#wpstg_select_tables_pushing {\n height: 400px;\n font-size: 13px; }\n\n#wpstg-update-notify {\n background-color: #E01E5A;\n font-size: 14px;\n color: #ffffff;\n line-height: normal;\n padding: 10px; }\n\n#wpstg-update-notify a {\n color: #ffffff;\n font-weight: bold; }\n\n.wpstg-pointer {\n cursor: pointer; }\n\n.wpstg--tab--header {\n background-color: white;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 0px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.02); }\n\n.wpstg--tab--header ul {\n display: flex; }\n\n.wpstg--tab--header ul li {\n margin-right: 1em;\n margin-bottom: 0px; }\n\n.wpstg--tab--header ul li:last-child {\n margin-right: 0; }\n\n.wpstg--tab--header a {\n min-width: 150px;\n text-align: center;\n cursor: pointer;\n display: inline-block;\n padding: 1em 1.25em;\n padding-bottom: 9px;\n color: #c4c4c4;\n font-size: 18px; }\n\n.wpstg--tab--header a.wpstg--tab--active {\n border-bottom: 3px solid #0e86d9;\n color: #25A1F0; }\n\n.wpstg--tab--header a:hover {\n background-color: #fefefe;\n border-bottom: 3px solid #0e86d9;\n color: #0e86d9; }\n\n.wpstg--tab--content {\n display: none; }\n\n.wpstg--tab--active {\n display: block; }\n\n#wpstg-premium-header {\n font-size: 1.5rem;\n font-weight: bold; }\n\n.wpstg--text--strong,\n.wpstg--text--strong * {\n font-weight: bold !important; }\n\n.wpstg--text--danger {\n color: #a94442; }\n\n.wpstg--tooltip {\n position: relative;\n display: inline-block;\n margin-left: 5px; }\n\n.wpstg--tooltip.wpstg--tooltip-normal {\n margin-left: 0;\n border-bottom: 0; }\n\n.wpstg--tooltip .wpstg--tooltiptext {\n visibility: hidden;\n width: 300px;\n background-color: #ffffff;\n color: #505050;\n text-align: left;\n padding: 12px;\n border-radius: 3px;\n position: absolute;\n z-index: 1;\n -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n font-weight: normal; }\n\n.wpstg--tooltiptext-backups {\n width: 120px;\n top: 100%;\n left: -150%;\n margin-left: -56px;\n margin-top: 4px; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip {\n border-bottom: 0px solid transparent; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip > .wpstg--tooltiptext {\n margin-top: 0px;\n margin-left: -150px; }\n\n/**\nTooltip top arrow\n */\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n /* At the top of the tooltip */\n left: 50%;\n margin-left: 25px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow {\n margin-top: 6px; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -18px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--snaphot-restore-table tr {\n line-height: 12px; }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-beta-notice {\n background-color: #b0e8b0;\n border-radius: 3px;\n padding: 7px;\n margin-bottom: 20px; }\n\n#wpstg-backup-name {\n font-size: 1.875em;\n font-weight: 600; }\n\n#wpstg_select_tables_cloning option:checked,\n#wpstg_select_tables_pushing option:checked {\n /* Cannot use background color here because Chrome and Firefox ignore it even if set to !important */\n -webkit-appearance: menulist-button;\n background-image: linear-gradient(0deg, #1e90ff 0%, #1e90ff 100%); }\n\n.wpstg--btn--cancel {\n background: #ff3428;\n border-color: #e72f24;\n color: #fff;\n height: auto;\n line-height: normal;\n font-size: 16px;\n padding: .5em;\n margin-bottom: 1.5em; }\n\n.wpstg--btn--cancel:hover {\n background: #ff3428;\n border-color: #e72f24; }\n\n.wpstg--process--content > .wpstg--swal2-html-container {\n padding: 4em 2em !important; }\n\n.wpstg--modal--process--logs,\n.wpstg--modal--error--logs {\n background: #ffffff;\n border: 1px solid #a8a8a8;\n border-radius: 3px;\n height: 300px;\n margin-top: 1em;\n display: none;\n padding-top: 10px;\n padding-left: 10px;\n overflow: auto;\n text-align: justify; }\n\n.wpstg--modal--error--logs {\n height: auto;\n max-height: 300px; }\n\n.wpstg--modal--process--logs p {\n font-size: 12px;\n white-space: nowrap; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--info {\n color: #222222; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--debug {\n color: #757575; }\n\n.wpstg--modal--process--title {\n color: #565656;\n margin: .25em 0; }\n\n.wpstg--modal--process--subtitle {\n margin: .5em 0;\n color: #565656; }\n\n.wpstg--modal--error--logs > p {\n text-align: left;\n font-size: 14px;\n color: #222222; }\n\n.wpstg--modal--process--logs p,\n.wpstg--modal--error--logs p {\n margin: 0px;\n margin-bottom: 2px; }\n\n.wpstg--modal--process--msg--error {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--critical {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--warning {\n color: darkorange; }\n\n.wpstg--modal--process--msg-found {\n font-size: 16px;\n color: #E01E5A;\n font-weight: bold; }\n\n.wpstg--modal--delete {\n text-align: left;\n margin-top: 8px;\n color: #565656; }\n\n.wpstg-swal-popup .wpstg--swal2-cancel.wpstg--btn--cancel {\n margin-bottom: 0;\n text-shadow: none !important; }\n\n.wpstg-swal-popup .wpstg-loader {\n display: inline-block !important; }\n\n.wpstg--modal--process--generic-problem {\n display: none;\n border-left: 5px solid #E01E5A;\n margin: .5em 0; }\n\n.wpstg--modal--process--logs--tail {\n font-size: 16px;\n color: #565656;\n background: none;\n border: none;\n cursor: pointer;\n text-decoration: underline; }\n\n.wpstg--modal--backup--import--upload--title {\n color: #3e3e3e; }\n\n.wpstg--modal--backup--import--configure,\n.wpstg--modal--backup--import--upload--status,\n.wpstg--modal--backup--import--upload--container input[type=\"file\"] {\n display: none; }\n\n#wpstg--backups--import--file-list {\n font-size: 14px;\n font-weight: bold; }\n\n#wpstg--backups--import--file-list-empty {\n color: #E01E5A; }\n\n.wpstg--modal--backup--import--filesystem label {\n font-size: 14px; }\n\n.wpstg--modal--backup--import--filesystem button {\n margin-bottom: 20px; }\n\n.wpstg--modal--backup--import--upload {\n position: relative;\n min-height: 30px; }\n\n.wpstg--modal--backup--import--upload {\n color: #505050; }\n\n.wpstg--modal--backup--import--upload--container {\n position: relative;\n border-radius: 10px;\n margin: .5em;\n padding: 1em .5em;\n border: 3.5px dashed #dedede;\n transition: background-color 0.3s ease, color 0.3s ease;\n background-color: #f4fbff;\n min-height: 130px; }\n\n.wpstg--modal--backup--import--upload--container.wpstg--has-dragover span.wpstg--drop {\n display: inline-flex; }\n\n.wpstg--modal--backup--import--upload--container input[type='file'] {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container img {\n margin-top: 10px;\n width: 4em;\n align-self: center;\n border: none; }\n\n.wpstg--modal--backup--import--upload--container span {\n margin-top: 1em; }\n\n.wpstg--backup--import--options > button {\n margin-top: 1em;\n padding: 1em;\n align-self: center;\n width: 185px;\n height: auto;\n line-height: normal; }\n\n.wpstg--backup--import--options {\n position: relative;\n display: flex;\n justify-content: center; }\n\n.wpstg--backup--import--options ul {\n display: none; }\n\n.wpstg--backup--import--options.wpstg--show-options ul {\n padding: 0;\n margin: 54px 0 0 0;\n display: block;\n position: absolute;\n width: 185px;\n background: #25a1f0;\n box-sizing: border-box;\n border-radius: 0 0 3px 3px;\n border-width: 1px;\n border-color: #2188c9;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li {\n border-bottom: .1em solid #25a1f0;\n margin: 0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:hover {\n background-color: #25a1f0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:last-child {\n border-bottom: none; }\n\n.wpstg--backup--import--options ul li button {\n cursor: pointer;\n background: none;\n border: none;\n margin: 0;\n width: 100%;\n color: white;\n height: 40px;\n line-height: 40px; }\n\n.wpstg--backup--import--options ul li button:hover {\n background-color: #259be6; }\n\n.wpstg--modal--backup--import--search-replace--info {\n margin: 1em 0;\n display: flex;\n flex-direction: row; }\n\n.wpstg--modal--backup--import--info p {\n text-align: left;\n margin: 0; }\n\n.wpstg--modal--backup--import--search-replace--wrapper button {\n align-self: center; }\n\n.wpstg--import--advanced-options--button {\n border: 0;\n border-radius: 3px;\n font-size: 18px;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n cursor: pointer; }\n\n.wpstg--modal--backup--import--search-replace--new {\n color: white;\n background-color: #25a1f0; }\n\n.wpstg--modal--backup--import--search-replace--remove {\n color: white;\n background-color: #25a1f0;\n width: 22px;\n height: 22px;\n margin-left: 5px; }\n\n.wpstg--modal--backup--import--search-replace--input-group:first-child button {\n display: none; }\n\n.wpstg--modal--backup--import--search-replace--input--container {\n flex: 1;\n display: flex;\n flex-direction: column; }\n\n.wpstg--modal--backup--import--search-replace--input-group {\n width: 100%;\n border-bottom: 6px solid #f1f1f1;\n margin-bottom: 10px; }\n\n.wpstg--modal--backup--import--search-replace--input-group input {\n min-width: 250px;\n width: calc(50% - 4px - 11px - 5px);\n /* -4px is half of the padding; -11px is half of the button; -5 is the margin left of the button */\n display: inline-block;\n line-height: 10px;\n border: 1px solid #dedede;\n border-radius: 3px;\n color: #666;\n padding: 8px;\n margin-bottom: 12px; }\n\n.wpstg--modal--import--upload--process {\n display: none;\n position: relative;\n height: 30px;\n margin-top: 20px;\n margin-bottom: 20px;\n width: 100%;\n top: 0;\n left: 0;\n text-indent: 1em;\n white-space: nowrap;\n overflow: hidden;\n color: #333333;\n justify-content: center;\n align-items: center; }\n\n.wpstg--modal--import--upload--progress {\n position: absolute;\n background: #98d452;\n color: white;\n height: 100%;\n border-radius: 4px;\n left: 0;\n top: 0; }\n\n.wpstg--modal--import--upload--progress--title {\n z-index: 9; }\n\n.wpstg-fieldset:disabled {\n opacity: 0.8;\n border-top: 1px solid white;\n margin-top: 20px; }\n\n.wpstg-fieldset {\n padding-left: 20px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-dark-alert {\n font-weight: bold;\n background-color: #0e86d9;\n padding: 30px;\n margin-top: 0px;\n color: white; }\n\n.wpstg-dark-alert ul {\n list-style: initial; }\n\n.wpstg-form-group {\n display: block;\n width: 100%;\n margin-bottom: 8px;\n align-items: center; }\n\n.wpstg-form-group > label {\n display: block;\n font-weight: 700; }\n\n.wpstg-text-field > input {\n width: 300px;\n display: block;\n line-height: 1.5; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-text-field > .wpstg-code-segment {\n margin-top: 4px;\n min-width: 300px; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%;\n position: relative; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n left: 150px; }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-ml-4 {\n margin-left: 4px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-advanced-settings hr {\n margin: 20px 0; }\n\n.wpstg-form-row {\n display: block; }\n\n.wpstg-form-row label,\n.wpstg-form-row input {\n display: table-cell;\n padding-left: 5px;\n padding-right: 5px;\n margin-top: 3px;\n margin-bottom: 3px; }\n\n.wpstg-form-row input {\n width: 400px; }\n\n.wpstg-form-row label {\n font-weight: bold;\n width: 1px;\n white-space: nowrap; }\n\n#wpstg-db-connect-output #wpstg-db-status {\n width: 390px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n margin-left: 10px; }\n\n@media only screen and (max-width: 768px) {\n .wpstg-form-group > label {\n min-width: auto;\n width: auto; }\n .wpstg-text-field > input {\n width: 100%; }\n .wpstg-text-field > .wpstg-code-segment {\n margin-left: 0;\n min-width: 100%; }\n .wpstg-tab-section {\n width: calc(100vw - 60px);\n max-width: 450px; } }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-m-0 {\n margin: 0; }\n\n.wpstg-mt-10px {\n margin-top: 10px !important; }\n\n.wpstg-mr-10px {\n margin-right: 10px !important; }\n\n.wpstg-my-10px {\n margin-top: 10px !important;\n margin-bottom: 10px !important; }\n\n.wpstg-w-100 {\n width: 100%; }\n\n.wpstg-box-shadow {\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-bold-text {\n font-weight: bold; }\n\n.wpstg-warning.notice {\n border-left: 4px solid #ffba00; }\n\n.wpstg-confirmation-label {\n background-color: #5b9dd9;\n color: #fff;\n padding: 2px;\n border-radius: 3px; }\n\n.wpstg-my-6px {\n margin-bottom: 6px;\n margin-top: 6px; }\n\n.wpstg-mb-10px {\n margin-bottom: 10px; }\n\n.wpstg-clear-both {\n clear: both; }\n\n.wpstg-font-italic {\n font-style: italic; }\n\n.wpstg-mt-20px {\n margin-top: 20px; }\n\n.wpstg-welcome-container {\n border: 2px solid white;\n padding: 20px;\n margin-bottom: 20px; }\n\n.wpstg-ml-30px {\n margin-left: 30px; }\n\n.wpstg-text-center {\n text-align: center; }\n\n.wpstg-feedback-link {\n text-decoration: none; }\n\n.wpstg-feedback-span {\n display: block;\n margin-bottom: 3px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-confirm-backup-restore-wrapper {\n margin: 30px;\n margin-top: 0; }\n\n#wpstg-confirm-backup-restore-wrapper h3 {\n color: #E01E5A; }\n\n#wpstg-progress-db,\n#wpstg-progress-backup {\n background-color: #3fa5ee; }\n\n#wpstg-progress-sr,\n#wpstg-progress-files.wpstg-pro {\n background-color: #3c9ee4; }\n\n#wpstg-progress-dirs,\n#wpstg-progress-data {\n background-color: #3a96d7; }\n\n#wpstg-progress-files:not(.wpstg-pro),\n#wpstg-progress-finishing {\n background-color: #378cc9; }\n\n.wpstg-issue-resubmit-confirmation.wpstg--swal2-container,\n.wpstg-swal2-container.wpstg--swal2-container {\n z-index: 10500; }\n\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-actions,\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-header {\n display: none; }\n\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container .wpstg--swal2-content,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container .wpstg--swal2-content {\n z-index: 2; }\n\n.toplevel_page_wpstg_clone #swal2-content h2 {\n color: #3e3e3e; }\n\n.toplevel_page_wpstg_clone #swal2-content {\n line-height: 1.5em; }\n\ndiv#exportUploadsWithoutDatabaseWarning {\n font-style: italic;\n font-size: 0.9rem;\n margin: 10px;\n padding: 10px;\n border: 1px solid #e3e3e3;\n border-radius: 5px;\n text-align: center;\n background-color: #fafafa; }\n\n.wpstg-advanced-options-dropdown-wrapper {\n display: none;\n /* ENABLE WHEN WE HAVE ADVANCED OPTIONS FOR EXPORTING */\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--wrapper {\n text-align: left;\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--new--wrapper {\n text-align: center; }\n\n.wpstg-import-backup-contains li {\n display: inline-block;\n margin-bottom: 0px; }\n\n.wpstg-import-backup-contains li .wpstg-backups-contains {\n border-radius: 3px;\n color: #979797;\n background-color: #f4f4f4 !important;\n width: 18px;\n height: 18px;\n font-size: 17px; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains {\n padding: 2px;\n background-color: white; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains > .wpstg--dashicons {\n filter: invert(35%); }\n\n.wpstg-import-backup-contains .wpstg--tooltiptext {\n width: 80px;\n font-size: 13px;\n padding: 5px;\n left: -25px;\n text-align: center; }\n\n.wpstg-import-backup-contains-title {\n display: inline-block; }\n\nul.wpstg-import-backup-contains {\n display: inline-block; }\n\n.wpstg-import-backup-name {\n display: inline-block;\n font-weight: bold; }\n\n.wpstg-backup-more-info-toggle {\n font-size: x-small;\n display: inline-block;\n font-style: italic;\n cursor: pointer; }\n\n.wpstg-backup-more-info-toggle::selection {\n background: none; }\n\nul.wpstg-import-backup-more-info {\n font-size: 14px;\n text-align: left;\n margin-bottom: 30px;\n margin-top: 10px;\n background-color: #f6f6f6;\n border: 1px solid #878787;\n border-radius: 3px;\n padding: 7px;\n cursor: pointer; }\n\nul.wpstg-import-backup-more-info:hover {\n background-color: #def2ff;\n border: 1px solid #25a1f0; }\n\nul.wpstg-import-backup-more-info li {\n height: 20px; }\n\n.wpstg-backup-list {\n max-width: 800px; }\n\n.wpstg-backup-list h3 {\n color: #3e3e3e; }\n\n.wpstg-backup-list ul ul {\n margin-block-start: 1em;\n margin-block-end: 1em; }\n\n.wpstg-push-confirmation-message {\n text-align: justify;\n font-size: 15px; }\n\n.wpstg-settings-row {\n padding-top: 10px;\n padding-bottom: 10px; }\n\n.wpstg-settings-title {\n font-weight: 600; }\n\n.wpstg-settings-form-group {\n display: flex;\n align-items: center; }\n\n.wpstg-settings-form-group > .wpstg-settings-message {\n width: 30%;\n padding: 0;\n margin: 7px 0 0; }\n\n/**\n * WP STAGING EXCLUSION RULES TABLE LAYOUT\n */\n.wpstg-excluded-filters-container {\n padding: 0;\n margin-top: 10px;\n margin-bottom: 10px;\n max-width: 100%;\n width: 100%; }\n\n.wpstg-excluded-filters-container > table {\n width: 100%;\n border-collapse: collapse;\n border-color: transparent; }\n\n.wpstg-excluded-filters-container td {\n padding-top: 4px;\n padding-bottom: 4px;\n height: 20px; }\n\n.wpstg-excluded-filters-container h4 {\n margin: 0; }\n\n.wpstg-exclude-filters-foot {\n display: flex;\n justify-content: flex-start;\n padding: 0; }\n\n/**\n * WP STAGING EXCLUSION RULE DROPDOWN STYLE\n */\n.wpstg-exclude-filter-dropdown > button:hover {\n background: #135e96;\n border: 1px solid #135e96; }\n\n.wpstg-exclude-filter-dropdown > .wpstg-dropdown-menu {\n width: 128px; }\n\n.wpstg-remove-exclude-rule {\n color: #fff !important;\n background-color: #e01e5a;\n border: 1px solid #e01e5a;\n width: 20px;\n height: 20px;\n border-radius: 10px;\n font-size: 24px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n line-height: 0.7;\n margin-top: 5px;\n cursor: pointer; }\n\n.wpstg-remove-exclude-rule:hover {\n background-color: #E01E5A;\n border-color: #E01E5A; }\n\n.wpstg-code-block {\n margin-top: 4px;\n font-size: 1.2em;\n background: #f8f8f8;\n border-radius: 2px; }\n\n.wpstg-rule-info {\n background: #f8f8f8 !important; }\n\ncode.wpstg-code {\n display: inline-block;\n font-size: 11px;\n border: 1px solid #aaa;\n background: #fff;\n padding: 2px 4px;\n margin-bottom: 1px;\n color: #E01E5A; }\n\n.wpstg-exclusion-rule-info {\n color: #fff !important;\n background-color: #ffc107;\n border: 1px solid #ffc107;\n width: 14px;\n height: 14px;\n border-radius: 7px;\n font-size: 14px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n vertical-align: middle; }\n\n.wpstg-exclusion-rule-info:hover {\n background-color: #ffba0c;\n border: 1px solid #ffba0c; }\n\n/**\n * WP STAGING INPUTS EXCLUSION RULES\n */\n.wpstg-exclude-rule-input {\n font-size: 12px !important;\n padding: 2px 6px;\n box-shadow: none;\n outline: none !important;\n display: inline-block;\n font-weight: 400;\n line-height: 1.5;\n color: #222;\n border-radius: 0 !important;\n background-color: #fff;\n border: 1px solid #bbb;\n min-height: 24px !important;\n margin-top: 4px;\n margin-left: 4px;\n vertical-align: baseline !important;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n width: 135px; }\n\n.wpstg-excluded-filters-container tbody > tr:last-child .wpstg-exclude-rule-input {\n margin-bottom: 4px; }\n\n.wpstg-exclude-rule-input:hover {\n border: 1px solid #999; }\n\n.wpstg-exclude-rule-input:focus {\n border: 1px solid #25A0F1 !important;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important; }\n\n.wpstg-file-size-exclude-select,\n.wpstg-path-exclude-select {\n width: 135px; }\n\n.wpstg-file-size-exclude-select-small {\n width: 52px; }\n\n.wpstg-file-size-exclude-input {\n width: 75px; }\n\n.wpstg-staging-option-title {\n margin: 15px 0 0; }\n\n.wpstg-swal-push-container.wpstg--swal2-container {\n z-index: 9995; }\n\n#wpstg-scanning-files {\n padding-bottom: 5px; }\n\n#wpstg-scanning-files.wpstg-tab-section, #wpstg-scanning-db.wpstg-tab-section {\n padding-top: 10px; }\n\n.wpstg-reset-excludes-container {\n margin: 10px 0; }\n\n.wpstg-swal2-ajax-loader {\n width: 100%;\n height: 150px;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center; }\n\n@keyframes wpstg-loading-icon-anim {\n 0% {\n transform: rotate(0); }\n 100% {\n transform: rotate(360deg); } }\n\n.wpstg-swal2-ajax-loader > img {\n width: 64px;\n height: 64px;\n animation: wpstg-loading-icon-anim 1s infinite linear;\n -webkit-animation: wpstg-loading-icon-anim 1s infinite linear; }\n\n.wpstg-swal2-container .wpstg-tab-section {\n width: auto !important; }\n\n#wpstg-no-staging-site-results {\n margin-top: 10px;\n max-width: 375px; }\n\nli#wpstg-backup-no-results {\n max-width: 500px; }\n\nli#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n display: inline-block;\n text-align: center; }\n\nli#wpstg-backup-no-results .wpstg--dashicons, #wpstg-no-staging-site-results .wpstg--dashicons {\n filter: invert(50%);\n position: absolute;\n margin-top: 1px; }\n\nli#wpstg-backup-no-results .no-backups-found-text, #wpstg-no-staging-site-results .no-staging-site-found-text {\n color: #5d5d5d;\n margin-left: 20px; }\n\n@media only screen and (max-width: 680px) {\n li#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n width: 100%; } }\n\n#wpstg--modal--backup--download-inner p.wpstg-download-modal-text {\n font-size: 16px;\n color: #565656; }\n\n#wpstg--modal--backup--download-inner h2 {\n color: #565656; }\n\n.wpstg-backup-restore-contains-database,\n.wpstg-backup-restore-contains-files {\n display: none; }\n\n.wpstg-green-button {\n background: #8bc34a;\n border: 1px solid #78a93f;\n color: white;\n text-shadow: 0 -1px 1px #78a93f, 1px 0 1px #78a93f, 0 1px 1px #40c921, -1px 0 1px #78a93f; }\n\n.wpstg-green-button:hover {\n background: #78a93f; }\n\n.wpstg-is-dir-loading {\n position: absolute;\n margin-top: -2px;\n margin-left: 8px;\n display: none; }\n\n.wpstg-ml-8px {\n margin-left: 8px; }\n\n.wpstg-mb-8px {\n margin-bottom: 8px; }\n\n.wpstg-btn-danger {\n background-color: #E01E5A;\n border: 1px solid #E01E5A;\n color: white;\n text-shadow: none; }\n\n.wpstg-btn-danger:hover {\n background: #c0194d;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }\n\n.wpstg-swal2-container.wpstg-swal2-loading > .wpstg--swal2-modal {\n height: 200px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm > .wpstg--swal2-modal {\n height: 100px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm .wpstg-swal2-ajax-loader img {\n height: 32px;\n width: 32px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container:not(.wpstg-swal2-loading) > .wpstg--swal2-modal {\n max-width: 480px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-header {\n display: none; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-content {\n height: auto; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n overflow-y: auto;\n height: auto !important; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content {\n font-size: 13px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-dir {\n margin-bottom: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-subdir {\n margin-top: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open .wpstg--swal2-modal {\n height: calc(100vh - 70px); }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n height: calc(100vh - 350px) !important; }\n\n.wpstg--swal2-actions.wpstg--modal--actions > button {\n margin-left: 4px;\n margin-right: 4px;\n text-transform: uppercase;\n text-shadow: initial;\n font-weight: 500;\n min-width: 80px; }\n\n.wpstg-swal-popup {\n max-width: 1200px !important; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title {\n color: #a8a8a8; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content {\n margin-top: 8px;\n color: #a8a8a8; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n background: #25a1f0; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n width: 2.75em; }\n\n.wpstg--dashicons {\n width: 16px;\n height: 16px; }\n\n.wpstg--dashicons.wpstg-dashicons-grey {\n filter: invert(20%); }\n\n.wpstg--dashicons.wpstg-dashicons-19 {\n width: 19px;\n height: 19px; }\n\n.wpstg--dashicons.wpstg-dashicons-21 {\n width: 21px;\n height: 21px; }\n\n#wpstg--tab--backup #wpstg-step-1 {\n display: flex;\n align-items: center; }\n\n.wpstg-advanced-options .wpstg--tooltip,\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: inline-flex;\n align-items: center; }\n\n.wpstg-advanced-options-site .wpstg--tooltip img.wpstg--dashicons {\n filter: invert(17%) sepia(0%) saturate(1%) hue-rotate(195deg) brightness(97%) contrast(77%); }\n\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: flex;\n align-items: center; }\n\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n left: calc(20% + 2px); }\n\n.wpstg-listing-single-backup .wpstg--dashicons {\n width: 17px;\n height: 17px; }\n\n.wpstg-100-width {\n width: 100px; }\n\n.wpstg-caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-caret.wpstg-caret-up {\n transform: rotate(-180deg); }\n\n.wpstg-advanced-options-site label {\n font-size: 16px;\n display: block;\n margin: .5em 0; }\n\n#wpstg-confirm-backup-restore-data {\n font-size: 18px;\n margin: 0;\n margin-top: 30px; }\n\n/* Sweetalert WP STAGING Theme */\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container.wpstg--swal2-backdrop-show,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-show {\n background: rgba(0, 0, 0, 0.6);\n z-index: 9995; }\n\n.wpstg-swal-popup.wpstg--swal2-popup {\n border-radius: 8px;\n z-index: 9999;\n padding: 24px;\n color: #3e3e3e;\n font-family: Verdana, Geneva, Tahoma, sans-serif; }\n\n.wpstg-swal-popup .wpstg--swal2-title {\n font-size: 22px;\n color: #3e3e3e; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-title {\n align-self: flex-start;\n /* For an actual Swal title */\n text-align: left;\n /* Manually adding this class to a non flex display */\n margin-bottom: 0; }\n\n.wpstg-swal-popup .wpstg--swal2-close {\n top: 8px;\n right: 8px;\n z-index: 5; }\n\n.wpstg-swal-popup .wpstg--swal2-close:focus {\n outline: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions {\n justify-content: flex-end; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button {\n border-radius: 4px;\n font-weight: 900;\n border: 0;\n font-size: 15px;\n padding: 10px 12px;\n text-transform: capitalize;\n line-height: normal;\n height: 40px;\n min-width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions > button {\n margin-left: 8px; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel {\n border: 1px solid rgba(29, 28, 29, 0.3);\n background: #fff;\n color: #1d1c1d;\n font-weight: 500;\n width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button:hover {\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel:hover {\n background: rgba(28, 29, 28, 0.04); }\n\n#wpstg-backup-name-input {\n height: 44px;\n font-size: 18px; }\n\n.wpstg-restore-finished-container .wpstg--swal2-title {\n color: #565656 !important; }\n\n/*#wpstg-restore-success {\n color: #565656;\n}*/\n.wpstg-restore-finished-container .wpstg--swal2-content {\n margin-top: 20px;\n color: #a8a8a8; }\n\n/* WP Staging Implementation of Windows Style Linear Loader */\n.wpstg-linear-loader > span[class*=\"wpstg-linear-loader-item\"] {\n height: 6px;\n width: 6px;\n background: #333;\n display: inline-block;\n margin: 12px 2px;\n border-radius: 100%;\n animation: wpstg_linear_loader 3s infinite;\n animation-timing-function: cubic-bezier(0.03, 0.615, 0.995, 0.415);\n animation-fill-mode: both; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(1) {\n animation-delay: 1s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(2) {\n animation-delay: 0.8s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(3) {\n animation-delay: 0.6s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(4) {\n animation-delay: 0.4s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(5) {\n animation-delay: 0.2s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(6) {\n animation-delay: 0s; }\n\n@keyframes wpstg_linear_loader {\n 0% {\n transform: translateX(-30px);\n opacity: 0; }\n 25% {\n opacity: 1; }\n 50% {\n transform: translateX(30px);\n opacity: 0; }\n 100% {\n opacity: 0; } }\n\n/* END - Windows Style Linear Loader */\n.wpstg--modal--backup--import--upload--content {\n padding: .75em;\n margin: 1em auto; }\n\n.wpstg--modal--backup--import--upload--content .wpstg-linear-loader {\n display: none; }\n\n#wpstg-multisite-disabled .wpstg-clone {\n width: 355px; }\n\n#wpstg-free-version-backups .wpstg-clone p {\n font-size: 16px; }\n\n.wpstg-staging-info li .backup-notes {\n word-break: break-word; }\n\n.wpstg--modal--import--upload--progress--title small {\n font-weight: normal; }\n\n#wpstg-report-issue-wrapper {\n position: relative; }\n\n#wpstg-report-issue-wrapper .arrow-up {\n width: 0;\n height: 0;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 8px solid white;\n position: absolute;\n top: -8px;\n right: 40px; }\n\n.notice {\n margin: 10px 20px 0 2px; }\n\n.wpstg--notice {\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n margin: 20px 20px 20px 0px;\n padding: 1px 12px; }\n\n.wpstg--error a:hover {\n color: #eeeeee; }\n\n.wpstg--error, .wpstg--error a {\n background: #E01E5A;\n color: white; }\n\n/**\n * Buttons\n */\n.wpstg-button {\n display: inline-block;\n border-radius: 2px;\n cursor: pointer;\n padding: 2px 10px 2px 10px;\n text-transform: uppercase;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button.wpstg-save {\n background-color: #1687A7;\n color: white; }\n\n.wpstg-button.wpstg-save:hover {\n background-color: #276678; }\n\n.wpstg-button.wpstg-button-light {\n background-color: #f8f8f8;\n border: 1px solid #eee;\n color: #333;\n animation: background-color 0.3s; }\n\n.wpstg-button.wpstg-button-light:hover {\n background-color: #e0e0e0;\n border: 1px solid #e0e0e0; }\n\n.wpstg-buttons .spinner {\n float: none;\n margin: 0 0 0 5px; }\n\n.wpstg-button.danger {\n display: inline-block;\n text-decoration: none;\n text-align: center;\n text-transform: inherit;\n background-color: #E01E5A;\n color: white;\n border-radius: 2px;\n border-color: transparent; }\n\n.wpstg-button.danger:hover {\n background-color: #c0194d; }\n\n.wpstg-button--big {\n display: inline-block;\n padding: 10px;\n min-width: 170px;\n font-size: 16px;\n text-decoration: none;\n text-align: center;\n margin-top: 20px;\n color: white;\n border-radius: 3px; }\n\n.wpstg-button--primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n line-height: 2.15384615;\n min-height: 30px;\n margin: 0;\n padding: 0 10px;\n cursor: pointer;\n border: 1px solid rgba(29, 28, 29, 0.3);\n -webkit-appearance: none;\n border-radius: 2px;\n white-space: nowrap;\n box-sizing: border-box;\n color: #171717; }\n\n.wpstg-button--primary:hover {\n background: rgba(28, 29, 28, 0.04);\n color: black; }\n\n.wpstg-button--secondary {\n display: inline-block;\n background-color: transparent;\n color: #95a5a6;\n border-radius: 2px;\n border: 1px solid rgba(29, 28, 29, 0.3);\n cursor: pointer;\n padding: 4px 10px 2px 10px;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button--red {\n background-color: #E01E5A;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--red:hover {\n background-color: #d02358;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--cta-red {\n background-color: #fe008f;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--cta-red:hover {\n background-color: #f31391;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--blue {\n background-color: #25A0F1;\n border-color: #25A0F1;\n color: white; }\n\n.wpstg-button--blue:hover {\n background-color: #259be6;\n border-color: #259be6;\n color: white; }\n\n#wpstg-button-backup-upgrade {\n font-size: 16px;\n width: 150px;\n text-align: center; }\n\n.wpstg-staging-status {\n color: #E01E5A; }\n\n#wpstg-push-changes,\n#wpstg-start-updating,\n#wpstg-save-clone-data {\n margin-left: 5px; }\n\ninput.wpstg-textbox {\n border: 1px solid #aaa;\n border-radius: .25rem;\n padding: 0.25rem 0.5rem;\n font-size: 14px; }\n\ninput.wpstg-textbox:focus {\n outline: 0;\n border-color: #259be6;\n -webkit-box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35);\n box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35); }\n\ninput.wpstg-textbox::placeholder {\n color: #888; }\n\n.wpstg--advance-settings--checkbox {\n display: flex;\n align-items: center; }\n\n.wpstg--advance-settings--checkbox > label {\n font-size: 14px;\n font-weight: bolder;\n width: 165px;\n display: inline-block; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip {\n margin-top: 5px;\n margin-left: 5px;\n position: relative;\n display: inline-block;\n border-bottom: 0px solid transparent; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip > .wpstg--tooltiptext {\n top: 18px;\n left: -150px; }\n\ndiv#wpstg-restore-wait {\n display: none;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n height: 100vh;\n width: 100vw;\n position: fixed;\n top: 0;\n left: 0;\n background: white;\n z-index: 99999; }\n\ndiv#wpstg-restore-wait .wpstg-title {\n font-weight: bold; }\n\ndiv#wpstg-restore-wait div {\n font-size: 16px;\n margin-top: 12px; }\n\n.resumable-browse {\n cursor: pointer; }\n\n.resumable-browse a {\n text-decoration: underline; }\n\n.wpstg-upload-text {\n font-weight: 600; }\n\n.wpstg--modal--backup--import--upload--container.dragover {\n transition: background-color 0.7s;\n background-color: #94dc96;\n color: #FFF; }\n\n.wpstg--modal--backup--import--upload--container.dragover * {\n pointer-events: none;\n /* Avoids flickering when dragging to drop a file */ }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-upload-text {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-dragover-text {\n display: block; }\n\n.wpstg--modal--backup--import--upload--container .wpstg-dragover-text {\n display: none; }\n\n#wpstg-invalid-license-message, #wpstg-invalid-license-message a {\n font-weight: 500;\n color: #E01E5A;\n margin-left: 6px; }\n\n#wpstg-sidebar--banner {\n max-width: 200px; }\n\n@media screen and (max-width: 1234px) {\n .wpstg-h2 {\n font-size: 24px; }\n #wpstg-welcome li {\n font-size: 14px; } }\n\n.wpstg-exclamation {\n color: #ffffff;\n border-radius: 100%;\n background-color: #E01E5A;\n width: 20px;\n height: 20px;\n text-align: center;\n font-weight: bold;\n display: inline-block;\n margin: 6px; }\n\n.wpstg--tab--contents {\n padding-top: 1px; }\n\n.wpstg-swal-show.wpstg--swal2-show {\n -webkit-animation: wpstg-swal-show 0.2s !important;\n animation: wpstg-swal-show 0.2s !important; }\n\n@-webkit-keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n@keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n.wpstg-tab-item--vert-center {\n display: flex;\n align-items: center; }\n\n.wpstg-db-comparison-modal {\n padding-left: 10px;\n padding-right: 10px; }\n\n.wpstg-db-comparison-table {\n font-size: 13px;\n width: 100%; }\n\n.wpstg-db-comparison-table tbody td {\n padding-top: 6px; }\n\n.wpstg-db-comparison-table tr > td:first-child,\n.wpstg-db-comparison-table tr > th:first-child {\n text-align: left; }\n\n.wpstg-css-tick {\n display: inline-block;\n transform: rotate(45deg);\n height: 12px;\n width: 6px;\n border-bottom: 3px solid #78b13f;\n border-right: 3px solid #78b13f; }\n\n.wpstg-css-cross {\n position: relative;\n top: -8px;\n left: -2px;\n width: 16px;\n height: 16px; }\n\n.wpstg-css-cross:before, .wpstg-css-cross:after {\n position: absolute;\n content: ' ';\n height: 17px;\n width: 3px;\n background-color: #E01E5A; }\n\n.wpstg-css-cross:before {\n transform: rotate(45deg); }\n\n.wpstg-css-cross:after {\n transform: rotate(-45deg); }\n\n.wpstg-selection-preview {\n font-size: 12px;\n margin-left: 20px;\n color: #3216; }\n\n.wpstg-selection-preview.danger {\n color: #E01E5A; }\n\n.wpstg--backup-automated {\n margin-bottom: -5px; }\n\n.wpstg--dismiss-schedule {\n cursor: pointer; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup {\n vertical-align: middle; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li {\n padding: 2px; }\n\n.wpstg--modal--backup--manage--schedules--content table {\n margin: 0 auto;\n width: 100%; }\n\n.wpstg--modal--backup--manage--schedules--title {\n text-align: left;\n margin-bottom: 10px;\n margin-top: 0px; }\n\n.wpstg--modal--backup--import--upload--title {\n text-align: center; }\n\n#wpstg--modal--backup--manage--schedules--content {\n text-align: left; }\n\n#wpstg--modal--backup--manage--schedules--content thead {\n font-weight: bold; }\n\n#wpstg--modal--backup--manage--schedules--content .wpstg--tooltip.wpstg--dismiss-schedule {\n border-bottom: none; }\n\n.wpstg--tooltip.wpstg--dismiss-schedule img.wpstg--dashicons {\n filter: invert(18%) sepia(57%) saturate(6238%) hue-rotate(332deg) brightness(93%) contrast(88%); }\n\n#wpstg--modal--backup--manage--schedules--content td {\n padding-right: 25px;\n padding-top: 10px; }\n\n#wpstg--modal--backup--manage--schedules--content td:last-child {\n padding-right: 0px; }\n\n#wpstg--modal--backup--manage--schedules--content ul {\n margin-top: 0;\n margin-bottom: 0; }\n\n#wpstg--modal--backup--manage--schedules--content ul li:first-child .wpstg--tooltip {\n margin-left: 0; }\n\n.wpstg-button:disabled {\n background-color: #dddddd;\n text-shadow: none;\n color: #b3b3b3;\n border: 1px solid #cfcfcf;\n cursor: not-allowed; }\n\n#wpstg-backup-runs-info {\n margin: 0px;\n margin-top: 20px;\n padding: 0px;\n font-size: 12px; }\n\n#wpstg-backup-runs-info li {\n margin: 0px; }\n\ndiv#wpstg-backup-locked {\n width: 100%;\n max-width: calc(800px - 30px);\n padding: 15px;\n background: white;\n margin-bottom: 10px;\n display: flex;\n align-items: center; }\n\n#wpstg-backup-locked .icon {\n display: inline-block;\n height: 20px; }\n\n#wpstg-backup-locked .icon img {\n animation: wpstg-loading-icon-anim 2s infinite; }\n\n#wpstg-backup-locked .text {\n display: inline-block;\n margin-left: 15px; }\n\n#backup-schedule-current-time {\n font-size: 12px; }\n\n.wpstg-backup-scheduling-options label {\n margin-top: 17px; }\n\n.wpstg-backup-scheduling-options .wpstg-storage-option {\n display: block;\n margin: .5em 0;\n font-size: 15px; }\n\n.wpstg-storage-option > span:not(.wpstg-storage-settings) {\n width: 150px;\n display: inline-block; }\n\n.wpstg-storages-postbox {\n padding: 13px 16px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: white; }\n\n.wpstg-storages-postbox a {\n padding: 8px;\n margin-right: 8px;\n text-decoration: none;\n font-weight: bold;\n color: #3c434a; }\n\n.wpstg-storages-postbox a:hover {\n color: #b70b72; }\n\n.wpstg-storage-postbox {\n padding: 4px 16px;\n background-color: white; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active {\n background: #b70b72;\n color: white;\n font-weight: 700;\n cursor: default;\n border-radius: 3px; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active:hover {\n background: #a10a64; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-disabled {\n color: #999;\n cursor: not-allowed; }\n\n.wpstg-provider-revoke-form {\n display: inline;\n margin-top: 12px;\n margin-bottom: 12px; }\n\n.wpstg-provider-settings-form {\n margin-top: 10px; }\n\n.wpstg-provider-settings-form strong {\n display: block;\n margin: 8px 0; }\n\n.wpstg-provider-settings-form p {\n margin: 0;\n margin-bottom: 8px; }\n\n.wpstg-provider-settings-form fieldset {\n margin: 0;\n padding: 0;\n margin-bottom: 16px; }\n\n.wpstg-provider-settings-form fieldset p {\n margin: 0;\n padding: 5px;\n font-size: 12px; }\n\n.wpstg-provider-settings-form fieldset label {\n display: block;\n margin-bottom: 2px; }\n\n.wpstg-provider-settings-form fieldset input {\n font-size: 12px; }\n\n.wpstg-provider-settings-form .wpstg-link-btn.wpstg-blue-primary {\n text-shadow: none; }\n\n.wpstg-btn-google {\n font-family: Roboto;\n display: inline-flex;\n align-items: center;\n border-width: 0;\n outline: none;\n border-radius: 3px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);\n color: #555;\n transition: background-color .3s;\n padding: 8px;\n padding-right: 16px;\n height: 40px;\n line-height: 40px;\n font-size: 14px;\n box-sizing: border-box;\n text-decoration: none;\n font-weight: bold;\n margin-right: 10px; }\n\n.wpstg-btn-google img {\n width: 18px;\n height: 18px;\n margin-right: 12px;\n margin-left: 5px; }\n\n#wpstg-custom-google-credentials {\n margin-top: 20px; }\n\n.wpstg-fieldset .wpstg-with-icon {\n display: inline-flex;\n align-items: center; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon {\n margin-left: 8px; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon img {\n width: 16px;\n height: 16px; }\n\n#wpstg-btn-provider-revoke {\n border-radius: 2px; }\n\n.wpstg-metabox-holder {\n border-radius: 8px;\n background: #fff;\n padding: 20px;\n margin-left: 16px;\n min-height: 600px;\n margin-right: 32px;\n margin-top: 60px;\n -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n@media only screen and (max-width: 680px) {\n .wpstg-metabox-holder {\n padding: 0px;\n padding-top: 5px;\n margin-left: 0;\n margin-right: 5px; }\n #wpstg-tab-container .wpstg-settings-panel {\n padding: 0;\n overflow: auto; }\n .wpstg-form-table td:first-child {\n width: 50%; } }\n\n.wpstg-nav-tab {\n float: left;\n border: 1px solid #ffffff;\n border-bottom: none;\n margin-left: 0.5em;\n padding: 5px 10px;\n font-size: 14px;\n line-height: 1.71428571;\n font-weight: 600;\n background: #dcdcde;\n color: #3c434a;\n text-decoration: none;\n white-space: nowrap; }\n\n.wpstg-nav-tab-active, .wpstg-nav-tab-active:focus, .wpstg-nav-tab-active:focus:active, .wpstg-nav-tab-active:hover {\n border-bottom: 1px solid #f0f0f1;\n background: #f3f5f7;\n color: #b70b72;\n -webkit-box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16);\n box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16); }\n\n.wpstg-nav-tab-active {\n margin-bottom: -1px; }\n\n.wpstg-nav-tab-wrapper {\n /*\n border-bottom: 1px solid #c3c4c7;\n */\n margin: 0;\n padding-top: 9px;\n padding-bottom: 0;\n line-height: inherit; }\n\n.wpstg-nav-tab-wrapper li {\n margin-bottom: 0px; }\n\n#wpstg--js--translations {\n text-decoration: underline; }\n"]}
1
+ {"version":3,"sources":["wpstg-admin.scss"],"names":[],"mappings":"AAAA,gBAAgB;AAChB;;;;;;;CAOC;AACD,SAAS;AACT;EACE,8BAA8B;EAC9B,2BAA2B,EAAE;;AAE/B,YAAY;AACZ;EACE,mBAAmB;EACnB,WAAW;EACX,kBAAkB;EAClB,eAAe;EACf,gBAAgB,EAAE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AE;;AAEpB;EACE,gBAAgB,EAAE;;AAEpB;EACE,oBAAoB;EACpB,mBAAmB,EAAE;;AAEvB;EACE,gBAAgB,EAAE;;AAEpB;EACE,WAAW;EACX,YAAY,EAAE;;AAEhB;EACE,kBAAkB,EAAE;;AAEtB;EACE,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;EAChB,6EAA6E;EAC7E,qEAAqE,EAAE;;AAEzE;EACE;IACE,YAAY;IACZ,gBAAgB;IAChB,cAAc;IACd,iBAAiB,EAAE;EACrB;IACE,UAAU;IACV,cAAc,EAAE;EAClB;IACE,UAAU,EAAE,EAAE;;AAElB;EACE,WAAW;EACX,yBAAyB;EACzB,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,eAAe;EACf,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;EACnB,cAAc;EACd,qBAAqB;EACrB,mBAAmB,EAAE;;AAEvB;EACE,gCAAgC;EAChC,mBAAmB;EACnB,cAAc;EACd,6DAA6D;EAC7D,qDAAqD,EAAE;;AAEzD;EACE,mBAAmB,EAAE;;AAEvB;EACE;;KAEG;EACH,SAAS;EACT,gBAAgB;EAChB,iBAAiB;EACjB,oBAAoB,EAAE;;AAExB;EACE,kBAAkB,EAAE;;AAEtB;EACE,0BAA0B,EAAE","file":"wpstg-admin.css","sourcesContent":["@charset \"UTF-8\";\n/**\n * WPSTG Admin CSS\n *\n * @package WPSTG\n * @subpackage Admin CSS\n * @copyright Copyright (c) 2021, René Hermenau\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n/* vars */\n:root {\n --wpstg-color-warning: #ffb804;\n --wpstg-color-info: #24a1f0; }\n\n/* IMPORTS */\n.wpstg-badge {\n background: #f8f9fa;\n color: #333;\n border-radius: 3px;\n font-size: 12px;\n padding: 4px 8px; }\n .wpstg-badge.wpstg-badge-warning {\n background: var(--wpstg-color-warning);\n color: #fff; }\n .wpstg-badge.wpstg-badge-info {\n background: var(--wpstg-color-info);\n color: #fff; }\n\n/* Font Faces */\n/* roboto-regular - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n src: url(\"../../fonts/roboto-v29-latin-regular.eot\");\n /* IE9 Compat Modes */\n src: local(\"\"), url(\"../../fonts/roboto-v29-latin-regular.eot?#iefix\") format(\"embedded-opentype\"), url(\"../../fonts/roboto-v29-latin-regular.woff2\") format(\"woff2\"), url(\"../../fonts/roboto-v29-latin-regular.woff\") format(\"woff\"), url(\"../../fonts/roboto-v29-latin-regular.ttf\") format(\"truetype\"), url(\"../../fonts/roboto-v29-latin-regular.svg#Roboto\") format(\"svg\");\n /* Legacy iOS */ }\n\n/* Colors */\n.wpstg--violet {\n color: #9d37ae; }\n\n.wpstg-border--violet {\n border: 1px solid #9d37ae; }\n\n.wpstg--red {\n color: #E01E5A; }\n\n.wpstg-cta--red {\n color: #fe008f; }\n\n.wpstg--blue {\n color: #24a1f0; }\n\n.wpstg--darkblue {\n color: #0e86d9; }\n\n.wpstg--green {\n color: #83c11f; }\n\n.wpstg--grey {\n color: #393939; }\n\n.wpstg--darkgrey {\n color: #1b1b1b; }\n\n.wpstg--filter--svg {\n filter: invert(24%) sepia(11%) saturate(558%) hue-rotate(169deg) brightness(97%) contrast(91%); }\n\n/* CSS for Tabs */\nbody.wp-staging-pro_page_wpstg_backup,\nbody.toplevel_page_wpstg_clone,\nbody.wp-staging-pro_page_wpstg-settings,\nbody.wp-staging-pro_page_wpstg-tools,\nbody.wp-staging-pro_page_wpstg-license {\n background-color: #f3f5f7; }\n\n#wpstg-tab-container ul {\n list-style: none;\n margin: 0;\n padding: 0;\n background: #f1f1f1;\n float: left; }\n\n#wpstg-tab-container ul li:first-child.selected-tab {\n border-top: none; }\n\n#wpstg-tab-container ul li a.selected-tab {\n font-weight: bold;\n text-decoration: none; }\n\n#wpstg-tab-container .row {\n padding-top: 10px;\n padding-bottom: 12px; }\n\n.wpstg-tabs-container .nav-tab-wrapper {\n padding: 0; }\n\n#wpstg-tab-container .row label strong,\n#wpstg-tab-container .row strong {\n font-weight: bold; }\n\n.wpstg-tabs a {\n padding: 5px; }\n\n#wpstg-tab-container > ul > li.wpstg-tabs.active {\n background-color: white; }\n\n#wpstg_settingsgeneral_header .row:nth-child(3),\n#wpstg_settingsgeneral_header .row:nth-child(4) {\n display: none; }\n\n#wpstg-tab-container .wpstg-settings-panel {\n padding: 0 20px 20px 20px;\n overflow: auto; }\n\n#wpstg-tab-container .wpstg-form-table th {\n vertical-align: top;\n text-align: left;\n padding: 20px 10px 20px 0;\n line-height: 1.3;\n font-weight: bold;\n font-size: 14px;\n color: #484848;\n width: 30%; }\n\n#wpstg-tab-container .wpstg-form-table tr {\n border-bottom: 1px solid #E7E7E7; }\n\n#wpstg-tab-container span.description {\n display: block;\n font-weight: 400;\n font-style: normal;\n font-size: 13px;\n margin-top: 7px;\n color: #484848; }\n\n#wpstg-tab-container .col-title {\n color: #484848; }\n\n@media only screen and (max-width: 680px) {\n #wpstg-tab-container ul {\n float: none; }\n #wpstg-tab-container .wpstg-form-table tr > th {\n width: 100%; }\n #wpstg-tab-container span.description {\n font-size: 14px; }\n #wpstg-tab-container .wpstg-form-table tr > th,\n #wpstg-tab-container .wpstg-form-table tr > td {\n padding: 10px; } }\n\n#wpstg-tab-container ul li {\n margin-bottom: 0; }\n\n#wpstg-tab-container ul li a {\n display: block;\n padding: 10px 4px 10px 14px;\n border-width: 1px 0;\n border-style: solid;\n border-top-color: white;\n border-bottom-color: #e7e7e7;\n text-decoration: none;\n color: #0097DF;\n font-weight: bold; }\n\n#wpstg-tab-container ul li a:hover {\n background-color: #e5e5e5;\n color: #777777; }\n\n.wpstg-logo {\n display: block;\n font-size: 16px;\n padding-top: 20px;\n width: 220px;\n float: left; }\n\n.wpstg-logo img {\n max-width: 212px; }\n\n.wpstg-version {\n display: block;\n padding-top: 40px;\n color: #9b9b9b; }\n\n.wpstg_admin .nav-tab {\n color: #3C3C3C; }\n\n#wpstg-tab-container table tbody tr:nth-child(1) > th > div {\n font-size: 20px; }\n\n/* Cloning workflow */\n#wpstg-clonepage-wrapper {\n margin-bottom: 20px;\n width: 98%; }\n\n@media screen and (min-width: 1090px) {\n #wpstg-clonepage-wrapper {\n float: left;\n margin-bottom: 20px; } }\n\n#wpstg-steps {\n margin-top: 0px;\n margin-left: 20px; }\n\n#wpstg-steps li {\n color: #444;\n line-height: 20px;\n padding-right: 10px;\n float: left; }\n\n.wpstg-step-num {\n border: 1px solid #3e3e3e;\n border-radius: 3px;\n display: inline-block;\n width: 20px;\n height: 20px;\n text-align: center;\n margin-right: 5px; }\n\n.wpstg-current-step {\n font-weight: bold; }\n\n.wpstg-current-step .wpstg-step-num {\n background: #3e3e3e;\n color: #eee; }\n\n.wpstg-box {\n margin: 10px 0;\n padding: 10px;\n position: relative;\n overflow: hidden;\n transition: border-color .2s ease-in-out; }\n\n.wpstg-clone {\n margin-bottom: 10px;\n padding: 16px;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 3px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n.wpstg-clone.active {\n border-color: #1d94cf; }\n\n.wpstg-clone-header {\n display: flex;\n align-items: center; }\n\n.wpstg-clone-title {\n display: inline-block;\n margin-right: 8px;\n font-size: 15px;\n max-width: 300px;\n text-decoration: none;\n font-weight: bold;\n color: #3e3e3e; }\n\n.wpstg-clone-title:hover {\n color: #111111; }\n\n.wpstg-clone-labels {\n display: inline-block; }\n\n.wpstg-clone-labels .wpstg-clone-label {\n display: inline-block;\n padding: 1px 4px;\n margin-right: 4px;\n font-size: 11px;\n border-radius: 3px;\n background: #8bc34a;\n color: #fff; }\n\n.wpstg-clone-actions {\n margin-left: auto;\n display: flex;\n margin-top: 5px; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler {\n text-decoration: none;\n background: #25a1f0;\n padding: 6px 10px;\n border-radius: 2px;\n font-size: 14px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n color: #ffffff; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler:hover {\n background: #002648;\n color: white; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu {\n background: #fff;\n display: none;\n flex-direction: column;\n position: absolute;\n right: 0;\n top: calc(100% + 4px);\n padding: 8px;\n border-radius: 2px;\n width: 100px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n z-index: 1000; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.wpstg-menu-dropup {\n top: auto;\n bottom: 100%;\n transform: translate3d(0px, -3px, 0px); }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.shown {\n display: flex; }\n\n.wpstg-clone-action,\n.wpstg-dropdown-action {\n color: #3e3e3e;\n padding: 6px 8px;\n border-radius: 3px;\n text-decoration: none;\n position: relative;\n transition: color .2s ease-in-out;\n border-bottom: 1px solid #f3f3f3; }\n\n.wpstg-clone-action:hover,\n.wpstg-dropdown-action:hover {\n background: rgba(0, 0, 0, 0.05); }\n\n.wpstg-dropdown-action {\n color: #3e3e3e;\n background: transparent;\n border: 0 solid black;\n outline: none;\n box-shadow: none; }\n\n.wpstg-remove-clone:hover {\n color: #E01E5A; }\n\n.wpstg-clone-action:last-child {\n border: none; }\n\n.wpstg-clone:hover .wpstg-clone-action {\n display: inline-block; }\n\n#wpstg-show-error-details:focus,\n#wpstg-workflow .wpstg-clone-action {\n outline: none;\n box-shadow: none; }\n\n.wpstg-link-btn {\n background: #45a1c9;\n color: #fff;\n display: inline-block;\n padding: 5px 10px;\n text-decoration: none;\n vertical-align: baseline;\n transition: all .2s ease-in-out; }\n\n.wpstg-link-btn:hover,\n.wpstg-link-btn:focus {\n color: #fff;\n outline: none;\n box-shadow: none; }\n\n#wpstg-workflow .wpstg-link-btn:active {\n vertical-align: baseline; }\n\n.wpstg-link-btn[disabled] {\n background: #777 !important;\n border-color: #555 !important;\n pointer-events: none; }\n\n#wpstg-cancel-cloning,\n#wpstg-cancel-cloning-update {\n margin-top: 5px; }\n\n#wpstg-cancel-cloning.success,\n#wpstg-cancel-cloning.success {\n background: #64dd58;\n border-color: #54bd4a; }\n\n#wpstg-error-wrapper,\n#wpstg-error-details {\n display: none;\n padding-top: 10px;\n font-size: 13px;\n clear: both; }\n\n#wpstg-show-error-details {\n display: inline-block;\n margin-left: 5px;\n color: #555;\n text-decoration: none;\n transition: color .2s ease-in-out; }\n\n#wpstg-show-error-details:hover {\n color: #1d94cf; }\n\n#wpstg-error-details {\n border-left: 5px solid #E01E5A;\n padding: 10px;\n width: 500px; }\n\n#wpstg-try-again {\n display: none; }\n\n#wpstg-home-link {\n float: right; }\n\n.wpstg-loader {\n content: url(\"../../img/loading.gif\");\n display: none; }\n\n.wpstg-loader.wpstg-finished {\n display: block;\n content: \"Finished\";\n background-color: #00c89a;\n color: white;\n padding: 2px 10px;\n margin-top: 0;\n border-radius: 3px; }\n\n#wpstg-workflow {\n max-width: 800px;\n position: relative;\n clear: both;\n padding-top: 20px;\n float: left;\n min-width: 500px;\n min-height: 380px;\n padding-right: 20px;\n padding-bottom: 20px; }\n\n#wpstg-sidebar {\n float: left;\n max-width: 400px;\n display: block;\n margin-left: 10px; }\n\n#wpstg-workflow.loading::after,\n#wpstg-removing-clone.loading::after {\n background: rgba(255, 255, 255, 0.7);\n content: 'Loading... may take a while for huge websites';\n display: block;\n width: 100%;\n height: 100%;\n font-size: 20px;\n padding-top: 100px;\n text-align: center;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 99; }\n\n#wpstg-removing-clone.loading::after {\n content: 'REMOVING' !important; }\n\n#wpstg-existing-clones,\n#wpstg-removing-clone {\n position: relative; }\n\n#wpstg-existing-clones h3 {\n color: #3e3e3e; }\n\n#wpstg-removing-clone .wpstg-tab-section {\n display: block; }\n\n.wpstg-progress-bar {\n max-width: 900px;\n height: 27px;\n padding: 0;\n background-color: #d6d8d7; }\n\n.wpstg-progress {\n float: left;\n background: #3fa5ee;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center;\n overflow: hidden; }\n\n.wpstg-progress-files {\n background: #16b4f0;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center; }\n\n#wpstg-new-clone-id.wpstg-error-input,\n#wpstg-clone-path.wpstg-error-input {\n border: 1px solid #E01E5A;\n box-shadow: 0 0 2px rgba(255, 66, 53, 0.8); }\n\n#wpstg-new-clone-id {\n width: 450px;\n max-width: 100%;\n margin-left: 15px; }\n\n#wpstg-new-clone {\n background: #25a1f0;\n border-color: #2188c9; }\n\n#wpstg-new-clone:hover {\n background: #259be6;\n border-color: #2188c9; }\n\n#wpstg-clone-path {\n margin-left: 10px;\n width: 350px; }\n\n.wpstg-error-msg {\n color: #E01E5A; }\n\n#wpstg-clone-id-error {\n display: block;\n background-color: #f0f8ff;\n padding: 10px;\n margin: 20px; }\n\n#wpstg-start-cloning + .wpstg-error-msg {\n display: block;\n margin-top: 5px; }\n\n.wpstg-size-info {\n color: #999;\n font-weight: normal;\n position: relative;\n left: 2px; }\n\n.wpstg-db-table .wpstg-size-info {\n top: 2px; }\n\n.wpstg-db-table:hover {\n background-color: #f0f8ff; }\n\n#wpstg-workflow #wpstg-start-cloning {\n margin-left: 5px;\n vertical-align: baseline; }\n\n/* Tabs */\n.wpstg-tabs-wrapper {\n max-width: 640px;\n margin: 10px 0; }\n\n#wpstg-path-wrapper {\n border-bottom: 2px dashed #ccc;\n padding-bottom: 10px;\n margin-bottom: 10px; }\n\n.wpstg-tab-section {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n display: none;\n width: calc(100% - 72px);\n padding: 0px 36px; }\n\n.wpstg-tab-section::after {\n display: block;\n content: '';\n clear: both; }\n\n.wpstg-tab-header {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n color: #444;\n font-size: 16px;\n font-weight: bold;\n display: block;\n padding: 10px;\n text-decoration: none; }\n\n.wpstg-tab-triangle {\n display: inline-block;\n margin-right: 12px;\n animation: transform 0.5s;\n width: 0;\n height: 0;\n margin-top: -3px;\n vertical-align: middle;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 10px solid;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-tab-triangle.wpstg-no-icon {\n margin-right: 2px;\n width: auto;\n height: auto;\n vertical-align: auto;\n border-top: 0px solid;\n border-bottom: 0px solid;\n border-left: 0px solid; }\n\n.wpstg-tab-triangle.wpstg-rotate-90 {\n transform: rotate(90deg); }\n\n.wpstg-tab-header:focus {\n color: #444;\n outline: none;\n box-shadow: none; }\n\n#wpstg-large-files {\n display: none;\n border: 1px dashed #ccc;\n padding: 10px 10px 10px;\n margin-top: 20px;\n position: relative;\n font-size: 12px; }\n\n#wpstg-large-files h3 {\n background: #fff;\n margin: 0;\n padding: 0 5px;\n position: absolute;\n top: -10px;\n left: 5px; }\n\n.wpstg-subdir {\n display: none;\n margin-left: 20px; }\n\n.wpstg-subdir.wpstg-push {\n display: block;\n margin-left: 20px; }\n\n.wpstg-dir a.disabled {\n color: #888;\n cursor: default;\n text-decoration: none; }\n\n.wpstg-check-subdirs {\n display: inline-block;\n margin-left: 10px; }\n\n.wpstg-notice-alert {\n display: block;\n background-color: #E01E5A;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px;\n color: white; }\n\n.wpstg-notice--white {\n display: block;\n background-color: #ffffff;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px; }\n\n.wpstg-notice-alert a {\n color: white; }\n\n.wpstg-notice-alert h3 {\n color: white; }\n\n.wpstg-header {\n font-weight: 400;\n line-height: 1.6em;\n font-size: 19px;\n /*\n border-bottom: 1px solid #DFDFDF;\n */\n clear: both;\n padding-top: 10px; }\n\n#wpstg-clone-label {\n font-size: 14px;\n font-weight: bold; }\n\n.wpstg-log-details {\n height: 300px;\n overflow: scroll;\n max-width: 650px;\n font-family: monospace;\n font-size: 12px;\n line-height: 15px;\n border: 1px solid #FFF;\n background-color: black;\n color: #c0c0c0;\n padding: 3px;\n white-space: nowrap;\n margin-top: 15px; }\n\n#wpstg-finished-result {\n display: none; }\n\n#wpstg-remove-cloning {\n background: #ff3428;\n border-color: #e72f24;\n margin-top: 5px; }\n\n#wpstg-success-notice {\n padding: 10px;\n background-color: white;\n max-width: 900px;\n border: 1px solid #ccc;\n margin-top: 20px; }\n\n.wpstg_beta_notice {\n margin-bottom: 20px; }\n\n.wpstg-sysinfo {\n width: 700px;\n height: 400px; }\n\n.wpstg-form-table .col-title label {\n font-weight: 600; }\n\n.wpstg-form-table td:first-child {\n width: 30%;\n padding-right: 20px; }\n\n.wpstg-share-button-container {\n margin: 5px 0; }\n\n.wpstg-share-button-container p {\n margin: 0 0 10px 0; }\n\n.wpstg-share-button {\n display: inline-block; }\n\n.wpstg-share-button a {\n text-decoration: none; }\n\n.wpstg-share-button .wpstg-share {\n font-family: sans-serif;\n font-weight: bold;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-share-button .wpstg-share {\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n color: #FFF;\n display: inline;\n font-size: 12px;\n padding: 4px 8px; }\n\n.wpstg-share-button-twitter .wpstg-share {\n background-color: #00ABF0; }\n\n.wpstg-share-button-facebook .wpstg-share {\n background-color: #3b5998; }\n\n.wpstg-share-button-googleplus .wpstg-share {\n background-color: #F53424; }\n\n.wpstg-share-button-twitter .share:active,\n.wpstg-share-button-facebook .share:active,\n.wpstg-share-button-googleplus .share:active {\n background-color: #353535; }\n\n#wpstg-check-space {\n margin-left: 8px; }\n\n#wpstg-welcome li {\n font-size: 18px;\n line-height: 29px;\n position: relative;\n padding-left: 23px;\n list-style: none !important; }\n\n#wpstg-welcome {\n margin-top: 20px;\n margin-right: 20px;\n background-color: white; }\n\n.wpstg-heading-pro {\n font-weight: bold; }\n\n.wpstg-h2 {\n margin-top: 0;\n margin-bottom: 1.2rem;\n font-size: 30px;\n line-height: 2.5rem; }\n\n#wpstg-welcome li:before {\n width: 1em;\n height: 100%;\n background: url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left 0.4em no-repeat;\n background-size: contain;\n content: \"\";\n position: absolute;\n top: -2px;\n left: 0;\n color: #77b227; }\n\n.wpstg-h1 {\n margin-bottom: 1.35rem;\n font-size: 2.5em;\n line-height: 3.68rem;\n letter-spacing: normal; }\n\n.wpstg--swal2-content {\n color: #3e3e3e; }\n\n.wpstg--swal2-content h1 {\n color: #444; }\n\n#wpstg-welcome h2 {\n margin: 0 0 15px; }\n\n#wpstg-welcome .wpstg-footer {\n clear: both;\n margin-top: 20px;\n font-style: italic; }\n\n#wpstg-footer {\n clear: both;\n margin-top: 20px;\n margin-right: 10px;\n padding-top: 50px; }\n\n#wpstg-footer a {\n text-decoration: none; }\n\n#wpstg-footer li {\n margin-bottom: 2px;\n list-style: circle; }\n\n#wpstg-footer ul {\n margin-left: 15px;\n margin-top: 0px; }\n\n.wpstg-footer--title {\n margin-left: 15px; }\n\n.wpstg-staging-info {\n margin-top: 8px;\n color: #3e3e3e;\n font-size: 12px; }\n\n.wpstg-staging-info a {\n color: #3e3e3e; }\n\n.wpstg-staging-info li {\n margin-bottom: 2px; }\n\n.wpstg-bold {\n font-weight: 600; }\n\n#wpstg-processing-status {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: left; }\n\n#wpstg-processing-timer {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: right; }\n\n#wpstg-report-issue-button {\n margin-left: 30px;\n border: 1px solid #E01E5A;\n color: #E01E5A;\n background-color: white; }\n\n#wpstg-report-issue-button:hover {\n background-color: #dc2b62;\n color: #fff; }\n\n.wpstg-blue-primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n height: 28px;\n margin: 0;\n /*\n padding: 0 10px 1px;\n */\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n -webkit-appearance: none;\n border-radius: 3px;\n white-space: nowrap;\n box-sizing: border-box;\n background: #25a1f0;\n border-color: #2188c9;\n color: #fff;\n /*\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n */ }\n\n.wpstg-blue-primary:hover {\n background: #127fc6; }\n\na.wpstg-blue-primary {\n padding: 5px 10px;\n height: auto; }\n\n.wpstg-blue-primary:hover {\n background-color: #259be6; }\n\n.wpstg-report-issue-form {\n position: absolute;\n z-index: 999;\n width: 300px;\n background-color: #fff;\n padding: 15px 15px 10px;\n border: 1px solid #e8e8e8;\n border-radius: 3px;\n box-shadow: 0 1px 0 0 #fff inset;\n display: none;\n right: 0;\n top: 35px; }\n\n@media (max-width: 600px) {\n .wpstg-report-issue-form {\n position: relative; } }\n\n.wpstg-report-show {\n display: block; }\n\n.wpstg-field input[type=text],\n.wpstg-field textarea {\n width: 100%;\n font-weight: 400;\n line-height: 1.4;\n margin-bottom: 4px; }\n\n.wpstg-report-email,\n.wpstg-report-hosting-provider {\n width: 100%;\n font-weight: 400;\n font-size: .8rem;\n height: 2.3rem;\n line-height: 2.3rem;\n border-radius: 3px;\n margin-bottom: 4px;\n padding: 0 10px; }\n\n.wpstg-report-description {\n border-radius: 3px;\n font-size: .8rem;\n padding: 6px 10px;\n resize: none; }\n\n.wpstg-report-privacy-policy {\n font-size: 12px;\n margin-bottom: 15px; }\n\n#wpstg-report-cancel {\n float: right;\n margin-right: 5px;\n font-weight: bold; }\n\n#wpstg-success-button {\n font-weight: bold; }\n\n.wpstg-message {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n background-color: #f5e0de;\n border-radius: 3px;\n color: rgba(0, 0, 0, 0.6);\n height: auto;\n margin: 10px 0;\n min-height: 18px;\n padding: 6px 10px;\n position: relative; }\n\n.wpstg-message.wpstg-error-message {\n background-color: #f5e0de;\n color: #b65147;\n font-size: 12px; }\n\n.wpstg-message.wpstg-success-message {\n background-color: #d7f8e0;\n color: #515151; }\n\n.wpstg-message p {\n margin: 3px 0;\n font-size: 13px; }\n\n.wpstg-warning {\n display: block;\n padding: 10px;\n background-color: #ffb804;\n color: #ffffff;\n margin: 10px 10px 10px 0; }\n\n.wpstg-warning a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n.wpstg-error {\n display: block;\n padding: 10px !important;\n background-color: #E01E5A !important;\n color: #ffffff;\n margin: 10px 10px 10px 0 !important;\n border-color: transparent !important;\n border-left-color: transparent !important;\n box-shadow: none !important; }\n\n.wpstg-error a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n#wpstg-resume-cloning {\n display: none; }\n\n#wpstg-external-db th {\n text-align: left;\n width: 120px; }\n\n#wpstg-db-connect {\n font-weight: normal; }\n\n#wpstg-db-status {\n display: block;\n margin-top: 5px;\n padding: 5px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-text-field > #wpstg-db-status {\n margin-top: 8px;\n margin-left: 150px;\n min-width: 300px; }\n\n.wpstg-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6; }\n\n.wpstg-failed {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1; }\n\n#wpstg_select_tables_cloning {\n height: 600px;\n font-size: 13px; }\n\n#wpstg_select_tables_pushing {\n height: 400px;\n font-size: 13px; }\n\n#wpstg-update-notify {\n background-color: #E01E5A;\n font-size: 14px;\n color: #ffffff;\n line-height: normal;\n padding: 10px; }\n\n#wpstg-update-notify a {\n color: #ffffff;\n font-weight: bold; }\n\n.wpstg-pointer {\n cursor: pointer; }\n\n.wpstg--tab--header {\n background-color: white;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 0px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.02); }\n\n.wpstg--tab--header ul {\n display: flex; }\n\n.wpstg--tab--header ul li {\n margin-right: 1em;\n margin-bottom: 0px; }\n\n.wpstg--tab--header ul li:last-child {\n margin-right: 0; }\n\n.wpstg--tab--header a {\n min-width: 150px;\n text-align: center;\n cursor: pointer;\n display: inline-block;\n padding: 1em 1.25em;\n padding-bottom: 9px;\n color: #c4c4c4;\n font-size: 18px; }\n\n.wpstg--tab--header a.wpstg--tab--active {\n border-bottom: 3px solid #0e86d9;\n color: #25A1F0; }\n\n.wpstg--tab--header a:hover {\n background-color: #fefefe;\n border-bottom: 3px solid #0e86d9;\n color: #0e86d9; }\n\n.wpstg--tab--content {\n display: none; }\n\n.wpstg--tab--active {\n display: block; }\n\n#wpstg-premium-header {\n font-size: 1.5rem;\n font-weight: bold; }\n\n.wpstg--text--strong,\n.wpstg--text--strong * {\n font-weight: bold !important; }\n\n.wpstg--text--danger {\n color: #a94442; }\n\n.wpstg--tooltip {\n position: relative;\n display: inline-block;\n margin-left: 5px; }\n\n.wpstg--tooltip.wpstg--tooltip-normal {\n margin-left: 0;\n border-bottom: 0; }\n\n.wpstg--tooltip .wpstg--tooltiptext {\n visibility: hidden;\n width: 300px;\n background-color: #ffffff;\n color: #505050;\n text-align: left;\n padding: 12px;\n border-radius: 3px;\n position: absolute;\n z-index: 1;\n -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n font-weight: normal; }\n\n.wpstg--tooltiptext-backups {\n width: 120px;\n top: 100%;\n left: -150%;\n margin-left: -56px;\n margin-top: 4px; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip {\n border-bottom: 0px solid transparent; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip > .wpstg--tooltiptext {\n margin-top: 0px;\n margin-left: -150px; }\n\n/**\nTooltip top arrow\n */\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n /* At the top of the tooltip */\n left: 50%;\n margin-left: 25px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow {\n margin-top: 6px; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -18px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--snaphot-restore-table tr {\n line-height: 12px; }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-beta-notice {\n background-color: #b0e8b0;\n border-radius: 3px;\n padding: 7px;\n margin-bottom: 20px; }\n\n#wpstg-backup-name {\n font-size: 1.875em;\n font-weight: 600; }\n\n#wpstg_select_tables_cloning option:checked,\n#wpstg_select_tables_pushing option:checked {\n /* Cannot use background color here because Chrome and Firefox ignore it even if set to !important */\n -webkit-appearance: menulist-button;\n background-image: linear-gradient(0deg, #1e90ff 0%, #1e90ff 100%); }\n\n.wpstg--btn--cancel {\n background: #ff3428;\n border-color: #e72f24;\n color: #fff;\n height: auto;\n line-height: normal;\n font-size: 16px;\n padding: .5em;\n margin-bottom: 1.5em; }\n\n.wpstg--btn--cancel:hover {\n background: #ff3428;\n border-color: #e72f24; }\n\n.wpstg--process--content > .wpstg--swal2-html-container {\n padding: 4em 2em !important; }\n\n.wpstg--modal--process--logs,\n.wpstg--modal--error--logs {\n background: #ffffff;\n border: 1px solid #a8a8a8;\n border-radius: 3px;\n height: 300px;\n margin-top: 1em;\n display: none;\n padding-top: 10px;\n padding-left: 10px;\n overflow: auto;\n text-align: justify; }\n\n.wpstg--modal--error--logs {\n height: auto;\n max-height: 300px; }\n\n.wpstg--modal--process--logs p {\n font-size: 12px;\n white-space: nowrap; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--info {\n color: #222222; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--debug {\n color: #757575; }\n\n.wpstg--modal--process--title {\n color: #565656;\n margin: .25em 0; }\n\n.wpstg--modal--process--subtitle {\n margin: .5em 0;\n color: #565656; }\n\n.wpstg--modal--error--logs > p {\n text-align: left;\n font-size: 14px;\n color: #222222; }\n\n.wpstg--modal--process--logs p,\n.wpstg--modal--error--logs p {\n margin: 0px;\n margin-bottom: 2px; }\n\n.wpstg--modal--process--msg--error {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--critical {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--warning {\n color: darkorange; }\n\n.wpstg--modal--process--msg-found {\n font-size: 16px;\n color: #E01E5A;\n font-weight: bold; }\n\n.wpstg--modal--delete {\n text-align: left;\n margin-top: 8px;\n color: #565656; }\n\n.wpstg-swal-popup .wpstg--swal2-cancel.wpstg--btn--cancel {\n margin-bottom: 0;\n text-shadow: none !important; }\n\n.wpstg-swal-popup .wpstg-loader {\n display: inline-block !important; }\n\n.wpstg--modal--process--generic-problem {\n display: none;\n border-left: 5px solid #E01E5A;\n margin: .5em 0; }\n\n.wpstg--modal--process--logs--tail {\n font-size: 16px;\n color: #565656;\n background: none;\n border: none;\n cursor: pointer;\n text-decoration: underline; }\n\n.wpstg--modal--backup--import--upload--title {\n color: #3e3e3e; }\n\n.wpstg--modal--backup--import--configure,\n.wpstg--modal--backup--import--upload--status,\n.wpstg--modal--backup--import--upload--container input[type=\"file\"] {\n display: none; }\n\n#wpstg--backups--import--file-list {\n font-size: 14px;\n font-weight: bold; }\n\n#wpstg--backups--import--file-list-empty {\n color: #E01E5A; }\n\n.wpstg--modal--backup--import--filesystem label {\n font-size: 14px; }\n\n.wpstg--modal--backup--import--filesystem button {\n margin-bottom: 20px; }\n\n.wpstg--modal--backup--import--upload {\n position: relative;\n min-height: 30px; }\n\n.wpstg--modal--backup--import--upload {\n color: #505050; }\n\n.wpstg--modal--backup--import--upload--container {\n position: relative;\n border-radius: 10px;\n margin: .5em;\n padding: 1em .5em;\n border: 3.5px dashed #dedede;\n transition: background-color 0.3s ease, color 0.3s ease;\n background-color: #f4fbff;\n min-height: 130px; }\n\n.wpstg--modal--backup--import--upload--container.wpstg--has-dragover span.wpstg--drop {\n display: inline-flex; }\n\n.wpstg--modal--backup--import--upload--container input[type='file'] {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container img {\n margin-top: 10px;\n width: 4em;\n align-self: center;\n border: none; }\n\n.wpstg--modal--backup--import--upload--container span {\n margin-top: 1em; }\n\n.wpstg--backup--import--options > button {\n margin-top: 1em;\n padding: 1em;\n align-self: center;\n width: 185px;\n height: auto;\n line-height: normal; }\n\n.wpstg--backup--import--options {\n position: relative;\n display: flex;\n justify-content: center; }\n\n.wpstg--backup--import--options ul {\n display: none; }\n\n.wpstg--backup--import--options.wpstg--show-options ul {\n padding: 0;\n margin: 54px 0 0 0;\n display: block;\n position: absolute;\n width: 185px;\n background: #25a1f0;\n box-sizing: border-box;\n border-radius: 0 0 3px 3px;\n border-width: 1px;\n border-color: #2188c9;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li {\n border-bottom: .1em solid #25a1f0;\n margin: 0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:hover {\n background-color: #25a1f0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:last-child {\n border-bottom: none; }\n\n.wpstg--backup--import--options ul li button {\n cursor: pointer;\n background: none;\n border: none;\n margin: 0;\n width: 100%;\n color: white;\n height: 40px;\n line-height: 40px; }\n\n.wpstg--backup--import--options ul li button:hover {\n background-color: #259be6; }\n\n.wpstg--modal--backup--import--search-replace--info {\n margin: 1em 0;\n display: flex;\n flex-direction: row; }\n\n.wpstg--modal--backup--import--info p {\n text-align: left;\n margin: 0; }\n\n.wpstg--modal--backup--import--search-replace--wrapper button {\n align-self: center; }\n\n.wpstg--import--advanced-options--button {\n border: 0;\n border-radius: 3px;\n font-size: 18px;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n cursor: pointer; }\n\n.wpstg--modal--backup--import--search-replace--new {\n color: white;\n background-color: #25a1f0; }\n\n.wpstg--modal--backup--import--search-replace--remove {\n color: white;\n background-color: #25a1f0;\n width: 22px;\n height: 22px;\n margin-left: 5px; }\n\n.wpstg--modal--backup--import--search-replace--input-group:first-child button {\n display: none; }\n\n.wpstg--modal--backup--import--search-replace--input--container {\n flex: 1;\n display: flex;\n flex-direction: column; }\n\n.wpstg--modal--backup--import--search-replace--input-group {\n width: 100%;\n border-bottom: 6px solid #f1f1f1;\n margin-bottom: 10px; }\n\n.wpstg--modal--backup--import--search-replace--input-group input {\n min-width: 250px;\n width: calc(50% - 4px - 11px - 5px);\n /* -4px is half of the padding; -11px is half of the button; -5 is the margin left of the button */\n display: inline-block;\n line-height: 10px;\n border: 1px solid #dedede;\n border-radius: 3px;\n color: #666;\n padding: 8px;\n margin-bottom: 12px; }\n\n.wpstg--modal--import--upload--process {\n display: none;\n position: relative;\n height: 30px;\n margin-top: 20px;\n margin-bottom: 20px;\n width: 100%;\n top: 0;\n left: 0;\n text-indent: 1em;\n white-space: nowrap;\n overflow: hidden;\n color: #333333;\n justify-content: center;\n align-items: center; }\n\n.wpstg--modal--import--upload--progress {\n position: absolute;\n background: #98d452;\n color: white;\n height: 100%;\n border-radius: 4px;\n left: 0;\n top: 0; }\n\n.wpstg--modal--import--upload--progress--title {\n z-index: 9; }\n\n.wpstg-fieldset:disabled {\n opacity: 0.8;\n border-top: 1px solid white;\n margin-top: 20px; }\n\n.wpstg-fieldset {\n padding-left: 20px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-dark-alert {\n font-weight: bold;\n background-color: #0e86d9;\n padding: 30px;\n margin-top: 0px;\n color: white; }\n\n.wpstg-dark-alert ul {\n list-style: initial; }\n\n.wpstg-form-group {\n display: block;\n width: 100%;\n margin-bottom: 8px;\n align-items: center; }\n\n.wpstg-form-group > label {\n display: block;\n font-weight: 700; }\n\n.wpstg-text-field > input {\n width: 300px;\n display: block;\n line-height: 1.5; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-text-field > .wpstg-code-segment {\n margin-top: 4px;\n min-width: 300px; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%;\n position: relative; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n left: 150px; }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-ml-4 {\n margin-left: 4px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-advanced-settings hr {\n margin: 20px 0; }\n\n.wpstg-form-row {\n display: block; }\n\n.wpstg-form-row label,\n.wpstg-form-row input {\n display: table-cell;\n padding-left: 5px;\n padding-right: 5px;\n margin-top: 3px;\n margin-bottom: 3px; }\n\n.wpstg-form-row input {\n width: 400px; }\n\n.wpstg-form-row label {\n font-weight: bold;\n width: 1px;\n white-space: nowrap; }\n\n#wpstg-db-connect-output #wpstg-db-status {\n width: 390px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n margin-left: 10px; }\n\n@media only screen and (max-width: 768px) {\n .wpstg-form-group > label {\n min-width: auto;\n width: auto; }\n .wpstg-text-field > input {\n width: 100%; }\n .wpstg-text-field > .wpstg-code-segment {\n margin-left: 0;\n min-width: 100%; }\n .wpstg-tab-section {\n width: calc(100vw - 60px);\n max-width: 450px; } }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-m-0 {\n margin: 0; }\n\n.wpstg-mt-10px {\n margin-top: 10px !important; }\n\n.wpstg-mr-10px {\n margin-right: 10px !important; }\n\n.wpstg-my-10px {\n margin-top: 10px !important;\n margin-bottom: 10px !important; }\n\n.wpstg-w-100 {\n width: 100%; }\n\n.wpstg-box-shadow {\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-bold-text {\n font-weight: bold; }\n\n.wpstg-warning.notice {\n border-left: 4px solid #ffba00; }\n\n.wpstg-confirmation-label {\n background-color: #5b9dd9;\n color: #fff;\n padding: 2px;\n border-radius: 3px; }\n\n.wpstg-my-6px {\n margin-bottom: 6px;\n margin-top: 6px; }\n\n.wpstg-mb-10px {\n margin-bottom: 10px; }\n\n.wpstg-clear-both {\n clear: both; }\n\n.wpstg-font-italic {\n font-style: italic; }\n\n.wpstg-mt-20px {\n margin-top: 20px; }\n\n.wpstg-welcome-container {\n border: 2px solid white;\n padding: 20px;\n margin-bottom: 20px; }\n\n.wpstg-ml-30px {\n margin-left: 30px; }\n\n.wpstg-text-center {\n text-align: center; }\n\n.wpstg-feedback-link {\n text-decoration: none; }\n\n.wpstg-feedback-span {\n display: block;\n margin-bottom: 3px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-confirm-backup-restore-wrapper {\n margin: 30px;\n margin-top: 0; }\n\n#wpstg-confirm-backup-restore-wrapper h3 {\n color: #E01E5A; }\n\n#wpstg-progress-db,\n#wpstg-progress-backup {\n background-color: #3fa5ee; }\n\n#wpstg-progress-sr,\n#wpstg-progress-files.wpstg-pro {\n background-color: #3c9ee4; }\n\n#wpstg-progress-dirs,\n#wpstg-progress-data {\n background-color: #3a96d7; }\n\n#wpstg-progress-files:not(.wpstg-pro),\n#wpstg-progress-finishing {\n background-color: #378cc9; }\n\n.wpstg-issue-resubmit-confirmation.wpstg--swal2-container,\n.wpstg-swal2-container.wpstg--swal2-container {\n z-index: 10500; }\n\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-actions,\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-header {\n display: none; }\n\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container .wpstg--swal2-content,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container .wpstg--swal2-content {\n z-index: 2; }\n\n.toplevel_page_wpstg_clone #swal2-content h2 {\n color: #3e3e3e; }\n\n.toplevel_page_wpstg_clone #swal2-content {\n line-height: 1.5em; }\n\ndiv#exportUploadsWithoutDatabaseWarning {\n font-style: italic;\n font-size: 0.9rem;\n margin: 10px;\n padding: 10px;\n border: 1px solid #e3e3e3;\n border-radius: 5px;\n text-align: center;\n background-color: #fafafa; }\n\n.wpstg-advanced-options-dropdown-wrapper {\n display: none;\n /* ENABLE WHEN WE HAVE ADVANCED OPTIONS FOR EXPORTING */\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--wrapper {\n text-align: left;\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--new--wrapper {\n text-align: center; }\n\n.wpstg-import-backup-contains li {\n display: inline-block;\n margin-bottom: 0px; }\n\n.wpstg-import-backup-contains li .wpstg-backups-contains {\n border-radius: 3px;\n color: #979797;\n background-color: #f4f4f4 !important;\n width: 18px;\n height: 18px;\n font-size: 17px; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains {\n padding: 2px;\n background-color: white; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains > .wpstg--dashicons {\n filter: invert(35%); }\n\n.wpstg-import-backup-contains .wpstg--tooltiptext {\n width: 80px;\n font-size: 13px;\n padding: 5px;\n left: -25px;\n text-align: center; }\n\n.wpstg-import-backup-contains-title {\n display: inline-block; }\n\nul.wpstg-import-backup-contains {\n display: inline-block; }\n\n.wpstg-import-backup-name {\n display: inline-block;\n font-weight: bold; }\n\n.wpstg-backup-more-info-toggle {\n font-size: x-small;\n display: inline-block;\n font-style: italic;\n cursor: pointer; }\n\n.wpstg-backup-more-info-toggle::selection {\n background: none; }\n\nul.wpstg-import-backup-more-info {\n font-size: 14px;\n text-align: left;\n margin-bottom: 30px;\n margin-top: 10px;\n background-color: #f6f6f6;\n border: 1px solid #878787;\n border-radius: 3px;\n padding: 7px;\n cursor: pointer; }\n\nul.wpstg-import-backup-more-info:hover {\n background-color: #def2ff;\n border: 1px solid #25a1f0; }\n\nul.wpstg-import-backup-more-info li {\n height: 20px; }\n\n.wpstg-backup-list {\n max-width: 800px; }\n\n.wpstg-backup-list h3 {\n color: #3e3e3e; }\n\n.wpstg-backup-list ul ul {\n margin-block-start: 1em;\n margin-block-end: 1em; }\n\n.wpstg-push-confirmation-message {\n text-align: justify;\n font-size: 15px; }\n\n.wpstg-settings-row {\n padding-top: 10px;\n padding-bottom: 10px; }\n\n.wpstg-settings-title {\n font-weight: 600; }\n\n.wpstg-settings-form-group {\n display: flex;\n align-items: center; }\n\n.wpstg-settings-form-group > .wpstg-settings-message {\n width: 30%;\n padding: 0;\n margin: 7px 0 0; }\n\n/**\n * WP STAGING EXCLUSION RULES TABLE LAYOUT\n */\n.wpstg-excluded-filters-container {\n padding: 0;\n margin-top: 10px;\n margin-bottom: 10px;\n max-width: 100%;\n width: 100%; }\n\n.wpstg-excluded-filters-container > table {\n width: 100%;\n border-collapse: collapse;\n border-color: transparent; }\n\n.wpstg-excluded-filters-container td {\n padding-top: 4px;\n padding-bottom: 4px;\n height: 20px; }\n\n.wpstg-excluded-filters-container h4 {\n margin: 0; }\n\n.wpstg-exclude-filters-foot {\n display: flex;\n justify-content: flex-start;\n padding: 0; }\n\n/**\n * WP STAGING EXCLUSION RULE DROPDOWN STYLE\n */\n.wpstg-exclude-filter-dropdown > button:hover {\n background: #135e96;\n border: 1px solid #135e96; }\n\n.wpstg-exclude-filter-dropdown > .wpstg-dropdown-menu {\n width: 128px; }\n\n.wpstg-remove-exclude-rule {\n color: #fff !important;\n background-color: #e01e5a;\n border: 1px solid #e01e5a;\n width: 20px;\n height: 20px;\n border-radius: 10px;\n font-size: 24px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n line-height: 0.7;\n margin-top: 5px;\n cursor: pointer; }\n\n.wpstg-remove-exclude-rule:hover {\n background-color: #E01E5A;\n border-color: #E01E5A; }\n\n.wpstg-code-block {\n margin-top: 4px;\n font-size: 1.2em;\n background: #f8f8f8;\n border-radius: 2px; }\n\n.wpstg-rule-info {\n background: #f8f8f8 !important; }\n\ncode.wpstg-code {\n display: inline-block;\n font-size: 11px;\n border: 1px solid #aaa;\n background: #fff;\n padding: 2px 4px;\n margin-bottom: 1px;\n color: #E01E5A; }\n\n.wpstg-exclusion-rule-info {\n color: #fff !important;\n background-color: #ffc107;\n border: 1px solid #ffc107;\n width: 14px;\n height: 14px;\n border-radius: 7px;\n font-size: 14px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n vertical-align: middle; }\n\n.wpstg-exclusion-rule-info:hover {\n background-color: #ffba0c;\n border: 1px solid #ffba0c; }\n\n/**\n * WP STAGING INPUTS EXCLUSION RULES\n */\n.wpstg-exclude-rule-input {\n font-size: 12px !important;\n padding: 2px 6px;\n box-shadow: none;\n outline: none !important;\n display: inline-block;\n font-weight: 400;\n line-height: 1.5;\n color: #222;\n border-radius: 0 !important;\n background-color: #fff;\n border: 1px solid #bbb;\n min-height: 24px !important;\n margin-top: 4px;\n margin-left: 4px;\n vertical-align: baseline !important;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n width: 135px; }\n\n.wpstg-excluded-filters-container tbody > tr:last-child .wpstg-exclude-rule-input {\n margin-bottom: 4px; }\n\n.wpstg-exclude-rule-input:hover {\n border: 1px solid #999; }\n\n.wpstg-exclude-rule-input:focus {\n border: 1px solid #25A0F1 !important;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important; }\n\n.wpstg-file-size-exclude-select,\n.wpstg-path-exclude-select {\n width: 135px; }\n\n.wpstg-file-size-exclude-select-small {\n width: 52px; }\n\n.wpstg-file-size-exclude-input {\n width: 75px; }\n\n.wpstg-staging-option-title {\n margin: 15px 0 0; }\n\n.wpstg-swal-push-container.wpstg--swal2-container {\n z-index: 9995; }\n\n#wpstg-scanning-files {\n padding-bottom: 5px; }\n\n#wpstg-scanning-files.wpstg-tab-section, #wpstg-scanning-db.wpstg-tab-section {\n padding-top: 10px; }\n\n.wpstg-reset-excludes-container {\n margin: 10px 0; }\n\n.wpstg-swal2-ajax-loader {\n width: 100%;\n height: 150px;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center; }\n\n@keyframes wpstg-loading-icon-anim {\n 0% {\n transform: rotate(0); }\n 100% {\n transform: rotate(360deg); } }\n\n.wpstg-swal2-ajax-loader > img {\n width: 64px;\n height: 64px;\n animation: wpstg-loading-icon-anim 1s infinite linear;\n -webkit-animation: wpstg-loading-icon-anim 1s infinite linear; }\n\n.wpstg-swal2-container .wpstg-tab-section {\n width: auto !important; }\n\n#wpstg-no-staging-site-results {\n margin-top: 10px;\n max-width: 375px; }\n\nli#wpstg-backup-no-results {\n max-width: 500px; }\n\nli#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n display: inline-block;\n text-align: center; }\n\nli#wpstg-backup-no-results .wpstg--dashicons, #wpstg-no-staging-site-results .wpstg--dashicons {\n filter: invert(50%);\n position: absolute;\n margin-top: 1px; }\n\nli#wpstg-backup-no-results .no-backups-found-text, #wpstg-no-staging-site-results .no-staging-site-found-text {\n color: #5d5d5d;\n margin-left: 20px; }\n\n@media only screen and (max-width: 680px) {\n li#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n width: 100%; } }\n\n#wpstg--modal--backup--download-inner p.wpstg-download-modal-text {\n font-size: 16px;\n color: #565656; }\n\n#wpstg--modal--backup--download-inner h2 {\n color: #565656; }\n\n.wpstg-backup-restore-contains-database,\n.wpstg-backup-restore-contains-files {\n display: none; }\n\n.wpstg-green-button {\n background: #8bc34a;\n border: 1px solid #78a93f;\n color: white;\n text-shadow: 0 -1px 1px #78a93f, 1px 0 1px #78a93f, 0 1px 1px #40c921, -1px 0 1px #78a93f; }\n\n.wpstg-green-button:hover {\n background: #78a93f; }\n\n.wpstg-is-dir-loading {\n position: absolute;\n margin-top: -2px;\n margin-left: 8px;\n display: none; }\n\n.wpstg-ml-8px {\n margin-left: 8px; }\n\n.wpstg-mb-8px {\n margin-bottom: 8px; }\n\n.wpstg-btn-danger {\n background-color: #E01E5A;\n border: 1px solid #E01E5A;\n color: white;\n text-shadow: none; }\n\n.wpstg-btn-danger:hover {\n background: #c0194d;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }\n\n.wpstg-swal2-container.wpstg-swal2-loading > .wpstg--swal2-modal {\n height: 200px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm > .wpstg--swal2-modal {\n height: 100px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm .wpstg-swal2-ajax-loader img {\n height: 32px;\n width: 32px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container:not(.wpstg-swal2-loading) > .wpstg--swal2-modal {\n max-width: 480px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-header {\n display: none; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-content {\n height: auto; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n overflow-y: auto;\n height: auto !important; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content {\n font-size: 13px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-dir {\n margin-bottom: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-subdir {\n margin-top: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open .wpstg--swal2-modal {\n height: calc(100vh - 70px); }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n height: calc(100vh - 350px) !important; }\n\n.wpstg--swal2-actions.wpstg--modal--actions > button {\n margin-left: 4px;\n margin-right: 4px;\n text-transform: uppercase;\n text-shadow: initial;\n font-weight: 500;\n min-width: 80px; }\n\n.wpstg-swal-popup {\n max-width: 1200px !important; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title {\n color: #393939; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content {\n margin-top: 8px;\n color: #393939; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n background: #25a1f0; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n width: 2.75em; }\n\n.wpstg--dashicons {\n width: 16px;\n height: 16px; }\n\n.wpstg--dashicons.wpstg-dashicons-grey {\n filter: invert(20%); }\n\n.wpstg--dashicons.wpstg-dashicons-19 {\n width: 19px;\n height: 19px; }\n\n.wpstg--dashicons.wpstg-dashicons-21 {\n width: 21px;\n height: 21px; }\n\n#wpstg--tab--backup #wpstg-step-1 {\n display: flex;\n align-items: center; }\n\n.wpstg-advanced-options .wpstg--tooltip,\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: inline-flex;\n align-items: center; }\n\n.wpstg-advanced-options-site .wpstg--tooltip img.wpstg--dashicons {\n filter: invert(17%) sepia(0%) saturate(1%) hue-rotate(195deg) brightness(97%) contrast(77%); }\n\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: flex;\n align-items: center; }\n\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n left: calc(20% + 2px); }\n\n.wpstg-listing-single-backup .wpstg--dashicons {\n width: 17px;\n height: 17px; }\n\n.wpstg-100-width {\n width: 100px; }\n\n.wpstg-caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-caret.wpstg-caret-up {\n transform: rotate(-180deg); }\n\n.wpstg-advanced-options-site label {\n font-size: 16px;\n display: block;\n margin: .5em 0; }\n\n#wpstg-confirm-backup-restore-data {\n font-size: 18px;\n margin: 0;\n margin-top: 30px; }\n\n/* Sweetalert WP STAGING Theme */\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container.wpstg--swal2-backdrop-show,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-show {\n background: rgba(0, 0, 0, 0.6);\n z-index: 9995; }\n\n.wpstg-swal-popup.wpstg--swal2-popup {\n border-radius: 8px;\n z-index: 9999;\n padding: 24px;\n color: #3e3e3e;\n font-family: Verdana, Geneva, Tahoma, sans-serif; }\n\n.wpstg-swal-popup .wpstg--swal2-title {\n font-size: 22px;\n color: #3e3e3e; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-title {\n align-self: flex-start;\n /* For an actual Swal title */\n text-align: left;\n /* Manually adding this class to a non flex display */\n margin-bottom: 0; }\n\n.wpstg-swal-popup .wpstg--swal2-close {\n top: 8px;\n right: 8px;\n z-index: 5; }\n\n.wpstg-swal-popup .wpstg--swal2-close:focus {\n outline: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions {\n justify-content: flex-end; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button {\n border-radius: 4px;\n font-weight: 900;\n border: 0;\n font-size: 15px;\n padding: 10px 12px;\n text-transform: capitalize;\n line-height: normal;\n height: 40px;\n min-width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions > button {\n margin-left: 8px; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel {\n border: 1px solid rgba(29, 28, 29, 0.3);\n background: #fff;\n color: #1d1c1d;\n font-weight: 500;\n width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button:hover {\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel:hover {\n background: rgba(28, 29, 28, 0.04); }\n\n#wpstg-backup-name-input {\n height: 44px;\n font-size: 18px; }\n\n.wpstg-restore-finished-container .wpstg--swal2-title {\n color: #565656 !important; }\n\n.wpstg-restore-finished-container .wpstg--swal2-content {\n margin-top: 20px;\n color: #a8a8a8; }\n\n/* WP Staging Implementation of Windows Style Linear Loader */\n.wpstg-linear-loader > span[class*=\"wpstg-linear-loader-item\"] {\n height: 6px;\n width: 6px;\n background: #333;\n display: inline-block;\n margin: 12px 2px;\n border-radius: 100%;\n animation: wpstg_linear_loader 3s infinite;\n animation-timing-function: cubic-bezier(0.03, 0.615, 0.995, 0.415);\n animation-fill-mode: both; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(1) {\n animation-delay: 1s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(2) {\n animation-delay: 0.8s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(3) {\n animation-delay: 0.6s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(4) {\n animation-delay: 0.4s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(5) {\n animation-delay: 0.2s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(6) {\n animation-delay: 0s; }\n\n@keyframes wpstg_linear_loader {\n 0% {\n transform: translateX(-30px);\n opacity: 0; }\n 25% {\n opacity: 1; }\n 50% {\n transform: translateX(30px);\n opacity: 0; }\n 100% {\n opacity: 0; } }\n\n/* END - Windows Style Linear Loader */\n.wpstg--modal--backup--import--upload--content {\n padding: .75em;\n margin: 1em auto; }\n\n.wpstg--modal--backup--import--upload--content .wpstg-linear-loader {\n display: none; }\n\n#wpstg-multisite-disabled .wpstg-clone {\n width: 355px; }\n\n#wpstg-free-version-backups .wpstg-clone p {\n font-size: 16px; }\n\n.wpstg-staging-info li .backup-notes {\n word-break: break-word; }\n\n.wpstg--modal--import--upload--progress--title small {\n font-weight: normal; }\n\n#wpstg-report-issue-wrapper {\n position: relative; }\n\n#wpstg-report-issue-wrapper .arrow-up {\n width: 0;\n height: 0;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 8px solid white;\n position: absolute;\n top: -8px;\n right: 40px; }\n\n.notice {\n margin: 10px 20px 0 2px; }\n\n.wpstg--notice {\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n margin: 20px 20px 20px 0px;\n padding: 1px 12px; }\n\n.wpstg--error a:hover {\n color: #eeeeee; }\n\n.wpstg--error, .wpstg--error a {\n background: #E01E5A;\n color: white; }\n\n/**\n * Buttons\n */\n.wpstg-button {\n display: inline-block;\n border-radius: 2px;\n cursor: pointer;\n padding: 2px 10px 2px 10px;\n text-transform: uppercase;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button.wpstg-save {\n background-color: #1687A7;\n color: white; }\n\n.wpstg-button.wpstg-save:hover {\n background-color: #276678; }\n\n.wpstg-button.wpstg-button-light {\n background-color: #f8f8f8;\n border: 1px solid #eee;\n color: #333;\n animation: background-color 0.3s; }\n\n.wpstg-button.wpstg-button-light:hover {\n background-color: #e0e0e0;\n border: 1px solid #e0e0e0; }\n\n.wpstg-buttons .spinner {\n float: none;\n margin: 0 0 0 5px; }\n\n.wpstg-button.danger {\n display: inline-block;\n text-decoration: none;\n text-align: center;\n text-transform: inherit;\n background-color: #E01E5A;\n color: white;\n border-radius: 2px;\n border-color: transparent; }\n\n.wpstg-button.danger:hover {\n background-color: #c0194d; }\n\n.wpstg-button--big {\n display: inline-block;\n padding: 10px;\n min-width: 170px;\n font-size: 16px;\n text-decoration: none;\n text-align: center;\n margin-top: 20px;\n color: white;\n border-radius: 3px; }\n\n.wpstg-button--primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n line-height: 2.15384615;\n min-height: 30px;\n margin: 0;\n padding: 0 10px;\n cursor: pointer;\n border: 1px solid rgba(29, 28, 29, 0.3);\n -webkit-appearance: none;\n border-radius: 2px;\n white-space: nowrap;\n box-sizing: border-box;\n color: #171717; }\n\n.wpstg-button--primary:hover {\n background: rgba(28, 29, 28, 0.04);\n color: black; }\n\n.wpstg-button--secondary {\n display: inline-block;\n background-color: transparent;\n color: #95a5a6;\n border-radius: 2px;\n border: 1px solid rgba(29, 28, 29, 0.3);\n cursor: pointer;\n padding: 4px 10px 2px 10px;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button--red {\n background-color: #E01E5A;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--red:hover {\n background-color: #d02358;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--cta-red {\n background-color: #fe008f;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--cta-red:hover {\n background-color: #f31391;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--blue {\n background-color: #25A0F1;\n border-color: #25A0F1;\n color: white; }\n\n.wpstg-button--blue:hover {\n background-color: #259be6;\n border-color: #259be6;\n color: white; }\n\n#wpstg-button-backup-upgrade {\n font-size: 16px;\n width: 150px;\n text-align: center; }\n\n.wpstg-staging-status {\n color: #E01E5A; }\n\n#wpstg-push-changes,\n#wpstg-start-updating,\n#wpstg-save-clone-data {\n margin-left: 5px; }\n\ninput.wpstg-textbox {\n border: 1px solid #aaa;\n border-radius: .25rem;\n padding: 0.25rem 0.5rem;\n font-size: 14px; }\n\ninput.wpstg-textbox:focus {\n outline: 0;\n border-color: #259be6;\n -webkit-box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35);\n box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35); }\n\ninput.wpstg-textbox::placeholder {\n color: #888; }\n\n.wpstg--advance-settings--checkbox {\n display: flex;\n align-items: center; }\n\n.wpstg--advance-settings--checkbox > label {\n font-size: 14px;\n font-weight: bolder;\n width: 165px;\n display: inline-block; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip {\n margin-top: 5px;\n margin-left: 5px;\n position: relative;\n display: inline-block;\n border-bottom: 0px solid transparent; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip > .wpstg--tooltiptext {\n top: 18px;\n left: -150px; }\n\ndiv#wpstg-restore-wait {\n display: none;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n height: 100vh;\n width: 100vw;\n position: fixed;\n top: 0;\n left: 0;\n background: white;\n z-index: 99999; }\n\ndiv#wpstg-restore-wait .wpstg-title {\n font-weight: bold; }\n\ndiv#wpstg-restore-wait div {\n font-size: 16px;\n margin-top: 12px; }\n\n.resumable-browse {\n cursor: pointer; }\n\n.resumable-browse a {\n text-decoration: underline; }\n\n.wpstg-upload-text {\n font-weight: 600; }\n\n.wpstg--modal--backup--import--upload--container.dragover {\n transition: background-color 0.7s;\n background-color: #94dc96;\n color: #FFF; }\n\n.wpstg--modal--backup--import--upload--container.dragover * {\n pointer-events: none;\n /* Avoids flickering when dragging to drop a file */ }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-upload-text {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-dragover-text {\n display: block; }\n\n.wpstg--modal--backup--import--upload--container .wpstg-dragover-text {\n display: none; }\n\n#wpstg-invalid-license-message, #wpstg-invalid-license-message a {\n font-weight: 500;\n color: #E01E5A;\n margin-left: 6px; }\n\n#wpstg-sidebar--banner {\n max-width: 200px; }\n\n@media screen and (max-width: 1234px) {\n .wpstg-h2 {\n font-size: 24px; }\n #wpstg-welcome li {\n font-size: 14px; } }\n\n.wpstg-exclamation {\n color: #ffffff;\n border-radius: 100%;\n background-color: #E01E5A;\n width: 20px;\n height: 20px;\n text-align: center;\n font-weight: bold;\n display: inline-block;\n margin: 6px; }\n\n.wpstg--tab--contents {\n padding-top: 1px; }\n\n.wpstg-swal-show.wpstg--swal2-show {\n -webkit-animation: wpstg-swal-show 0.2s !important;\n animation: wpstg-swal-show 0.2s !important; }\n\n@-webkit-keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n@keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n.wpstg-tab-item--vert-center {\n display: flex;\n align-items: center; }\n\n.wpstg-db-comparison-modal {\n padding-left: 10px;\n padding-right: 10px; }\n\n.wpstg-db-comparison-table {\n font-size: 13px;\n width: 100%; }\n\n.wpstg-db-comparison-table tbody td {\n padding-top: 6px; }\n\n.wpstg-db-comparison-table tr > td:first-child,\n.wpstg-db-comparison-table tr > th:first-child {\n text-align: left; }\n\n.wpstg-css-tick {\n display: inline-block;\n transform: rotate(45deg);\n height: 12px;\n width: 6px;\n border-bottom: 3px solid #78b13f;\n border-right: 3px solid #78b13f; }\n\n.wpstg-css-cross {\n position: relative;\n top: -8px;\n left: -2px;\n width: 16px;\n height: 16px; }\n\n.wpstg-css-cross:before, .wpstg-css-cross:after {\n position: absolute;\n content: ' ';\n height: 17px;\n width: 3px;\n background-color: #E01E5A; }\n\n.wpstg-css-cross:before {\n transform: rotate(45deg); }\n\n.wpstg-css-cross:after {\n transform: rotate(-45deg); }\n\n.wpstg-selection-preview {\n font-size: 12px;\n margin-left: 20px;\n color: #3216; }\n\n.wpstg-selection-preview.danger {\n color: #E01E5A; }\n\n.wpstg--backup-automated {\n margin-bottom: -5px; }\n\n.wpstg--dismiss-schedule {\n cursor: pointer; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup {\n vertical-align: middle; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li {\n padding: 2px; }\n\n.wpstg--modal--backup--manage--schedules--content table {\n margin: 0 auto;\n width: 100%; }\n\n.wpstg--modal--backup--manage--schedules--title {\n text-align: left;\n margin-bottom: 10px;\n margin-top: 0px; }\n\n.wpstg--modal--backup--import--upload--title {\n text-align: center; }\n\n#wpstg--modal--backup--manage--schedules--content {\n text-align: left; }\n\n#wpstg--modal--backup--manage--schedules--content thead {\n font-weight: bold; }\n\n#wpstg--modal--backup--manage--schedules--content .wpstg--tooltip.wpstg--dismiss-schedule {\n border-bottom: none; }\n\n.wpstg--tooltip.wpstg--dismiss-schedule img.wpstg--dashicons {\n filter: invert(18%) sepia(57%) saturate(6238%) hue-rotate(332deg) brightness(93%) contrast(88%); }\n\n#wpstg--modal--backup--manage--schedules--content td {\n padding-right: 25px;\n padding-top: 10px; }\n\n#wpstg--modal--backup--manage--schedules--content td:last-child {\n padding-right: 0px; }\n\n#wpstg--modal--backup--manage--schedules--content ul {\n margin-top: 0;\n margin-bottom: 0; }\n\n#wpstg--modal--backup--manage--schedules--content ul li:first-child .wpstg--tooltip {\n margin-left: 0; }\n\n.wpstg-button:disabled {\n background-color: #dddddd;\n text-shadow: none;\n color: #b3b3b3;\n border: 1px solid #cfcfcf;\n cursor: not-allowed; }\n\n#wpstg-backup-runs-info {\n margin: 0px;\n margin-top: 20px;\n padding: 0px;\n font-size: 12px; }\n\n#wpstg-backup-runs-info li {\n margin: 0px; }\n\ndiv#wpstg-backup-locked {\n width: 100%;\n max-width: calc(800px - 30px);\n padding: 15px;\n background: white;\n margin-bottom: 10px;\n display: flex;\n align-items: center; }\n\n#wpstg-backup-locked .icon {\n display: inline-block;\n height: 20px; }\n\n#wpstg-backup-locked .icon img {\n animation: wpstg-loading-icon-anim 2s infinite; }\n\n#wpstg-backup-locked .text {\n display: inline-block;\n margin-left: 15px; }\n\n#backup-schedule-current-time {\n font-size: 12px; }\n\n.wpstg-backup-scheduling-options label {\n margin-top: 17px; }\n\n.wpstg-backup-scheduling-options .wpstg-storage-option {\n display: block;\n margin: .5em 0;\n font-size: 15px; }\n\n.wpstg-storage-option > span:not(.wpstg-storage-settings) {\n width: 150px;\n display: inline-block; }\n\n.wpstg-storages-postbox {\n padding: 13px 16px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: white; }\n\n.wpstg-storages-postbox a {\n padding: 8px;\n margin-right: 8px;\n text-decoration: none;\n font-weight: bold;\n color: #3c434a; }\n\n.wpstg-storages-postbox a:hover {\n color: #b70b72; }\n\n.wpstg-storage-postbox {\n padding: 4px 16px;\n background-color: white; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active {\n background: #b70b72;\n color: white;\n font-weight: 700;\n cursor: default;\n border-radius: 3px; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active:hover {\n background: #a10a64; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-disabled {\n color: #999;\n cursor: not-allowed; }\n\n.wpstg-provider-revoke-form {\n display: inline;\n margin-top: 12px;\n margin-bottom: 12px; }\n\n.wpstg-provider-settings-form {\n margin-top: 10px; }\n\n.wpstg-provider-settings-form strong {\n display: block;\n margin: 8px 0; }\n\n.wpstg-provider-settings-form p {\n margin: 0;\n margin-bottom: 8px; }\n\n.wpstg-provider-settings-form fieldset {\n margin: 0;\n padding: 0;\n margin-bottom: 16px; }\n\n.wpstg-provider-settings-form fieldset p {\n margin: 0;\n padding: 5px;\n font-size: 12px; }\n\n.wpstg-provider-settings-form fieldset label {\n display: block;\n margin-bottom: 2px; }\n\n.wpstg-provider-settings-form fieldset input {\n font-size: 12px; }\n\n.wpstg-provider-settings-form .wpstg-link-btn.wpstg-blue-primary {\n text-shadow: none; }\n\n.wpstg-btn-google {\n font-family: Roboto;\n display: inline-flex;\n align-items: center;\n border-width: 0;\n outline: none;\n border-radius: 3px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);\n color: #555;\n transition: background-color .3s;\n padding: 8px;\n padding-right: 16px;\n height: 40px;\n line-height: 40px;\n font-size: 14px;\n box-sizing: border-box;\n text-decoration: none;\n font-weight: bold;\n margin-right: 10px; }\n\n.wpstg-btn-google img {\n width: 18px;\n height: 18px;\n margin-right: 12px;\n margin-left: 5px; }\n\n#wpstg-custom-google-credentials {\n margin-top: 20px; }\n\n.wpstg-fieldset .wpstg-with-icon {\n display: inline-flex;\n align-items: center; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon {\n margin-left: 8px; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon img {\n width: 16px;\n height: 16px; }\n\n#wpstg-btn-provider-revoke {\n border-radius: 2px; }\n\n.wpstg-metabox-holder {\n border-radius: 8px;\n background: #fff;\n padding: 20px;\n margin-left: 16px;\n min-height: 600px;\n margin-right: 32px;\n margin-top: 60px;\n -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n@media only screen and (max-width: 680px) {\n .wpstg-metabox-holder {\n padding: 0px;\n padding-top: 5px;\n margin-left: 0;\n margin-right: 5px; }\n #wpstg-tab-container .wpstg-settings-panel {\n padding: 0;\n overflow: auto; }\n .wpstg-form-table td:first-child {\n width: 50%; } }\n\n.wpstg-nav-tab {\n float: left;\n border: 1px solid #ffffff;\n border-bottom: none;\n margin-left: 0.5em;\n padding: 5px 10px;\n font-size: 14px;\n line-height: 1.71428571;\n font-weight: 600;\n background: #dcdcde;\n color: #3c434a;\n text-decoration: none;\n white-space: nowrap; }\n\n.wpstg-nav-tab-active, .wpstg-nav-tab-active:focus, .wpstg-nav-tab-active:focus:active, .wpstg-nav-tab-active:hover {\n border-bottom: 1px solid #f0f0f1;\n background: #f3f5f7;\n color: #b70b72;\n -webkit-box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16);\n box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16); }\n\n.wpstg-nav-tab-active {\n margin-bottom: -1px; }\n\n.wpstg-nav-tab-wrapper {\n /*\n border-bottom: 1px solid #c3c4c7;\n */\n margin: 0;\n padding-top: 9px;\n padding-bottom: 0;\n line-height: inherit; }\n\n.wpstg-nav-tab-wrapper li {\n margin-bottom: 0px; }\n\n#wpstg--js--translations {\n text-decoration: underline; }\n"]}
assets/css/dist/wpstg-admin.min.css CHANGED
@@ -1,2 +1,2 @@
1
- :root{--wpstg-color-warning:#ffb804;--wpstg-color-info:#24a1f0}.wpstg-badge{background:#f8f9fa;border-radius:3px;color:#333;font-size:12px;padding:4px 8px}.wpstg-badge.wpstg-badge-warning{background:var(--wpstg-color-warning);color:#fff}.wpstg-badge.wpstg-badge-info{background:var(--wpstg-color-info);color:#fff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../../fonts/roboto-v29-latin-regular.eot);src:local(""),url(../../fonts/roboto-v29-latin-regular.eot?#iefix) format("embedded-opentype"),url(../../fonts/roboto-v29-latin-regular.woff2) format("woff2"),url(../../fonts/roboto-v29-latin-regular.woff) format("woff"),url(../../fonts/roboto-v29-latin-regular.ttf) format("truetype"),url(../../fonts/roboto-v29-latin-regular.svg#Roboto) format("svg")}.wpstg--violet{color:#9d37ae}.wpstg-border--violet{border:1px solid #9d37ae}.wpstg--red{color:#e01e5a}.wpstg-cta--red{color:#fe008f}.wpstg--blue{color:#24a1f0}.wpstg--darkblue{color:#0e86d9}.wpstg--green{color:#83c11f}.wpstg--grey{color:#3e3e3e}.wpstg--darkgrey{color:#1b1b1b}.wpstg--filter--svg{filter:invert(24%) sepia(11%) saturate(558%) hue-rotate(169deg) brightness(97%) contrast(91%)}body.toplevel_page_wpstg_clone,body.wp-staging-pro_page_wpstg-license,body.wp-staging-pro_page_wpstg-settings,body.wp-staging-pro_page_wpstg-tools,body.wp-staging-pro_page_wpstg_backup{background-color:#f3f5f7}#wpstg-tab-container ul{background:#f1f1f1;float:left;list-style:none;margin:0;padding:0}#wpstg-tab-container ul li:first-child.selected-tab{border-top:none}#wpstg-tab-container ul li a.selected-tab{font-weight:700;text-decoration:none}#wpstg-tab-container .row{padding-bottom:12px;padding-top:10px}.wpstg-tabs-container .nav-tab-wrapper{padding:0}#wpstg-tab-container .row label strong,#wpstg-tab-container .row strong{font-weight:700}.wpstg-tabs a{padding:5px}#wpstg-tab-container>ul>li.wpstg-tabs.active{background-color:#fff}#wpstg_settingsgeneral_header .row:nth-child(3),#wpstg_settingsgeneral_header .row:nth-child(4){display:none}#wpstg-tab-container .wpstg-settings-panel{overflow:auto;padding:0 20px 20px}#wpstg-tab-container .wpstg-form-table th{color:#484848;font-size:14px;font-weight:700;line-height:1.3;padding:20px 10px 20px 0;text-align:left;vertical-align:top;width:30%}#wpstg-tab-container .wpstg-form-table tr{border-bottom:1px solid #e7e7e7}#wpstg-tab-container span.description{color:#484848;display:block;font-size:13px;font-style:normal;font-weight:400;margin-top:7px}#wpstg-tab-container .col-title{color:#484848}@media only screen and (max-width:680px){#wpstg-tab-container ul{float:none}#wpstg-tab-container .wpstg-form-table tr>th{width:100%}#wpstg-tab-container span.description{font-size:14px}#wpstg-tab-container .wpstg-form-table tr>td,#wpstg-tab-container .wpstg-form-table tr>th{padding:10px}}#wpstg-tab-container ul li{margin-bottom:0}#wpstg-tab-container ul li a{border-bottom:1px solid #e7e7e7;border-left-style:solid;border-left-width:0;border-right-style:solid;border-right-width:0;border-top:1px solid #fff;color:#0097df;display:block;font-weight:700;padding:10px 4px 10px 14px;text-decoration:none}#wpstg-tab-container ul li a:hover{background-color:#e5e5e5;color:#777}.wpstg-logo{display:block;float:left;font-size:16px;padding-top:20px;width:220px}.wpstg-logo img{max-width:212px}.wpstg-version{color:#9b9b9b;display:block;padding-top:40px}.wpstg_admin .nav-tab{color:#3c3c3c}#wpstg-tab-container table tbody tr:first-child>th>div{font-size:20px}#wpstg-clonepage-wrapper{margin-bottom:20px;width:98%}@media screen and (min-width:1090px){#wpstg-clonepage-wrapper{float:left;margin-bottom:20px}}#wpstg-steps{margin-left:20px;margin-top:0}#wpstg-steps li{color:#444;float:left;line-height:20px;padding-right:10px}.wpstg-step-num{border:1px solid #3e3e3e;border-radius:3px;display:inline-block;height:20px;margin-right:5px;text-align:center;width:20px}.wpstg-current-step{font-weight:700}.wpstg-current-step .wpstg-step-num{background:#3e3e3e;color:#eee}.wpstg-box{margin:10px 0;overflow:hidden;padding:10px}.wpstg-box,.wpstg-clone{position:relative;transition:border-color .2s ease-in-out}.wpstg-clone{background-color:#fff;border-radius:3px;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.1);color:#3e3e3e;margin-bottom:10px;padding:16px}.wpstg-clone.active{border-color:#1d94cf}.wpstg-clone-header{align-items:center;display:flex}.wpstg-clone-title{color:#3e3e3e;display:inline-block;font-size:15px;font-weight:700;margin-right:8px;max-width:300px;text-decoration:none}.wpstg-clone-title:hover{color:#111}.wpstg-clone-labels{display:inline-block}.wpstg-clone-labels .wpstg-clone-label{background:#8bc34a;border-radius:3px;color:#fff;display:inline-block;font-size:11px;margin-right:4px;padding:1px 4px}.wpstg-clone-actions{display:flex;margin-left:auto;margin-top:5px}.wpstg-clone-actions .wpstg-dropdown-toggler{background:#25a1f0;border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);color:#fff;font-size:14px;padding:6px 10px;text-decoration:none}.wpstg-clone-actions .wpstg-dropdown-toggler:hover{background:#002648;color:#fff}.wpstg-dropdown{position:relative}.wpstg-dropdown>.wpstg-dropdown-menu{background:#fff;border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);display:none;flex-direction:column;padding:8px;position:absolute;right:0;top:calc(100% + 4px);width:100px;z-index:1000}.wpstg-dropdown>.wpstg-dropdown-menu.wpstg-menu-dropup{bottom:100%;top:auto;transform:translate3d(0,-3px,0)}.wpstg-dropdown>.wpstg-dropdown-menu.shown{display:flex}.wpstg-clone-action,.wpstg-dropdown-action{border-bottom:1px solid #f3f3f3;border-radius:3px;color:#3e3e3e;padding:6px 8px;position:relative;text-decoration:none;transition:color .2s ease-in-out}.wpstg-clone-action:hover,.wpstg-dropdown-action:hover{background:rgba(0,0,0,.05)}.wpstg-dropdown-action{background:transparent;border:0 solid #000;box-shadow:none;color:#3e3e3e;outline:none}.wpstg-remove-clone:hover{color:#e01e5a}.wpstg-clone-action:last-child{border:none}.wpstg-clone:hover .wpstg-clone-action{display:inline-block}#wpstg-show-error-details:focus,#wpstg-workflow .wpstg-clone-action{box-shadow:none;outline:none}.wpstg-link-btn{background:#45a1c9;color:#fff;display:inline-block;padding:5px 10px;text-decoration:none;transition:all .2s ease-in-out;vertical-align:baseline}.wpstg-link-btn:focus,.wpstg-link-btn:hover{box-shadow:none;color:#fff;outline:none}#wpstg-workflow .wpstg-link-btn:active{vertical-align:baseline}.wpstg-link-btn[disabled]{background:#777!important;border-color:#555!important;pointer-events:none}#wpstg-cancel-cloning,#wpstg-cancel-cloning-update{margin-top:5px}#wpstg-cancel-cloning.success{background:#64dd58;border-color:#54bd4a}#wpstg-error-details,#wpstg-error-wrapper{clear:both;display:none;font-size:13px;padding-top:10px}#wpstg-show-error-details{color:#555;display:inline-block;margin-left:5px;text-decoration:none;transition:color .2s ease-in-out}#wpstg-show-error-details:hover{color:#1d94cf}#wpstg-error-details{border-left:5px solid #e01e5a;padding:10px;width:500px}#wpstg-try-again{display:none}#wpstg-home-link{float:right}.wpstg-loader{content:url(../../img/loading.gif);display:none}.wpstg-loader.wpstg-finished{background-color:#00c89a;border-radius:3px;color:#fff;content:"Finished";display:block;margin-top:0;padding:2px 10px}#wpstg-workflow{clear:both;float:left;max-width:800px;min-height:380px;min-width:500px;padding-bottom:20px;padding-right:20px;padding-top:20px;position:relative}#wpstg-sidebar{display:block;float:left;margin-left:10px;max-width:400px}#wpstg-removing-clone.loading:after,#wpstg-workflow.loading:after{background:hsla(0,0%,100%,.7);content:"Loading... may take a while for huge websites";display:block;font-size:20px;height:100%;left:0;padding-top:100px;position:absolute;text-align:center;top:0;width:100%;z-index:99}#wpstg-removing-clone.loading:after{content:"REMOVING"!important}#wpstg-existing-clones,#wpstg-removing-clone{position:relative}#wpstg-existing-clones h3{color:#3e3e3e}#wpstg-removing-clone .wpstg-tab-section{display:block}.wpstg-progress-bar{background-color:#d6d8d7;height:27px;max-width:900px;padding:0}.wpstg-progress{background:#3fa5ee;float:left;overflow:hidden}.wpstg-progress,.wpstg-progress-files{color:#fff;height:100%;line-height:25px;text-align:center;transition:width .6s ease;width:0}.wpstg-progress-files{background:#16b4f0}#wpstg-clone-path.wpstg-error-input,#wpstg-new-clone-id.wpstg-error-input{border:1px solid #e01e5a;box-shadow:0 0 2px rgba(255,66,53,.8)}#wpstg-new-clone-id{margin-left:15px;max-width:100%;width:450px}#wpstg-new-clone{background:#25a1f0;border-color:#2188c9}#wpstg-new-clone:hover{background:#259be6;border-color:#2188c9}#wpstg-clone-path{margin-left:10px;width:350px}.wpstg-error-msg{color:#e01e5a}#wpstg-clone-id-error{background-color:#f0f8ff;display:block;margin:20px;padding:10px}#wpstg-start-cloning+.wpstg-error-msg{display:block;margin-top:5px}.wpstg-size-info{color:#999;font-weight:400;left:2px;position:relative}.wpstg-db-table .wpstg-size-info{top:2px}.wpstg-db-table:hover{background-color:#f0f8ff}#wpstg-workflow #wpstg-start-cloning{margin-left:5px;vertical-align:baseline}.wpstg-tabs-wrapper{margin:10px 0;max-width:640px}#wpstg-path-wrapper{border-bottom:2px dashed #ccc;margin-bottom:10px;padding-bottom:10px}.wpstg-tab-section{border-bottom:1px solid #ddd;border-left:none;border-right:none;display:none;padding:0 36px;width:calc(100% - 72px)}.wpstg-tab-section:after{clear:both;content:"";display:block}.wpstg-tab-header{border-bottom:1px solid #ddd;border-left:none;border-right:none;color:#444;display:block;font-size:16px;font-weight:700;padding:10px;text-decoration:none}.wpstg-tab-triangle{animation:transform .5s;border-bottom:5px solid transparent;border-left:10px solid;border-top:5px solid transparent;cursor:pointer;display:inline-block;height:0;margin-right:12px;margin-top:-3px;transition:transform .2s;vertical-align:middle;width:0}.wpstg-tab-triangle.wpstg-no-icon{border-bottom:0 solid;border-left:0 solid;border-top:0 solid;height:auto;margin-right:2px;vertical-align:auto;width:auto}.wpstg-tab-triangle.wpstg-rotate-90{transform:rotate(90deg)}.wpstg-tab-header:focus{box-shadow:none;color:#444;outline:none}#wpstg-large-files{border:1px dashed #ccc;display:none;font-size:12px;margin-top:20px;padding:10px;position:relative}#wpstg-large-files h3{background:#fff;left:5px;margin:0;padding:0 5px;position:absolute;top:-10px}.wpstg-subdir{display:none;margin-left:20px}.wpstg-subdir.wpstg-push{display:block;margin-left:20px}.wpstg-dir a.disabled{color:#888;cursor:default;text-decoration:none}.wpstg-check-subdirs{display:inline-block;margin-left:10px}.wpstg-notice-alert{background-color:#e01e5a;color:#fff}.wpstg-notice--white,.wpstg-notice-alert{display:block;margin-top:10px;max-width:600px;padding:20px}.wpstg-notice--white{background-color:#fff}.wpstg-notice-alert a,.wpstg-notice-alert h3{color:#fff}.wpstg-header{clear:both;font-size:19px;font-weight:400;line-height:1.6em;padding-top:10px}#wpstg-clone-label{font-size:14px;font-weight:700}.wpstg-log-details{background-color:#000;border:1px solid #fff;color:silver;font-family:monospace;font-size:12px;height:300px;line-height:15px;margin-top:15px;max-width:650px;overflow:scroll;padding:3px;white-space:nowrap}#wpstg-finished-result{display:none}#wpstg-remove-cloning{background:#ff3428;border-color:#e72f24;margin-top:5px}#wpstg-success-notice{background-color:#fff;border:1px solid #ccc;margin-top:20px;max-width:900px;padding:10px}.wpstg_beta_notice{margin-bottom:20px}.wpstg-sysinfo{height:400px;width:700px}.wpstg-form-table .col-title label{font-weight:600}.wpstg-form-table td:first-child{padding-right:20px;width:30%}.wpstg-share-button-container{margin:5px 0}.wpstg-share-button-container p{margin:0 0 10px}.wpstg-share-button{display:inline-block}.wpstg-share-button a{text-decoration:none}.wpstg-share-button .wpstg-share{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#fff;display:inline;font-family:sans-serif;font-size:12px;font-weight:700;padding:4px 8px;text-align:center;text-decoration:none}.wpstg-share-button-twitter .wpstg-share{background-color:#00abf0}.wpstg-share-button-facebook .wpstg-share{background-color:#3b5998}.wpstg-share-button-googleplus .wpstg-share{background-color:#f53424}.wpstg-share-button-facebook .share:active,.wpstg-share-button-googleplus .share:active,.wpstg-share-button-twitter .share:active{background-color:#353535}#wpstg-check-space{margin-left:8px}#wpstg-welcome li{font-size:18px;line-height:29px;list-style:none!important;padding-left:23px;position:relative}#wpstg-welcome{background-color:#fff;margin-right:20px;margin-top:20px}.wpstg-heading-pro{font-weight:700}.wpstg-h2{font-size:30px;line-height:2.5rem;margin-bottom:1.2rem;margin-top:0}#wpstg-welcome li:before{background:url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left .4em no-repeat;background-size:contain;color:#77b227;content:"";height:100%;left:0;position:absolute;top:-2px;width:1em}.wpstg-h1{font-size:2.5em;letter-spacing:normal;line-height:3.68rem;margin-bottom:1.35rem}.wpstg--swal2-content{color:#3e3e3e}.wpstg--swal2-content h1{color:#444}#wpstg-welcome h2{margin:0 0 15px}#wpstg-welcome .wpstg-footer{clear:both;font-style:italic;margin-top:20px}#wpstg-footer{clear:both;margin-right:10px;margin-top:20px;padding-top:50px}#wpstg-footer a{text-decoration:none}#wpstg-footer li{list-style:circle;margin-bottom:2px}#wpstg-footer ul{margin-left:15px;margin-top:0}.wpstg-footer--title{margin-left:15px}.wpstg-staging-info{color:#3e3e3e;font-size:12px;margin-top:8px}.wpstg-staging-info a{color:#3e3e3e}.wpstg-staging-info li{margin-bottom:2px}.wpstg-bold{font-weight:600}#wpstg-processing-status{float:left;font-size:13px;font-weight:400;margin-top:5px}#wpstg-processing-timer{float:right;font-size:13px;font-weight:400;margin-top:5px}#wpstg-report-issue-button{background-color:#fff;border:1px solid #e01e5a;color:#e01e5a;margin-left:30px}#wpstg-report-issue-button:hover{background-color:#dc2b62;color:#fff}.wpstg-blue-primary{-webkit-appearance:none;background:#25a1f0;border:1px solid #2188c9;border-radius:3px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:13px;height:28px;margin:0;text-decoration:none;white-space:nowrap}.wpstg-blue-primary:hover{background:#127fc6}a.wpstg-blue-primary{height:auto;padding:5px 10px}.wpstg-blue-primary:hover{background-color:#259be6}.wpstg-report-issue-form{background-color:#fff;border:1px solid #e8e8e8;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;display:none;padding:15px 15px 10px;position:absolute;right:0;top:35px;width:300px;z-index:999}@media (max-width:600px){.wpstg-report-issue-form{position:relative}}.wpstg-report-show{display:block}.wpstg-field input[type=text],.wpstg-field textarea{font-weight:400;line-height:1.4;margin-bottom:4px;width:100%}.wpstg-report-email,.wpstg-report-hosting-provider{border-radius:3px;font-size:.8rem;font-weight:400;height:2.3rem;line-height:2.3rem;margin-bottom:4px;padding:0 10px;width:100%}.wpstg-report-description{border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.wpstg-report-privacy-policy{font-size:12px;margin-bottom:15px}#wpstg-report-cancel{float:right;font-weight:700;margin-right:5px}#wpstg-success-button{font-weight:700}.wpstg-message{background-color:#f5e0de;border-radius:3px;box-sizing:border-box;-moz-box-sizing:border-box;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative}.wpstg-message.wpstg-error-message{background-color:#f5e0de;color:#b65147;font-size:12px}.wpstg-message.wpstg-success-message{background-color:#d7f8e0;color:#515151}.wpstg-message p{font-size:13px;margin:3px 0}.wpstg-warning{background-color:#ffb804;color:#fff;display:block;margin:10px 10px 10px 0;padding:10px}.wpstg-warning a{color:#fff;font-weight:700;text-decoration:underline}.wpstg-error{background-color:#e01e5a!important;border-color:transparent!important;box-shadow:none!important;color:#fff;display:block;margin:10px 10px 10px 0!important;padding:10px!important}.wpstg-error a{color:#fff;font-weight:700;text-decoration:underline}#wpstg-resume-cloning{display:none}#wpstg-external-db th{text-align:left;width:120px}#wpstg-db-connect{font-weight:400}#wpstg-db-status{border:1px solid transparent;border-radius:4px;display:block;margin-bottom:20px;margin-top:5px;padding:5px;text-align:center;text-decoration:none}.wpstg-text-field>#wpstg-db-status{margin-left:150px;margin-top:8px;min-width:300px}.wpstg-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.wpstg-failed{background-color:#f2dede;border-color:#ebccd1;color:#a94442}#wpstg_select_tables_cloning{font-size:13px;height:600px}#wpstg_select_tables_pushing{font-size:13px;height:400px}#wpstg-update-notify{background-color:#e01e5a;color:#fff;font-size:14px;line-height:normal;padding:10px}#wpstg-update-notify a{color:#fff;font-weight:700}.wpstg-pointer{cursor:pointer}.wpstg--tab--header{background-color:#fff;border-radius:0;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.02);color:#3e3e3e;position:relative;transition:border-color .2s ease-in-out}.wpstg--tab--header ul{display:flex}.wpstg--tab--header ul li{margin-bottom:0;margin-right:1em}.wpstg--tab--header ul li:last-child{margin-right:0}.wpstg--tab--header a{color:#c4c4c4;cursor:pointer;display:inline-block;font-size:18px;min-width:150px;padding:1em 1.25em 9px;text-align:center}.wpstg--tab--header a.wpstg--tab--active{border-bottom:3px solid #0e86d9;color:#25a1f0}.wpstg--tab--header a:hover{background-color:#fefefe;border-bottom:3px solid #0e86d9;color:#0e86d9}.wpstg--tab--content{display:none}.wpstg--tab--active{display:block}#wpstg-premium-header{font-size:1.5rem;font-weight:700}.wpstg--text--strong,.wpstg--text--strong *{font-weight:700!important}.wpstg--text--danger{color:#a94442}.wpstg--tooltip{display:inline-block;margin-left:5px;position:relative}.wpstg--tooltip.wpstg--tooltip-normal{border-bottom:0;margin-left:0}.wpstg--tooltip .wpstg--tooltiptext{background-color:#fff;border-radius:3px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.16);-moz-box-shadow:0 1px 4px rgba(0,0,0,.16);box-shadow:0 1px 4px rgba(0,0,0,.16);color:#505050;font-weight:400;padding:12px;position:absolute;text-align:left;visibility:hidden;width:300px;z-index:1}.wpstg--tooltiptext-backups{left:-150%;margin-left:-56px;margin-top:4px;top:100%;width:120px}.wpstg--tooltip.wpstg--exclude-rules--tooltip{border-bottom:0 solid transparent}.wpstg--tooltip.wpstg--exclude-rules--tooltip>.wpstg--tooltiptext{margin-left:-150px;margin-top:0}.wpstg--tooltip .wpstg--tooltiptext-backups:after{border:5px solid transparent;border-bottom-color:#fff;bottom:100%;content:" ";left:50%;margin-left:25px;position:absolute}.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow{margin-top:6px}.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow:after{border:5px solid transparent;border-bottom-color:#fff;bottom:100%;content:" ";left:50%;margin-left:-18px;position:absolute}.wpstg--snaphot-restore-table tr{line-height:12px}.wpstg-beta-notice{background-color:#b0e8b0;border-radius:3px;margin-bottom:20px;padding:7px}#wpstg-backup-name{font-size:1.875em;font-weight:600}#wpstg_select_tables_cloning option:checked,#wpstg_select_tables_pushing option:checked{-webkit-appearance:menulist-button;background-image:linear-gradient(0deg,#1e90ff,#1e90ff)}.wpstg--btn--cancel{color:#fff;font-size:16px;height:auto;line-height:normal;margin-bottom:1.5em;padding:.5em}.wpstg--btn--cancel,.wpstg--btn--cancel:hover{background:#ff3428;border-color:#e72f24}.wpstg--process--content>.wpstg--swal2-html-container{padding:4em 2em!important}.wpstg--modal--error--logs,.wpstg--modal--process--logs{background:#fff;border:1px solid #a8a8a8;border-radius:3px;display:none;height:300px;margin-top:1em;overflow:auto;padding-left:10px;padding-top:10px;text-align:justify}.wpstg--modal--error--logs{height:auto;max-height:300px}.wpstg--modal--process--logs p{font-size:12px;white-space:nowrap}.wpstg--modal--process--logs p.wpstg--modal--process--msg--info{color:#222}.wpstg--modal--process--logs p.wpstg--modal--process--msg--debug{color:#757575}.wpstg--modal--process--title{color:#565656;margin:.25em 0}.wpstg--modal--process--subtitle{color:#565656;margin:.5em 0}.wpstg--modal--error--logs>p{color:#222;font-size:14px;text-align:left}.wpstg--modal--error--logs p,.wpstg--modal--process--logs p{margin:0 0 2px}.wpstg--modal--process--msg--critical,.wpstg--modal--process--msg--error{color:#e01e5a}.wpstg--modal--process--msg--warning{color:#ff8c00}.wpstg--modal--process--msg-found{color:#e01e5a;font-size:16px;font-weight:700}.wpstg--modal--delete{color:#565656;margin-top:8px;text-align:left}.wpstg-swal-popup .wpstg--swal2-cancel.wpstg--btn--cancel{margin-bottom:0;text-shadow:none!important}.wpstg-swal-popup .wpstg-loader{display:inline-block!important}.wpstg--modal--process--generic-problem{border-left:5px solid #e01e5a;display:none;margin:.5em 0}.wpstg--modal--process--logs--tail{background:none;border:none;color:#565656;cursor:pointer;font-size:16px;text-decoration:underline}.wpstg--modal--backup--import--upload--title{color:#3e3e3e}.wpstg--modal--backup--import--configure,.wpstg--modal--backup--import--upload--container input[type=file],.wpstg--modal--backup--import--upload--status{display:none}#wpstg--backups--import--file-list{font-size:14px;font-weight:700}#wpstg--backups--import--file-list-empty{color:#e01e5a}.wpstg--modal--backup--import--filesystem label{font-size:14px}.wpstg--modal--backup--import--filesystem button{margin-bottom:20px}.wpstg--modal--backup--import--upload{color:#505050;min-height:30px;position:relative}.wpstg--modal--backup--import--upload--container{background-color:#f4fbff;border:3.5px dashed #dedede;border-radius:10px;margin:.5em;min-height:130px;padding:1em .5em;position:relative;transition:background-color .3s ease,color .3s ease}.wpstg--modal--backup--import--upload--container.wpstg--has-dragover span.wpstg--drop{display:inline-flex}.wpstg--modal--backup--import--upload--container input[type=file]{display:none}.wpstg--modal--backup--import--upload--container img{align-self:center;border:none;margin-top:10px;width:4em}.wpstg--modal--backup--import--upload--container span{margin-top:1em}.wpstg--backup--import--options>button{align-self:center;height:auto;line-height:normal;margin-top:1em;padding:1em;width:185px}.wpstg--backup--import--options{display:flex;justify-content:center;position:relative}.wpstg--backup--import--options ul{display:none}.wpstg--backup--import--options.wpstg--show-options ul{background:#25a1f0;border-color:#2188c9;border-radius:0 0 3px 3px;border-width:1px;box-sizing:border-box;display:block;margin:54px 0 0;padding:0;position:absolute;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799;width:185px}.wpstg--backup--import--options.wpstg--show-options ul li{border-bottom:.1em solid #25a1f0;margin:0}.wpstg--backup--import--options.wpstg--show-options ul li:hover{background-color:#25a1f0}.wpstg--backup--import--options.wpstg--show-options ul li:last-child{border-bottom:none}.wpstg--backup--import--options ul li button{background:none;border:none;color:#fff;cursor:pointer;height:40px;line-height:40px;margin:0;width:100%}.wpstg--backup--import--options ul li button:hover{background-color:#259be6}.wpstg--modal--backup--import--search-replace--info{display:flex;flex-direction:row;margin:1em 0}.wpstg--modal--backup--import--info p{margin:0;text-align:left}.wpstg--modal--backup--import--search-replace--wrapper button{align-self:center}.wpstg--import--advanced-options--button{border:0;border-radius:3px;cursor:pointer;font-size:18px;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799}.wpstg--modal--backup--import--search-replace--new{background-color:#25a1f0;color:#fff}.wpstg--modal--backup--import--search-replace--remove{background-color:#25a1f0;color:#fff;height:22px;margin-left:5px;width:22px}.wpstg--modal--backup--import--search-replace--input-group:first-child button{display:none}.wpstg--modal--backup--import--search-replace--input--container{display:flex;flex:1;flex-direction:column}.wpstg--modal--backup--import--search-replace--input-group{border-bottom:6px solid #f1f1f1;margin-bottom:10px;width:100%}.wpstg--modal--backup--import--search-replace--input-group input{border:1px solid #dedede;border-radius:3px;color:#666;display:inline-block;line-height:10px;margin-bottom:12px;min-width:250px;padding:8px;width:calc(50% - 20px)}.wpstg--modal--import--upload--process{align-items:center;color:#333;display:none;height:30px;justify-content:center;left:0;margin-bottom:20px;margin-top:20px;overflow:hidden;position:relative;text-indent:1em;top:0;white-space:nowrap;width:100%}.wpstg--modal--import--upload--progress{background:#98d452;border-radius:4px;color:#fff;height:100%;left:0;position:absolute;top:0}.wpstg--modal--import--upload--progress--title{z-index:9}.wpstg-fieldset:disabled{border-top:1px solid #fff;margin-top:20px;opacity:.8}.wpstg-fieldset{padding-left:20px}.wpstg-dark-alert{background-color:#0e86d9;color:#fff;font-weight:700;margin-top:0;padding:30px}.wpstg-dark-alert ul{list-style:initial}.wpstg-form-group{align-items:center;display:block;margin-bottom:8px;width:100%}.wpstg-form-group>label{display:block;font-weight:700}.wpstg-text-field>input{display:block;line-height:1.5;width:300px}.wpstg-text-field>.wpstg-code-segment{margin-top:4px;min-width:300px}.wpstg-form-group>.wpstg-checkbox{position:relative}.wpstg-form-group>.wpstg-checkbox>input[type=checkbox]{left:150px}.wpstg-ml-4{margin-left:4px}#wpstg-advanced-settings hr{margin:20px 0}.wpstg-form-row{display:block}.wpstg-form-row input,.wpstg-form-row label{display:table-cell;margin-bottom:3px;margin-top:3px;padding-left:5px;padding-right:5px}.wpstg-form-row input{width:400px}.wpstg-form-row label{font-weight:700;white-space:nowrap;width:1px}#wpstg-db-connect-output #wpstg-db-status{width:390px}.wpstg-fs-14{font-size:14px}.wpstg-code-segment{display:block}.wpstg-form-group>.wpstg-checkbox{min-width:100%;width:100%}.wpstg-form-group>.wpstg-checkbox>input[type=checkbox]{margin-left:10px}@media only screen and (max-width:768px){.wpstg-form-group>label{min-width:auto;width:auto}.wpstg-text-field>input{width:100%}.wpstg-text-field>.wpstg-code-segment{margin-left:0;min-width:100%}.wpstg-tab-section{max-width:450px;width:calc(100vw - 60px)}}.wpstg-rounded{border-radius:3px}.wpstg-white-border{border:1px solid #fff!important}.wpstg-m-0{margin:0}.wpstg-mt-10px{margin-top:10px!important}.wpstg-mr-10px{margin-right:10px!important}.wpstg-my-10px{margin-bottom:10px!important;margin-top:10px!important}.wpstg-w-100{width:100%}.wpstg-box-shadow{box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.wpstg-float-left{float:left}.wpstg-bold-text{font-weight:700}.wpstg-warning.notice{border-left:4px solid #ffba00}.wpstg-confirmation-label{background-color:#5b9dd9;border-radius:3px;color:#fff;padding:2px}.wpstg-my-6px{margin-bottom:6px;margin-top:6px}.wpstg-mb-10px{margin-bottom:10px}.wpstg-clear-both{clear:both}.wpstg-font-italic{font-style:italic}.wpstg-mt-20px{margin-top:20px}.wpstg-welcome-container{border:2px solid #fff;margin-bottom:20px;padding:20px}.wpstg-ml-30px{margin-left:30px}.wpstg-text-center{text-align:center}.wpstg-feedback-link{text-decoration:none}.wpstg-feedback-span{display:block;margin-bottom:3px}#wpstg-confirm-backup-restore-data{margin:40px;text-align:left}#wpstg-confirm-backup-restore-wrapper{margin:0 30px 30px}#wpstg-confirm-backup-restore-wrapper h3{color:#e01e5a}#wpstg-progress-backup,#wpstg-progress-db{background-color:#3fa5ee}#wpstg-progress-files.wpstg-pro,#wpstg-progress-sr{background-color:#3c9ee4}#wpstg-progress-data,#wpstg-progress-dirs{background-color:#3a96d7}#wpstg-progress-files:not(.wpstg-pro),#wpstg-progress-finishing{background-color:#378cc9}.wpstg-issue-resubmit-confirmation.wpstg--swal2-container,.wpstg-swal2-container.wpstg--swal2-container{z-index:10500}.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-actions,.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-header{display:none}body.toplevel_page_wpstg_backup .wpstg--swal2-container .wpstg--swal2-content,body.toplevel_page_wpstg_clone .wpstg--swal2-container .wpstg--swal2-content{z-index:2}.toplevel_page_wpstg_clone #swal2-content h2{color:#3e3e3e}.toplevel_page_wpstg_clone #swal2-content{line-height:1.5em}div#exportUploadsWithoutDatabaseWarning{background-color:#fafafa;border:1px solid #e3e3e3;border-radius:5px;font-size:.9rem;font-style:italic;margin:10px;padding:10px;text-align:center}.wpstg-advanced-options-dropdown-wrapper{display:none;margin-top:20px}.wpstg--modal--backup--import--search-replace--wrapper{margin-top:20px;text-align:left}.wpstg--modal--backup--import--search-replace--new--wrapper{text-align:center}.wpstg-import-backup-contains li{display:inline-block;margin-bottom:0}.wpstg-import-backup-contains li .wpstg-backups-contains{background-color:#f4f4f4!important;border-radius:3px;color:#979797;font-size:17px;height:18px;width:18px}.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains{background-color:#fff;padding:2px}.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains>.wpstg--dashicons{filter:invert(35%)}.wpstg-import-backup-contains .wpstg--tooltiptext{font-size:13px;left:-25px;padding:5px;text-align:center;width:80px}.wpstg-import-backup-contains-title,ul.wpstg-import-backup-contains{display:inline-block}.wpstg-import-backup-name{display:inline-block;font-weight:700}.wpstg-backup-more-info-toggle{cursor:pointer;display:inline-block;font-size:x-small;font-style:italic}.wpstg-backup-more-info-toggle::selection{background:none}ul.wpstg-import-backup-more-info{background-color:#f6f6f6;border:1px solid #878787;border-radius:3px;cursor:pointer;font-size:14px;margin-bottom:30px;margin-top:10px;padding:7px;text-align:left}ul.wpstg-import-backup-more-info:hover{background-color:#def2ff;border:1px solid #25a1f0}ul.wpstg-import-backup-more-info li{height:20px}.wpstg-backup-list{max-width:800px}.wpstg-backup-list h3{color:#3e3e3e}.wpstg-backup-list ul ul{margin-block-end:1em;margin-block-start:1em}.wpstg-push-confirmation-message{font-size:15px;text-align:justify}.wpstg-settings-row{padding-bottom:10px;padding-top:10px}.wpstg-settings-title{font-weight:600}.wpstg-settings-form-group{align-items:center;display:flex}.wpstg-settings-form-group>.wpstg-settings-message{margin:7px 0 0;padding:0;width:30%}.wpstg-excluded-filters-container{margin-bottom:10px;margin-top:10px;max-width:100%;padding:0;width:100%}.wpstg-excluded-filters-container>table{border-collapse:collapse;border-color:transparent;width:100%}.wpstg-excluded-filters-container td{height:20px;padding-bottom:4px;padding-top:4px}.wpstg-excluded-filters-container h4{margin:0}.wpstg-exclude-filters-foot{display:flex;justify-content:flex-start;padding:0}.wpstg-exclude-filter-dropdown>button:hover{background:#135e96;border:1px solid #135e96}.wpstg-exclude-filter-dropdown>.wpstg-dropdown-menu{width:128px}.wpstg-remove-exclude-rule{background-color:#e01e5a;border:1px solid #e01e5a;border-radius:10px;box-shadow:none;color:#fff!important;cursor:pointer;display:inline-flex;font-size:24px;font-weight:400;height:20px;justify-content:center;line-height:.7;margin-top:5px;outline:none;padding:0;width:20px}.wpstg-remove-exclude-rule:hover{background-color:#e01e5a;border-color:#e01e5a}.wpstg-code-block{background:#f8f8f8;border-radius:2px;font-size:1.2em;margin-top:4px}.wpstg-rule-info{background:#f8f8f8!important}code.wpstg-code{background:#fff;border:1px solid #aaa;color:#e01e5a;display:inline-block;font-size:11px;margin-bottom:1px;padding:2px 4px}.wpstg-exclusion-rule-info{align-items:center;background-color:#ffc107;border:1px solid #ffc107;border-radius:7px;box-shadow:none;color:#fff!important;display:inline-flex;font-size:14px;font-weight:400;height:14px;justify-content:center;outline:none;padding:0;vertical-align:middle;width:14px}.wpstg-exclusion-rule-info:hover{background-color:#ffba0c;border:1px solid #ffba0c}.wpstg-exclude-rule-input{background-color:#fff;border:1px solid #bbb;border-radius:0!important;box-shadow:none;color:#222;display:inline-block;font-size:12px!important;font-weight:400;line-height:1.5;margin-left:4px;margin-top:4px;min-height:24px!important;outline:none!important;padding:2px 6px;transition:all .3s cubic-bezier(.25,.8,.25,1);vertical-align:baseline!important;width:135px}.wpstg-excluded-filters-container tbody>tr:last-child .wpstg-exclude-rule-input{margin-bottom:4px}.wpstg-exclude-rule-input:hover{border:1px solid #999}.wpstg-exclude-rule-input:focus{border:1px solid #25a0f1!important;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)!important}.wpstg-file-size-exclude-select,.wpstg-path-exclude-select{width:135px}.wpstg-file-size-exclude-select-small{width:52px}.wpstg-file-size-exclude-input{width:75px}.wpstg-staging-option-title{margin:15px 0 0}.wpstg-swal-push-container.wpstg--swal2-container{z-index:9995}#wpstg-scanning-files{padding-bottom:5px}#wpstg-scanning-db.wpstg-tab-section,#wpstg-scanning-files.wpstg-tab-section{padding-top:10px}.wpstg-reset-excludes-container{margin:10px 0}.wpstg-swal2-ajax-loader{align-items:center;display:flex;height:150px;justify-content:center;overflow:hidden;width:100%}@keyframes wpstg-loading-icon-anim{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.wpstg-swal2-ajax-loader>img{animation:wpstg-loading-icon-anim 1s linear infinite;-webkit-animation:wpstg-loading-icon-anim 1s linear infinite;height:64px;width:64px}.wpstg-swal2-container .wpstg-tab-section{width:auto!important}#wpstg-no-staging-site-results{margin-top:10px;max-width:375px}li#wpstg-backup-no-results{max-width:500px}#wpstg-no-staging-site-results div,li#wpstg-backup-no-results div{display:inline-block;text-align:center}#wpstg-no-staging-site-results .wpstg--dashicons,li#wpstg-backup-no-results .wpstg--dashicons{filter:invert(50%);margin-top:1px;position:absolute}#wpstg-no-staging-site-results .no-staging-site-found-text,li#wpstg-backup-no-results .no-backups-found-text{color:#5d5d5d;margin-left:20px}@media only screen and (max-width:680px){#wpstg-no-staging-site-results div,li#wpstg-backup-no-results div{width:100%}}#wpstg--modal--backup--download-inner p.wpstg-download-modal-text{color:#565656;font-size:16px}#wpstg--modal--backup--download-inner h2{color:#565656}.wpstg-backup-restore-contains-database,.wpstg-backup-restore-contains-files{display:none}.wpstg-green-button{background:#8bc34a;border:1px solid #78a93f;color:#fff;text-shadow:0 -1px 1px #78a93f,1px 0 1px #78a93f,0 1px 1px #40c921,-1px 0 1px #78a93f}.wpstg-green-button:hover{background:#78a93f}.wpstg-is-dir-loading{display:none;margin-left:8px;margin-top:-2px;position:absolute}.wpstg-ml-8px{margin-left:8px}.wpstg-mb-8px{margin-bottom:8px}.wpstg-btn-danger{background-color:#e01e5a;border:1px solid #e01e5a;color:#fff;text-shadow:none}.wpstg-btn-danger:hover{background:#c0194d;box-shadow:0 1px 4px rgba(0,0,0,.3)}.wpstg-swal2-container.wpstg-swal2-loading>.wpstg--swal2-modal{height:200px}.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm>.wpstg--swal2-modal{height:100px}.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm .wpstg-swal2-ajax-loader img{height:32px;width:32px}.wpstg-reset-confirmation.wpstg-swal2-container:not(.wpstg-swal2-loading)>.wpstg--swal2-modal{max-width:480px}.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-header{display:none}.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-content{height:auto}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-tabs-wrapper{height:auto!important;overflow-y:auto}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content{font-size:13px}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-dir{margin-bottom:4px}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-subdir{margin-top:4px}.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open .wpstg--swal2-modal{height:calc(100vh - 70px)}.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-tabs-wrapper{height:calc(100vh - 350px)!important}.wpstg--swal2-actions.wpstg--modal--actions>button{font-weight:500;margin-left:4px;margin-right:4px;min-width:80px;text-shadow:none;text-transform:uppercase}.wpstg-swal-popup{max-width:1200px!important}.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title{color:#a8a8a8}.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content{color:#a8a8a8;margin-top:8px}.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line,.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step{background:#25a1f0}.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line{width:2.75em}.wpstg--dashicons{height:16px;width:16px}.wpstg--dashicons.wpstg-dashicons-grey{filter:invert(20%)}.wpstg--dashicons.wpstg-dashicons-19{height:19px;width:19px}.wpstg--dashicons.wpstg-dashicons-21{height:21px;width:21px}#wpstg--tab--backup #wpstg-step-1{align-items:center;display:flex}#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip,.wpstg-advanced-options .wpstg--tooltip{align-items:center;border-bottom:0 solid transparent;display:inline-flex}.wpstg-advanced-options-site .wpstg--tooltip img.wpstg--dashicons{filter:invert(17%) sepia(0) saturate(1%) hue-rotate(195deg) brightness(97%) contrast(77%)}#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip{align-items:center;border-bottom:0 solid transparent;display:flex}.wpstg--tooltip .wpstg--tooltiptext-backups:after{left:calc(20% + 2px)}.wpstg-listing-single-backup .wpstg--dashicons{height:17px;width:17px}.wpstg-100-width{width:100px}.wpstg-caret{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;cursor:pointer;display:inline-block;height:0;margin-left:2px;transition:transform .2s;vertical-align:middle;width:0}.wpstg-caret.wpstg-caret-up{transform:rotate(-180deg)}.wpstg-advanced-options-site label{display:block;font-size:16px;margin:.5em 0}#wpstg-confirm-backup-restore-data{font-size:18px;margin:30px 0 0}body.toplevel_page_wpstg_backup .wpstg--swal2-container.wpstg--swal2-backdrop-show,body.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-show{background:rgba(0,0,0,.6);z-index:9995}.wpstg-swal-popup.wpstg--swal2-popup{border-radius:8px;color:#3e3e3e;font-family:Verdana,Geneva,Tahoma,sans-serif;padding:24px;z-index:9999}.wpstg-swal-popup .wpstg--swal2-title{color:#3e3e3e;font-size:22px}.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-title{align-self:flex-start;margin-bottom:0;text-align:left}.wpstg-swal-popup .wpstg--swal2-close{right:8px;top:8px;z-index:5}.wpstg-swal-popup .wpstg--swal2-close:focus{outline:none}.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions{justify-content:flex-end}.wpstg-swal-popup .wpstg--swal2-actions>button{border:0;border-radius:4px;font-size:15px;font-weight:900;height:40px;line-height:normal;min-width:100px;padding:10px 12px;text-shadow:none;text-transform:capitalize}.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions>button{margin-left:8px}.wpstg-swal-popup .wpstg--swal2-actions>button.wpstg--swal2-cancel{background:#fff;border:1px solid rgba(29,28,29,.3);color:#1d1c1d;font-weight:500;text-shadow:none;width:100px}.wpstg-swal-popup .wpstg--swal2-actions>button:hover{box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}.wpstg-swal-popup .wpstg--swal2-actions>button.wpstg--swal2-cancel:hover{background:rgba(28,29,28,.04)}#wpstg-backup-name-input{font-size:18px;height:44px}.wpstg-restore-finished-container .wpstg--swal2-title{color:#565656!important}.wpstg-restore-finished-container .wpstg--swal2-content{color:#a8a8a8;margin-top:20px}.wpstg-linear-loader>span[class*=wpstg-linear-loader-item]{animation:wpstg_linear_loader 3s infinite;animation-fill-mode:both;animation-timing-function:cubic-bezier(.03,.615,.995,.415);background:#333;border-radius:100%;display:inline-block;height:6px;margin:12px 2px;width:6px}.wpstg-linear-loader>span.wpstg-linear-loader-item:first-child{animation-delay:1s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(2){animation-delay:.8s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(3){animation-delay:.6s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(4){animation-delay:.4s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(5){animation-delay:.2s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(6){animation-delay:0s}@keyframes wpstg_linear_loader{0%{opacity:0;transform:translateX(-30px)}25%{opacity:1}50%{opacity:0;transform:translateX(30px)}to{opacity:0}}.wpstg--modal--backup--import--upload--content{margin:1em auto;padding:.75em}.wpstg--modal--backup--import--upload--content .wpstg-linear-loader{display:none}#wpstg-multisite-disabled .wpstg-clone{width:355px}#wpstg-free-version-backups .wpstg-clone p{font-size:16px}.wpstg-staging-info li .backup-notes{word-break:break-word}.wpstg--modal--import--upload--progress--title small{font-weight:400}#wpstg-report-issue-wrapper{position:relative}#wpstg-report-issue-wrapper .arrow-up{border-bottom:8px solid #fff;border-left:8px solid transparent;border-right:8px solid transparent;height:0;position:absolute;right:40px;top:-8px;width:0}.notice{margin:10px 20px 0 2px}.wpstg--notice{box-shadow:0 1px 1px rgba(0,0,0,.04);margin:20px 20px 20px 0;padding:1px 12px}.wpstg--error a:hover{color:#eee}.wpstg--error,.wpstg--error a{background:#e01e5a;color:#fff}.wpstg-button{border-radius:2px;cursor:pointer;display:inline-block;font-weight:500;outline:0;padding:2px 10px;text-decoration:none;text-transform:uppercase;transition:background-color .1s ease-in}.wpstg-button.wpstg-save{background-color:#1687a7;color:#fff}.wpstg-button.wpstg-save:hover{background-color:#276678}.wpstg-button.wpstg-button-light{animation:background-color .3s;background-color:#f8f8f8;border:1px solid #eee;color:#333}.wpstg-button.wpstg-button-light:hover{background-color:#e0e0e0;border:1px solid #e0e0e0}.wpstg-buttons .spinner{float:none;margin:0 0 0 5px}.wpstg-button.danger{background-color:#e01e5a;border-color:transparent;border-radius:2px;color:#fff;display:inline-block;text-align:center;text-decoration:none;text-transform:inherit}.wpstg-button.danger:hover{background-color:#c0194d}.wpstg-button--big{border-radius:3px;color:#fff;display:inline-block;font-size:16px;margin-top:20px;min-width:170px;padding:10px;text-align:center;text-decoration:none}.wpstg-button--primary{-webkit-appearance:none;border:1px solid rgba(29,28,29,.3);border-radius:2px;box-sizing:border-box;color:#171717;cursor:pointer;display:inline-block;font-size:13px;line-height:2.15384615;margin:0;min-height:30px;padding:0 10px;text-decoration:none;white-space:nowrap}.wpstg-button--primary:hover{background:rgba(28,29,28,.04);color:#000}.wpstg-button--secondary{background-color:transparent;border:1px solid rgba(29,28,29,.3);border-radius:2px;color:#95a5a6;cursor:pointer;display:inline-block;font-weight:500;outline:0;padding:4px 10px 2px;text-decoration:none;transition:background-color .1s ease-in}.wpstg-button--red{background-color:#e01e5a;border-color:#e01e5a;color:#fff}.wpstg-button--red:hover{background-color:#d02358;border-color:#e0255f;color:#fff}.wpstg-button--cta-red{background-color:#fe008f;border-color:#e01e5a;color:#fff}.wpstg-button--cta-red:hover{background-color:#f31391;border-color:#e0255f;color:#fff}.wpstg-button--blue{background-color:#25a0f1;border-color:#25a0f1;color:#fff}.wpstg-button--blue:hover{background-color:#259be6;border-color:#259be6;color:#fff}#wpstg-button-backup-upgrade{font-size:16px;text-align:center;width:150px}.wpstg-staging-status{color:#e01e5a}#wpstg-push-changes,#wpstg-save-clone-data,#wpstg-start-updating{margin-left:5px}input.wpstg-textbox{border:1px solid #aaa;border-radius:.25rem;font-size:14px;padding:.25rem .5rem}input.wpstg-textbox:focus{border-color:#259be6;-webkit-box-shadow:0 0 0 .1rem hsla(0,0%,86.7%,.35);box-shadow:0 0 0 .1rem hsla(0,0%,86.7%,.35);outline:0}input.wpstg-textbox::placeholder{color:#888}.wpstg--advance-settings--checkbox{align-items:center;display:flex}.wpstg--advance-settings--checkbox>label{display:inline-block;font-size:14px;font-weight:bolder;width:165px}.wpstg--advance-settings--checkbox>.wpstg--tooltip{border-bottom:0 solid transparent;display:inline-block;margin-left:5px;margin-top:5px;position:relative}.wpstg--advance-settings--checkbox>.wpstg--tooltip>.wpstg--tooltiptext{left:-150px;top:18px}div#wpstg-restore-wait{align-items:center;background:#fff;display:none;flex-direction:column;height:100vh;justify-content:center;left:0;position:fixed;text-align:center;top:0;width:100vw;z-index:99999}div#wpstg-restore-wait .wpstg-title{font-weight:700}div#wpstg-restore-wait div{font-size:16px;margin-top:12px}.resumable-browse{cursor:pointer}.resumable-browse a{text-decoration:underline}.wpstg-upload-text{font-weight:600}.wpstg--modal--backup--import--upload--container.dragover{background-color:#94dc96;color:#fff;transition:background-color .7s}.wpstg--modal--backup--import--upload--container.dragover *{pointer-events:none}.wpstg--modal--backup--import--upload--container.dragover .wpstg-upload-text{display:none}.wpstg--modal--backup--import--upload--container.dragover .wpstg-dragover-text{display:block}.wpstg--modal--backup--import--upload--container .wpstg-dragover-text{display:none}#wpstg-invalid-license-message,#wpstg-invalid-license-message a{color:#e01e5a;font-weight:500;margin-left:6px}#wpstg-sidebar--banner{max-width:200px}@media screen and (max-width:1234px){.wpstg-h2{font-size:24px}#wpstg-welcome li{font-size:14px}}.wpstg-exclamation{background-color:#e01e5a;border-radius:100%;color:#fff;display:inline-block;font-weight:700;height:20px;margin:6px;text-align:center;width:20px}.wpstg--tab--contents{padding-top:1px}.wpstg-swal-show.wpstg--swal2-show{-webkit-animation:wpstg-swal-show .2s!important;animation:wpstg-swal-show .2s!important}@-webkit-keyframes wpstg-swal-show{0%{transform:scale(.3)}to{transform:scale(1)}}@keyframes wpstg-swal-show{0%{transform:scale(.3)}to{transform:scale(1)}}.wpstg-tab-item--vert-center{align-items:center;display:flex}.wpstg-db-comparison-modal{padding-left:10px;padding-right:10px}.wpstg-db-comparison-table{font-size:13px;width:100%}.wpstg-db-comparison-table tbody td{padding-top:6px}.wpstg-db-comparison-table tr>td:first-child,.wpstg-db-comparison-table tr>th:first-child{text-align:left}.wpstg-css-tick{border-bottom:3px solid #78b13f;border-right:3px solid #78b13f;display:inline-block;height:12px;transform:rotate(45deg);width:6px}.wpstg-css-cross{height:16px;left:-2px;position:relative;top:-8px;width:16px}.wpstg-css-cross:after,.wpstg-css-cross:before{background-color:#e01e5a;content:" ";height:17px;position:absolute;width:3px}.wpstg-css-cross:before{transform:rotate(45deg)}.wpstg-css-cross:after{transform:rotate(-45deg)}.wpstg-selection-preview{color:rgba(51,34,17,.4);font-size:12px;margin-left:20px}.wpstg-selection-preview.danger{color:#e01e5a}.wpstg--backup-automated{margin-bottom:-5px}.wpstg--dismiss-schedule{cursor:pointer}.wpstg-import-backup-contains.wpstg-listing-single-backup{vertical-align:middle}.wpstg-import-backup-contains.wpstg-listing-single-backup li{padding:2px}.wpstg--modal--backup--manage--schedules--content table{margin:0 auto;width:100%}.wpstg--modal--backup--manage--schedules--title{margin-bottom:10px;margin-top:0;text-align:left}.wpstg--modal--backup--import--upload--title{text-align:center}#wpstg--modal--backup--manage--schedules--content{text-align:left}#wpstg--modal--backup--manage--schedules--content thead{font-weight:700}#wpstg--modal--backup--manage--schedules--content .wpstg--tooltip.wpstg--dismiss-schedule{border-bottom:none}.wpstg--tooltip.wpstg--dismiss-schedule img.wpstg--dashicons{filter:invert(18%) sepia(57%) saturate(6238%) hue-rotate(332deg) brightness(93%) contrast(88%)}#wpstg--modal--backup--manage--schedules--content td{padding-right:25px;padding-top:10px}#wpstg--modal--backup--manage--schedules--content td:last-child{padding-right:0}#wpstg--modal--backup--manage--schedules--content ul{margin-bottom:0;margin-top:0}#wpstg--modal--backup--manage--schedules--content ul li:first-child .wpstg--tooltip{margin-left:0}.wpstg-button:disabled{background-color:#ddd;border:1px solid #cfcfcf;color:#b3b3b3;cursor:not-allowed;text-shadow:none}#wpstg-backup-runs-info{font-size:12px;margin:20px 0 0;padding:0}#wpstg-backup-runs-info li{margin:0}div#wpstg-backup-locked{align-items:center;background:#fff;display:flex;margin-bottom:10px;max-width:770px;padding:15px;width:100%}#wpstg-backup-locked .icon{display:inline-block;height:20px}#wpstg-backup-locked .icon img{animation:wpstg-loading-icon-anim 2s infinite}#wpstg-backup-locked .text{display:inline-block;margin-left:15px}#backup-schedule-current-time{font-size:12px}.wpstg-backup-scheduling-options label{margin-top:17px}.wpstg-backup-scheduling-options .wpstg-storage-option{display:block;font-size:15px;margin:.5em 0}.wpstg-storage-option>span:not(.wpstg-storage-settings){display:inline-block;width:150px}.wpstg-storages-postbox{background-color:#fff;margin-bottom:8px;margin-top:8px;padding:13px 16px}.wpstg-storages-postbox a{color:#3c434a;font-weight:700;margin-right:8px;padding:8px;text-decoration:none}.wpstg-storages-postbox a:hover{color:#b70b72}.wpstg-storage-postbox{background-color:#fff;padding:4px 16px}.wpstg-storages-postbox a.wpstg-storage-provider-active{background:#b70b72;border-radius:3px;color:#fff;cursor:default;font-weight:700}.wpstg-storages-postbox a.wpstg-storage-provider-active:hover{background:#a10a64}.wpstg-storages-postbox a.wpstg-storage-provider-disabled{color:#999;cursor:not-allowed}.wpstg-provider-revoke-form{display:inline;margin-bottom:12px;margin-top:12px}.wpstg-provider-settings-form{margin-top:10px}.wpstg-provider-settings-form strong{display:block;margin:8px 0}.wpstg-provider-settings-form p{margin:0 0 8px}.wpstg-provider-settings-form fieldset{margin:0 0 16px;padding:0}.wpstg-provider-settings-form fieldset p{font-size:12px;margin:0;padding:5px}.wpstg-provider-settings-form fieldset label{display:block;margin-bottom:2px}.wpstg-provider-settings-form fieldset input{font-size:12px}.wpstg-provider-settings-form .wpstg-link-btn.wpstg-blue-primary{text-shadow:none}.wpstg-btn-google{align-items:center;border-radius:3px;border-width:0;box-shadow:0 1px 3px rgba(0,0,0,.6);box-sizing:border-box;color:#555;display:inline-flex;font-family:Roboto;font-size:14px;font-weight:700;height:40px;line-height:40px;margin-right:10px;outline:none;padding:8px 16px 8px 8px;text-decoration:none;transition:background-color .3s}.wpstg-btn-google img{height:18px;margin-left:5px;margin-right:12px;width:18px}#wpstg-custom-google-credentials{margin-top:20px}.wpstg-fieldset .wpstg-with-icon{align-items:center;display:inline-flex}.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon{margin-left:8px}.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon img{height:16px;width:16px}#wpstg-btn-provider-revoke{border-radius:2px}.wpstg-metabox-holder{background:#fff;border-radius:8px;-webkit-box-shadow:0 0 1px rgba(0,0,0,.13),0 1px 3px rgba(0,0,0,.1);box-shadow:0 0 1px rgba(0,0,0,.13),0 1px 3px rgba(0,0,0,.1);margin-left:16px;margin-right:32px;margin-top:60px;min-height:600px;padding:20px}@media only screen and (max-width:680px){.wpstg-metabox-holder{margin-left:0;margin-right:5px;padding:5px 0 0}#wpstg-tab-container .wpstg-settings-panel{overflow:auto;padding:0}.wpstg-form-table td:first-child{width:50%}}.wpstg-nav-tab{background:#dcdcde;border:1px solid #fff;border-bottom:none;color:#3c434a;float:left;font-size:14px;font-weight:600;line-height:1.71428571;margin-left:.5em;padding:5px 10px;text-decoration:none;white-space:nowrap}.wpstg-nav-tab-active,.wpstg-nav-tab-active:focus,.wpstg-nav-tab-active:focus:active,.wpstg-nav-tab-active:hover{background:#f3f5f7;border-bottom:1px solid #f0f0f1;-webkit-box-shadow:-4px -13px 14px -12px rgba(0,0,0,.16);box-shadow:-4px -13px 14px -12px rgba(0,0,0,.16);color:#b70b72}.wpstg-nav-tab-active{margin-bottom:-1px}.wpstg-nav-tab-wrapper{line-height:inherit;margin:0;padding-bottom:0;padding-top:9px}.wpstg-nav-tab-wrapper li{margin-bottom:0}#wpstg--js--translations{text-decoration:underline}
2
  /*# sourceMappingURL=wpstg-admin.min.css.map */
1
+ :root{--wpstg-color-warning:#ffb804;--wpstg-color-info:#24a1f0}.wpstg-badge{background:#f8f9fa;border-radius:3px;color:#333;font-size:12px;padding:4px 8px}.wpstg-badge.wpstg-badge-warning{background:var(--wpstg-color-warning);color:#fff}.wpstg-badge.wpstg-badge-info{background:var(--wpstg-color-info);color:#fff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../../fonts/roboto-v29-latin-regular.eot);src:local(""),url(../../fonts/roboto-v29-latin-regular.eot?#iefix) format("embedded-opentype"),url(../../fonts/roboto-v29-latin-regular.woff2) format("woff2"),url(../../fonts/roboto-v29-latin-regular.woff) format("woff"),url(../../fonts/roboto-v29-latin-regular.ttf) format("truetype"),url(../../fonts/roboto-v29-latin-regular.svg#Roboto) format("svg")}.wpstg--violet{color:#9d37ae}.wpstg-border--violet{border:1px solid #9d37ae}.wpstg--red{color:#e01e5a}.wpstg-cta--red{color:#fe008f}.wpstg--blue{color:#24a1f0}.wpstg--darkblue{color:#0e86d9}.wpstg--green{color:#83c11f}.wpstg--grey{color:#393939}.wpstg--darkgrey{color:#1b1b1b}.wpstg--filter--svg{filter:invert(24%) sepia(11%) saturate(558%) hue-rotate(169deg) brightness(97%) contrast(91%)}body.toplevel_page_wpstg_clone,body.wp-staging-pro_page_wpstg-license,body.wp-staging-pro_page_wpstg-settings,body.wp-staging-pro_page_wpstg-tools,body.wp-staging-pro_page_wpstg_backup{background-color:#f3f5f7}#wpstg-tab-container ul{background:#f1f1f1;float:left;list-style:none;margin:0;padding:0}#wpstg-tab-container ul li:first-child.selected-tab{border-top:none}#wpstg-tab-container ul li a.selected-tab{font-weight:700;text-decoration:none}#wpstg-tab-container .row{padding-bottom:12px;padding-top:10px}.wpstg-tabs-container .nav-tab-wrapper{padding:0}#wpstg-tab-container .row label strong,#wpstg-tab-container .row strong{font-weight:700}.wpstg-tabs a{padding:5px}#wpstg-tab-container>ul>li.wpstg-tabs.active{background-color:#fff}#wpstg_settingsgeneral_header .row:nth-child(3),#wpstg_settingsgeneral_header .row:nth-child(4){display:none}#wpstg-tab-container .wpstg-settings-panel{overflow:auto;padding:0 20px 20px}#wpstg-tab-container .wpstg-form-table th{color:#484848;font-size:14px;font-weight:700;line-height:1.3;padding:20px 10px 20px 0;text-align:left;vertical-align:top;width:30%}#wpstg-tab-container .wpstg-form-table tr{border-bottom:1px solid #e7e7e7}#wpstg-tab-container span.description{color:#484848;display:block;font-size:13px;font-style:normal;font-weight:400;margin-top:7px}#wpstg-tab-container .col-title{color:#484848}@media only screen and (max-width:680px){#wpstg-tab-container ul{float:none}#wpstg-tab-container .wpstg-form-table tr>th{width:100%}#wpstg-tab-container span.description{font-size:14px}#wpstg-tab-container .wpstg-form-table tr>td,#wpstg-tab-container .wpstg-form-table tr>th{padding:10px}}#wpstg-tab-container ul li{margin-bottom:0}#wpstg-tab-container ul li a{border-bottom:1px solid #e7e7e7;border-left-style:solid;border-left-width:0;border-right-style:solid;border-right-width:0;border-top:1px solid #fff;color:#0097df;display:block;font-weight:700;padding:10px 4px 10px 14px;text-decoration:none}#wpstg-tab-container ul li a:hover{background-color:#e5e5e5;color:#777}.wpstg-logo{display:block;float:left;font-size:16px;padding-top:20px;width:220px}.wpstg-logo img{max-width:212px}.wpstg-version{color:#9b9b9b;display:block;padding-top:40px}.wpstg_admin .nav-tab{color:#3c3c3c}#wpstg-tab-container table tbody tr:first-child>th>div{font-size:20px}#wpstg-clonepage-wrapper{margin-bottom:20px;width:98%}@media screen and (min-width:1090px){#wpstg-clonepage-wrapper{float:left;margin-bottom:20px}}#wpstg-steps{margin-left:20px;margin-top:0}#wpstg-steps li{color:#444;float:left;line-height:20px;padding-right:10px}.wpstg-step-num{border:1px solid #3e3e3e;border-radius:3px;display:inline-block;height:20px;margin-right:5px;text-align:center;width:20px}.wpstg-current-step{font-weight:700}.wpstg-current-step .wpstg-step-num{background:#3e3e3e;color:#eee}.wpstg-box{margin:10px 0;overflow:hidden;padding:10px}.wpstg-box,.wpstg-clone{position:relative;transition:border-color .2s ease-in-out}.wpstg-clone{background-color:#fff;border-radius:3px;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.1);color:#3e3e3e;margin-bottom:10px;padding:16px}.wpstg-clone.active{border-color:#1d94cf}.wpstg-clone-header{align-items:center;display:flex}.wpstg-clone-title{color:#3e3e3e;display:inline-block;font-size:15px;font-weight:700;margin-right:8px;max-width:300px;text-decoration:none}.wpstg-clone-title:hover{color:#111}.wpstg-clone-labels{display:inline-block}.wpstg-clone-labels .wpstg-clone-label{background:#8bc34a;border-radius:3px;color:#fff;display:inline-block;font-size:11px;margin-right:4px;padding:1px 4px}.wpstg-clone-actions{display:flex;margin-left:auto;margin-top:5px}.wpstg-clone-actions .wpstg-dropdown-toggler{background:#25a1f0;border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);color:#fff;font-size:14px;padding:6px 10px;text-decoration:none}.wpstg-clone-actions .wpstg-dropdown-toggler:hover{background:#002648;color:#fff}.wpstg-dropdown{position:relative}.wpstg-dropdown>.wpstg-dropdown-menu{background:#fff;border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);display:none;flex-direction:column;padding:8px;position:absolute;right:0;top:calc(100% + 4px);width:100px;z-index:1000}.wpstg-dropdown>.wpstg-dropdown-menu.wpstg-menu-dropup{bottom:100%;top:auto;transform:translate3d(0,-3px,0)}.wpstg-dropdown>.wpstg-dropdown-menu.shown{display:flex}.wpstg-clone-action,.wpstg-dropdown-action{border-bottom:1px solid #f3f3f3;border-radius:3px;color:#3e3e3e;padding:6px 8px;position:relative;text-decoration:none;transition:color .2s ease-in-out}.wpstg-clone-action:hover,.wpstg-dropdown-action:hover{background:rgba(0,0,0,.05)}.wpstg-dropdown-action{background:transparent;border:0 solid #000;box-shadow:none;color:#3e3e3e;outline:none}.wpstg-remove-clone:hover{color:#e01e5a}.wpstg-clone-action:last-child{border:none}.wpstg-clone:hover .wpstg-clone-action{display:inline-block}#wpstg-show-error-details:focus,#wpstg-workflow .wpstg-clone-action{box-shadow:none;outline:none}.wpstg-link-btn{background:#45a1c9;color:#fff;display:inline-block;padding:5px 10px;text-decoration:none;transition:all .2s ease-in-out;vertical-align:baseline}.wpstg-link-btn:focus,.wpstg-link-btn:hover{box-shadow:none;color:#fff;outline:none}#wpstg-workflow .wpstg-link-btn:active{vertical-align:baseline}.wpstg-link-btn[disabled]{background:#777!important;border-color:#555!important;pointer-events:none}#wpstg-cancel-cloning,#wpstg-cancel-cloning-update{margin-top:5px}#wpstg-cancel-cloning.success{background:#64dd58;border-color:#54bd4a}#wpstg-error-details,#wpstg-error-wrapper{clear:both;display:none;font-size:13px;padding-top:10px}#wpstg-show-error-details{color:#555;display:inline-block;margin-left:5px;text-decoration:none;transition:color .2s ease-in-out}#wpstg-show-error-details:hover{color:#1d94cf}#wpstg-error-details{border-left:5px solid #e01e5a;padding:10px;width:500px}#wpstg-try-again{display:none}#wpstg-home-link{float:right}.wpstg-loader{content:url(../../img/loading.gif);display:none}.wpstg-loader.wpstg-finished{background-color:#00c89a;border-radius:3px;color:#fff;content:"Finished";display:block;margin-top:0;padding:2px 10px}#wpstg-workflow{clear:both;float:left;max-width:800px;min-height:380px;min-width:500px;padding-bottom:20px;padding-right:20px;padding-top:20px;position:relative}#wpstg-sidebar{display:block;float:left;margin-left:10px;max-width:400px}#wpstg-removing-clone.loading:after,#wpstg-workflow.loading:after{background:hsla(0,0%,100%,.7);content:"Loading... may take a while for huge websites";display:block;font-size:20px;height:100%;left:0;padding-top:100px;position:absolute;text-align:center;top:0;width:100%;z-index:99}#wpstg-removing-clone.loading:after{content:"REMOVING"!important}#wpstg-existing-clones,#wpstg-removing-clone{position:relative}#wpstg-existing-clones h3{color:#3e3e3e}#wpstg-removing-clone .wpstg-tab-section{display:block}.wpstg-progress-bar{background-color:#d6d8d7;height:27px;max-width:900px;padding:0}.wpstg-progress{background:#3fa5ee;float:left;overflow:hidden}.wpstg-progress,.wpstg-progress-files{color:#fff;height:100%;line-height:25px;text-align:center;transition:width .6s ease;width:0}.wpstg-progress-files{background:#16b4f0}#wpstg-clone-path.wpstg-error-input,#wpstg-new-clone-id.wpstg-error-input{border:1px solid #e01e5a;box-shadow:0 0 2px rgba(255,66,53,.8)}#wpstg-new-clone-id{margin-left:15px;max-width:100%;width:450px}#wpstg-new-clone{background:#25a1f0;border-color:#2188c9}#wpstg-new-clone:hover{background:#259be6;border-color:#2188c9}#wpstg-clone-path{margin-left:10px;width:350px}.wpstg-error-msg{color:#e01e5a}#wpstg-clone-id-error{background-color:#f0f8ff;display:block;margin:20px;padding:10px}#wpstg-start-cloning+.wpstg-error-msg{display:block;margin-top:5px}.wpstg-size-info{color:#999;font-weight:400;left:2px;position:relative}.wpstg-db-table .wpstg-size-info{top:2px}.wpstg-db-table:hover{background-color:#f0f8ff}#wpstg-workflow #wpstg-start-cloning{margin-left:5px;vertical-align:baseline}.wpstg-tabs-wrapper{margin:10px 0;max-width:640px}#wpstg-path-wrapper{border-bottom:2px dashed #ccc;margin-bottom:10px;padding-bottom:10px}.wpstg-tab-section{border-bottom:1px solid #ddd;border-left:none;border-right:none;display:none;padding:0 36px;width:calc(100% - 72px)}.wpstg-tab-section:after{clear:both;content:"";display:block}.wpstg-tab-header{border-bottom:1px solid #ddd;border-left:none;border-right:none;color:#444;display:block;font-size:16px;font-weight:700;padding:10px;text-decoration:none}.wpstg-tab-triangle{animation:transform .5s;border-bottom:5px solid transparent;border-left:10px solid;border-top:5px solid transparent;cursor:pointer;display:inline-block;height:0;margin-right:12px;margin-top:-3px;transition:transform .2s;vertical-align:middle;width:0}.wpstg-tab-triangle.wpstg-no-icon{border-bottom:0 solid;border-left:0 solid;border-top:0 solid;height:auto;margin-right:2px;vertical-align:auto;width:auto}.wpstg-tab-triangle.wpstg-rotate-90{transform:rotate(90deg)}.wpstg-tab-header:focus{box-shadow:none;color:#444;outline:none}#wpstg-large-files{border:1px dashed #ccc;display:none;font-size:12px;margin-top:20px;padding:10px;position:relative}#wpstg-large-files h3{background:#fff;left:5px;margin:0;padding:0 5px;position:absolute;top:-10px}.wpstg-subdir{display:none;margin-left:20px}.wpstg-subdir.wpstg-push{display:block;margin-left:20px}.wpstg-dir a.disabled{color:#888;cursor:default;text-decoration:none}.wpstg-check-subdirs{display:inline-block;margin-left:10px}.wpstg-notice-alert{background-color:#e01e5a;color:#fff}.wpstg-notice--white,.wpstg-notice-alert{display:block;margin-top:10px;max-width:600px;padding:20px}.wpstg-notice--white{background-color:#fff}.wpstg-notice-alert a,.wpstg-notice-alert h3{color:#fff}.wpstg-header{clear:both;font-size:19px;font-weight:400;line-height:1.6em;padding-top:10px}#wpstg-clone-label{font-size:14px;font-weight:700}.wpstg-log-details{background-color:#000;border:1px solid #fff;color:silver;font-family:monospace;font-size:12px;height:300px;line-height:15px;margin-top:15px;max-width:650px;overflow:scroll;padding:3px;white-space:nowrap}#wpstg-finished-result{display:none}#wpstg-remove-cloning{background:#ff3428;border-color:#e72f24;margin-top:5px}#wpstg-success-notice{background-color:#fff;border:1px solid #ccc;margin-top:20px;max-width:900px;padding:10px}.wpstg_beta_notice{margin-bottom:20px}.wpstg-sysinfo{height:400px;width:700px}.wpstg-form-table .col-title label{font-weight:600}.wpstg-form-table td:first-child{padding-right:20px;width:30%}.wpstg-share-button-container{margin:5px 0}.wpstg-share-button-container p{margin:0 0 10px}.wpstg-share-button{display:inline-block}.wpstg-share-button a{text-decoration:none}.wpstg-share-button .wpstg-share{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#fff;display:inline;font-family:sans-serif;font-size:12px;font-weight:700;padding:4px 8px;text-align:center;text-decoration:none}.wpstg-share-button-twitter .wpstg-share{background-color:#00abf0}.wpstg-share-button-facebook .wpstg-share{background-color:#3b5998}.wpstg-share-button-googleplus .wpstg-share{background-color:#f53424}.wpstg-share-button-facebook .share:active,.wpstg-share-button-googleplus .share:active,.wpstg-share-button-twitter .share:active{background-color:#353535}#wpstg-check-space{margin-left:8px}#wpstg-welcome li{font-size:18px;line-height:29px;list-style:none!important;padding-left:23px;position:relative}#wpstg-welcome{background-color:#fff;margin-right:20px;margin-top:20px}.wpstg-heading-pro{font-weight:700}.wpstg-h2{font-size:30px;line-height:2.5rem;margin-bottom:1.2rem;margin-top:0}#wpstg-welcome li:before{background:url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left .4em no-repeat;background-size:contain;color:#77b227;content:"";height:100%;left:0;position:absolute;top:-2px;width:1em}.wpstg-h1{font-size:2.5em;letter-spacing:normal;line-height:3.68rem;margin-bottom:1.35rem}.wpstg--swal2-content{color:#3e3e3e}.wpstg--swal2-content h1{color:#444}#wpstg-welcome h2{margin:0 0 15px}#wpstg-welcome .wpstg-footer{clear:both;font-style:italic;margin-top:20px}#wpstg-footer{clear:both;margin-right:10px;margin-top:20px;padding-top:50px}#wpstg-footer a{text-decoration:none}#wpstg-footer li{list-style:circle;margin-bottom:2px}#wpstg-footer ul{margin-left:15px;margin-top:0}.wpstg-footer--title{margin-left:15px}.wpstg-staging-info{color:#3e3e3e;font-size:12px;margin-top:8px}.wpstg-staging-info a{color:#3e3e3e}.wpstg-staging-info li{margin-bottom:2px}.wpstg-bold{font-weight:600}#wpstg-processing-status{float:left;font-size:13px;font-weight:400;margin-top:5px}#wpstg-processing-timer{float:right;font-size:13px;font-weight:400;margin-top:5px}#wpstg-report-issue-button{background-color:#fff;border:1px solid #e01e5a;color:#e01e5a;margin-left:30px}#wpstg-report-issue-button:hover{background-color:#dc2b62;color:#fff}.wpstg-blue-primary{-webkit-appearance:none;background:#25a1f0;border:1px solid #2188c9;border-radius:3px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:13px;height:28px;margin:0;text-decoration:none;white-space:nowrap}.wpstg-blue-primary:hover{background:#127fc6}a.wpstg-blue-primary{height:auto;padding:5px 10px}.wpstg-blue-primary:hover{background-color:#259be6}.wpstg-report-issue-form{background-color:#fff;border:1px solid #e8e8e8;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;display:none;padding:15px 15px 10px;position:absolute;right:0;top:35px;width:300px;z-index:999}@media (max-width:600px){.wpstg-report-issue-form{position:relative}}.wpstg-report-show{display:block}.wpstg-field input[type=text],.wpstg-field textarea{font-weight:400;line-height:1.4;margin-bottom:4px;width:100%}.wpstg-report-email,.wpstg-report-hosting-provider{border-radius:3px;font-size:.8rem;font-weight:400;height:2.3rem;line-height:2.3rem;margin-bottom:4px;padding:0 10px;width:100%}.wpstg-report-description{border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.wpstg-report-privacy-policy{font-size:12px;margin-bottom:15px}#wpstg-report-cancel{float:right;font-weight:700;margin-right:5px}#wpstg-success-button{font-weight:700}.wpstg-message{background-color:#f5e0de;border-radius:3px;box-sizing:border-box;-moz-box-sizing:border-box;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative}.wpstg-message.wpstg-error-message{background-color:#f5e0de;color:#b65147;font-size:12px}.wpstg-message.wpstg-success-message{background-color:#d7f8e0;color:#515151}.wpstg-message p{font-size:13px;margin:3px 0}.wpstg-warning{background-color:#ffb804;color:#fff;display:block;margin:10px 10px 10px 0;padding:10px}.wpstg-warning a{color:#fff;font-weight:700;text-decoration:underline}.wpstg-error{background-color:#e01e5a!important;border-color:transparent!important;box-shadow:none!important;color:#fff;display:block;margin:10px 10px 10px 0!important;padding:10px!important}.wpstg-error a{color:#fff;font-weight:700;text-decoration:underline}#wpstg-resume-cloning{display:none}#wpstg-external-db th{text-align:left;width:120px}#wpstg-db-connect{font-weight:400}#wpstg-db-status{border:1px solid transparent;border-radius:4px;display:block;margin-bottom:20px;margin-top:5px;padding:5px;text-align:center;text-decoration:none}.wpstg-text-field>#wpstg-db-status{margin-left:150px;margin-top:8px;min-width:300px}.wpstg-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.wpstg-failed{background-color:#f2dede;border-color:#ebccd1;color:#a94442}#wpstg_select_tables_cloning{font-size:13px;height:600px}#wpstg_select_tables_pushing{font-size:13px;height:400px}#wpstg-update-notify{background-color:#e01e5a;color:#fff;font-size:14px;line-height:normal;padding:10px}#wpstg-update-notify a{color:#fff;font-weight:700}.wpstg-pointer{cursor:pointer}.wpstg--tab--header{background-color:#fff;border-radius:0;box-shadow:0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.02);color:#3e3e3e;position:relative;transition:border-color .2s ease-in-out}.wpstg--tab--header ul{display:flex}.wpstg--tab--header ul li{margin-bottom:0;margin-right:1em}.wpstg--tab--header ul li:last-child{margin-right:0}.wpstg--tab--header a{color:#c4c4c4;cursor:pointer;display:inline-block;font-size:18px;min-width:150px;padding:1em 1.25em 9px;text-align:center}.wpstg--tab--header a.wpstg--tab--active{border-bottom:3px solid #0e86d9;color:#25a1f0}.wpstg--tab--header a:hover{background-color:#fefefe;border-bottom:3px solid #0e86d9;color:#0e86d9}.wpstg--tab--content{display:none}.wpstg--tab--active{display:block}#wpstg-premium-header{font-size:1.5rem;font-weight:700}.wpstg--text--strong,.wpstg--text--strong *{font-weight:700!important}.wpstg--text--danger{color:#a94442}.wpstg--tooltip{display:inline-block;margin-left:5px;position:relative}.wpstg--tooltip.wpstg--tooltip-normal{border-bottom:0;margin-left:0}.wpstg--tooltip .wpstg--tooltiptext{background-color:#fff;border-radius:3px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.16);-moz-box-shadow:0 1px 4px rgba(0,0,0,.16);box-shadow:0 1px 4px rgba(0,0,0,.16);color:#505050;font-weight:400;padding:12px;position:absolute;text-align:left;visibility:hidden;width:300px;z-index:1}.wpstg--tooltiptext-backups{left:-150%;margin-left:-56px;margin-top:4px;top:100%;width:120px}.wpstg--tooltip.wpstg--exclude-rules--tooltip{border-bottom:0 solid transparent}.wpstg--tooltip.wpstg--exclude-rules--tooltip>.wpstg--tooltiptext{margin-left:-150px;margin-top:0}.wpstg--tooltip .wpstg--tooltiptext-backups:after{border:5px solid transparent;border-bottom-color:#fff;bottom:100%;content:" ";left:50%;margin-left:25px;position:absolute}.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow{margin-top:6px}.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow:after{border:5px solid transparent;border-bottom-color:#fff;bottom:100%;content:" ";left:50%;margin-left:-18px;position:absolute}.wpstg--snaphot-restore-table tr{line-height:12px}.wpstg-beta-notice{background-color:#b0e8b0;border-radius:3px;margin-bottom:20px;padding:7px}#wpstg-backup-name{font-size:1.875em;font-weight:600}#wpstg_select_tables_cloning option:checked,#wpstg_select_tables_pushing option:checked{-webkit-appearance:menulist-button;background-image:linear-gradient(0deg,#1e90ff,#1e90ff)}.wpstg--btn--cancel{color:#fff;font-size:16px;height:auto;line-height:normal;margin-bottom:1.5em;padding:.5em}.wpstg--btn--cancel,.wpstg--btn--cancel:hover{background:#ff3428;border-color:#e72f24}.wpstg--process--content>.wpstg--swal2-html-container{padding:4em 2em!important}.wpstg--modal--error--logs,.wpstg--modal--process--logs{background:#fff;border:1px solid #a8a8a8;border-radius:3px;display:none;height:300px;margin-top:1em;overflow:auto;padding-left:10px;padding-top:10px;text-align:justify}.wpstg--modal--error--logs{height:auto;max-height:300px}.wpstg--modal--process--logs p{font-size:12px;white-space:nowrap}.wpstg--modal--process--logs p.wpstg--modal--process--msg--info{color:#222}.wpstg--modal--process--logs p.wpstg--modal--process--msg--debug{color:#757575}.wpstg--modal--process--title{color:#565656;margin:.25em 0}.wpstg--modal--process--subtitle{color:#565656;margin:.5em 0}.wpstg--modal--error--logs>p{color:#222;font-size:14px;text-align:left}.wpstg--modal--error--logs p,.wpstg--modal--process--logs p{margin:0 0 2px}.wpstg--modal--process--msg--critical,.wpstg--modal--process--msg--error{color:#e01e5a}.wpstg--modal--process--msg--warning{color:#ff8c00}.wpstg--modal--process--msg-found{color:#e01e5a;font-size:16px;font-weight:700}.wpstg--modal--delete{color:#565656;margin-top:8px;text-align:left}.wpstg-swal-popup .wpstg--swal2-cancel.wpstg--btn--cancel{margin-bottom:0;text-shadow:none!important}.wpstg-swal-popup .wpstg-loader{display:inline-block!important}.wpstg--modal--process--generic-problem{border-left:5px solid #e01e5a;display:none;margin:.5em 0}.wpstg--modal--process--logs--tail{background:none;border:none;color:#565656;cursor:pointer;font-size:16px;text-decoration:underline}.wpstg--modal--backup--import--upload--title{color:#3e3e3e}.wpstg--modal--backup--import--configure,.wpstg--modal--backup--import--upload--container input[type=file],.wpstg--modal--backup--import--upload--status{display:none}#wpstg--backups--import--file-list{font-size:14px;font-weight:700}#wpstg--backups--import--file-list-empty{color:#e01e5a}.wpstg--modal--backup--import--filesystem label{font-size:14px}.wpstg--modal--backup--import--filesystem button{margin-bottom:20px}.wpstg--modal--backup--import--upload{color:#505050;min-height:30px;position:relative}.wpstg--modal--backup--import--upload--container{background-color:#f4fbff;border:3.5px dashed #dedede;border-radius:10px;margin:.5em;min-height:130px;padding:1em .5em;position:relative;transition:background-color .3s ease,color .3s ease}.wpstg--modal--backup--import--upload--container.wpstg--has-dragover span.wpstg--drop{display:inline-flex}.wpstg--modal--backup--import--upload--container input[type=file]{display:none}.wpstg--modal--backup--import--upload--container img{align-self:center;border:none;margin-top:10px;width:4em}.wpstg--modal--backup--import--upload--container span{margin-top:1em}.wpstg--backup--import--options>button{align-self:center;height:auto;line-height:normal;margin-top:1em;padding:1em;width:185px}.wpstg--backup--import--options{display:flex;justify-content:center;position:relative}.wpstg--backup--import--options ul{display:none}.wpstg--backup--import--options.wpstg--show-options ul{background:#25a1f0;border-color:#2188c9;border-radius:0 0 3px 3px;border-width:1px;box-sizing:border-box;display:block;margin:54px 0 0;padding:0;position:absolute;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799;width:185px}.wpstg--backup--import--options.wpstg--show-options ul li{border-bottom:.1em solid #25a1f0;margin:0}.wpstg--backup--import--options.wpstg--show-options ul li:hover{background-color:#25a1f0}.wpstg--backup--import--options.wpstg--show-options ul li:last-child{border-bottom:none}.wpstg--backup--import--options ul li button{background:none;border:none;color:#fff;cursor:pointer;height:40px;line-height:40px;margin:0;width:100%}.wpstg--backup--import--options ul li button:hover{background-color:#259be6}.wpstg--modal--backup--import--search-replace--info{display:flex;flex-direction:row;margin:1em 0}.wpstg--modal--backup--import--info p{margin:0;text-align:left}.wpstg--modal--backup--import--search-replace--wrapper button{align-self:center}.wpstg--import--advanced-options--button{border:0;border-radius:3px;cursor:pointer;font-size:18px;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799}.wpstg--modal--backup--import--search-replace--new{background-color:#25a1f0;color:#fff}.wpstg--modal--backup--import--search-replace--remove{background-color:#25a1f0;color:#fff;height:22px;margin-left:5px;width:22px}.wpstg--modal--backup--import--search-replace--input-group:first-child button{display:none}.wpstg--modal--backup--import--search-replace--input--container{display:flex;flex:1;flex-direction:column}.wpstg--modal--backup--import--search-replace--input-group{border-bottom:6px solid #f1f1f1;margin-bottom:10px;width:100%}.wpstg--modal--backup--import--search-replace--input-group input{border:1px solid #dedede;border-radius:3px;color:#666;display:inline-block;line-height:10px;margin-bottom:12px;min-width:250px;padding:8px;width:calc(50% - 20px)}.wpstg--modal--import--upload--process{align-items:center;color:#333;display:none;height:30px;justify-content:center;left:0;margin-bottom:20px;margin-top:20px;overflow:hidden;position:relative;text-indent:1em;top:0;white-space:nowrap;width:100%}.wpstg--modal--import--upload--progress{background:#98d452;border-radius:4px;color:#fff;height:100%;left:0;position:absolute;top:0}.wpstg--modal--import--upload--progress--title{z-index:9}.wpstg-fieldset:disabled{border-top:1px solid #fff;margin-top:20px;opacity:.8}.wpstg-fieldset{padding-left:20px}.wpstg-dark-alert{background-color:#0e86d9;color:#fff;font-weight:700;margin-top:0;padding:30px}.wpstg-dark-alert ul{list-style:initial}.wpstg-form-group{align-items:center;display:block;margin-bottom:8px;width:100%}.wpstg-form-group>label{display:block;font-weight:700}.wpstg-text-field>input{display:block;line-height:1.5;width:300px}.wpstg-text-field>.wpstg-code-segment{margin-top:4px;min-width:300px}.wpstg-form-group>.wpstg-checkbox{position:relative}.wpstg-form-group>.wpstg-checkbox>input[type=checkbox]{left:150px}.wpstg-ml-4{margin-left:4px}#wpstg-advanced-settings hr{margin:20px 0}.wpstg-form-row{display:block}.wpstg-form-row input,.wpstg-form-row label{display:table-cell;margin-bottom:3px;margin-top:3px;padding-left:5px;padding-right:5px}.wpstg-form-row input{width:400px}.wpstg-form-row label{font-weight:700;white-space:nowrap;width:1px}#wpstg-db-connect-output #wpstg-db-status{width:390px}.wpstg-fs-14{font-size:14px}.wpstg-code-segment{display:block}.wpstg-form-group>.wpstg-checkbox{min-width:100%;width:100%}.wpstg-form-group>.wpstg-checkbox>input[type=checkbox]{margin-left:10px}@media only screen and (max-width:768px){.wpstg-form-group>label{min-width:auto;width:auto}.wpstg-text-field>input{width:100%}.wpstg-text-field>.wpstg-code-segment{margin-left:0;min-width:100%}.wpstg-tab-section{max-width:450px;width:calc(100vw - 60px)}}.wpstg-rounded{border-radius:3px}.wpstg-white-border{border:1px solid #fff!important}.wpstg-m-0{margin:0}.wpstg-mt-10px{margin-top:10px!important}.wpstg-mr-10px{margin-right:10px!important}.wpstg-my-10px{margin-bottom:10px!important;margin-top:10px!important}.wpstg-w-100{width:100%}.wpstg-box-shadow{box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.wpstg-float-left{float:left}.wpstg-bold-text{font-weight:700}.wpstg-warning.notice{border-left:4px solid #ffba00}.wpstg-confirmation-label{background-color:#5b9dd9;border-radius:3px;color:#fff;padding:2px}.wpstg-my-6px{margin-bottom:6px;margin-top:6px}.wpstg-mb-10px{margin-bottom:10px}.wpstg-clear-both{clear:both}.wpstg-font-italic{font-style:italic}.wpstg-mt-20px{margin-top:20px}.wpstg-welcome-container{border:2px solid #fff;margin-bottom:20px;padding:20px}.wpstg-ml-30px{margin-left:30px}.wpstg-text-center{text-align:center}.wpstg-feedback-link{text-decoration:none}.wpstg-feedback-span{display:block;margin-bottom:3px}#wpstg-confirm-backup-restore-data{margin:40px;text-align:left}#wpstg-confirm-backup-restore-wrapper{margin:0 30px 30px}#wpstg-confirm-backup-restore-wrapper h3{color:#e01e5a}#wpstg-progress-backup,#wpstg-progress-db{background-color:#3fa5ee}#wpstg-progress-files.wpstg-pro,#wpstg-progress-sr{background-color:#3c9ee4}#wpstg-progress-data,#wpstg-progress-dirs{background-color:#3a96d7}#wpstg-progress-files:not(.wpstg-pro),#wpstg-progress-finishing{background-color:#378cc9}.wpstg-issue-resubmit-confirmation.wpstg--swal2-container,.wpstg-swal2-container.wpstg--swal2-container{z-index:10500}.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-actions,.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-header{display:none}body.toplevel_page_wpstg_backup .wpstg--swal2-container .wpstg--swal2-content,body.toplevel_page_wpstg_clone .wpstg--swal2-container .wpstg--swal2-content{z-index:2}.toplevel_page_wpstg_clone #swal2-content h2{color:#3e3e3e}.toplevel_page_wpstg_clone #swal2-content{line-height:1.5em}div#exportUploadsWithoutDatabaseWarning{background-color:#fafafa;border:1px solid #e3e3e3;border-radius:5px;font-size:.9rem;font-style:italic;margin:10px;padding:10px;text-align:center}.wpstg-advanced-options-dropdown-wrapper{display:none;margin-top:20px}.wpstg--modal--backup--import--search-replace--wrapper{margin-top:20px;text-align:left}.wpstg--modal--backup--import--search-replace--new--wrapper{text-align:center}.wpstg-import-backup-contains li{display:inline-block;margin-bottom:0}.wpstg-import-backup-contains li .wpstg-backups-contains{background-color:#f4f4f4!important;border-radius:3px;color:#979797;font-size:17px;height:18px;width:18px}.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains{background-color:#fff;padding:2px}.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains>.wpstg--dashicons{filter:invert(35%)}.wpstg-import-backup-contains .wpstg--tooltiptext{font-size:13px;left:-25px;padding:5px;text-align:center;width:80px}.wpstg-import-backup-contains-title,ul.wpstg-import-backup-contains{display:inline-block}.wpstg-import-backup-name{display:inline-block;font-weight:700}.wpstg-backup-more-info-toggle{cursor:pointer;display:inline-block;font-size:x-small;font-style:italic}.wpstg-backup-more-info-toggle::selection{background:none}ul.wpstg-import-backup-more-info{background-color:#f6f6f6;border:1px solid #878787;border-radius:3px;cursor:pointer;font-size:14px;margin-bottom:30px;margin-top:10px;padding:7px;text-align:left}ul.wpstg-import-backup-more-info:hover{background-color:#def2ff;border:1px solid #25a1f0}ul.wpstg-import-backup-more-info li{height:20px}.wpstg-backup-list{max-width:800px}.wpstg-backup-list h3{color:#3e3e3e}.wpstg-backup-list ul ul{margin-block-end:1em;margin-block-start:1em}.wpstg-push-confirmation-message{font-size:15px;text-align:justify}.wpstg-settings-row{padding-bottom:10px;padding-top:10px}.wpstg-settings-title{font-weight:600}.wpstg-settings-form-group{align-items:center;display:flex}.wpstg-settings-form-group>.wpstg-settings-message{margin:7px 0 0;padding:0;width:30%}.wpstg-excluded-filters-container{margin-bottom:10px;margin-top:10px;max-width:100%;padding:0;width:100%}.wpstg-excluded-filters-container>table{border-collapse:collapse;border-color:transparent;width:100%}.wpstg-excluded-filters-container td{height:20px;padding-bottom:4px;padding-top:4px}.wpstg-excluded-filters-container h4{margin:0}.wpstg-exclude-filters-foot{display:flex;justify-content:flex-start;padding:0}.wpstg-exclude-filter-dropdown>button:hover{background:#135e96;border:1px solid #135e96}.wpstg-exclude-filter-dropdown>.wpstg-dropdown-menu{width:128px}.wpstg-remove-exclude-rule{background-color:#e01e5a;border:1px solid #e01e5a;border-radius:10px;box-shadow:none;color:#fff!important;cursor:pointer;display:inline-flex;font-size:24px;font-weight:400;height:20px;justify-content:center;line-height:.7;margin-top:5px;outline:none;padding:0;width:20px}.wpstg-remove-exclude-rule:hover{background-color:#e01e5a;border-color:#e01e5a}.wpstg-code-block{background:#f8f8f8;border-radius:2px;font-size:1.2em;margin-top:4px}.wpstg-rule-info{background:#f8f8f8!important}code.wpstg-code{background:#fff;border:1px solid #aaa;color:#e01e5a;display:inline-block;font-size:11px;margin-bottom:1px;padding:2px 4px}.wpstg-exclusion-rule-info{align-items:center;background-color:#ffc107;border:1px solid #ffc107;border-radius:7px;box-shadow:none;color:#fff!important;display:inline-flex;font-size:14px;font-weight:400;height:14px;justify-content:center;outline:none;padding:0;vertical-align:middle;width:14px}.wpstg-exclusion-rule-info:hover{background-color:#ffba0c;border:1px solid #ffba0c}.wpstg-exclude-rule-input{background-color:#fff;border:1px solid #bbb;border-radius:0!important;box-shadow:none;color:#222;display:inline-block;font-size:12px!important;font-weight:400;line-height:1.5;margin-left:4px;margin-top:4px;min-height:24px!important;outline:none!important;padding:2px 6px;transition:all .3s cubic-bezier(.25,.8,.25,1);vertical-align:baseline!important;width:135px}.wpstg-excluded-filters-container tbody>tr:last-child .wpstg-exclude-rule-input{margin-bottom:4px}.wpstg-exclude-rule-input:hover{border:1px solid #999}.wpstg-exclude-rule-input:focus{border:1px solid #25a0f1!important;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)!important}.wpstg-file-size-exclude-select,.wpstg-path-exclude-select{width:135px}.wpstg-file-size-exclude-select-small{width:52px}.wpstg-file-size-exclude-input{width:75px}.wpstg-staging-option-title{margin:15px 0 0}.wpstg-swal-push-container.wpstg--swal2-container{z-index:9995}#wpstg-scanning-files{padding-bottom:5px}#wpstg-scanning-db.wpstg-tab-section,#wpstg-scanning-files.wpstg-tab-section{padding-top:10px}.wpstg-reset-excludes-container{margin:10px 0}.wpstg-swal2-ajax-loader{align-items:center;display:flex;height:150px;justify-content:center;overflow:hidden;width:100%}@keyframes wpstg-loading-icon-anim{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.wpstg-swal2-ajax-loader>img{animation:wpstg-loading-icon-anim 1s linear infinite;-webkit-animation:wpstg-loading-icon-anim 1s linear infinite;height:64px;width:64px}.wpstg-swal2-container .wpstg-tab-section{width:auto!important}#wpstg-no-staging-site-results{margin-top:10px;max-width:375px}li#wpstg-backup-no-results{max-width:500px}#wpstg-no-staging-site-results div,li#wpstg-backup-no-results div{display:inline-block;text-align:center}#wpstg-no-staging-site-results .wpstg--dashicons,li#wpstg-backup-no-results .wpstg--dashicons{filter:invert(50%);margin-top:1px;position:absolute}#wpstg-no-staging-site-results .no-staging-site-found-text,li#wpstg-backup-no-results .no-backups-found-text{color:#5d5d5d;margin-left:20px}@media only screen and (max-width:680px){#wpstg-no-staging-site-results div,li#wpstg-backup-no-results div{width:100%}}#wpstg--modal--backup--download-inner p.wpstg-download-modal-text{color:#565656;font-size:16px}#wpstg--modal--backup--download-inner h2{color:#565656}.wpstg-backup-restore-contains-database,.wpstg-backup-restore-contains-files{display:none}.wpstg-green-button{background:#8bc34a;border:1px solid #78a93f;color:#fff;text-shadow:0 -1px 1px #78a93f,1px 0 1px #78a93f,0 1px 1px #40c921,-1px 0 1px #78a93f}.wpstg-green-button:hover{background:#78a93f}.wpstg-is-dir-loading{display:none;margin-left:8px;margin-top:-2px;position:absolute}.wpstg-ml-8px{margin-left:8px}.wpstg-mb-8px{margin-bottom:8px}.wpstg-btn-danger{background-color:#e01e5a;border:1px solid #e01e5a;color:#fff;text-shadow:none}.wpstg-btn-danger:hover{background:#c0194d;box-shadow:0 1px 4px rgba(0,0,0,.3)}.wpstg-swal2-container.wpstg-swal2-loading>.wpstg--swal2-modal{height:200px}.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm>.wpstg--swal2-modal{height:100px}.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm .wpstg-swal2-ajax-loader img{height:32px;width:32px}.wpstg-reset-confirmation.wpstg-swal2-container:not(.wpstg-swal2-loading)>.wpstg--swal2-modal{max-width:480px}.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-header{display:none}.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-content{height:auto}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-tabs-wrapper{height:auto!important;overflow-y:auto}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content{font-size:13px}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-dir{margin-bottom:4px}.wpstg-reset-confirmation.wpstg-swal2-container>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-subdir{margin-top:4px}.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open .wpstg--swal2-modal{height:calc(100vh - 70px)}.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open>.wpstg--swal2-modal>.wpstg--swal2-content .wpstg-tabs-wrapper{height:calc(100vh - 350px)!important}.wpstg--swal2-actions.wpstg--modal--actions>button{font-weight:500;margin-left:4px;margin-right:4px;min-width:80px;text-shadow:none;text-transform:uppercase}.wpstg-swal-popup{max-width:1200px!important}.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title{color:#393939}.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content{color:#393939;margin-top:8px}.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line,.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step{background:#25a1f0}.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line{width:2.75em}.wpstg--dashicons{height:16px;width:16px}.wpstg--dashicons.wpstg-dashicons-grey{filter:invert(20%)}.wpstg--dashicons.wpstg-dashicons-19{height:19px;width:19px}.wpstg--dashicons.wpstg-dashicons-21{height:21px;width:21px}#wpstg--tab--backup #wpstg-step-1{align-items:center;display:flex}#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip,.wpstg-advanced-options .wpstg--tooltip{align-items:center;border-bottom:0 solid transparent;display:inline-flex}.wpstg-advanced-options-site .wpstg--tooltip img.wpstg--dashicons{filter:invert(17%) sepia(0) saturate(1%) hue-rotate(195deg) brightness(97%) contrast(77%)}#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip{align-items:center;border-bottom:0 solid transparent;display:flex}.wpstg--tooltip .wpstg--tooltiptext-backups:after{left:calc(20% + 2px)}.wpstg-listing-single-backup .wpstg--dashicons{height:17px;width:17px}.wpstg-100-width{width:100px}.wpstg-caret{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;cursor:pointer;display:inline-block;height:0;margin-left:2px;transition:transform .2s;vertical-align:middle;width:0}.wpstg-caret.wpstg-caret-up{transform:rotate(-180deg)}.wpstg-advanced-options-site label{display:block;font-size:16px;margin:.5em 0}#wpstg-confirm-backup-restore-data{font-size:18px;margin:30px 0 0}body.toplevel_page_wpstg_backup .wpstg--swal2-container.wpstg--swal2-backdrop-show,body.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-show{background:rgba(0,0,0,.6);z-index:9995}.wpstg-swal-popup.wpstg--swal2-popup{border-radius:8px;color:#3e3e3e;font-family:Verdana,Geneva,Tahoma,sans-serif;padding:24px;z-index:9999}.wpstg-swal-popup .wpstg--swal2-title{color:#3e3e3e;font-size:22px}.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-title{align-self:flex-start;margin-bottom:0;text-align:left}.wpstg-swal-popup .wpstg--swal2-close{right:8px;top:8px;z-index:5}.wpstg-swal-popup .wpstg--swal2-close:focus{outline:none}.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions{justify-content:flex-end}.wpstg-swal-popup .wpstg--swal2-actions>button{border:0;border-radius:4px;font-size:15px;font-weight:900;height:40px;line-height:normal;min-width:100px;padding:10px 12px;text-shadow:none;text-transform:capitalize}.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions>button{margin-left:8px}.wpstg-swal-popup .wpstg--swal2-actions>button.wpstg--swal2-cancel{background:#fff;border:1px solid rgba(29,28,29,.3);color:#1d1c1d;font-weight:500;text-shadow:none;width:100px}.wpstg-swal-popup .wpstg--swal2-actions>button:hover{box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}.wpstg-swal-popup .wpstg--swal2-actions>button.wpstg--swal2-cancel:hover{background:rgba(28,29,28,.04)}#wpstg-backup-name-input{font-size:18px;height:44px}.wpstg-restore-finished-container .wpstg--swal2-title{color:#565656!important}.wpstg-restore-finished-container .wpstg--swal2-content{color:#a8a8a8;margin-top:20px}.wpstg-linear-loader>span[class*=wpstg-linear-loader-item]{animation:wpstg_linear_loader 3s infinite;animation-fill-mode:both;animation-timing-function:cubic-bezier(.03,.615,.995,.415);background:#333;border-radius:100%;display:inline-block;height:6px;margin:12px 2px;width:6px}.wpstg-linear-loader>span.wpstg-linear-loader-item:first-child{animation-delay:1s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(2){animation-delay:.8s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(3){animation-delay:.6s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(4){animation-delay:.4s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(5){animation-delay:.2s}.wpstg-linear-loader>span.wpstg-linear-loader-item:nth-child(6){animation-delay:0s}@keyframes wpstg_linear_loader{0%{opacity:0;transform:translateX(-30px)}25%{opacity:1}50%{opacity:0;transform:translateX(30px)}to{opacity:0}}.wpstg--modal--backup--import--upload--content{margin:1em auto;padding:.75em}.wpstg--modal--backup--import--upload--content .wpstg-linear-loader{display:none}#wpstg-multisite-disabled .wpstg-clone{width:355px}#wpstg-free-version-backups .wpstg-clone p{font-size:16px}.wpstg-staging-info li .backup-notes{word-break:break-word}.wpstg--modal--import--upload--progress--title small{font-weight:400}#wpstg-report-issue-wrapper{position:relative}#wpstg-report-issue-wrapper .arrow-up{border-bottom:8px solid #fff;border-left:8px solid transparent;border-right:8px solid transparent;height:0;position:absolute;right:40px;top:-8px;width:0}.notice{margin:10px 20px 0 2px}.wpstg--notice{box-shadow:0 1px 1px rgba(0,0,0,.04);margin:20px 20px 20px 0;padding:1px 12px}.wpstg--error a:hover{color:#eee}.wpstg--error,.wpstg--error a{background:#e01e5a;color:#fff}.wpstg-button{border-radius:2px;cursor:pointer;display:inline-block;font-weight:500;outline:0;padding:2px 10px;text-decoration:none;text-transform:uppercase;transition:background-color .1s ease-in}.wpstg-button.wpstg-save{background-color:#1687a7;color:#fff}.wpstg-button.wpstg-save:hover{background-color:#276678}.wpstg-button.wpstg-button-light{animation:background-color .3s;background-color:#f8f8f8;border:1px solid #eee;color:#333}.wpstg-button.wpstg-button-light:hover{background-color:#e0e0e0;border:1px solid #e0e0e0}.wpstg-buttons .spinner{float:none;margin:0 0 0 5px}.wpstg-button.danger{background-color:#e01e5a;border-color:transparent;border-radius:2px;color:#fff;display:inline-block;text-align:center;text-decoration:none;text-transform:inherit}.wpstg-button.danger:hover{background-color:#c0194d}.wpstg-button--big{border-radius:3px;color:#fff;display:inline-block;font-size:16px;margin-top:20px;min-width:170px;padding:10px;text-align:center;text-decoration:none}.wpstg-button--primary{-webkit-appearance:none;border:1px solid rgba(29,28,29,.3);border-radius:2px;box-sizing:border-box;color:#171717;cursor:pointer;display:inline-block;font-size:13px;line-height:2.15384615;margin:0;min-height:30px;padding:0 10px;text-decoration:none;white-space:nowrap}.wpstg-button--primary:hover{background:rgba(28,29,28,.04);color:#000}.wpstg-button--secondary{background-color:transparent;border:1px solid rgba(29,28,29,.3);border-radius:2px;color:#95a5a6;cursor:pointer;display:inline-block;font-weight:500;outline:0;padding:4px 10px 2px;text-decoration:none;transition:background-color .1s ease-in}.wpstg-button--red{background-color:#e01e5a;border-color:#e01e5a;color:#fff}.wpstg-button--red:hover{background-color:#d02358;border-color:#e0255f;color:#fff}.wpstg-button--cta-red{background-color:#fe008f;border-color:#e01e5a;color:#fff}.wpstg-button--cta-red:hover{background-color:#f31391;border-color:#e0255f;color:#fff}.wpstg-button--blue{background-color:#25a0f1;border-color:#25a0f1;color:#fff}.wpstg-button--blue:hover{background-color:#259be6;border-color:#259be6;color:#fff}#wpstg-button-backup-upgrade{font-size:16px;text-align:center;width:150px}.wpstg-staging-status{color:#e01e5a}#wpstg-push-changes,#wpstg-save-clone-data,#wpstg-start-updating{margin-left:5px}input.wpstg-textbox{border:1px solid #aaa;border-radius:.25rem;font-size:14px;padding:.25rem .5rem}input.wpstg-textbox:focus{border-color:#259be6;-webkit-box-shadow:0 0 0 .1rem hsla(0,0%,86.7%,.35);box-shadow:0 0 0 .1rem hsla(0,0%,86.7%,.35);outline:0}input.wpstg-textbox::placeholder{color:#888}.wpstg--advance-settings--checkbox{align-items:center;display:flex}.wpstg--advance-settings--checkbox>label{display:inline-block;font-size:14px;font-weight:bolder;width:165px}.wpstg--advance-settings--checkbox>.wpstg--tooltip{border-bottom:0 solid transparent;display:inline-block;margin-left:5px;margin-top:5px;position:relative}.wpstg--advance-settings--checkbox>.wpstg--tooltip>.wpstg--tooltiptext{left:-150px;top:18px}div#wpstg-restore-wait{align-items:center;background:#fff;display:none;flex-direction:column;height:100vh;justify-content:center;left:0;position:fixed;text-align:center;top:0;width:100vw;z-index:99999}div#wpstg-restore-wait .wpstg-title{font-weight:700}div#wpstg-restore-wait div{font-size:16px;margin-top:12px}.resumable-browse{cursor:pointer}.resumable-browse a{text-decoration:underline}.wpstg-upload-text{font-weight:600}.wpstg--modal--backup--import--upload--container.dragover{background-color:#94dc96;color:#fff;transition:background-color .7s}.wpstg--modal--backup--import--upload--container.dragover *{pointer-events:none}.wpstg--modal--backup--import--upload--container.dragover .wpstg-upload-text{display:none}.wpstg--modal--backup--import--upload--container.dragover .wpstg-dragover-text{display:block}.wpstg--modal--backup--import--upload--container .wpstg-dragover-text{display:none}#wpstg-invalid-license-message,#wpstg-invalid-license-message a{color:#e01e5a;font-weight:500;margin-left:6px}#wpstg-sidebar--banner{max-width:200px}@media screen and (max-width:1234px){.wpstg-h2{font-size:24px}#wpstg-welcome li{font-size:14px}}.wpstg-exclamation{background-color:#e01e5a;border-radius:100%;color:#fff;display:inline-block;font-weight:700;height:20px;margin:6px;text-align:center;width:20px}.wpstg--tab--contents{padding-top:1px}.wpstg-swal-show.wpstg--swal2-show{-webkit-animation:wpstg-swal-show .2s!important;animation:wpstg-swal-show .2s!important}@-webkit-keyframes wpstg-swal-show{0%{transform:scale(.3)}to{transform:scale(1)}}@keyframes wpstg-swal-show{0%{transform:scale(.3)}to{transform:scale(1)}}.wpstg-tab-item--vert-center{align-items:center;display:flex}.wpstg-db-comparison-modal{padding-left:10px;padding-right:10px}.wpstg-db-comparison-table{font-size:13px;width:100%}.wpstg-db-comparison-table tbody td{padding-top:6px}.wpstg-db-comparison-table tr>td:first-child,.wpstg-db-comparison-table tr>th:first-child{text-align:left}.wpstg-css-tick{border-bottom:3px solid #78b13f;border-right:3px solid #78b13f;display:inline-block;height:12px;transform:rotate(45deg);width:6px}.wpstg-css-cross{height:16px;left:-2px;position:relative;top:-8px;width:16px}.wpstg-css-cross:after,.wpstg-css-cross:before{background-color:#e01e5a;content:" ";height:17px;position:absolute;width:3px}.wpstg-css-cross:before{transform:rotate(45deg)}.wpstg-css-cross:after{transform:rotate(-45deg)}.wpstg-selection-preview{color:rgba(51,34,17,.4);font-size:12px;margin-left:20px}.wpstg-selection-preview.danger{color:#e01e5a}.wpstg--backup-automated{margin-bottom:-5px}.wpstg--dismiss-schedule{cursor:pointer}.wpstg-import-backup-contains.wpstg-listing-single-backup{vertical-align:middle}.wpstg-import-backup-contains.wpstg-listing-single-backup li{padding:2px}.wpstg--modal--backup--manage--schedules--content table{margin:0 auto;width:100%}.wpstg--modal--backup--manage--schedules--title{margin-bottom:10px;margin-top:0;text-align:left}.wpstg--modal--backup--import--upload--title{text-align:center}#wpstg--modal--backup--manage--schedules--content{text-align:left}#wpstg--modal--backup--manage--schedules--content thead{font-weight:700}#wpstg--modal--backup--manage--schedules--content .wpstg--tooltip.wpstg--dismiss-schedule{border-bottom:none}.wpstg--tooltip.wpstg--dismiss-schedule img.wpstg--dashicons{filter:invert(18%) sepia(57%) saturate(6238%) hue-rotate(332deg) brightness(93%) contrast(88%)}#wpstg--modal--backup--manage--schedules--content td{padding-right:25px;padding-top:10px}#wpstg--modal--backup--manage--schedules--content td:last-child{padding-right:0}#wpstg--modal--backup--manage--schedules--content ul{margin-bottom:0;margin-top:0}#wpstg--modal--backup--manage--schedules--content ul li:first-child .wpstg--tooltip{margin-left:0}.wpstg-button:disabled{background-color:#ddd;border:1px solid #cfcfcf;color:#b3b3b3;cursor:not-allowed;text-shadow:none}#wpstg-backup-runs-info{font-size:12px;margin:20px 0 0;padding:0}#wpstg-backup-runs-info li{margin:0}div#wpstg-backup-locked{align-items:center;background:#fff;display:flex;margin-bottom:10px;max-width:770px;padding:15px;width:100%}#wpstg-backup-locked .icon{display:inline-block;height:20px}#wpstg-backup-locked .icon img{animation:wpstg-loading-icon-anim 2s infinite}#wpstg-backup-locked .text{display:inline-block;margin-left:15px}#backup-schedule-current-time{font-size:12px}.wpstg-backup-scheduling-options label{margin-top:17px}.wpstg-backup-scheduling-options .wpstg-storage-option{display:block;font-size:15px;margin:.5em 0}.wpstg-storage-option>span:not(.wpstg-storage-settings){display:inline-block;width:150px}.wpstg-storages-postbox{background-color:#fff;margin-bottom:8px;margin-top:8px;padding:13px 16px}.wpstg-storages-postbox a{color:#3c434a;font-weight:700;margin-right:8px;padding:8px;text-decoration:none}.wpstg-storages-postbox a:hover{color:#b70b72}.wpstg-storage-postbox{background-color:#fff;padding:4px 16px}.wpstg-storages-postbox a.wpstg-storage-provider-active{background:#b70b72;border-radius:3px;color:#fff;cursor:default;font-weight:700}.wpstg-storages-postbox a.wpstg-storage-provider-active:hover{background:#a10a64}.wpstg-storages-postbox a.wpstg-storage-provider-disabled{color:#999;cursor:not-allowed}.wpstg-provider-revoke-form{display:inline;margin-bottom:12px;margin-top:12px}.wpstg-provider-settings-form{margin-top:10px}.wpstg-provider-settings-form strong{display:block;margin:8px 0}.wpstg-provider-settings-form p{margin:0 0 8px}.wpstg-provider-settings-form fieldset{margin:0 0 16px;padding:0}.wpstg-provider-settings-form fieldset p{font-size:12px;margin:0;padding:5px}.wpstg-provider-settings-form fieldset label{display:block;margin-bottom:2px}.wpstg-provider-settings-form fieldset input{font-size:12px}.wpstg-provider-settings-form .wpstg-link-btn.wpstg-blue-primary{text-shadow:none}.wpstg-btn-google{align-items:center;border-radius:3px;border-width:0;box-shadow:0 1px 3px rgba(0,0,0,.6);box-sizing:border-box;color:#555;display:inline-flex;font-family:Roboto;font-size:14px;font-weight:700;height:40px;line-height:40px;margin-right:10px;outline:none;padding:8px 16px 8px 8px;text-decoration:none;transition:background-color .3s}.wpstg-btn-google img{height:18px;margin-left:5px;margin-right:12px;width:18px}#wpstg-custom-google-credentials{margin-top:20px}.wpstg-fieldset .wpstg-with-icon{align-items:center;display:inline-flex}.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon{margin-left:8px}.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon img{height:16px;width:16px}#wpstg-btn-provider-revoke{border-radius:2px}.wpstg-metabox-holder{background:#fff;border-radius:8px;-webkit-box-shadow:0 0 1px rgba(0,0,0,.13),0 1px 3px rgba(0,0,0,.1);box-shadow:0 0 1px rgba(0,0,0,.13),0 1px 3px rgba(0,0,0,.1);margin-left:16px;margin-right:32px;margin-top:60px;min-height:600px;padding:20px}@media only screen and (max-width:680px){.wpstg-metabox-holder{margin-left:0;margin-right:5px;padding:5px 0 0}#wpstg-tab-container .wpstg-settings-panel{overflow:auto;padding:0}.wpstg-form-table td:first-child{width:50%}}.wpstg-nav-tab{background:#dcdcde;border:1px solid #fff;border-bottom:none;color:#3c434a;float:left;font-size:14px;font-weight:600;line-height:1.71428571;margin-left:.5em;padding:5px 10px;text-decoration:none;white-space:nowrap}.wpstg-nav-tab-active,.wpstg-nav-tab-active:focus,.wpstg-nav-tab-active:focus:active,.wpstg-nav-tab-active:hover{background:#f3f5f7;border-bottom:1px solid #f0f0f1;-webkit-box-shadow:-4px -13px 14px -12px rgba(0,0,0,.16);box-shadow:-4px -13px 14px -12px rgba(0,0,0,.16);color:#b70b72}.wpstg-nav-tab-active{margin-bottom:-1px}.wpstg-nav-tab-wrapper{line-height:inherit;margin:0;padding-bottom:0;padding-top:9px}.wpstg-nav-tab-wrapper li{margin-bottom:0}#wpstg--js--translations{text-decoration:underline}
2
  /*# sourceMappingURL=wpstg-admin.min.css.map */
assets/css/dist/wpstg-admin.min.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["wpstg-admin.scss"],"names":[],"mappings":"AAUA,MACE,6BAA8B,CAC9B,0BAA6B,CAG/B,aACE,kBAAmB,CAEnB,iBAAkB,CADlB,UAAW,CAEX,cAAe,CACf,eAAkB,CAClB,iCACE,qCAAsC,CACtC,UAAa,CACf,8BACE,kCAAmC,CACnC,UAAa,CAIjB,WACE,kBAAqB,CACrB,iBAAkB,CAClB,eAAgB,CAChB,iDAAoD,CAEpD,gWAC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sBAAuB,CAHvB,gBAAkB,CAClB,gBAAiB,CAMjB,oBAAqB,CACrB,kBAAqB,CAEvB,iHAEE,kBAAmB,CADnB,+BAAgC,CAGhC,wDAA6D,CAC7D,gDAAqD,CAFrD,aAEuD,CAEzD,sBACE,kBAAqB,CAEvB,uBAOE,mBAAoB,CAHpB,QAAS,CAET,gBAAiB,CADjB,eAEsB,CAExB,0BACE,eAAoB,CAEtB,yBACE,yBAA4B","file":"wpstg-admin.min.css","sourcesContent":["@charset \"UTF-8\";\n/**\n * WPSTG Admin CSS\n *\n * @package WPSTG\n * @subpackage Admin CSS\n * @copyright Copyright (c) 2021, René Hermenau\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n/* vars */\n:root {\n --wpstg-color-warning: #ffb804;\n --wpstg-color-info: #24a1f0; }\n\n/* IMPORTS */\n.wpstg-badge {\n background: #f8f9fa;\n color: #333;\n border-radius: 3px;\n font-size: 12px;\n padding: 4px 8px; }\n .wpstg-badge.wpstg-badge-warning {\n background: var(--wpstg-color-warning);\n color: #fff; }\n .wpstg-badge.wpstg-badge-info {\n background: var(--wpstg-color-info);\n color: #fff; }\n\n/* Font Faces */\n/* roboto-regular - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n src: url(\"../../fonts/roboto-v29-latin-regular.eot\");\n /* IE9 Compat Modes */\n src: local(\"\"), url(\"../../fonts/roboto-v29-latin-regular.eot?#iefix\") format(\"embedded-opentype\"), url(\"../../fonts/roboto-v29-latin-regular.woff2\") format(\"woff2\"), url(\"../../fonts/roboto-v29-latin-regular.woff\") format(\"woff\"), url(\"../../fonts/roboto-v29-latin-regular.ttf\") format(\"truetype\"), url(\"../../fonts/roboto-v29-latin-regular.svg#Roboto\") format(\"svg\");\n /* Legacy iOS */ }\n\n/* Colors */\n.wpstg--violet {\n color: #9d37ae; }\n\n.wpstg-border--violet {\n border: 1px solid #9d37ae; }\n\n.wpstg--red {\n color: #E01E5A; }\n\n.wpstg-cta--red {\n color: #fe008f; }\n\n.wpstg--blue {\n color: #24a1f0; }\n\n.wpstg--darkblue {\n color: #0e86d9; }\n\n.wpstg--green {\n color: #83c11f; }\n\n.wpstg--grey {\n color: #3e3e3e; }\n\n.wpstg--darkgrey {\n color: #1b1b1b; }\n\n.wpstg--filter--svg {\n filter: invert(24%) sepia(11%) saturate(558%) hue-rotate(169deg) brightness(97%) contrast(91%); }\n\n/* CSS for Tabs */\nbody.wp-staging-pro_page_wpstg_backup,\nbody.toplevel_page_wpstg_clone,\nbody.wp-staging-pro_page_wpstg-settings,\nbody.wp-staging-pro_page_wpstg-tools,\nbody.wp-staging-pro_page_wpstg-license {\n background-color: #f3f5f7; }\n\n#wpstg-tab-container ul {\n list-style: none;\n margin: 0;\n padding: 0;\n background: #f1f1f1;\n float: left; }\n\n#wpstg-tab-container ul li:first-child.selected-tab {\n border-top: none; }\n\n#wpstg-tab-container ul li a.selected-tab {\n font-weight: bold;\n text-decoration: none; }\n\n#wpstg-tab-container .row {\n padding-top: 10px;\n padding-bottom: 12px; }\n\n.wpstg-tabs-container .nav-tab-wrapper {\n padding: 0; }\n\n#wpstg-tab-container .row label strong,\n#wpstg-tab-container .row strong {\n font-weight: bold; }\n\n.wpstg-tabs a {\n padding: 5px; }\n\n#wpstg-tab-container > ul > li.wpstg-tabs.active {\n background-color: white; }\n\n#wpstg_settingsgeneral_header .row:nth-child(3),\n#wpstg_settingsgeneral_header .row:nth-child(4) {\n display: none; }\n\n#wpstg-tab-container .wpstg-settings-panel {\n padding: 0 20px 20px 20px;\n overflow: auto; }\n\n#wpstg-tab-container .wpstg-form-table th {\n vertical-align: top;\n text-align: left;\n padding: 20px 10px 20px 0;\n line-height: 1.3;\n font-weight: bold;\n font-size: 14px;\n color: #484848;\n width: 30%; }\n\n#wpstg-tab-container .wpstg-form-table tr {\n border-bottom: 1px solid #E7E7E7; }\n\n#wpstg-tab-container span.description {\n display: block;\n font-weight: 400;\n font-style: normal;\n font-size: 13px;\n margin-top: 7px;\n color: #484848; }\n\n#wpstg-tab-container .col-title {\n color: #484848; }\n\n@media only screen and (max-width: 680px) {\n #wpstg-tab-container ul {\n float: none; }\n #wpstg-tab-container .wpstg-form-table tr > th {\n width: 100%; }\n #wpstg-tab-container span.description {\n font-size: 14px; }\n #wpstg-tab-container .wpstg-form-table tr > th,\n #wpstg-tab-container .wpstg-form-table tr > td {\n padding: 10px; } }\n\n#wpstg-tab-container ul li {\n margin-bottom: 0; }\n\n#wpstg-tab-container ul li a {\n display: block;\n padding: 10px 4px 10px 14px;\n border-width: 1px 0;\n border-style: solid;\n border-top-color: white;\n border-bottom-color: #e7e7e7;\n text-decoration: none;\n color: #0097DF;\n font-weight: bold; }\n\n#wpstg-tab-container ul li a:hover {\n background-color: #e5e5e5;\n color: #777777; }\n\n.wpstg-logo {\n display: block;\n font-size: 16px;\n padding-top: 20px;\n width: 220px;\n float: left; }\n\n.wpstg-logo img {\n max-width: 212px; }\n\n.wpstg-version {\n display: block;\n padding-top: 40px;\n color: #9b9b9b; }\n\n.wpstg_admin .nav-tab {\n color: #3C3C3C; }\n\n#wpstg-tab-container table tbody tr:nth-child(1) > th > div {\n font-size: 20px; }\n\n/* Cloning workflow */\n#wpstg-clonepage-wrapper {\n margin-bottom: 20px;\n width: 98%; }\n\n@media screen and (min-width: 1090px) {\n #wpstg-clonepage-wrapper {\n float: left;\n margin-bottom: 20px; } }\n\n#wpstg-steps {\n margin-top: 0px;\n margin-left: 20px; }\n\n#wpstg-steps li {\n color: #444;\n line-height: 20px;\n padding-right: 10px;\n float: left; }\n\n.wpstg-step-num {\n border: 1px solid #3e3e3e;\n border-radius: 3px;\n display: inline-block;\n width: 20px;\n height: 20px;\n text-align: center;\n margin-right: 5px; }\n\n.wpstg-current-step {\n font-weight: bold; }\n\n.wpstg-current-step .wpstg-step-num {\n background: #3e3e3e;\n color: #eee; }\n\n.wpstg-box {\n margin: 10px 0;\n padding: 10px;\n position: relative;\n overflow: hidden;\n transition: border-color .2s ease-in-out; }\n\n.wpstg-clone {\n margin-bottom: 10px;\n padding: 16px;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 3px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n.wpstg-clone.active {\n border-color: #1d94cf; }\n\n.wpstg-clone-header {\n display: flex;\n align-items: center; }\n\n.wpstg-clone-title {\n display: inline-block;\n margin-right: 8px;\n font-size: 15px;\n max-width: 300px;\n text-decoration: none;\n font-weight: bold;\n color: #3e3e3e; }\n\n.wpstg-clone-title:hover {\n color: #111111; }\n\n.wpstg-clone-labels {\n display: inline-block; }\n\n.wpstg-clone-labels .wpstg-clone-label {\n display: inline-block;\n padding: 1px 4px;\n margin-right: 4px;\n font-size: 11px;\n border-radius: 3px;\n background: #8bc34a;\n color: #fff; }\n\n.wpstg-clone-actions {\n margin-left: auto;\n display: flex;\n margin-top: 5px; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler {\n text-decoration: none;\n background: #25a1f0;\n padding: 6px 10px;\n border-radius: 2px;\n font-size: 14px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n color: #ffffff; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler:hover {\n background: #002648;\n color: white; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu {\n background: #fff;\n display: none;\n flex-direction: column;\n position: absolute;\n right: 0;\n top: calc(100% + 4px);\n padding: 8px;\n border-radius: 2px;\n width: 100px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n z-index: 1000; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.wpstg-menu-dropup {\n top: auto;\n bottom: 100%;\n transform: translate3d(0px, -3px, 0px); }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.shown {\n display: flex; }\n\n.wpstg-clone-action,\n.wpstg-dropdown-action {\n color: #3e3e3e;\n padding: 6px 8px;\n border-radius: 3px;\n text-decoration: none;\n position: relative;\n transition: color .2s ease-in-out;\n border-bottom: 1px solid #f3f3f3; }\n\n.wpstg-clone-action:hover,\n.wpstg-dropdown-action:hover {\n background: rgba(0, 0, 0, 0.05); }\n\n.wpstg-dropdown-action {\n color: #3e3e3e;\n background: transparent;\n border: 0 solid black;\n outline: none;\n box-shadow: none; }\n\n.wpstg-remove-clone:hover {\n color: #E01E5A; }\n\n.wpstg-clone-action:last-child {\n border: none; }\n\n.wpstg-clone:hover .wpstg-clone-action {\n display: inline-block; }\n\n#wpstg-show-error-details:focus,\n#wpstg-workflow .wpstg-clone-action {\n outline: none;\n box-shadow: none; }\n\n.wpstg-link-btn {\n background: #45a1c9;\n color: #fff;\n display: inline-block;\n padding: 5px 10px;\n text-decoration: none;\n vertical-align: baseline;\n transition: all .2s ease-in-out; }\n\n.wpstg-link-btn:hover,\n.wpstg-link-btn:focus {\n color: #fff;\n outline: none;\n box-shadow: none; }\n\n#wpstg-workflow .wpstg-link-btn:active {\n vertical-align: baseline; }\n\n.wpstg-link-btn[disabled] {\n background: #777 !important;\n border-color: #555 !important;\n pointer-events: none; }\n\n#wpstg-cancel-cloning,\n#wpstg-cancel-cloning-update {\n margin-top: 5px; }\n\n#wpstg-cancel-cloning.success,\n#wpstg-cancel-cloning.success {\n background: #64dd58;\n border-color: #54bd4a; }\n\n#wpstg-error-wrapper,\n#wpstg-error-details {\n display: none;\n padding-top: 10px;\n font-size: 13px;\n clear: both; }\n\n#wpstg-show-error-details {\n display: inline-block;\n margin-left: 5px;\n color: #555;\n text-decoration: none;\n transition: color .2s ease-in-out; }\n\n#wpstg-show-error-details:hover {\n color: #1d94cf; }\n\n#wpstg-error-details {\n border-left: 5px solid #E01E5A;\n padding: 10px;\n width: 500px; }\n\n#wpstg-try-again {\n display: none; }\n\n#wpstg-home-link {\n float: right; }\n\n.wpstg-loader {\n content: url(\"../../img/loading.gif\");\n display: none; }\n\n.wpstg-loader.wpstg-finished {\n display: block;\n content: \"Finished\";\n background-color: #00c89a;\n color: white;\n padding: 2px 10px;\n margin-top: 0;\n border-radius: 3px; }\n\n#wpstg-workflow {\n max-width: 800px;\n position: relative;\n clear: both;\n padding-top: 20px;\n float: left;\n min-width: 500px;\n min-height: 380px;\n padding-right: 20px;\n padding-bottom: 20px; }\n\n#wpstg-sidebar {\n float: left;\n max-width: 400px;\n display: block;\n margin-left: 10px; }\n\n#wpstg-workflow.loading::after,\n#wpstg-removing-clone.loading::after {\n background: rgba(255, 255, 255, 0.7);\n content: 'Loading... may take a while for huge websites';\n display: block;\n width: 100%;\n height: 100%;\n font-size: 20px;\n padding-top: 100px;\n text-align: center;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 99; }\n\n#wpstg-removing-clone.loading::after {\n content: 'REMOVING' !important; }\n\n#wpstg-existing-clones,\n#wpstg-removing-clone {\n position: relative; }\n\n#wpstg-existing-clones h3 {\n color: #3e3e3e; }\n\n#wpstg-removing-clone .wpstg-tab-section {\n display: block; }\n\n.wpstg-progress-bar {\n max-width: 900px;\n height: 27px;\n padding: 0;\n background-color: #d6d8d7; }\n\n.wpstg-progress {\n float: left;\n background: #3fa5ee;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center;\n overflow: hidden; }\n\n.wpstg-progress-files {\n background: #16b4f0;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center; }\n\n#wpstg-new-clone-id.wpstg-error-input,\n#wpstg-clone-path.wpstg-error-input {\n border: 1px solid #E01E5A;\n box-shadow: 0 0 2px rgba(255, 66, 53, 0.8); }\n\n#wpstg-new-clone-id {\n width: 450px;\n max-width: 100%;\n margin-left: 15px; }\n\n#wpstg-new-clone {\n background: #25a1f0;\n border-color: #2188c9; }\n\n#wpstg-new-clone:hover {\n background: #259be6;\n border-color: #2188c9; }\n\n#wpstg-clone-path {\n margin-left: 10px;\n width: 350px; }\n\n.wpstg-error-msg {\n color: #E01E5A; }\n\n#wpstg-clone-id-error {\n display: block;\n background-color: #f0f8ff;\n padding: 10px;\n margin: 20px; }\n\n#wpstg-start-cloning + .wpstg-error-msg {\n display: block;\n margin-top: 5px; }\n\n.wpstg-size-info {\n color: #999;\n font-weight: normal;\n position: relative;\n left: 2px; }\n\n.wpstg-db-table .wpstg-size-info {\n top: 2px; }\n\n.wpstg-db-table:hover {\n background-color: #f0f8ff; }\n\n#wpstg-workflow #wpstg-start-cloning {\n margin-left: 5px;\n vertical-align: baseline; }\n\n/* Tabs */\n.wpstg-tabs-wrapper {\n max-width: 640px;\n margin: 10px 0; }\n\n#wpstg-path-wrapper {\n border-bottom: 2px dashed #ccc;\n padding-bottom: 10px;\n margin-bottom: 10px; }\n\n.wpstg-tab-section {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n display: none;\n width: calc(100% - 72px);\n padding: 0px 36px; }\n\n.wpstg-tab-section::after {\n display: block;\n content: '';\n clear: both; }\n\n.wpstg-tab-header {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n color: #444;\n font-size: 16px;\n font-weight: bold;\n display: block;\n padding: 10px;\n text-decoration: none; }\n\n.wpstg-tab-triangle {\n display: inline-block;\n margin-right: 12px;\n animation: transform 0.5s;\n width: 0;\n height: 0;\n margin-top: -3px;\n vertical-align: middle;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 10px solid;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-tab-triangle.wpstg-no-icon {\n margin-right: 2px;\n width: auto;\n height: auto;\n vertical-align: auto;\n border-top: 0px solid;\n border-bottom: 0px solid;\n border-left: 0px solid; }\n\n.wpstg-tab-triangle.wpstg-rotate-90 {\n transform: rotate(90deg); }\n\n.wpstg-tab-header:focus {\n color: #444;\n outline: none;\n box-shadow: none; }\n\n#wpstg-large-files {\n display: none;\n border: 1px dashed #ccc;\n padding: 10px 10px 10px;\n margin-top: 20px;\n position: relative;\n font-size: 12px; }\n\n#wpstg-large-files h3 {\n background: #fff;\n margin: 0;\n padding: 0 5px;\n position: absolute;\n top: -10px;\n left: 5px; }\n\n.wpstg-subdir {\n display: none;\n margin-left: 20px; }\n\n.wpstg-subdir.wpstg-push {\n display: block;\n margin-left: 20px; }\n\n.wpstg-dir a.disabled {\n color: #888;\n cursor: default;\n text-decoration: none; }\n\n.wpstg-check-subdirs {\n display: inline-block;\n margin-left: 10px; }\n\n.wpstg-notice-alert {\n display: block;\n background-color: #E01E5A;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px;\n color: white; }\n\n.wpstg-notice--white {\n display: block;\n background-color: #ffffff;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px; }\n\n.wpstg-notice-alert a {\n color: white; }\n\n.wpstg-notice-alert h3 {\n color: white; }\n\n.wpstg-header {\n font-weight: 400;\n line-height: 1.6em;\n font-size: 19px;\n /*\n border-bottom: 1px solid #DFDFDF;\n */\n clear: both;\n padding-top: 10px; }\n\n#wpstg-clone-label {\n font-size: 14px;\n font-weight: bold; }\n\n.wpstg-log-details {\n height: 300px;\n overflow: scroll;\n max-width: 650px;\n font-family: monospace;\n font-size: 12px;\n line-height: 15px;\n border: 1px solid #FFF;\n background-color: black;\n color: #c0c0c0;\n padding: 3px;\n white-space: nowrap;\n margin-top: 15px; }\n\n#wpstg-finished-result {\n display: none; }\n\n#wpstg-remove-cloning {\n background: #ff3428;\n border-color: #e72f24;\n margin-top: 5px; }\n\n#wpstg-success-notice {\n padding: 10px;\n background-color: white;\n max-width: 900px;\n border: 1px solid #ccc;\n margin-top: 20px; }\n\n.wpstg_beta_notice {\n margin-bottom: 20px; }\n\n.wpstg-sysinfo {\n width: 700px;\n height: 400px; }\n\n.wpstg-form-table .col-title label {\n font-weight: 600; }\n\n.wpstg-form-table td:first-child {\n width: 30%;\n padding-right: 20px; }\n\n.wpstg-share-button-container {\n margin: 5px 0; }\n\n.wpstg-share-button-container p {\n margin: 0 0 10px 0; }\n\n.wpstg-share-button {\n display: inline-block; }\n\n.wpstg-share-button a {\n text-decoration: none; }\n\n.wpstg-share-button .wpstg-share {\n font-family: sans-serif;\n font-weight: bold;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-share-button .wpstg-share {\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n color: #FFF;\n display: inline;\n font-size: 12px;\n padding: 4px 8px; }\n\n.wpstg-share-button-twitter .wpstg-share {\n background-color: #00ABF0; }\n\n.wpstg-share-button-facebook .wpstg-share {\n background-color: #3b5998; }\n\n.wpstg-share-button-googleplus .wpstg-share {\n background-color: #F53424; }\n\n.wpstg-share-button-twitter .share:active,\n.wpstg-share-button-facebook .share:active,\n.wpstg-share-button-googleplus .share:active {\n background-color: #353535; }\n\n#wpstg-check-space {\n margin-left: 8px; }\n\n#wpstg-welcome li {\n font-size: 18px;\n line-height: 29px;\n position: relative;\n padding-left: 23px;\n list-style: none !important; }\n\n#wpstg-welcome {\n margin-top: 20px;\n margin-right: 20px;\n background-color: white; }\n\n.wpstg-heading-pro {\n font-weight: bold; }\n\n.wpstg-h2 {\n margin-top: 0;\n margin-bottom: 1.2rem;\n font-size: 30px;\n line-height: 2.5rem; }\n\n#wpstg-welcome li:before {\n width: 1em;\n height: 100%;\n background: url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left 0.4em no-repeat;\n background-size: contain;\n content: \"\";\n position: absolute;\n top: -2px;\n left: 0;\n color: #77b227; }\n\n.wpstg-h1 {\n margin-bottom: 1.35rem;\n font-size: 2.5em;\n line-height: 3.68rem;\n letter-spacing: normal; }\n\n.wpstg--swal2-content {\n color: #3e3e3e; }\n\n.wpstg--swal2-content h1 {\n color: #444; }\n\n#wpstg-welcome h2 {\n margin: 0 0 15px; }\n\n#wpstg-welcome .wpstg-footer {\n clear: both;\n margin-top: 20px;\n font-style: italic; }\n\n#wpstg-footer {\n clear: both;\n margin-top: 20px;\n margin-right: 10px;\n padding-top: 50px; }\n\n#wpstg-footer a {\n text-decoration: none; }\n\n#wpstg-footer li {\n margin-bottom: 2px;\n list-style: circle; }\n\n#wpstg-footer ul {\n margin-left: 15px;\n margin-top: 0px; }\n\n.wpstg-footer--title {\n margin-left: 15px; }\n\n.wpstg-staging-info {\n margin-top: 8px;\n color: #3e3e3e;\n font-size: 12px; }\n\n.wpstg-staging-info a {\n color: #3e3e3e; }\n\n.wpstg-staging-info li {\n margin-bottom: 2px; }\n\n.wpstg-bold {\n font-weight: 600; }\n\n#wpstg-processing-status {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: left; }\n\n#wpstg-processing-timer {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: right; }\n\n#wpstg-report-issue-button {\n margin-left: 30px;\n border: 1px solid #E01E5A;\n color: #E01E5A;\n background-color: white; }\n\n#wpstg-report-issue-button:hover {\n background-color: #dc2b62;\n color: #fff; }\n\n.wpstg-blue-primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n height: 28px;\n margin: 0;\n /*\n padding: 0 10px 1px;\n */\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n -webkit-appearance: none;\n border-radius: 3px;\n white-space: nowrap;\n box-sizing: border-box;\n background: #25a1f0;\n border-color: #2188c9;\n color: #fff;\n /*\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n */ }\n\n.wpstg-blue-primary:hover {\n background: #127fc6; }\n\na.wpstg-blue-primary {\n padding: 5px 10px;\n height: auto; }\n\n.wpstg-blue-primary:hover {\n background-color: #259be6; }\n\n.wpstg-report-issue-form {\n position: absolute;\n z-index: 999;\n width: 300px;\n background-color: #fff;\n padding: 15px 15px 10px;\n border: 1px solid #e8e8e8;\n border-radius: 3px;\n box-shadow: 0 1px 0 0 #fff inset;\n display: none;\n right: 0;\n top: 35px; }\n\n@media (max-width: 600px) {\n .wpstg-report-issue-form {\n position: relative; } }\n\n.wpstg-report-show {\n display: block; }\n\n.wpstg-field input[type=text],\n.wpstg-field textarea {\n width: 100%;\n font-weight: 400;\n line-height: 1.4;\n margin-bottom: 4px; }\n\n.wpstg-report-email,\n.wpstg-report-hosting-provider {\n width: 100%;\n font-weight: 400;\n font-size: .8rem;\n height: 2.3rem;\n line-height: 2.3rem;\n border-radius: 3px;\n margin-bottom: 4px;\n padding: 0 10px; }\n\n.wpstg-report-description {\n border-radius: 3px;\n font-size: .8rem;\n padding: 6px 10px;\n resize: none; }\n\n.wpstg-report-privacy-policy {\n font-size: 12px;\n margin-bottom: 15px; }\n\n#wpstg-report-cancel {\n float: right;\n margin-right: 5px;\n font-weight: bold; }\n\n#wpstg-success-button {\n font-weight: bold; }\n\n.wpstg-message {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n background-color: #f5e0de;\n border-radius: 3px;\n color: rgba(0, 0, 0, 0.6);\n height: auto;\n margin: 10px 0;\n min-height: 18px;\n padding: 6px 10px;\n position: relative; }\n\n.wpstg-message.wpstg-error-message {\n background-color: #f5e0de;\n color: #b65147;\n font-size: 12px; }\n\n.wpstg-message.wpstg-success-message {\n background-color: #d7f8e0;\n color: #515151; }\n\n.wpstg-message p {\n margin: 3px 0;\n font-size: 13px; }\n\n.wpstg-warning {\n display: block;\n padding: 10px;\n background-color: #ffb804;\n color: #ffffff;\n margin: 10px 10px 10px 0; }\n\n.wpstg-warning a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n.wpstg-error {\n display: block;\n padding: 10px !important;\n background-color: #E01E5A !important;\n color: #ffffff;\n margin: 10px 10px 10px 0 !important;\n border-color: transparent !important;\n border-left-color: transparent !important;\n box-shadow: none !important; }\n\n.wpstg-error a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n#wpstg-resume-cloning {\n display: none; }\n\n#wpstg-external-db th {\n text-align: left;\n width: 120px; }\n\n#wpstg-db-connect {\n font-weight: normal; }\n\n#wpstg-db-status {\n display: block;\n margin-top: 5px;\n padding: 5px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-text-field > #wpstg-db-status {\n margin-top: 8px;\n margin-left: 150px;\n min-width: 300px; }\n\n.wpstg-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6; }\n\n.wpstg-failed {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1; }\n\n#wpstg_select_tables_cloning {\n height: 600px;\n font-size: 13px; }\n\n#wpstg_select_tables_pushing {\n height: 400px;\n font-size: 13px; }\n\n#wpstg-update-notify {\n background-color: #E01E5A;\n font-size: 14px;\n color: #ffffff;\n line-height: normal;\n padding: 10px; }\n\n#wpstg-update-notify a {\n color: #ffffff;\n font-weight: bold; }\n\n.wpstg-pointer {\n cursor: pointer; }\n\n.wpstg--tab--header {\n background-color: white;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 0px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.02); }\n\n.wpstg--tab--header ul {\n display: flex; }\n\n.wpstg--tab--header ul li {\n margin-right: 1em;\n margin-bottom: 0px; }\n\n.wpstg--tab--header ul li:last-child {\n margin-right: 0; }\n\n.wpstg--tab--header a {\n min-width: 150px;\n text-align: center;\n cursor: pointer;\n display: inline-block;\n padding: 1em 1.25em;\n padding-bottom: 9px;\n color: #c4c4c4;\n font-size: 18px; }\n\n.wpstg--tab--header a.wpstg--tab--active {\n border-bottom: 3px solid #0e86d9;\n color: #25A1F0; }\n\n.wpstg--tab--header a:hover {\n background-color: #fefefe;\n border-bottom: 3px solid #0e86d9;\n color: #0e86d9; }\n\n.wpstg--tab--content {\n display: none; }\n\n.wpstg--tab--active {\n display: block; }\n\n#wpstg-premium-header {\n font-size: 1.5rem;\n font-weight: bold; }\n\n.wpstg--text--strong,\n.wpstg--text--strong * {\n font-weight: bold !important; }\n\n.wpstg--text--danger {\n color: #a94442; }\n\n.wpstg--tooltip {\n position: relative;\n display: inline-block;\n margin-left: 5px; }\n\n.wpstg--tooltip.wpstg--tooltip-normal {\n margin-left: 0;\n border-bottom: 0; }\n\n.wpstg--tooltip .wpstg--tooltiptext {\n visibility: hidden;\n width: 300px;\n background-color: #ffffff;\n color: #505050;\n text-align: left;\n padding: 12px;\n border-radius: 3px;\n position: absolute;\n z-index: 1;\n -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n font-weight: normal; }\n\n.wpstg--tooltiptext-backups {\n width: 120px;\n top: 100%;\n left: -150%;\n margin-left: -56px;\n margin-top: 4px; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip {\n border-bottom: 0px solid transparent; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip > .wpstg--tooltiptext {\n margin-top: 0px;\n margin-left: -150px; }\n\n/**\nTooltip top arrow\n */\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n /* At the top of the tooltip */\n left: 50%;\n margin-left: 25px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow {\n margin-top: 6px; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -18px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--snaphot-restore-table tr {\n line-height: 12px; }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-beta-notice {\n background-color: #b0e8b0;\n border-radius: 3px;\n padding: 7px;\n margin-bottom: 20px; }\n\n#wpstg-backup-name {\n font-size: 1.875em;\n font-weight: 600; }\n\n#wpstg_select_tables_cloning option:checked,\n#wpstg_select_tables_pushing option:checked {\n /* Cannot use background color here because Chrome and Firefox ignore it even if set to !important */\n -webkit-appearance: menulist-button;\n background-image: linear-gradient(0deg, #1e90ff 0%, #1e90ff 100%); }\n\n.wpstg--btn--cancel {\n background: #ff3428;\n border-color: #e72f24;\n color: #fff;\n height: auto;\n line-height: normal;\n font-size: 16px;\n padding: .5em;\n margin-bottom: 1.5em; }\n\n.wpstg--btn--cancel:hover {\n background: #ff3428;\n border-color: #e72f24; }\n\n.wpstg--process--content > .wpstg--swal2-html-container {\n padding: 4em 2em !important; }\n\n.wpstg--modal--process--logs,\n.wpstg--modal--error--logs {\n background: #ffffff;\n border: 1px solid #a8a8a8;\n border-radius: 3px;\n height: 300px;\n margin-top: 1em;\n display: none;\n padding-top: 10px;\n padding-left: 10px;\n overflow: auto;\n text-align: justify; }\n\n.wpstg--modal--error--logs {\n height: auto;\n max-height: 300px; }\n\n.wpstg--modal--process--logs p {\n font-size: 12px;\n white-space: nowrap; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--info {\n color: #222222; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--debug {\n color: #757575; }\n\n.wpstg--modal--process--title {\n color: #565656;\n margin: .25em 0; }\n\n.wpstg--modal--process--subtitle {\n margin: .5em 0;\n color: #565656; }\n\n.wpstg--modal--error--logs > p {\n text-align: left;\n font-size: 14px;\n color: #222222; }\n\n.wpstg--modal--process--logs p,\n.wpstg--modal--error--logs p {\n margin: 0px;\n margin-bottom: 2px; }\n\n.wpstg--modal--process--msg--error {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--critical {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--warning {\n color: darkorange; }\n\n.wpstg--modal--process--msg-found {\n font-size: 16px;\n color: #E01E5A;\n font-weight: bold; }\n\n.wpstg--modal--delete {\n text-align: left;\n margin-top: 8px;\n color: #565656; }\n\n.wpstg-swal-popup .wpstg--swal2-cancel.wpstg--btn--cancel {\n margin-bottom: 0;\n text-shadow: none !important; }\n\n.wpstg-swal-popup .wpstg-loader {\n display: inline-block !important; }\n\n.wpstg--modal--process--generic-problem {\n display: none;\n border-left: 5px solid #E01E5A;\n margin: .5em 0; }\n\n.wpstg--modal--process--logs--tail {\n font-size: 16px;\n color: #565656;\n background: none;\n border: none;\n cursor: pointer;\n text-decoration: underline; }\n\n.wpstg--modal--backup--import--upload--title {\n color: #3e3e3e; }\n\n.wpstg--modal--backup--import--configure,\n.wpstg--modal--backup--import--upload--status,\n.wpstg--modal--backup--import--upload--container input[type=\"file\"] {\n display: none; }\n\n#wpstg--backups--import--file-list {\n font-size: 14px;\n font-weight: bold; }\n\n#wpstg--backups--import--file-list-empty {\n color: #E01E5A; }\n\n.wpstg--modal--backup--import--filesystem label {\n font-size: 14px; }\n\n.wpstg--modal--backup--import--filesystem button {\n margin-bottom: 20px; }\n\n.wpstg--modal--backup--import--upload {\n position: relative;\n min-height: 30px; }\n\n.wpstg--modal--backup--import--upload {\n color: #505050; }\n\n.wpstg--modal--backup--import--upload--container {\n position: relative;\n border-radius: 10px;\n margin: .5em;\n padding: 1em .5em;\n border: 3.5px dashed #dedede;\n transition: background-color 0.3s ease, color 0.3s ease;\n background-color: #f4fbff;\n min-height: 130px; }\n\n.wpstg--modal--backup--import--upload--container.wpstg--has-dragover span.wpstg--drop {\n display: inline-flex; }\n\n.wpstg--modal--backup--import--upload--container input[type='file'] {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container img {\n margin-top: 10px;\n width: 4em;\n align-self: center;\n border: none; }\n\n.wpstg--modal--backup--import--upload--container span {\n margin-top: 1em; }\n\n.wpstg--backup--import--options > button {\n margin-top: 1em;\n padding: 1em;\n align-self: center;\n width: 185px;\n height: auto;\n line-height: normal; }\n\n.wpstg--backup--import--options {\n position: relative;\n display: flex;\n justify-content: center; }\n\n.wpstg--backup--import--options ul {\n display: none; }\n\n.wpstg--backup--import--options.wpstg--show-options ul {\n padding: 0;\n margin: 54px 0 0 0;\n display: block;\n position: absolute;\n width: 185px;\n background: #25a1f0;\n box-sizing: border-box;\n border-radius: 0 0 3px 3px;\n border-width: 1px;\n border-color: #2188c9;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li {\n border-bottom: .1em solid #25a1f0;\n margin: 0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:hover {\n background-color: #25a1f0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:last-child {\n border-bottom: none; }\n\n.wpstg--backup--import--options ul li button {\n cursor: pointer;\n background: none;\n border: none;\n margin: 0;\n width: 100%;\n color: white;\n height: 40px;\n line-height: 40px; }\n\n.wpstg--backup--import--options ul li button:hover {\n background-color: #259be6; }\n\n.wpstg--modal--backup--import--search-replace--info {\n margin: 1em 0;\n display: flex;\n flex-direction: row; }\n\n.wpstg--modal--backup--import--info p {\n text-align: left;\n margin: 0; }\n\n.wpstg--modal--backup--import--search-replace--wrapper button {\n align-self: center; }\n\n.wpstg--import--advanced-options--button {\n border: 0;\n border-radius: 3px;\n font-size: 18px;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n cursor: pointer; }\n\n.wpstg--modal--backup--import--search-replace--new {\n color: white;\n background-color: #25a1f0; }\n\n.wpstg--modal--backup--import--search-replace--remove {\n color: white;\n background-color: #25a1f0;\n width: 22px;\n height: 22px;\n margin-left: 5px; }\n\n.wpstg--modal--backup--import--search-replace--input-group:first-child button {\n display: none; }\n\n.wpstg--modal--backup--import--search-replace--input--container {\n flex: 1;\n display: flex;\n flex-direction: column; }\n\n.wpstg--modal--backup--import--search-replace--input-group {\n width: 100%;\n border-bottom: 6px solid #f1f1f1;\n margin-bottom: 10px; }\n\n.wpstg--modal--backup--import--search-replace--input-group input {\n min-width: 250px;\n width: calc(50% - 4px - 11px - 5px);\n /* -4px is half of the padding; -11px is half of the button; -5 is the margin left of the button */\n display: inline-block;\n line-height: 10px;\n border: 1px solid #dedede;\n border-radius: 3px;\n color: #666;\n padding: 8px;\n margin-bottom: 12px; }\n\n.wpstg--modal--import--upload--process {\n display: none;\n position: relative;\n height: 30px;\n margin-top: 20px;\n margin-bottom: 20px;\n width: 100%;\n top: 0;\n left: 0;\n text-indent: 1em;\n white-space: nowrap;\n overflow: hidden;\n color: #333333;\n justify-content: center;\n align-items: center; }\n\n.wpstg--modal--import--upload--progress {\n position: absolute;\n background: #98d452;\n color: white;\n height: 100%;\n border-radius: 4px;\n left: 0;\n top: 0; }\n\n.wpstg--modal--import--upload--progress--title {\n z-index: 9; }\n\n.wpstg-fieldset:disabled {\n opacity: 0.8;\n border-top: 1px solid white;\n margin-top: 20px; }\n\n.wpstg-fieldset {\n padding-left: 20px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-dark-alert {\n font-weight: bold;\n background-color: #0e86d9;\n padding: 30px;\n margin-top: 0px;\n color: white; }\n\n.wpstg-dark-alert ul {\n list-style: initial; }\n\n.wpstg-form-group {\n display: block;\n width: 100%;\n margin-bottom: 8px;\n align-items: center; }\n\n.wpstg-form-group > label {\n display: block;\n font-weight: 700; }\n\n.wpstg-text-field > input {\n width: 300px;\n display: block;\n line-height: 1.5; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-text-field > .wpstg-code-segment {\n margin-top: 4px;\n min-width: 300px; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%;\n position: relative; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n left: 150px; }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-ml-4 {\n margin-left: 4px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-advanced-settings hr {\n margin: 20px 0; }\n\n.wpstg-form-row {\n display: block; }\n\n.wpstg-form-row label,\n.wpstg-form-row input {\n display: table-cell;\n padding-left: 5px;\n padding-right: 5px;\n margin-top: 3px;\n margin-bottom: 3px; }\n\n.wpstg-form-row input {\n width: 400px; }\n\n.wpstg-form-row label {\n font-weight: bold;\n width: 1px;\n white-space: nowrap; }\n\n#wpstg-db-connect-output #wpstg-db-status {\n width: 390px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n margin-left: 10px; }\n\n@media only screen and (max-width: 768px) {\n .wpstg-form-group > label {\n min-width: auto;\n width: auto; }\n .wpstg-text-field > input {\n width: 100%; }\n .wpstg-text-field > .wpstg-code-segment {\n margin-left: 0;\n min-width: 100%; }\n .wpstg-tab-section {\n width: calc(100vw - 60px);\n max-width: 450px; } }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-m-0 {\n margin: 0; }\n\n.wpstg-mt-10px {\n margin-top: 10px !important; }\n\n.wpstg-mr-10px {\n margin-right: 10px !important; }\n\n.wpstg-my-10px {\n margin-top: 10px !important;\n margin-bottom: 10px !important; }\n\n.wpstg-w-100 {\n width: 100%; }\n\n.wpstg-box-shadow {\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-bold-text {\n font-weight: bold; }\n\n.wpstg-warning.notice {\n border-left: 4px solid #ffba00; }\n\n.wpstg-confirmation-label {\n background-color: #5b9dd9;\n color: #fff;\n padding: 2px;\n border-radius: 3px; }\n\n.wpstg-my-6px {\n margin-bottom: 6px;\n margin-top: 6px; }\n\n.wpstg-mb-10px {\n margin-bottom: 10px; }\n\n.wpstg-clear-both {\n clear: both; }\n\n.wpstg-font-italic {\n font-style: italic; }\n\n.wpstg-mt-20px {\n margin-top: 20px; }\n\n.wpstg-welcome-container {\n border: 2px solid white;\n padding: 20px;\n margin-bottom: 20px; }\n\n.wpstg-ml-30px {\n margin-left: 30px; }\n\n.wpstg-text-center {\n text-align: center; }\n\n.wpstg-feedback-link {\n text-decoration: none; }\n\n.wpstg-feedback-span {\n display: block;\n margin-bottom: 3px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-confirm-backup-restore-wrapper {\n margin: 30px;\n margin-top: 0; }\n\n#wpstg-confirm-backup-restore-wrapper h3 {\n color: #E01E5A; }\n\n#wpstg-progress-db,\n#wpstg-progress-backup {\n background-color: #3fa5ee; }\n\n#wpstg-progress-sr,\n#wpstg-progress-files.wpstg-pro {\n background-color: #3c9ee4; }\n\n#wpstg-progress-dirs,\n#wpstg-progress-data {\n background-color: #3a96d7; }\n\n#wpstg-progress-files:not(.wpstg-pro),\n#wpstg-progress-finishing {\n background-color: #378cc9; }\n\n.wpstg-issue-resubmit-confirmation.wpstg--swal2-container,\n.wpstg-swal2-container.wpstg--swal2-container {\n z-index: 10500; }\n\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-actions,\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-header {\n display: none; }\n\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container .wpstg--swal2-content,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container .wpstg--swal2-content {\n z-index: 2; }\n\n.toplevel_page_wpstg_clone #swal2-content h2 {\n color: #3e3e3e; }\n\n.toplevel_page_wpstg_clone #swal2-content {\n line-height: 1.5em; }\n\ndiv#exportUploadsWithoutDatabaseWarning {\n font-style: italic;\n font-size: 0.9rem;\n margin: 10px;\n padding: 10px;\n border: 1px solid #e3e3e3;\n border-radius: 5px;\n text-align: center;\n background-color: #fafafa; }\n\n.wpstg-advanced-options-dropdown-wrapper {\n display: none;\n /* ENABLE WHEN WE HAVE ADVANCED OPTIONS FOR EXPORTING */\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--wrapper {\n text-align: left;\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--new--wrapper {\n text-align: center; }\n\n.wpstg-import-backup-contains li {\n display: inline-block;\n margin-bottom: 0px; }\n\n.wpstg-import-backup-contains li .wpstg-backups-contains {\n border-radius: 3px;\n color: #979797;\n background-color: #f4f4f4 !important;\n width: 18px;\n height: 18px;\n font-size: 17px; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains {\n padding: 2px;\n background-color: white; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains > .wpstg--dashicons {\n filter: invert(35%); }\n\n.wpstg-import-backup-contains .wpstg--tooltiptext {\n width: 80px;\n font-size: 13px;\n padding: 5px;\n left: -25px;\n text-align: center; }\n\n.wpstg-import-backup-contains-title {\n display: inline-block; }\n\nul.wpstg-import-backup-contains {\n display: inline-block; }\n\n.wpstg-import-backup-name {\n display: inline-block;\n font-weight: bold; }\n\n.wpstg-backup-more-info-toggle {\n font-size: x-small;\n display: inline-block;\n font-style: italic;\n cursor: pointer; }\n\n.wpstg-backup-more-info-toggle::selection {\n background: none; }\n\nul.wpstg-import-backup-more-info {\n font-size: 14px;\n text-align: left;\n margin-bottom: 30px;\n margin-top: 10px;\n background-color: #f6f6f6;\n border: 1px solid #878787;\n border-radius: 3px;\n padding: 7px;\n cursor: pointer; }\n\nul.wpstg-import-backup-more-info:hover {\n background-color: #def2ff;\n border: 1px solid #25a1f0; }\n\nul.wpstg-import-backup-more-info li {\n height: 20px; }\n\n.wpstg-backup-list {\n max-width: 800px; }\n\n.wpstg-backup-list h3 {\n color: #3e3e3e; }\n\n.wpstg-backup-list ul ul {\n margin-block-start: 1em;\n margin-block-end: 1em; }\n\n.wpstg-push-confirmation-message {\n text-align: justify;\n font-size: 15px; }\n\n.wpstg-settings-row {\n padding-top: 10px;\n padding-bottom: 10px; }\n\n.wpstg-settings-title {\n font-weight: 600; }\n\n.wpstg-settings-form-group {\n display: flex;\n align-items: center; }\n\n.wpstg-settings-form-group > .wpstg-settings-message {\n width: 30%;\n padding: 0;\n margin: 7px 0 0; }\n\n/**\n * WP STAGING EXCLUSION RULES TABLE LAYOUT\n */\n.wpstg-excluded-filters-container {\n padding: 0;\n margin-top: 10px;\n margin-bottom: 10px;\n max-width: 100%;\n width: 100%; }\n\n.wpstg-excluded-filters-container > table {\n width: 100%;\n border-collapse: collapse;\n border-color: transparent; }\n\n.wpstg-excluded-filters-container td {\n padding-top: 4px;\n padding-bottom: 4px;\n height: 20px; }\n\n.wpstg-excluded-filters-container h4 {\n margin: 0; }\n\n.wpstg-exclude-filters-foot {\n display: flex;\n justify-content: flex-start;\n padding: 0; }\n\n/**\n * WP STAGING EXCLUSION RULE DROPDOWN STYLE\n */\n.wpstg-exclude-filter-dropdown > button:hover {\n background: #135e96;\n border: 1px solid #135e96; }\n\n.wpstg-exclude-filter-dropdown > .wpstg-dropdown-menu {\n width: 128px; }\n\n.wpstg-remove-exclude-rule {\n color: #fff !important;\n background-color: #e01e5a;\n border: 1px solid #e01e5a;\n width: 20px;\n height: 20px;\n border-radius: 10px;\n font-size: 24px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n line-height: 0.7;\n margin-top: 5px;\n cursor: pointer; }\n\n.wpstg-remove-exclude-rule:hover {\n background-color: #E01E5A;\n border-color: #E01E5A; }\n\n.wpstg-code-block {\n margin-top: 4px;\n font-size: 1.2em;\n background: #f8f8f8;\n border-radius: 2px; }\n\n.wpstg-rule-info {\n background: #f8f8f8 !important; }\n\ncode.wpstg-code {\n display: inline-block;\n font-size: 11px;\n border: 1px solid #aaa;\n background: #fff;\n padding: 2px 4px;\n margin-bottom: 1px;\n color: #E01E5A; }\n\n.wpstg-exclusion-rule-info {\n color: #fff !important;\n background-color: #ffc107;\n border: 1px solid #ffc107;\n width: 14px;\n height: 14px;\n border-radius: 7px;\n font-size: 14px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n vertical-align: middle; }\n\n.wpstg-exclusion-rule-info:hover {\n background-color: #ffba0c;\n border: 1px solid #ffba0c; }\n\n/**\n * WP STAGING INPUTS EXCLUSION RULES\n */\n.wpstg-exclude-rule-input {\n font-size: 12px !important;\n padding: 2px 6px;\n box-shadow: none;\n outline: none !important;\n display: inline-block;\n font-weight: 400;\n line-height: 1.5;\n color: #222;\n border-radius: 0 !important;\n background-color: #fff;\n border: 1px solid #bbb;\n min-height: 24px !important;\n margin-top: 4px;\n margin-left: 4px;\n vertical-align: baseline !important;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n width: 135px; }\n\n.wpstg-excluded-filters-container tbody > tr:last-child .wpstg-exclude-rule-input {\n margin-bottom: 4px; }\n\n.wpstg-exclude-rule-input:hover {\n border: 1px solid #999; }\n\n.wpstg-exclude-rule-input:focus {\n border: 1px solid #25A0F1 !important;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important; }\n\n.wpstg-file-size-exclude-select,\n.wpstg-path-exclude-select {\n width: 135px; }\n\n.wpstg-file-size-exclude-select-small {\n width: 52px; }\n\n.wpstg-file-size-exclude-input {\n width: 75px; }\n\n.wpstg-staging-option-title {\n margin: 15px 0 0; }\n\n.wpstg-swal-push-container.wpstg--swal2-container {\n z-index: 9995; }\n\n#wpstg-scanning-files {\n padding-bottom: 5px; }\n\n#wpstg-scanning-files.wpstg-tab-section, #wpstg-scanning-db.wpstg-tab-section {\n padding-top: 10px; }\n\n.wpstg-reset-excludes-container {\n margin: 10px 0; }\n\n.wpstg-swal2-ajax-loader {\n width: 100%;\n height: 150px;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center; }\n\n@keyframes wpstg-loading-icon-anim {\n 0% {\n transform: rotate(0); }\n 100% {\n transform: rotate(360deg); } }\n\n.wpstg-swal2-ajax-loader > img {\n width: 64px;\n height: 64px;\n animation: wpstg-loading-icon-anim 1s infinite linear;\n -webkit-animation: wpstg-loading-icon-anim 1s infinite linear; }\n\n.wpstg-swal2-container .wpstg-tab-section {\n width: auto !important; }\n\n#wpstg-no-staging-site-results {\n margin-top: 10px;\n max-width: 375px; }\n\nli#wpstg-backup-no-results {\n max-width: 500px; }\n\nli#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n display: inline-block;\n text-align: center; }\n\nli#wpstg-backup-no-results .wpstg--dashicons, #wpstg-no-staging-site-results .wpstg--dashicons {\n filter: invert(50%);\n position: absolute;\n margin-top: 1px; }\n\nli#wpstg-backup-no-results .no-backups-found-text, #wpstg-no-staging-site-results .no-staging-site-found-text {\n color: #5d5d5d;\n margin-left: 20px; }\n\n@media only screen and (max-width: 680px) {\n li#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n width: 100%; } }\n\n#wpstg--modal--backup--download-inner p.wpstg-download-modal-text {\n font-size: 16px;\n color: #565656; }\n\n#wpstg--modal--backup--download-inner h2 {\n color: #565656; }\n\n.wpstg-backup-restore-contains-database,\n.wpstg-backup-restore-contains-files {\n display: none; }\n\n.wpstg-green-button {\n background: #8bc34a;\n border: 1px solid #78a93f;\n color: white;\n text-shadow: 0 -1px 1px #78a93f, 1px 0 1px #78a93f, 0 1px 1px #40c921, -1px 0 1px #78a93f; }\n\n.wpstg-green-button:hover {\n background: #78a93f; }\n\n.wpstg-is-dir-loading {\n position: absolute;\n margin-top: -2px;\n margin-left: 8px;\n display: none; }\n\n.wpstg-ml-8px {\n margin-left: 8px; }\n\n.wpstg-mb-8px {\n margin-bottom: 8px; }\n\n.wpstg-btn-danger {\n background-color: #E01E5A;\n border: 1px solid #E01E5A;\n color: white;\n text-shadow: none; }\n\n.wpstg-btn-danger:hover {\n background: #c0194d;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }\n\n.wpstg-swal2-container.wpstg-swal2-loading > .wpstg--swal2-modal {\n height: 200px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm > .wpstg--swal2-modal {\n height: 100px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm .wpstg-swal2-ajax-loader img {\n height: 32px;\n width: 32px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container:not(.wpstg-swal2-loading) > .wpstg--swal2-modal {\n max-width: 480px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-header {\n display: none; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-content {\n height: auto; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n overflow-y: auto;\n height: auto !important; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content {\n font-size: 13px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-dir {\n margin-bottom: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-subdir {\n margin-top: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open .wpstg--swal2-modal {\n height: calc(100vh - 70px); }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n height: calc(100vh - 350px) !important; }\n\n.wpstg--swal2-actions.wpstg--modal--actions > button {\n margin-left: 4px;\n margin-right: 4px;\n text-transform: uppercase;\n text-shadow: initial;\n font-weight: 500;\n min-width: 80px; }\n\n.wpstg-swal-popup {\n max-width: 1200px !important; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title {\n color: #a8a8a8; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content {\n margin-top: 8px;\n color: #a8a8a8; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n background: #25a1f0; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n width: 2.75em; }\n\n.wpstg--dashicons {\n width: 16px;\n height: 16px; }\n\n.wpstg--dashicons.wpstg-dashicons-grey {\n filter: invert(20%); }\n\n.wpstg--dashicons.wpstg-dashicons-19 {\n width: 19px;\n height: 19px; }\n\n.wpstg--dashicons.wpstg-dashicons-21 {\n width: 21px;\n height: 21px; }\n\n#wpstg--tab--backup #wpstg-step-1 {\n display: flex;\n align-items: center; }\n\n.wpstg-advanced-options .wpstg--tooltip,\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: inline-flex;\n align-items: center; }\n\n.wpstg-advanced-options-site .wpstg--tooltip img.wpstg--dashicons {\n filter: invert(17%) sepia(0%) saturate(1%) hue-rotate(195deg) brightness(97%) contrast(77%); }\n\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: flex;\n align-items: center; }\n\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n left: calc(20% + 2px); }\n\n.wpstg-listing-single-backup .wpstg--dashicons {\n width: 17px;\n height: 17px; }\n\n.wpstg-100-width {\n width: 100px; }\n\n.wpstg-caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-caret.wpstg-caret-up {\n transform: rotate(-180deg); }\n\n.wpstg-advanced-options-site label {\n font-size: 16px;\n display: block;\n margin: .5em 0; }\n\n#wpstg-confirm-backup-restore-data {\n font-size: 18px;\n margin: 0;\n margin-top: 30px; }\n\n/* Sweetalert WP STAGING Theme */\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container.wpstg--swal2-backdrop-show,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-show {\n background: rgba(0, 0, 0, 0.6);\n z-index: 9995; }\n\n.wpstg-swal-popup.wpstg--swal2-popup {\n border-radius: 8px;\n z-index: 9999;\n padding: 24px;\n color: #3e3e3e;\n font-family: Verdana, Geneva, Tahoma, sans-serif; }\n\n.wpstg-swal-popup .wpstg--swal2-title {\n font-size: 22px;\n color: #3e3e3e; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-title {\n align-self: flex-start;\n /* For an actual Swal title */\n text-align: left;\n /* Manually adding this class to a non flex display */\n margin-bottom: 0; }\n\n.wpstg-swal-popup .wpstg--swal2-close {\n top: 8px;\n right: 8px;\n z-index: 5; }\n\n.wpstg-swal-popup .wpstg--swal2-close:focus {\n outline: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions {\n justify-content: flex-end; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button {\n border-radius: 4px;\n font-weight: 900;\n border: 0;\n font-size: 15px;\n padding: 10px 12px;\n text-transform: capitalize;\n line-height: normal;\n height: 40px;\n min-width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions > button {\n margin-left: 8px; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel {\n border: 1px solid rgba(29, 28, 29, 0.3);\n background: #fff;\n color: #1d1c1d;\n font-weight: 500;\n width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button:hover {\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel:hover {\n background: rgba(28, 29, 28, 0.04); }\n\n#wpstg-backup-name-input {\n height: 44px;\n font-size: 18px; }\n\n.wpstg-restore-finished-container .wpstg--swal2-title {\n color: #565656 !important; }\n\n/*#wpstg-restore-success {\n color: #565656;\n}*/\n.wpstg-restore-finished-container .wpstg--swal2-content {\n margin-top: 20px;\n color: #a8a8a8; }\n\n/* WP Staging Implementation of Windows Style Linear Loader */\n.wpstg-linear-loader > span[class*=\"wpstg-linear-loader-item\"] {\n height: 6px;\n width: 6px;\n background: #333;\n display: inline-block;\n margin: 12px 2px;\n border-radius: 100%;\n animation: wpstg_linear_loader 3s infinite;\n animation-timing-function: cubic-bezier(0.03, 0.615, 0.995, 0.415);\n animation-fill-mode: both; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(1) {\n animation-delay: 1s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(2) {\n animation-delay: 0.8s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(3) {\n animation-delay: 0.6s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(4) {\n animation-delay: 0.4s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(5) {\n animation-delay: 0.2s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(6) {\n animation-delay: 0s; }\n\n@keyframes wpstg_linear_loader {\n 0% {\n transform: translateX(-30px);\n opacity: 0; }\n 25% {\n opacity: 1; }\n 50% {\n transform: translateX(30px);\n opacity: 0; }\n 100% {\n opacity: 0; } }\n\n/* END - Windows Style Linear Loader */\n.wpstg--modal--backup--import--upload--content {\n padding: .75em;\n margin: 1em auto; }\n\n.wpstg--modal--backup--import--upload--content .wpstg-linear-loader {\n display: none; }\n\n#wpstg-multisite-disabled .wpstg-clone {\n width: 355px; }\n\n#wpstg-free-version-backups .wpstg-clone p {\n font-size: 16px; }\n\n.wpstg-staging-info li .backup-notes {\n word-break: break-word; }\n\n.wpstg--modal--import--upload--progress--title small {\n font-weight: normal; }\n\n#wpstg-report-issue-wrapper {\n position: relative; }\n\n#wpstg-report-issue-wrapper .arrow-up {\n width: 0;\n height: 0;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 8px solid white;\n position: absolute;\n top: -8px;\n right: 40px; }\n\n.notice {\n margin: 10px 20px 0 2px; }\n\n.wpstg--notice {\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n margin: 20px 20px 20px 0px;\n padding: 1px 12px; }\n\n.wpstg--error a:hover {\n color: #eeeeee; }\n\n.wpstg--error, .wpstg--error a {\n background: #E01E5A;\n color: white; }\n\n/**\n * Buttons\n */\n.wpstg-button {\n display: inline-block;\n border-radius: 2px;\n cursor: pointer;\n padding: 2px 10px 2px 10px;\n text-transform: uppercase;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button.wpstg-save {\n background-color: #1687A7;\n color: white; }\n\n.wpstg-button.wpstg-save:hover {\n background-color: #276678; }\n\n.wpstg-button.wpstg-button-light {\n background-color: #f8f8f8;\n border: 1px solid #eee;\n color: #333;\n animation: background-color 0.3s; }\n\n.wpstg-button.wpstg-button-light:hover {\n background-color: #e0e0e0;\n border: 1px solid #e0e0e0; }\n\n.wpstg-buttons .spinner {\n float: none;\n margin: 0 0 0 5px; }\n\n.wpstg-button.danger {\n display: inline-block;\n text-decoration: none;\n text-align: center;\n text-transform: inherit;\n background-color: #E01E5A;\n color: white;\n border-radius: 2px;\n border-color: transparent; }\n\n.wpstg-button.danger:hover {\n background-color: #c0194d; }\n\n.wpstg-button--big {\n display: inline-block;\n padding: 10px;\n min-width: 170px;\n font-size: 16px;\n text-decoration: none;\n text-align: center;\n margin-top: 20px;\n color: white;\n border-radius: 3px; }\n\n.wpstg-button--primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n line-height: 2.15384615;\n min-height: 30px;\n margin: 0;\n padding: 0 10px;\n cursor: pointer;\n border: 1px solid rgba(29, 28, 29, 0.3);\n -webkit-appearance: none;\n border-radius: 2px;\n white-space: nowrap;\n box-sizing: border-box;\n color: #171717; }\n\n.wpstg-button--primary:hover {\n background: rgba(28, 29, 28, 0.04);\n color: black; }\n\n.wpstg-button--secondary {\n display: inline-block;\n background-color: transparent;\n color: #95a5a6;\n border-radius: 2px;\n border: 1px solid rgba(29, 28, 29, 0.3);\n cursor: pointer;\n padding: 4px 10px 2px 10px;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button--red {\n background-color: #E01E5A;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--red:hover {\n background-color: #d02358;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--cta-red {\n background-color: #fe008f;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--cta-red:hover {\n background-color: #f31391;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--blue {\n background-color: #25A0F1;\n border-color: #25A0F1;\n color: white; }\n\n.wpstg-button--blue:hover {\n background-color: #259be6;\n border-color: #259be6;\n color: white; }\n\n#wpstg-button-backup-upgrade {\n font-size: 16px;\n width: 150px;\n text-align: center; }\n\n.wpstg-staging-status {\n color: #E01E5A; }\n\n#wpstg-push-changes,\n#wpstg-start-updating,\n#wpstg-save-clone-data {\n margin-left: 5px; }\n\ninput.wpstg-textbox {\n border: 1px solid #aaa;\n border-radius: .25rem;\n padding: 0.25rem 0.5rem;\n font-size: 14px; }\n\ninput.wpstg-textbox:focus {\n outline: 0;\n border-color: #259be6;\n -webkit-box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35);\n box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35); }\n\ninput.wpstg-textbox::placeholder {\n color: #888; }\n\n.wpstg--advance-settings--checkbox {\n display: flex;\n align-items: center; }\n\n.wpstg--advance-settings--checkbox > label {\n font-size: 14px;\n font-weight: bolder;\n width: 165px;\n display: inline-block; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip {\n margin-top: 5px;\n margin-left: 5px;\n position: relative;\n display: inline-block;\n border-bottom: 0px solid transparent; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip > .wpstg--tooltiptext {\n top: 18px;\n left: -150px; }\n\ndiv#wpstg-restore-wait {\n display: none;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n height: 100vh;\n width: 100vw;\n position: fixed;\n top: 0;\n left: 0;\n background: white;\n z-index: 99999; }\n\ndiv#wpstg-restore-wait .wpstg-title {\n font-weight: bold; }\n\ndiv#wpstg-restore-wait div {\n font-size: 16px;\n margin-top: 12px; }\n\n.resumable-browse {\n cursor: pointer; }\n\n.resumable-browse a {\n text-decoration: underline; }\n\n.wpstg-upload-text {\n font-weight: 600; }\n\n.wpstg--modal--backup--import--upload--container.dragover {\n transition: background-color 0.7s;\n background-color: #94dc96;\n color: #FFF; }\n\n.wpstg--modal--backup--import--upload--container.dragover * {\n pointer-events: none;\n /* Avoids flickering when dragging to drop a file */ }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-upload-text {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-dragover-text {\n display: block; }\n\n.wpstg--modal--backup--import--upload--container .wpstg-dragover-text {\n display: none; }\n\n#wpstg-invalid-license-message, #wpstg-invalid-license-message a {\n font-weight: 500;\n color: #E01E5A;\n margin-left: 6px; }\n\n#wpstg-sidebar--banner {\n max-width: 200px; }\n\n@media screen and (max-width: 1234px) {\n .wpstg-h2 {\n font-size: 24px; }\n #wpstg-welcome li {\n font-size: 14px; } }\n\n.wpstg-exclamation {\n color: #ffffff;\n border-radius: 100%;\n background-color: #E01E5A;\n width: 20px;\n height: 20px;\n text-align: center;\n font-weight: bold;\n display: inline-block;\n margin: 6px; }\n\n.wpstg--tab--contents {\n padding-top: 1px; }\n\n.wpstg-swal-show.wpstg--swal2-show {\n -webkit-animation: wpstg-swal-show 0.2s !important;\n animation: wpstg-swal-show 0.2s !important; }\n\n@-webkit-keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n@keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n.wpstg-tab-item--vert-center {\n display: flex;\n align-items: center; }\n\n.wpstg-db-comparison-modal {\n padding-left: 10px;\n padding-right: 10px; }\n\n.wpstg-db-comparison-table {\n font-size: 13px;\n width: 100%; }\n\n.wpstg-db-comparison-table tbody td {\n padding-top: 6px; }\n\n.wpstg-db-comparison-table tr > td:first-child,\n.wpstg-db-comparison-table tr > th:first-child {\n text-align: left; }\n\n.wpstg-css-tick {\n display: inline-block;\n transform: rotate(45deg);\n height: 12px;\n width: 6px;\n border-bottom: 3px solid #78b13f;\n border-right: 3px solid #78b13f; }\n\n.wpstg-css-cross {\n position: relative;\n top: -8px;\n left: -2px;\n width: 16px;\n height: 16px; }\n\n.wpstg-css-cross:before, .wpstg-css-cross:after {\n position: absolute;\n content: ' ';\n height: 17px;\n width: 3px;\n background-color: #E01E5A; }\n\n.wpstg-css-cross:before {\n transform: rotate(45deg); }\n\n.wpstg-css-cross:after {\n transform: rotate(-45deg); }\n\n.wpstg-selection-preview {\n font-size: 12px;\n margin-left: 20px;\n color: #3216; }\n\n.wpstg-selection-preview.danger {\n color: #E01E5A; }\n\n.wpstg--backup-automated {\n margin-bottom: -5px; }\n\n.wpstg--dismiss-schedule {\n cursor: pointer; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup {\n vertical-align: middle; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li {\n padding: 2px; }\n\n.wpstg--modal--backup--manage--schedules--content table {\n margin: 0 auto;\n width: 100%; }\n\n.wpstg--modal--backup--manage--schedules--title {\n text-align: left;\n margin-bottom: 10px;\n margin-top: 0px; }\n\n.wpstg--modal--backup--import--upload--title {\n text-align: center; }\n\n#wpstg--modal--backup--manage--schedules--content {\n text-align: left; }\n\n#wpstg--modal--backup--manage--schedules--content thead {\n font-weight: bold; }\n\n#wpstg--modal--backup--manage--schedules--content .wpstg--tooltip.wpstg--dismiss-schedule {\n border-bottom: none; }\n\n.wpstg--tooltip.wpstg--dismiss-schedule img.wpstg--dashicons {\n filter: invert(18%) sepia(57%) saturate(6238%) hue-rotate(332deg) brightness(93%) contrast(88%); }\n\n#wpstg--modal--backup--manage--schedules--content td {\n padding-right: 25px;\n padding-top: 10px; }\n\n#wpstg--modal--backup--manage--schedules--content td:last-child {\n padding-right: 0px; }\n\n#wpstg--modal--backup--manage--schedules--content ul {\n margin-top: 0;\n margin-bottom: 0; }\n\n#wpstg--modal--backup--manage--schedules--content ul li:first-child .wpstg--tooltip {\n margin-left: 0; }\n\n.wpstg-button:disabled {\n background-color: #dddddd;\n text-shadow: none;\n color: #b3b3b3;\n border: 1px solid #cfcfcf;\n cursor: not-allowed; }\n\n#wpstg-backup-runs-info {\n margin: 0px;\n margin-top: 20px;\n padding: 0px;\n font-size: 12px; }\n\n#wpstg-backup-runs-info li {\n margin: 0px; }\n\ndiv#wpstg-backup-locked {\n width: 100%;\n max-width: calc(800px - 30px);\n padding: 15px;\n background: white;\n margin-bottom: 10px;\n display: flex;\n align-items: center; }\n\n#wpstg-backup-locked .icon {\n display: inline-block;\n height: 20px; }\n\n#wpstg-backup-locked .icon img {\n animation: wpstg-loading-icon-anim 2s infinite; }\n\n#wpstg-backup-locked .text {\n display: inline-block;\n margin-left: 15px; }\n\n#backup-schedule-current-time {\n font-size: 12px; }\n\n.wpstg-backup-scheduling-options label {\n margin-top: 17px; }\n\n.wpstg-backup-scheduling-options .wpstg-storage-option {\n display: block;\n margin: .5em 0;\n font-size: 15px; }\n\n.wpstg-storage-option > span:not(.wpstg-storage-settings) {\n width: 150px;\n display: inline-block; }\n\n.wpstg-storages-postbox {\n padding: 13px 16px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: white; }\n\n.wpstg-storages-postbox a {\n padding: 8px;\n margin-right: 8px;\n text-decoration: none;\n font-weight: bold;\n color: #3c434a; }\n\n.wpstg-storages-postbox a:hover {\n color: #b70b72; }\n\n.wpstg-storage-postbox {\n padding: 4px 16px;\n background-color: white; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active {\n background: #b70b72;\n color: white;\n font-weight: 700;\n cursor: default;\n border-radius: 3px; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active:hover {\n background: #a10a64; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-disabled {\n color: #999;\n cursor: not-allowed; }\n\n.wpstg-provider-revoke-form {\n display: inline;\n margin-top: 12px;\n margin-bottom: 12px; }\n\n.wpstg-provider-settings-form {\n margin-top: 10px; }\n\n.wpstg-provider-settings-form strong {\n display: block;\n margin: 8px 0; }\n\n.wpstg-provider-settings-form p {\n margin: 0;\n margin-bottom: 8px; }\n\n.wpstg-provider-settings-form fieldset {\n margin: 0;\n padding: 0;\n margin-bottom: 16px; }\n\n.wpstg-provider-settings-form fieldset p {\n margin: 0;\n padding: 5px;\n font-size: 12px; }\n\n.wpstg-provider-settings-form fieldset label {\n display: block;\n margin-bottom: 2px; }\n\n.wpstg-provider-settings-form fieldset input {\n font-size: 12px; }\n\n.wpstg-provider-settings-form .wpstg-link-btn.wpstg-blue-primary {\n text-shadow: none; }\n\n.wpstg-btn-google {\n font-family: Roboto;\n display: inline-flex;\n align-items: center;\n border-width: 0;\n outline: none;\n border-radius: 3px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);\n color: #555;\n transition: background-color .3s;\n padding: 8px;\n padding-right: 16px;\n height: 40px;\n line-height: 40px;\n font-size: 14px;\n box-sizing: border-box;\n text-decoration: none;\n font-weight: bold;\n margin-right: 10px; }\n\n.wpstg-btn-google img {\n width: 18px;\n height: 18px;\n margin-right: 12px;\n margin-left: 5px; }\n\n#wpstg-custom-google-credentials {\n margin-top: 20px; }\n\n.wpstg-fieldset .wpstg-with-icon {\n display: inline-flex;\n align-items: center; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon {\n margin-left: 8px; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon img {\n width: 16px;\n height: 16px; }\n\n#wpstg-btn-provider-revoke {\n border-radius: 2px; }\n\n.wpstg-metabox-holder {\n border-radius: 8px;\n background: #fff;\n padding: 20px;\n margin-left: 16px;\n min-height: 600px;\n margin-right: 32px;\n margin-top: 60px;\n -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n@media only screen and (max-width: 680px) {\n .wpstg-metabox-holder {\n padding: 0px;\n padding-top: 5px;\n margin-left: 0;\n margin-right: 5px; }\n #wpstg-tab-container .wpstg-settings-panel {\n padding: 0;\n overflow: auto; }\n .wpstg-form-table td:first-child {\n width: 50%; } }\n\n.wpstg-nav-tab {\n float: left;\n border: 1px solid #ffffff;\n border-bottom: none;\n margin-left: 0.5em;\n padding: 5px 10px;\n font-size: 14px;\n line-height: 1.71428571;\n font-weight: 600;\n background: #dcdcde;\n color: #3c434a;\n text-decoration: none;\n white-space: nowrap; }\n\n.wpstg-nav-tab-active, .wpstg-nav-tab-active:focus, .wpstg-nav-tab-active:focus:active, .wpstg-nav-tab-active:hover {\n border-bottom: 1px solid #f0f0f1;\n background: #f3f5f7;\n color: #b70b72;\n -webkit-box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16);\n box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16); }\n\n.wpstg-nav-tab-active {\n margin-bottom: -1px; }\n\n.wpstg-nav-tab-wrapper {\n /*\n border-bottom: 1px solid #c3c4c7;\n */\n margin: 0;\n padding-top: 9px;\n padding-bottom: 0;\n line-height: inherit; }\n\n.wpstg-nav-tab-wrapper li {\n margin-bottom: 0px; }\n\n#wpstg--js--translations {\n text-decoration: underline; }\n"]}
1
+ {"version":3,"sources":["wpstg-admin.scss"],"names":[],"mappings":"AAUA,MACE,6BAA8B,CAC9B,0BAA6B,CAG/B,aACE,kBAAmB,CAEnB,iBAAkB,CADlB,UAAW,CAEX,cAAe,CACf,eAAkB,CAClB,iCACE,qCAAsC,CACtC,UAAa,CACf,8BACE,kCAAmC,CACnC,UAAa,CAIjB,WACE,kBAAqB,CACrB,iBAAkB,CAClB,eAAgB,CAChB,iDAAoD,CAEpD,gWACiB,CAGnB,eACE,aAAgB,CAElB,sBACE,wBAA2B,CAE7B,YACE,aAAgB,CAElB,gBACE,aAAgB,CAElB,aACE,aAAgB,CAElB,iBACE,aAAgB,CAElB,cACE,aAAgB,CAElB,aACE,aAAgB,CAElB,iBACE,aAAgB,CAElB,oBACE,6FAAgG,CAGlG,yLAKE,wBAA2B,CAE7B,wBAIE,kBAAmB,CACnB,UAAW,CAJX,eAAgB,CAChB,QAAS,CACT,SAEa,CAEf,oDACE,eAAkB,CAEpB,0CACE,eAAiB,CACjB,oBAAuB,CAEzB,0BAEE,mBAAoB,CADpB,gBACsB,CAExB,uCACE,SAAY,CAEd,wEAEE,eAAmB,CAErB,cACE,WAAc,CAEhB,6CACE,qBAAyB,CAE3B,gGAEE,YAAe,CAEjB,2CAEE,aAAc,CADd,mBACgB,CAElB,0CAOE,aAAc,CADd,cAAe,CADf,eAAiB,CADjB,eAAgB,CADhB,wBAAyB,CADzB,eAAgB,CADhB,kBAAmB,CAOn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,CAKjB,iBAAkB,CAblB,YAAa,CAMb,wBAAmB,CAKnB,oBAAqB,CAPrB,+BASoB,CAEtB,sBAEE,WAAY,CAEZ,eAAgB,CADhB,iBAAkB,CAFlB,UAGkB,CAEpB,iCACE,eAAkB,CAEpB,iCAEE,kBAAmB,CADnB,mBACqB,CAEvB,sDACE,eAAkB,CAEpB,0DAEE,WAAY,CADZ,UACc,CAEhB,2BACE,iBAAoB,CAEtB,sBAEE,eAAgB,CADhB,iBAAkB,CAOlB,mEAA6E,CAC7E,2DAAqE,CALrE,gBAAiB,CAEjB,iBAAkB,CAClB,eAAgB,CAFhB,gBAAiB,CAFjB,YAMuE,CAEzE,yCACE,sBAGE,aAAc,CACd,gBAAiB,CAFjB,eAEmB,CACrB,2CAEE,aAAc,CADd,SACgB,CAClB,iCACE,SAAY,CAAE,CAElB,eASE,kBAAmB,CANnB,qBAAmB,CAAnB,kBAAmB,CAOnB,aAAc,CATd,UAAW,CAKX,cAAe,CAEf,eAAgB,CADhB,sBAAuB,CAHvB,gBAAkB,CAClB,gBAAiB,CAMjB,oBAAqB,CACrB,kBAAqB,CAEvB,iHAEE,kBAAmB,CADnB,+BAAgC,CAGhC,wDAA6D,CAC7D,gDAAqD,CAFrD,aAEuD,CAEzD,sBACE,kBAAqB,CAEvB,uBAOE,mBAAoB,CAHpB,QAAS,CAET,gBAAiB,CADjB,eAEsB,CAExB,0BACE,eAAoB,CAEtB,yBACE,yBAA4B","file":"wpstg-admin.min.css","sourcesContent":["@charset \"UTF-8\";\n/**\n * WPSTG Admin CSS\n *\n * @package WPSTG\n * @subpackage Admin CSS\n * @copyright Copyright (c) 2021, René Hermenau\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n/* vars */\n:root {\n --wpstg-color-warning: #ffb804;\n --wpstg-color-info: #24a1f0; }\n\n/* IMPORTS */\n.wpstg-badge {\n background: #f8f9fa;\n color: #333;\n border-radius: 3px;\n font-size: 12px;\n padding: 4px 8px; }\n .wpstg-badge.wpstg-badge-warning {\n background: var(--wpstg-color-warning);\n color: #fff; }\n .wpstg-badge.wpstg-badge-info {\n background: var(--wpstg-color-info);\n color: #fff; }\n\n/* Font Faces */\n/* roboto-regular - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n src: url(\"../../fonts/roboto-v29-latin-regular.eot\");\n /* IE9 Compat Modes */\n src: local(\"\"), url(\"../../fonts/roboto-v29-latin-regular.eot?#iefix\") format(\"embedded-opentype\"), url(\"../../fonts/roboto-v29-latin-regular.woff2\") format(\"woff2\"), url(\"../../fonts/roboto-v29-latin-regular.woff\") format(\"woff\"), url(\"../../fonts/roboto-v29-latin-regular.ttf\") format(\"truetype\"), url(\"../../fonts/roboto-v29-latin-regular.svg#Roboto\") format(\"svg\");\n /* Legacy iOS */ }\n\n/* Colors */\n.wpstg--violet {\n color: #9d37ae; }\n\n.wpstg-border--violet {\n border: 1px solid #9d37ae; }\n\n.wpstg--red {\n color: #E01E5A; }\n\n.wpstg-cta--red {\n color: #fe008f; }\n\n.wpstg--blue {\n color: #24a1f0; }\n\n.wpstg--darkblue {\n color: #0e86d9; }\n\n.wpstg--green {\n color: #83c11f; }\n\n.wpstg--grey {\n color: #393939; }\n\n.wpstg--darkgrey {\n color: #1b1b1b; }\n\n.wpstg--filter--svg {\n filter: invert(24%) sepia(11%) saturate(558%) hue-rotate(169deg) brightness(97%) contrast(91%); }\n\n/* CSS for Tabs */\nbody.wp-staging-pro_page_wpstg_backup,\nbody.toplevel_page_wpstg_clone,\nbody.wp-staging-pro_page_wpstg-settings,\nbody.wp-staging-pro_page_wpstg-tools,\nbody.wp-staging-pro_page_wpstg-license {\n background-color: #f3f5f7; }\n\n#wpstg-tab-container ul {\n list-style: none;\n margin: 0;\n padding: 0;\n background: #f1f1f1;\n float: left; }\n\n#wpstg-tab-container ul li:first-child.selected-tab {\n border-top: none; }\n\n#wpstg-tab-container ul li a.selected-tab {\n font-weight: bold;\n text-decoration: none; }\n\n#wpstg-tab-container .row {\n padding-top: 10px;\n padding-bottom: 12px; }\n\n.wpstg-tabs-container .nav-tab-wrapper {\n padding: 0; }\n\n#wpstg-tab-container .row label strong,\n#wpstg-tab-container .row strong {\n font-weight: bold; }\n\n.wpstg-tabs a {\n padding: 5px; }\n\n#wpstg-tab-container > ul > li.wpstg-tabs.active {\n background-color: white; }\n\n#wpstg_settingsgeneral_header .row:nth-child(3),\n#wpstg_settingsgeneral_header .row:nth-child(4) {\n display: none; }\n\n#wpstg-tab-container .wpstg-settings-panel {\n padding: 0 20px 20px 20px;\n overflow: auto; }\n\n#wpstg-tab-container .wpstg-form-table th {\n vertical-align: top;\n text-align: left;\n padding: 20px 10px 20px 0;\n line-height: 1.3;\n font-weight: bold;\n font-size: 14px;\n color: #484848;\n width: 30%; }\n\n#wpstg-tab-container .wpstg-form-table tr {\n border-bottom: 1px solid #E7E7E7; }\n\n#wpstg-tab-container span.description {\n display: block;\n font-weight: 400;\n font-style: normal;\n font-size: 13px;\n margin-top: 7px;\n color: #484848; }\n\n#wpstg-tab-container .col-title {\n color: #484848; }\n\n@media only screen and (max-width: 680px) {\n #wpstg-tab-container ul {\n float: none; }\n #wpstg-tab-container .wpstg-form-table tr > th {\n width: 100%; }\n #wpstg-tab-container span.description {\n font-size: 14px; }\n #wpstg-tab-container .wpstg-form-table tr > th,\n #wpstg-tab-container .wpstg-form-table tr > td {\n padding: 10px; } }\n\n#wpstg-tab-container ul li {\n margin-bottom: 0; }\n\n#wpstg-tab-container ul li a {\n display: block;\n padding: 10px 4px 10px 14px;\n border-width: 1px 0;\n border-style: solid;\n border-top-color: white;\n border-bottom-color: #e7e7e7;\n text-decoration: none;\n color: #0097DF;\n font-weight: bold; }\n\n#wpstg-tab-container ul li a:hover {\n background-color: #e5e5e5;\n color: #777777; }\n\n.wpstg-logo {\n display: block;\n font-size: 16px;\n padding-top: 20px;\n width: 220px;\n float: left; }\n\n.wpstg-logo img {\n max-width: 212px; }\n\n.wpstg-version {\n display: block;\n padding-top: 40px;\n color: #9b9b9b; }\n\n.wpstg_admin .nav-tab {\n color: #3C3C3C; }\n\n#wpstg-tab-container table tbody tr:nth-child(1) > th > div {\n font-size: 20px; }\n\n/* Cloning workflow */\n#wpstg-clonepage-wrapper {\n margin-bottom: 20px;\n width: 98%; }\n\n@media screen and (min-width: 1090px) {\n #wpstg-clonepage-wrapper {\n float: left;\n margin-bottom: 20px; } }\n\n#wpstg-steps {\n margin-top: 0px;\n margin-left: 20px; }\n\n#wpstg-steps li {\n color: #444;\n line-height: 20px;\n padding-right: 10px;\n float: left; }\n\n.wpstg-step-num {\n border: 1px solid #3e3e3e;\n border-radius: 3px;\n display: inline-block;\n width: 20px;\n height: 20px;\n text-align: center;\n margin-right: 5px; }\n\n.wpstg-current-step {\n font-weight: bold; }\n\n.wpstg-current-step .wpstg-step-num {\n background: #3e3e3e;\n color: #eee; }\n\n.wpstg-box {\n margin: 10px 0;\n padding: 10px;\n position: relative;\n overflow: hidden;\n transition: border-color .2s ease-in-out; }\n\n.wpstg-clone {\n margin-bottom: 10px;\n padding: 16px;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 3px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n.wpstg-clone.active {\n border-color: #1d94cf; }\n\n.wpstg-clone-header {\n display: flex;\n align-items: center; }\n\n.wpstg-clone-title {\n display: inline-block;\n margin-right: 8px;\n font-size: 15px;\n max-width: 300px;\n text-decoration: none;\n font-weight: bold;\n color: #3e3e3e; }\n\n.wpstg-clone-title:hover {\n color: #111111; }\n\n.wpstg-clone-labels {\n display: inline-block; }\n\n.wpstg-clone-labels .wpstg-clone-label {\n display: inline-block;\n padding: 1px 4px;\n margin-right: 4px;\n font-size: 11px;\n border-radius: 3px;\n background: #8bc34a;\n color: #fff; }\n\n.wpstg-clone-actions {\n margin-left: auto;\n display: flex;\n margin-top: 5px; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler {\n text-decoration: none;\n background: #25a1f0;\n padding: 6px 10px;\n border-radius: 2px;\n font-size: 14px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n color: #ffffff; }\n\n.wpstg-clone-actions .wpstg-dropdown-toggler:hover {\n background: #002648;\n color: white; }\n\n.wpstg-dropdown {\n position: relative; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu {\n background: #fff;\n display: none;\n flex-direction: column;\n position: absolute;\n right: 0;\n top: calc(100% + 4px);\n padding: 8px;\n border-radius: 2px;\n width: 100px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);\n z-index: 1000; }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.wpstg-menu-dropup {\n top: auto;\n bottom: 100%;\n transform: translate3d(0px, -3px, 0px); }\n\n.wpstg-dropdown > .wpstg-dropdown-menu.shown {\n display: flex; }\n\n.wpstg-clone-action,\n.wpstg-dropdown-action {\n color: #3e3e3e;\n padding: 6px 8px;\n border-radius: 3px;\n text-decoration: none;\n position: relative;\n transition: color .2s ease-in-out;\n border-bottom: 1px solid #f3f3f3; }\n\n.wpstg-clone-action:hover,\n.wpstg-dropdown-action:hover {\n background: rgba(0, 0, 0, 0.05); }\n\n.wpstg-dropdown-action {\n color: #3e3e3e;\n background: transparent;\n border: 0 solid black;\n outline: none;\n box-shadow: none; }\n\n.wpstg-remove-clone:hover {\n color: #E01E5A; }\n\n.wpstg-clone-action:last-child {\n border: none; }\n\n.wpstg-clone:hover .wpstg-clone-action {\n display: inline-block; }\n\n#wpstg-show-error-details:focus,\n#wpstg-workflow .wpstg-clone-action {\n outline: none;\n box-shadow: none; }\n\n.wpstg-link-btn {\n background: #45a1c9;\n color: #fff;\n display: inline-block;\n padding: 5px 10px;\n text-decoration: none;\n vertical-align: baseline;\n transition: all .2s ease-in-out; }\n\n.wpstg-link-btn:hover,\n.wpstg-link-btn:focus {\n color: #fff;\n outline: none;\n box-shadow: none; }\n\n#wpstg-workflow .wpstg-link-btn:active {\n vertical-align: baseline; }\n\n.wpstg-link-btn[disabled] {\n background: #777 !important;\n border-color: #555 !important;\n pointer-events: none; }\n\n#wpstg-cancel-cloning,\n#wpstg-cancel-cloning-update {\n margin-top: 5px; }\n\n#wpstg-cancel-cloning.success,\n#wpstg-cancel-cloning.success {\n background: #64dd58;\n border-color: #54bd4a; }\n\n#wpstg-error-wrapper,\n#wpstg-error-details {\n display: none;\n padding-top: 10px;\n font-size: 13px;\n clear: both; }\n\n#wpstg-show-error-details {\n display: inline-block;\n margin-left: 5px;\n color: #555;\n text-decoration: none;\n transition: color .2s ease-in-out; }\n\n#wpstg-show-error-details:hover {\n color: #1d94cf; }\n\n#wpstg-error-details {\n border-left: 5px solid #E01E5A;\n padding: 10px;\n width: 500px; }\n\n#wpstg-try-again {\n display: none; }\n\n#wpstg-home-link {\n float: right; }\n\n.wpstg-loader {\n content: url(\"../../img/loading.gif\");\n display: none; }\n\n.wpstg-loader.wpstg-finished {\n display: block;\n content: \"Finished\";\n background-color: #00c89a;\n color: white;\n padding: 2px 10px;\n margin-top: 0;\n border-radius: 3px; }\n\n#wpstg-workflow {\n max-width: 800px;\n position: relative;\n clear: both;\n padding-top: 20px;\n float: left;\n min-width: 500px;\n min-height: 380px;\n padding-right: 20px;\n padding-bottom: 20px; }\n\n#wpstg-sidebar {\n float: left;\n max-width: 400px;\n display: block;\n margin-left: 10px; }\n\n#wpstg-workflow.loading::after,\n#wpstg-removing-clone.loading::after {\n background: rgba(255, 255, 255, 0.7);\n content: 'Loading... may take a while for huge websites';\n display: block;\n width: 100%;\n height: 100%;\n font-size: 20px;\n padding-top: 100px;\n text-align: center;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 99; }\n\n#wpstg-removing-clone.loading::after {\n content: 'REMOVING' !important; }\n\n#wpstg-existing-clones,\n#wpstg-removing-clone {\n position: relative; }\n\n#wpstg-existing-clones h3 {\n color: #3e3e3e; }\n\n#wpstg-removing-clone .wpstg-tab-section {\n display: block; }\n\n.wpstg-progress-bar {\n max-width: 900px;\n height: 27px;\n padding: 0;\n background-color: #d6d8d7; }\n\n.wpstg-progress {\n float: left;\n background: #3fa5ee;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center;\n overflow: hidden; }\n\n.wpstg-progress-files {\n background: #16b4f0;\n width: 0;\n height: 100%;\n transition: width .6s ease;\n color: white;\n line-height: 25px;\n text-align: center; }\n\n#wpstg-new-clone-id.wpstg-error-input,\n#wpstg-clone-path.wpstg-error-input {\n border: 1px solid #E01E5A;\n box-shadow: 0 0 2px rgba(255, 66, 53, 0.8); }\n\n#wpstg-new-clone-id {\n width: 450px;\n max-width: 100%;\n margin-left: 15px; }\n\n#wpstg-new-clone {\n background: #25a1f0;\n border-color: #2188c9; }\n\n#wpstg-new-clone:hover {\n background: #259be6;\n border-color: #2188c9; }\n\n#wpstg-clone-path {\n margin-left: 10px;\n width: 350px; }\n\n.wpstg-error-msg {\n color: #E01E5A; }\n\n#wpstg-clone-id-error {\n display: block;\n background-color: #f0f8ff;\n padding: 10px;\n margin: 20px; }\n\n#wpstg-start-cloning + .wpstg-error-msg {\n display: block;\n margin-top: 5px; }\n\n.wpstg-size-info {\n color: #999;\n font-weight: normal;\n position: relative;\n left: 2px; }\n\n.wpstg-db-table .wpstg-size-info {\n top: 2px; }\n\n.wpstg-db-table:hover {\n background-color: #f0f8ff; }\n\n#wpstg-workflow #wpstg-start-cloning {\n margin-left: 5px;\n vertical-align: baseline; }\n\n/* Tabs */\n.wpstg-tabs-wrapper {\n max-width: 640px;\n margin: 10px 0; }\n\n#wpstg-path-wrapper {\n border-bottom: 2px dashed #ccc;\n padding-bottom: 10px;\n margin-bottom: 10px; }\n\n.wpstg-tab-section {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n display: none;\n width: calc(100% - 72px);\n padding: 0px 36px; }\n\n.wpstg-tab-section::after {\n display: block;\n content: '';\n clear: both; }\n\n.wpstg-tab-header {\n border-bottom: 1px solid #ddd;\n border-right: none;\n border-left: none;\n color: #444;\n font-size: 16px;\n font-weight: bold;\n display: block;\n padding: 10px;\n text-decoration: none; }\n\n.wpstg-tab-triangle {\n display: inline-block;\n margin-right: 12px;\n animation: transform 0.5s;\n width: 0;\n height: 0;\n margin-top: -3px;\n vertical-align: middle;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 10px solid;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-tab-triangle.wpstg-no-icon {\n margin-right: 2px;\n width: auto;\n height: auto;\n vertical-align: auto;\n border-top: 0px solid;\n border-bottom: 0px solid;\n border-left: 0px solid; }\n\n.wpstg-tab-triangle.wpstg-rotate-90 {\n transform: rotate(90deg); }\n\n.wpstg-tab-header:focus {\n color: #444;\n outline: none;\n box-shadow: none; }\n\n#wpstg-large-files {\n display: none;\n border: 1px dashed #ccc;\n padding: 10px 10px 10px;\n margin-top: 20px;\n position: relative;\n font-size: 12px; }\n\n#wpstg-large-files h3 {\n background: #fff;\n margin: 0;\n padding: 0 5px;\n position: absolute;\n top: -10px;\n left: 5px; }\n\n.wpstg-subdir {\n display: none;\n margin-left: 20px; }\n\n.wpstg-subdir.wpstg-push {\n display: block;\n margin-left: 20px; }\n\n.wpstg-dir a.disabled {\n color: #888;\n cursor: default;\n text-decoration: none; }\n\n.wpstg-check-subdirs {\n display: inline-block;\n margin-left: 10px; }\n\n.wpstg-notice-alert {\n display: block;\n background-color: #E01E5A;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px;\n color: white; }\n\n.wpstg-notice--white {\n display: block;\n background-color: #ffffff;\n padding: 20px;\n max-width: 600px;\n margin-top: 10px; }\n\n.wpstg-notice-alert a {\n color: white; }\n\n.wpstg-notice-alert h3 {\n color: white; }\n\n.wpstg-header {\n font-weight: 400;\n line-height: 1.6em;\n font-size: 19px;\n /*\n border-bottom: 1px solid #DFDFDF;\n */\n clear: both;\n padding-top: 10px; }\n\n#wpstg-clone-label {\n font-size: 14px;\n font-weight: bold; }\n\n.wpstg-log-details {\n height: 300px;\n overflow: scroll;\n max-width: 650px;\n font-family: monospace;\n font-size: 12px;\n line-height: 15px;\n border: 1px solid #FFF;\n background-color: black;\n color: #c0c0c0;\n padding: 3px;\n white-space: nowrap;\n margin-top: 15px; }\n\n#wpstg-finished-result {\n display: none; }\n\n#wpstg-remove-cloning {\n background: #ff3428;\n border-color: #e72f24;\n margin-top: 5px; }\n\n#wpstg-success-notice {\n padding: 10px;\n background-color: white;\n max-width: 900px;\n border: 1px solid #ccc;\n margin-top: 20px; }\n\n.wpstg_beta_notice {\n margin-bottom: 20px; }\n\n.wpstg-sysinfo {\n width: 700px;\n height: 400px; }\n\n.wpstg-form-table .col-title label {\n font-weight: 600; }\n\n.wpstg-form-table td:first-child {\n width: 30%;\n padding-right: 20px; }\n\n.wpstg-share-button-container {\n margin: 5px 0; }\n\n.wpstg-share-button-container p {\n margin: 0 0 10px 0; }\n\n.wpstg-share-button {\n display: inline-block; }\n\n.wpstg-share-button a {\n text-decoration: none; }\n\n.wpstg-share-button .wpstg-share {\n font-family: sans-serif;\n font-weight: bold;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-share-button .wpstg-share {\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n color: #FFF;\n display: inline;\n font-size: 12px;\n padding: 4px 8px; }\n\n.wpstg-share-button-twitter .wpstg-share {\n background-color: #00ABF0; }\n\n.wpstg-share-button-facebook .wpstg-share {\n background-color: #3b5998; }\n\n.wpstg-share-button-googleplus .wpstg-share {\n background-color: #F53424; }\n\n.wpstg-share-button-twitter .share:active,\n.wpstg-share-button-facebook .share:active,\n.wpstg-share-button-googleplus .share:active {\n background-color: #353535; }\n\n#wpstg-check-space {\n margin-left: 8px; }\n\n#wpstg-welcome li {\n font-size: 18px;\n line-height: 29px;\n position: relative;\n padding-left: 23px;\n list-style: none !important; }\n\n#wpstg-welcome {\n margin-top: 20px;\n margin-right: 20px;\n background-color: white; }\n\n.wpstg-heading-pro {\n font-weight: bold; }\n\n.wpstg-h2 {\n margin-top: 0;\n margin-bottom: 1.2rem;\n font-size: 30px;\n line-height: 2.5rem; }\n\n#wpstg-welcome li:before {\n width: 1em;\n height: 100%;\n background: url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left 0.4em no-repeat;\n background-size: contain;\n content: \"\";\n position: absolute;\n top: -2px;\n left: 0;\n color: #77b227; }\n\n.wpstg-h1 {\n margin-bottom: 1.35rem;\n font-size: 2.5em;\n line-height: 3.68rem;\n letter-spacing: normal; }\n\n.wpstg--swal2-content {\n color: #3e3e3e; }\n\n.wpstg--swal2-content h1 {\n color: #444; }\n\n#wpstg-welcome h2 {\n margin: 0 0 15px; }\n\n#wpstg-welcome .wpstg-footer {\n clear: both;\n margin-top: 20px;\n font-style: italic; }\n\n#wpstg-footer {\n clear: both;\n margin-top: 20px;\n margin-right: 10px;\n padding-top: 50px; }\n\n#wpstg-footer a {\n text-decoration: none; }\n\n#wpstg-footer li {\n margin-bottom: 2px;\n list-style: circle; }\n\n#wpstg-footer ul {\n margin-left: 15px;\n margin-top: 0px; }\n\n.wpstg-footer--title {\n margin-left: 15px; }\n\n.wpstg-staging-info {\n margin-top: 8px;\n color: #3e3e3e;\n font-size: 12px; }\n\n.wpstg-staging-info a {\n color: #3e3e3e; }\n\n.wpstg-staging-info li {\n margin-bottom: 2px; }\n\n.wpstg-bold {\n font-weight: 600; }\n\n#wpstg-processing-status {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: left; }\n\n#wpstg-processing-timer {\n margin-top: 5px;\n font-size: 13px;\n font-weight: 400;\n float: right; }\n\n#wpstg-report-issue-button {\n margin-left: 30px;\n border: 1px solid #E01E5A;\n color: #E01E5A;\n background-color: white; }\n\n#wpstg-report-issue-button:hover {\n background-color: #dc2b62;\n color: #fff; }\n\n.wpstg-blue-primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n height: 28px;\n margin: 0;\n /*\n padding: 0 10px 1px;\n */\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n -webkit-appearance: none;\n border-radius: 3px;\n white-space: nowrap;\n box-sizing: border-box;\n background: #25a1f0;\n border-color: #2188c9;\n color: #fff;\n /*\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n */ }\n\n.wpstg-blue-primary:hover {\n background: #127fc6; }\n\na.wpstg-blue-primary {\n padding: 5px 10px;\n height: auto; }\n\n.wpstg-blue-primary:hover {\n background-color: #259be6; }\n\n.wpstg-report-issue-form {\n position: absolute;\n z-index: 999;\n width: 300px;\n background-color: #fff;\n padding: 15px 15px 10px;\n border: 1px solid #e8e8e8;\n border-radius: 3px;\n box-shadow: 0 1px 0 0 #fff inset;\n display: none;\n right: 0;\n top: 35px; }\n\n@media (max-width: 600px) {\n .wpstg-report-issue-form {\n position: relative; } }\n\n.wpstg-report-show {\n display: block; }\n\n.wpstg-field input[type=text],\n.wpstg-field textarea {\n width: 100%;\n font-weight: 400;\n line-height: 1.4;\n margin-bottom: 4px; }\n\n.wpstg-report-email,\n.wpstg-report-hosting-provider {\n width: 100%;\n font-weight: 400;\n font-size: .8rem;\n height: 2.3rem;\n line-height: 2.3rem;\n border-radius: 3px;\n margin-bottom: 4px;\n padding: 0 10px; }\n\n.wpstg-report-description {\n border-radius: 3px;\n font-size: .8rem;\n padding: 6px 10px;\n resize: none; }\n\n.wpstg-report-privacy-policy {\n font-size: 12px;\n margin-bottom: 15px; }\n\n#wpstg-report-cancel {\n float: right;\n margin-right: 5px;\n font-weight: bold; }\n\n#wpstg-success-button {\n font-weight: bold; }\n\n.wpstg-message {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n background-color: #f5e0de;\n border-radius: 3px;\n color: rgba(0, 0, 0, 0.6);\n height: auto;\n margin: 10px 0;\n min-height: 18px;\n padding: 6px 10px;\n position: relative; }\n\n.wpstg-message.wpstg-error-message {\n background-color: #f5e0de;\n color: #b65147;\n font-size: 12px; }\n\n.wpstg-message.wpstg-success-message {\n background-color: #d7f8e0;\n color: #515151; }\n\n.wpstg-message p {\n margin: 3px 0;\n font-size: 13px; }\n\n.wpstg-warning {\n display: block;\n padding: 10px;\n background-color: #ffb804;\n color: #ffffff;\n margin: 10px 10px 10px 0; }\n\n.wpstg-warning a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n.wpstg-error {\n display: block;\n padding: 10px !important;\n background-color: #E01E5A !important;\n color: #ffffff;\n margin: 10px 10px 10px 0 !important;\n border-color: transparent !important;\n border-left-color: transparent !important;\n box-shadow: none !important; }\n\n.wpstg-error a {\n color: #ffffff;\n font-weight: bold;\n text-decoration: underline; }\n\n#wpstg-resume-cloning {\n display: none; }\n\n#wpstg-external-db th {\n text-align: left;\n width: 120px; }\n\n#wpstg-db-connect {\n font-weight: normal; }\n\n#wpstg-db-status {\n display: block;\n margin-top: 5px;\n padding: 5px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n text-decoration: none;\n text-align: center; }\n\n.wpstg-text-field > #wpstg-db-status {\n margin-top: 8px;\n margin-left: 150px;\n min-width: 300px; }\n\n.wpstg-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6; }\n\n.wpstg-failed {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1; }\n\n#wpstg_select_tables_cloning {\n height: 600px;\n font-size: 13px; }\n\n#wpstg_select_tables_pushing {\n height: 400px;\n font-size: 13px; }\n\n#wpstg-update-notify {\n background-color: #E01E5A;\n font-size: 14px;\n color: #ffffff;\n line-height: normal;\n padding: 10px; }\n\n#wpstg-update-notify a {\n color: #ffffff;\n font-weight: bold; }\n\n.wpstg-pointer {\n cursor: pointer; }\n\n.wpstg--tab--header {\n background-color: white;\n position: relative;\n transition: border-color .2s ease-in-out;\n background-color: #ffffff;\n color: #3e3e3e;\n border-radius: 0px;\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.02); }\n\n.wpstg--tab--header ul {\n display: flex; }\n\n.wpstg--tab--header ul li {\n margin-right: 1em;\n margin-bottom: 0px; }\n\n.wpstg--tab--header ul li:last-child {\n margin-right: 0; }\n\n.wpstg--tab--header a {\n min-width: 150px;\n text-align: center;\n cursor: pointer;\n display: inline-block;\n padding: 1em 1.25em;\n padding-bottom: 9px;\n color: #c4c4c4;\n font-size: 18px; }\n\n.wpstg--tab--header a.wpstg--tab--active {\n border-bottom: 3px solid #0e86d9;\n color: #25A1F0; }\n\n.wpstg--tab--header a:hover {\n background-color: #fefefe;\n border-bottom: 3px solid #0e86d9;\n color: #0e86d9; }\n\n.wpstg--tab--content {\n display: none; }\n\n.wpstg--tab--active {\n display: block; }\n\n#wpstg-premium-header {\n font-size: 1.5rem;\n font-weight: bold; }\n\n.wpstg--text--strong,\n.wpstg--text--strong * {\n font-weight: bold !important; }\n\n.wpstg--text--danger {\n color: #a94442; }\n\n.wpstg--tooltip {\n position: relative;\n display: inline-block;\n margin-left: 5px; }\n\n.wpstg--tooltip.wpstg--tooltip-normal {\n margin-left: 0;\n border-bottom: 0; }\n\n.wpstg--tooltip .wpstg--tooltiptext {\n visibility: hidden;\n width: 300px;\n background-color: #ffffff;\n color: #505050;\n text-align: left;\n padding: 12px;\n border-radius: 3px;\n position: absolute;\n z-index: 1;\n -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;\n font-weight: normal; }\n\n.wpstg--tooltiptext-backups {\n width: 120px;\n top: 100%;\n left: -150%;\n margin-left: -56px;\n margin-top: 4px; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip {\n border-bottom: 0px solid transparent; }\n\n.wpstg--tooltip.wpstg--exclude-rules--tooltip > .wpstg--tooltiptext {\n margin-top: 0px;\n margin-left: -150px; }\n\n/**\nTooltip top arrow\n */\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n /* At the top of the tooltip */\n left: 50%;\n margin-left: 25px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow {\n margin-top: 6px; }\n\n.wpstg--tooltip .wpstg--tooltiptext.has-top-arrow::after {\n content: \" \";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -18px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent white transparent; }\n\n.wpstg--snaphot-restore-table tr {\n line-height: 12px; }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-beta-notice {\n background-color: #b0e8b0;\n border-radius: 3px;\n padding: 7px;\n margin-bottom: 20px; }\n\n#wpstg-backup-name {\n font-size: 1.875em;\n font-weight: 600; }\n\n#wpstg_select_tables_cloning option:checked,\n#wpstg_select_tables_pushing option:checked {\n /* Cannot use background color here because Chrome and Firefox ignore it even if set to !important */\n -webkit-appearance: menulist-button;\n background-image: linear-gradient(0deg, #1e90ff 0%, #1e90ff 100%); }\n\n.wpstg--btn--cancel {\n background: #ff3428;\n border-color: #e72f24;\n color: #fff;\n height: auto;\n line-height: normal;\n font-size: 16px;\n padding: .5em;\n margin-bottom: 1.5em; }\n\n.wpstg--btn--cancel:hover {\n background: #ff3428;\n border-color: #e72f24; }\n\n.wpstg--process--content > .wpstg--swal2-html-container {\n padding: 4em 2em !important; }\n\n.wpstg--modal--process--logs,\n.wpstg--modal--error--logs {\n background: #ffffff;\n border: 1px solid #a8a8a8;\n border-radius: 3px;\n height: 300px;\n margin-top: 1em;\n display: none;\n padding-top: 10px;\n padding-left: 10px;\n overflow: auto;\n text-align: justify; }\n\n.wpstg--modal--error--logs {\n height: auto;\n max-height: 300px; }\n\n.wpstg--modal--process--logs p {\n font-size: 12px;\n white-space: nowrap; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--info {\n color: #222222; }\n\n.wpstg--modal--process--logs p.wpstg--modal--process--msg--debug {\n color: #757575; }\n\n.wpstg--modal--process--title {\n color: #565656;\n margin: .25em 0; }\n\n.wpstg--modal--process--subtitle {\n margin: .5em 0;\n color: #565656; }\n\n.wpstg--modal--error--logs > p {\n text-align: left;\n font-size: 14px;\n color: #222222; }\n\n.wpstg--modal--process--logs p,\n.wpstg--modal--error--logs p {\n margin: 0px;\n margin-bottom: 2px; }\n\n.wpstg--modal--process--msg--error {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--critical {\n color: #E01E5A; }\n\n.wpstg--modal--process--msg--warning {\n color: darkorange; }\n\n.wpstg--modal--process--msg-found {\n font-size: 16px;\n color: #E01E5A;\n font-weight: bold; }\n\n.wpstg--modal--delete {\n text-align: left;\n margin-top: 8px;\n color: #565656; }\n\n.wpstg-swal-popup .wpstg--swal2-cancel.wpstg--btn--cancel {\n margin-bottom: 0;\n text-shadow: none !important; }\n\n.wpstg-swal-popup .wpstg-loader {\n display: inline-block !important; }\n\n.wpstg--modal--process--generic-problem {\n display: none;\n border-left: 5px solid #E01E5A;\n margin: .5em 0; }\n\n.wpstg--modal--process--logs--tail {\n font-size: 16px;\n color: #565656;\n background: none;\n border: none;\n cursor: pointer;\n text-decoration: underline; }\n\n.wpstg--modal--backup--import--upload--title {\n color: #3e3e3e; }\n\n.wpstg--modal--backup--import--configure,\n.wpstg--modal--backup--import--upload--status,\n.wpstg--modal--backup--import--upload--container input[type=\"file\"] {\n display: none; }\n\n#wpstg--backups--import--file-list {\n font-size: 14px;\n font-weight: bold; }\n\n#wpstg--backups--import--file-list-empty {\n color: #E01E5A; }\n\n.wpstg--modal--backup--import--filesystem label {\n font-size: 14px; }\n\n.wpstg--modal--backup--import--filesystem button {\n margin-bottom: 20px; }\n\n.wpstg--modal--backup--import--upload {\n position: relative;\n min-height: 30px; }\n\n.wpstg--modal--backup--import--upload {\n color: #505050; }\n\n.wpstg--modal--backup--import--upload--container {\n position: relative;\n border-radius: 10px;\n margin: .5em;\n padding: 1em .5em;\n border: 3.5px dashed #dedede;\n transition: background-color 0.3s ease, color 0.3s ease;\n background-color: #f4fbff;\n min-height: 130px; }\n\n.wpstg--modal--backup--import--upload--container.wpstg--has-dragover span.wpstg--drop {\n display: inline-flex; }\n\n.wpstg--modal--backup--import--upload--container input[type='file'] {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container img {\n margin-top: 10px;\n width: 4em;\n align-self: center;\n border: none; }\n\n.wpstg--modal--backup--import--upload--container span {\n margin-top: 1em; }\n\n.wpstg--backup--import--options > button {\n margin-top: 1em;\n padding: 1em;\n align-self: center;\n width: 185px;\n height: auto;\n line-height: normal; }\n\n.wpstg--backup--import--options {\n position: relative;\n display: flex;\n justify-content: center; }\n\n.wpstg--backup--import--options ul {\n display: none; }\n\n.wpstg--backup--import--options.wpstg--show-options ul {\n padding: 0;\n margin: 54px 0 0 0;\n display: block;\n position: absolute;\n width: 185px;\n background: #25a1f0;\n box-sizing: border-box;\n border-radius: 0 0 3px 3px;\n border-width: 1px;\n border-color: #2188c9;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li {\n border-bottom: .1em solid #25a1f0;\n margin: 0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:hover {\n background-color: #25a1f0; }\n\n.wpstg--backup--import--options.wpstg--show-options ul li:last-child {\n border-bottom: none; }\n\n.wpstg--backup--import--options ul li button {\n cursor: pointer;\n background: none;\n border: none;\n margin: 0;\n width: 100%;\n color: white;\n height: 40px;\n line-height: 40px; }\n\n.wpstg--backup--import--options ul li button:hover {\n background-color: #259be6; }\n\n.wpstg--modal--backup--import--search-replace--info {\n margin: 1em 0;\n display: flex;\n flex-direction: row; }\n\n.wpstg--modal--backup--import--info p {\n text-align: left;\n margin: 0; }\n\n.wpstg--modal--backup--import--search-replace--wrapper button {\n align-self: center; }\n\n.wpstg--import--advanced-options--button {\n border: 0;\n border-radius: 3px;\n font-size: 18px;\n text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;\n cursor: pointer; }\n\n.wpstg--modal--backup--import--search-replace--new {\n color: white;\n background-color: #25a1f0; }\n\n.wpstg--modal--backup--import--search-replace--remove {\n color: white;\n background-color: #25a1f0;\n width: 22px;\n height: 22px;\n margin-left: 5px; }\n\n.wpstg--modal--backup--import--search-replace--input-group:first-child button {\n display: none; }\n\n.wpstg--modal--backup--import--search-replace--input--container {\n flex: 1;\n display: flex;\n flex-direction: column; }\n\n.wpstg--modal--backup--import--search-replace--input-group {\n width: 100%;\n border-bottom: 6px solid #f1f1f1;\n margin-bottom: 10px; }\n\n.wpstg--modal--backup--import--search-replace--input-group input {\n min-width: 250px;\n width: calc(50% - 4px - 11px - 5px);\n /* -4px is half of the padding; -11px is half of the button; -5 is the margin left of the button */\n display: inline-block;\n line-height: 10px;\n border: 1px solid #dedede;\n border-radius: 3px;\n color: #666;\n padding: 8px;\n margin-bottom: 12px; }\n\n.wpstg--modal--import--upload--process {\n display: none;\n position: relative;\n height: 30px;\n margin-top: 20px;\n margin-bottom: 20px;\n width: 100%;\n top: 0;\n left: 0;\n text-indent: 1em;\n white-space: nowrap;\n overflow: hidden;\n color: #333333;\n justify-content: center;\n align-items: center; }\n\n.wpstg--modal--import--upload--progress {\n position: absolute;\n background: #98d452;\n color: white;\n height: 100%;\n border-radius: 4px;\n left: 0;\n top: 0; }\n\n.wpstg--modal--import--upload--progress--title {\n z-index: 9; }\n\n.wpstg-fieldset:disabled {\n opacity: 0.8;\n border-top: 1px solid white;\n margin-top: 20px; }\n\n.wpstg-fieldset {\n padding-left: 20px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-dark-alert {\n font-weight: bold;\n background-color: #0e86d9;\n padding: 30px;\n margin-top: 0px;\n color: white; }\n\n.wpstg-dark-alert ul {\n list-style: initial; }\n\n.wpstg-form-group {\n display: block;\n width: 100%;\n margin-bottom: 8px;\n align-items: center; }\n\n.wpstg-form-group > label {\n display: block;\n font-weight: 700; }\n\n.wpstg-text-field > input {\n width: 300px;\n display: block;\n line-height: 1.5; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-text-field > .wpstg-code-segment {\n margin-top: 4px;\n min-width: 300px; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%;\n position: relative; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n left: 150px; }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-ml-4 {\n margin-left: 4px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-advanced-settings hr {\n margin: 20px 0; }\n\n.wpstg-form-row {\n display: block; }\n\n.wpstg-form-row label,\n.wpstg-form-row input {\n display: table-cell;\n padding-left: 5px;\n padding-right: 5px;\n margin-top: 3px;\n margin-bottom: 3px; }\n\n.wpstg-form-row input {\n width: 400px; }\n\n.wpstg-form-row label {\n font-weight: bold;\n width: 1px;\n white-space: nowrap; }\n\n#wpstg-db-connect-output #wpstg-db-status {\n width: 390px; }\n\n.wpstg-fs-14 {\n font-size: 14px; }\n\n.wpstg-code-segment {\n display: block; }\n\n.wpstg-form-group > .wpstg-checkbox {\n min-width: 100%;\n width: 100%; }\n\n.wpstg-form-group > .wpstg-checkbox > input[type='checkbox'] {\n margin-left: 10px; }\n\n@media only screen and (max-width: 768px) {\n .wpstg-form-group > label {\n min-width: auto;\n width: auto; }\n .wpstg-text-field > input {\n width: 100%; }\n .wpstg-text-field > .wpstg-code-segment {\n margin-left: 0;\n min-width: 100%; }\n .wpstg-tab-section {\n width: calc(100vw - 60px);\n max-width: 450px; } }\n\n.wpstg-rounded {\n border-radius: 3px; }\n\n.wpstg-white-border {\n border: 1px solid white !important; }\n\n.wpstg-m-0 {\n margin: 0; }\n\n.wpstg-mt-10px {\n margin-top: 10px !important; }\n\n.wpstg-mr-10px {\n margin-right: 10px !important; }\n\n.wpstg-my-10px {\n margin-top: 10px !important;\n margin-bottom: 10px !important; }\n\n.wpstg-w-100 {\n width: 100%; }\n\n.wpstg-box-shadow {\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-float-left {\n float: left; }\n\n.wpstg-bold-text {\n font-weight: bold; }\n\n.wpstg-warning.notice {\n border-left: 4px solid #ffba00; }\n\n.wpstg-confirmation-label {\n background-color: #5b9dd9;\n color: #fff;\n padding: 2px;\n border-radius: 3px; }\n\n.wpstg-my-6px {\n margin-bottom: 6px;\n margin-top: 6px; }\n\n.wpstg-mb-10px {\n margin-bottom: 10px; }\n\n.wpstg-clear-both {\n clear: both; }\n\n.wpstg-font-italic {\n font-style: italic; }\n\n.wpstg-mt-20px {\n margin-top: 20px; }\n\n.wpstg-welcome-container {\n border: 2px solid white;\n padding: 20px;\n margin-bottom: 20px; }\n\n.wpstg-ml-30px {\n margin-left: 30px; }\n\n.wpstg-text-center {\n text-align: center; }\n\n.wpstg-feedback-link {\n text-decoration: none; }\n\n.wpstg-feedback-span {\n display: block;\n margin-bottom: 3px; }\n\n#wpstg-confirm-backup-restore-data {\n margin: 40px;\n text-align: left; }\n\n#wpstg-confirm-backup-restore-wrapper {\n margin: 30px;\n margin-top: 0; }\n\n#wpstg-confirm-backup-restore-wrapper h3 {\n color: #E01E5A; }\n\n#wpstg-progress-db,\n#wpstg-progress-backup {\n background-color: #3fa5ee; }\n\n#wpstg-progress-sr,\n#wpstg-progress-files.wpstg-pro {\n background-color: #3c9ee4; }\n\n#wpstg-progress-dirs,\n#wpstg-progress-data {\n background-color: #3a96d7; }\n\n#wpstg-progress-files:not(.wpstg-pro),\n#wpstg-progress-finishing {\n background-color: #378cc9; }\n\n.wpstg-issue-resubmit-confirmation.wpstg--swal2-container,\n.wpstg-swal2-container.wpstg--swal2-container {\n z-index: 10500; }\n\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-actions,\n.wpstg-swal2-container.wpstg-swal2-loading .wpstg--swal2-header {\n display: none; }\n\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container .wpstg--swal2-content,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container .wpstg--swal2-content {\n z-index: 2; }\n\n.toplevel_page_wpstg_clone #swal2-content h2 {\n color: #3e3e3e; }\n\n.toplevel_page_wpstg_clone #swal2-content {\n line-height: 1.5em; }\n\ndiv#exportUploadsWithoutDatabaseWarning {\n font-style: italic;\n font-size: 0.9rem;\n margin: 10px;\n padding: 10px;\n border: 1px solid #e3e3e3;\n border-radius: 5px;\n text-align: center;\n background-color: #fafafa; }\n\n.wpstg-advanced-options-dropdown-wrapper {\n display: none;\n /* ENABLE WHEN WE HAVE ADVANCED OPTIONS FOR EXPORTING */\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--wrapper {\n text-align: left;\n margin-top: 20px; }\n\n.wpstg--modal--backup--import--search-replace--new--wrapper {\n text-align: center; }\n\n.wpstg-import-backup-contains li {\n display: inline-block;\n margin-bottom: 0px; }\n\n.wpstg-import-backup-contains li .wpstg-backups-contains {\n border-radius: 3px;\n color: #979797;\n background-color: #f4f4f4 !important;\n width: 18px;\n height: 18px;\n font-size: 17px; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains {\n padding: 2px;\n background-color: white; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li .wpstg-backups-contains > .wpstg--dashicons {\n filter: invert(35%); }\n\n.wpstg-import-backup-contains .wpstg--tooltiptext {\n width: 80px;\n font-size: 13px;\n padding: 5px;\n left: -25px;\n text-align: center; }\n\n.wpstg-import-backup-contains-title {\n display: inline-block; }\n\nul.wpstg-import-backup-contains {\n display: inline-block; }\n\n.wpstg-import-backup-name {\n display: inline-block;\n font-weight: bold; }\n\n.wpstg-backup-more-info-toggle {\n font-size: x-small;\n display: inline-block;\n font-style: italic;\n cursor: pointer; }\n\n.wpstg-backup-more-info-toggle::selection {\n background: none; }\n\nul.wpstg-import-backup-more-info {\n font-size: 14px;\n text-align: left;\n margin-bottom: 30px;\n margin-top: 10px;\n background-color: #f6f6f6;\n border: 1px solid #878787;\n border-radius: 3px;\n padding: 7px;\n cursor: pointer; }\n\nul.wpstg-import-backup-more-info:hover {\n background-color: #def2ff;\n border: 1px solid #25a1f0; }\n\nul.wpstg-import-backup-more-info li {\n height: 20px; }\n\n.wpstg-backup-list {\n max-width: 800px; }\n\n.wpstg-backup-list h3 {\n color: #3e3e3e; }\n\n.wpstg-backup-list ul ul {\n margin-block-start: 1em;\n margin-block-end: 1em; }\n\n.wpstg-push-confirmation-message {\n text-align: justify;\n font-size: 15px; }\n\n.wpstg-settings-row {\n padding-top: 10px;\n padding-bottom: 10px; }\n\n.wpstg-settings-title {\n font-weight: 600; }\n\n.wpstg-settings-form-group {\n display: flex;\n align-items: center; }\n\n.wpstg-settings-form-group > .wpstg-settings-message {\n width: 30%;\n padding: 0;\n margin: 7px 0 0; }\n\n/**\n * WP STAGING EXCLUSION RULES TABLE LAYOUT\n */\n.wpstg-excluded-filters-container {\n padding: 0;\n margin-top: 10px;\n margin-bottom: 10px;\n max-width: 100%;\n width: 100%; }\n\n.wpstg-excluded-filters-container > table {\n width: 100%;\n border-collapse: collapse;\n border-color: transparent; }\n\n.wpstg-excluded-filters-container td {\n padding-top: 4px;\n padding-bottom: 4px;\n height: 20px; }\n\n.wpstg-excluded-filters-container h4 {\n margin: 0; }\n\n.wpstg-exclude-filters-foot {\n display: flex;\n justify-content: flex-start;\n padding: 0; }\n\n/**\n * WP STAGING EXCLUSION RULE DROPDOWN STYLE\n */\n.wpstg-exclude-filter-dropdown > button:hover {\n background: #135e96;\n border: 1px solid #135e96; }\n\n.wpstg-exclude-filter-dropdown > .wpstg-dropdown-menu {\n width: 128px; }\n\n.wpstg-remove-exclude-rule {\n color: #fff !important;\n background-color: #e01e5a;\n border: 1px solid #e01e5a;\n width: 20px;\n height: 20px;\n border-radius: 10px;\n font-size: 24px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n line-height: 0.7;\n margin-top: 5px;\n cursor: pointer; }\n\n.wpstg-remove-exclude-rule:hover {\n background-color: #E01E5A;\n border-color: #E01E5A; }\n\n.wpstg-code-block {\n margin-top: 4px;\n font-size: 1.2em;\n background: #f8f8f8;\n border-radius: 2px; }\n\n.wpstg-rule-info {\n background: #f8f8f8 !important; }\n\ncode.wpstg-code {\n display: inline-block;\n font-size: 11px;\n border: 1px solid #aaa;\n background: #fff;\n padding: 2px 4px;\n margin-bottom: 1px;\n color: #E01E5A; }\n\n.wpstg-exclusion-rule-info {\n color: #fff !important;\n background-color: #ffc107;\n border: 1px solid #ffc107;\n width: 14px;\n height: 14px;\n border-radius: 7px;\n font-size: 14px;\n padding: 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n outline: none;\n box-shadow: none;\n font-weight: 400;\n vertical-align: middle; }\n\n.wpstg-exclusion-rule-info:hover {\n background-color: #ffba0c;\n border: 1px solid #ffba0c; }\n\n/**\n * WP STAGING INPUTS EXCLUSION RULES\n */\n.wpstg-exclude-rule-input {\n font-size: 12px !important;\n padding: 2px 6px;\n box-shadow: none;\n outline: none !important;\n display: inline-block;\n font-weight: 400;\n line-height: 1.5;\n color: #222;\n border-radius: 0 !important;\n background-color: #fff;\n border: 1px solid #bbb;\n min-height: 24px !important;\n margin-top: 4px;\n margin-left: 4px;\n vertical-align: baseline !important;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n width: 135px; }\n\n.wpstg-excluded-filters-container tbody > tr:last-child .wpstg-exclude-rule-input {\n margin-bottom: 4px; }\n\n.wpstg-exclude-rule-input:hover {\n border: 1px solid #999; }\n\n.wpstg-exclude-rule-input:focus {\n border: 1px solid #25A0F1 !important;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important; }\n\n.wpstg-file-size-exclude-select,\n.wpstg-path-exclude-select {\n width: 135px; }\n\n.wpstg-file-size-exclude-select-small {\n width: 52px; }\n\n.wpstg-file-size-exclude-input {\n width: 75px; }\n\n.wpstg-staging-option-title {\n margin: 15px 0 0; }\n\n.wpstg-swal-push-container.wpstg--swal2-container {\n z-index: 9995; }\n\n#wpstg-scanning-files {\n padding-bottom: 5px; }\n\n#wpstg-scanning-files.wpstg-tab-section, #wpstg-scanning-db.wpstg-tab-section {\n padding-top: 10px; }\n\n.wpstg-reset-excludes-container {\n margin: 10px 0; }\n\n.wpstg-swal2-ajax-loader {\n width: 100%;\n height: 150px;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center; }\n\n@keyframes wpstg-loading-icon-anim {\n 0% {\n transform: rotate(0); }\n 100% {\n transform: rotate(360deg); } }\n\n.wpstg-swal2-ajax-loader > img {\n width: 64px;\n height: 64px;\n animation: wpstg-loading-icon-anim 1s infinite linear;\n -webkit-animation: wpstg-loading-icon-anim 1s infinite linear; }\n\n.wpstg-swal2-container .wpstg-tab-section {\n width: auto !important; }\n\n#wpstg-no-staging-site-results {\n margin-top: 10px;\n max-width: 375px; }\n\nli#wpstg-backup-no-results {\n max-width: 500px; }\n\nli#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n display: inline-block;\n text-align: center; }\n\nli#wpstg-backup-no-results .wpstg--dashicons, #wpstg-no-staging-site-results .wpstg--dashicons {\n filter: invert(50%);\n position: absolute;\n margin-top: 1px; }\n\nli#wpstg-backup-no-results .no-backups-found-text, #wpstg-no-staging-site-results .no-staging-site-found-text {\n color: #5d5d5d;\n margin-left: 20px; }\n\n@media only screen and (max-width: 680px) {\n li#wpstg-backup-no-results div, #wpstg-no-staging-site-results div {\n width: 100%; } }\n\n#wpstg--modal--backup--download-inner p.wpstg-download-modal-text {\n font-size: 16px;\n color: #565656; }\n\n#wpstg--modal--backup--download-inner h2 {\n color: #565656; }\n\n.wpstg-backup-restore-contains-database,\n.wpstg-backup-restore-contains-files {\n display: none; }\n\n.wpstg-green-button {\n background: #8bc34a;\n border: 1px solid #78a93f;\n color: white;\n text-shadow: 0 -1px 1px #78a93f, 1px 0 1px #78a93f, 0 1px 1px #40c921, -1px 0 1px #78a93f; }\n\n.wpstg-green-button:hover {\n background: #78a93f; }\n\n.wpstg-is-dir-loading {\n position: absolute;\n margin-top: -2px;\n margin-left: 8px;\n display: none; }\n\n.wpstg-ml-8px {\n margin-left: 8px; }\n\n.wpstg-mb-8px {\n margin-bottom: 8px; }\n\n.wpstg-btn-danger {\n background-color: #E01E5A;\n border: 1px solid #E01E5A;\n color: white;\n text-shadow: none; }\n\n.wpstg-btn-danger:hover {\n background: #c0194d;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }\n\n.wpstg-swal2-container.wpstg-swal2-loading > .wpstg--swal2-modal {\n height: 200px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm > .wpstg--swal2-modal {\n height: 100px; }\n\n.wpstg-swal2-container.wpstg-swal2-loading.wpstg-swal2-loading-sm .wpstg-swal2-ajax-loader img {\n height: 32px;\n width: 32px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container:not(.wpstg-swal2-loading) > .wpstg--swal2-modal {\n max-width: 480px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-header {\n display: none; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container .wpstg--swal2-content {\n height: auto; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n overflow-y: auto;\n height: auto !important; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content {\n font-size: 13px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-dir {\n margin-bottom: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-subdir {\n margin-top: 4px; }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open .wpstg--swal2-modal {\n height: calc(100vh - 70px); }\n\n.wpstg-reset-confirmation.wpstg-swal2-container.has-collapsible-open > .wpstg--swal2-modal > .wpstg--swal2-content .wpstg-tabs-wrapper {\n height: calc(100vh - 350px) !important; }\n\n.wpstg--swal2-actions.wpstg--modal--actions > button {\n margin-left: 4px;\n margin-right: 4px;\n text-transform: uppercase;\n text-shadow: initial;\n font-weight: 500;\n min-width: 80px; }\n\n.wpstg-swal-popup {\n max-width: 1200px !important; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-title {\n color: #393939; }\n\n.wpstg-swal-popup.wpstg-push-finished .wpstg--swal2-content {\n margin-top: 8px;\n color: #393939; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step.wpstg--swal2-active-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step,\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n background: #25a1f0; }\n\n.wpstg-swal-popup .wpstg--swal2-progress-steps .wpstg--swal2-progress-step-line {\n width: 2.75em; }\n\n.wpstg--dashicons {\n width: 16px;\n height: 16px; }\n\n.wpstg--dashicons.wpstg-dashicons-grey {\n filter: invert(20%); }\n\n.wpstg--dashicons.wpstg-dashicons-19 {\n width: 19px;\n height: 19px; }\n\n.wpstg--dashicons.wpstg-dashicons-21 {\n width: 21px;\n height: 21px; }\n\n#wpstg--tab--backup #wpstg-step-1 {\n display: flex;\n align-items: center; }\n\n.wpstg-advanced-options .wpstg--tooltip,\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: inline-flex;\n align-items: center; }\n\n.wpstg-advanced-options-site .wpstg--tooltip img.wpstg--dashicons {\n filter: invert(17%) sepia(0%) saturate(1%) hue-rotate(195deg) brightness(97%) contrast(77%); }\n\n#wpstg--tab--backup #wpstg-step-1 .wpstg--tooltip {\n border-bottom: 0 solid transparent;\n display: flex;\n align-items: center; }\n\n.wpstg--tooltip .wpstg--tooltiptext-backups::after {\n left: calc(20% + 2px); }\n\n.wpstg-listing-single-backup .wpstg--dashicons {\n width: 17px;\n height: 17px; }\n\n.wpstg-100-width {\n width: 100px; }\n\n.wpstg-caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n transition: transform 0.2s;\n cursor: pointer; }\n\n.wpstg-caret.wpstg-caret-up {\n transform: rotate(-180deg); }\n\n.wpstg-advanced-options-site label {\n font-size: 16px;\n display: block;\n margin: .5em 0; }\n\n#wpstg-confirm-backup-restore-data {\n font-size: 18px;\n margin: 0;\n margin-top: 30px; }\n\n/* Sweetalert WP STAGING Theme */\nbody.toplevel_page_wpstg_backup .wpstg--swal2-container.wpstg--swal2-backdrop-show,\nbody.toplevel_page_wpstg_clone .wpstg--swal2-container.wpstg--swal2-backdrop-show {\n background: rgba(0, 0, 0, 0.6);\n z-index: 9995; }\n\n.wpstg-swal-popup.wpstg--swal2-popup {\n border-radius: 8px;\n z-index: 9999;\n padding: 24px;\n color: #3e3e3e;\n font-family: Verdana, Geneva, Tahoma, sans-serif; }\n\n.wpstg-swal-popup .wpstg--swal2-title {\n font-size: 22px;\n color: #3e3e3e; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-title {\n align-self: flex-start;\n /* For an actual Swal title */\n text-align: left;\n /* Manually adding this class to a non flex display */\n margin-bottom: 0; }\n\n.wpstg-swal-popup .wpstg--swal2-close {\n top: 8px;\n right: 8px;\n z-index: 5; }\n\n.wpstg-swal-popup .wpstg--swal2-close:focus {\n outline: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions {\n justify-content: flex-end; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button {\n border-radius: 4px;\n font-weight: 900;\n border: 0;\n font-size: 15px;\n padding: 10px 12px;\n text-transform: capitalize;\n line-height: normal;\n height: 40px;\n min-width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup.wpstg--swal2-popup:not(.centered-modal) .wpstg--swal2-actions > button {\n margin-left: 8px; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel {\n border: 1px solid rgba(29, 28, 29, 0.3);\n background: #fff;\n color: #1d1c1d;\n font-weight: 500;\n width: 100px;\n text-shadow: none; }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button:hover {\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }\n\n.wpstg-swal-popup .wpstg--swal2-actions > button.wpstg--swal2-cancel:hover {\n background: rgba(28, 29, 28, 0.04); }\n\n#wpstg-backup-name-input {\n height: 44px;\n font-size: 18px; }\n\n.wpstg-restore-finished-container .wpstg--swal2-title {\n color: #565656 !important; }\n\n.wpstg-restore-finished-container .wpstg--swal2-content {\n margin-top: 20px;\n color: #a8a8a8; }\n\n/* WP Staging Implementation of Windows Style Linear Loader */\n.wpstg-linear-loader > span[class*=\"wpstg-linear-loader-item\"] {\n height: 6px;\n width: 6px;\n background: #333;\n display: inline-block;\n margin: 12px 2px;\n border-radius: 100%;\n animation: wpstg_linear_loader 3s infinite;\n animation-timing-function: cubic-bezier(0.03, 0.615, 0.995, 0.415);\n animation-fill-mode: both; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(1) {\n animation-delay: 1s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(2) {\n animation-delay: 0.8s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(3) {\n animation-delay: 0.6s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(4) {\n animation-delay: 0.4s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(5) {\n animation-delay: 0.2s; }\n\n.wpstg-linear-loader > span.wpstg-linear-loader-item:nth-child(6) {\n animation-delay: 0s; }\n\n@keyframes wpstg_linear_loader {\n 0% {\n transform: translateX(-30px);\n opacity: 0; }\n 25% {\n opacity: 1; }\n 50% {\n transform: translateX(30px);\n opacity: 0; }\n 100% {\n opacity: 0; } }\n\n/* END - Windows Style Linear Loader */\n.wpstg--modal--backup--import--upload--content {\n padding: .75em;\n margin: 1em auto; }\n\n.wpstg--modal--backup--import--upload--content .wpstg-linear-loader {\n display: none; }\n\n#wpstg-multisite-disabled .wpstg-clone {\n width: 355px; }\n\n#wpstg-free-version-backups .wpstg-clone p {\n font-size: 16px; }\n\n.wpstg-staging-info li .backup-notes {\n word-break: break-word; }\n\n.wpstg--modal--import--upload--progress--title small {\n font-weight: normal; }\n\n#wpstg-report-issue-wrapper {\n position: relative; }\n\n#wpstg-report-issue-wrapper .arrow-up {\n width: 0;\n height: 0;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 8px solid white;\n position: absolute;\n top: -8px;\n right: 40px; }\n\n.notice {\n margin: 10px 20px 0 2px; }\n\n.wpstg--notice {\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n margin: 20px 20px 20px 0px;\n padding: 1px 12px; }\n\n.wpstg--error a:hover {\n color: #eeeeee; }\n\n.wpstg--error, .wpstg--error a {\n background: #E01E5A;\n color: white; }\n\n/**\n * Buttons\n */\n.wpstg-button {\n display: inline-block;\n border-radius: 2px;\n cursor: pointer;\n padding: 2px 10px 2px 10px;\n text-transform: uppercase;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button.wpstg-save {\n background-color: #1687A7;\n color: white; }\n\n.wpstg-button.wpstg-save:hover {\n background-color: #276678; }\n\n.wpstg-button.wpstg-button-light {\n background-color: #f8f8f8;\n border: 1px solid #eee;\n color: #333;\n animation: background-color 0.3s; }\n\n.wpstg-button.wpstg-button-light:hover {\n background-color: #e0e0e0;\n border: 1px solid #e0e0e0; }\n\n.wpstg-buttons .spinner {\n float: none;\n margin: 0 0 0 5px; }\n\n.wpstg-button.danger {\n display: inline-block;\n text-decoration: none;\n text-align: center;\n text-transform: inherit;\n background-color: #E01E5A;\n color: white;\n border-radius: 2px;\n border-color: transparent; }\n\n.wpstg-button.danger:hover {\n background-color: #c0194d; }\n\n.wpstg-button--big {\n display: inline-block;\n padding: 10px;\n min-width: 170px;\n font-size: 16px;\n text-decoration: none;\n text-align: center;\n margin-top: 20px;\n color: white;\n border-radius: 3px; }\n\n.wpstg-button--primary {\n display: inline-block;\n text-decoration: none;\n font-size: 13px;\n line-height: 2.15384615;\n min-height: 30px;\n margin: 0;\n padding: 0 10px;\n cursor: pointer;\n border: 1px solid rgba(29, 28, 29, 0.3);\n -webkit-appearance: none;\n border-radius: 2px;\n white-space: nowrap;\n box-sizing: border-box;\n color: #171717; }\n\n.wpstg-button--primary:hover {\n background: rgba(28, 29, 28, 0.04);\n color: black; }\n\n.wpstg-button--secondary {\n display: inline-block;\n background-color: transparent;\n color: #95a5a6;\n border-radius: 2px;\n border: 1px solid rgba(29, 28, 29, 0.3);\n cursor: pointer;\n padding: 4px 10px 2px 10px;\n font-weight: 500;\n outline: 0;\n transition: background-color .1s ease-in;\n text-decoration: none; }\n\n.wpstg-button--red {\n background-color: #E01E5A;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--red:hover {\n background-color: #d02358;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--cta-red {\n background-color: #fe008f;\n border-color: #E01E5A;\n color: white; }\n\n.wpstg-button--cta-red:hover {\n background-color: #f31391;\n border-color: #e0255f;\n color: white; }\n\n.wpstg-button--blue {\n background-color: #25A0F1;\n border-color: #25A0F1;\n color: white; }\n\n.wpstg-button--blue:hover {\n background-color: #259be6;\n border-color: #259be6;\n color: white; }\n\n#wpstg-button-backup-upgrade {\n font-size: 16px;\n width: 150px;\n text-align: center; }\n\n.wpstg-staging-status {\n color: #E01E5A; }\n\n#wpstg-push-changes,\n#wpstg-start-updating,\n#wpstg-save-clone-data {\n margin-left: 5px; }\n\ninput.wpstg-textbox {\n border: 1px solid #aaa;\n border-radius: .25rem;\n padding: 0.25rem 0.5rem;\n font-size: 14px; }\n\ninput.wpstg-textbox:focus {\n outline: 0;\n border-color: #259be6;\n -webkit-box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35);\n box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.35); }\n\ninput.wpstg-textbox::placeholder {\n color: #888; }\n\n.wpstg--advance-settings--checkbox {\n display: flex;\n align-items: center; }\n\n.wpstg--advance-settings--checkbox > label {\n font-size: 14px;\n font-weight: bolder;\n width: 165px;\n display: inline-block; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip {\n margin-top: 5px;\n margin-left: 5px;\n position: relative;\n display: inline-block;\n border-bottom: 0px solid transparent; }\n\n.wpstg--advance-settings--checkbox > .wpstg--tooltip > .wpstg--tooltiptext {\n top: 18px;\n left: -150px; }\n\ndiv#wpstg-restore-wait {\n display: none;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n height: 100vh;\n width: 100vw;\n position: fixed;\n top: 0;\n left: 0;\n background: white;\n z-index: 99999; }\n\ndiv#wpstg-restore-wait .wpstg-title {\n font-weight: bold; }\n\ndiv#wpstg-restore-wait div {\n font-size: 16px;\n margin-top: 12px; }\n\n.resumable-browse {\n cursor: pointer; }\n\n.resumable-browse a {\n text-decoration: underline; }\n\n.wpstg-upload-text {\n font-weight: 600; }\n\n.wpstg--modal--backup--import--upload--container.dragover {\n transition: background-color 0.7s;\n background-color: #94dc96;\n color: #FFF; }\n\n.wpstg--modal--backup--import--upload--container.dragover * {\n pointer-events: none;\n /* Avoids flickering when dragging to drop a file */ }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-upload-text {\n display: none; }\n\n.wpstg--modal--backup--import--upload--container.dragover .wpstg-dragover-text {\n display: block; }\n\n.wpstg--modal--backup--import--upload--container .wpstg-dragover-text {\n display: none; }\n\n#wpstg-invalid-license-message, #wpstg-invalid-license-message a {\n font-weight: 500;\n color: #E01E5A;\n margin-left: 6px; }\n\n#wpstg-sidebar--banner {\n max-width: 200px; }\n\n@media screen and (max-width: 1234px) {\n .wpstg-h2 {\n font-size: 24px; }\n #wpstg-welcome li {\n font-size: 14px; } }\n\n.wpstg-exclamation {\n color: #ffffff;\n border-radius: 100%;\n background-color: #E01E5A;\n width: 20px;\n height: 20px;\n text-align: center;\n font-weight: bold;\n display: inline-block;\n margin: 6px; }\n\n.wpstg--tab--contents {\n padding-top: 1px; }\n\n.wpstg-swal-show.wpstg--swal2-show {\n -webkit-animation: wpstg-swal-show 0.2s !important;\n animation: wpstg-swal-show 0.2s !important; }\n\n@-webkit-keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n@keyframes wpstg-swal-show {\n 0% {\n transform: scale(0.3); }\n 100% {\n transform: scale(1); } }\n\n.wpstg-tab-item--vert-center {\n display: flex;\n align-items: center; }\n\n.wpstg-db-comparison-modal {\n padding-left: 10px;\n padding-right: 10px; }\n\n.wpstg-db-comparison-table {\n font-size: 13px;\n width: 100%; }\n\n.wpstg-db-comparison-table tbody td {\n padding-top: 6px; }\n\n.wpstg-db-comparison-table tr > td:first-child,\n.wpstg-db-comparison-table tr > th:first-child {\n text-align: left; }\n\n.wpstg-css-tick {\n display: inline-block;\n transform: rotate(45deg);\n height: 12px;\n width: 6px;\n border-bottom: 3px solid #78b13f;\n border-right: 3px solid #78b13f; }\n\n.wpstg-css-cross {\n position: relative;\n top: -8px;\n left: -2px;\n width: 16px;\n height: 16px; }\n\n.wpstg-css-cross:before, .wpstg-css-cross:after {\n position: absolute;\n content: ' ';\n height: 17px;\n width: 3px;\n background-color: #E01E5A; }\n\n.wpstg-css-cross:before {\n transform: rotate(45deg); }\n\n.wpstg-css-cross:after {\n transform: rotate(-45deg); }\n\n.wpstg-selection-preview {\n font-size: 12px;\n margin-left: 20px;\n color: #3216; }\n\n.wpstg-selection-preview.danger {\n color: #E01E5A; }\n\n.wpstg--backup-automated {\n margin-bottom: -5px; }\n\n.wpstg--dismiss-schedule {\n cursor: pointer; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup {\n vertical-align: middle; }\n\n.wpstg-import-backup-contains.wpstg-listing-single-backup li {\n padding: 2px; }\n\n.wpstg--modal--backup--manage--schedules--content table {\n margin: 0 auto;\n width: 100%; }\n\n.wpstg--modal--backup--manage--schedules--title {\n text-align: left;\n margin-bottom: 10px;\n margin-top: 0px; }\n\n.wpstg--modal--backup--import--upload--title {\n text-align: center; }\n\n#wpstg--modal--backup--manage--schedules--content {\n text-align: left; }\n\n#wpstg--modal--backup--manage--schedules--content thead {\n font-weight: bold; }\n\n#wpstg--modal--backup--manage--schedules--content .wpstg--tooltip.wpstg--dismiss-schedule {\n border-bottom: none; }\n\n.wpstg--tooltip.wpstg--dismiss-schedule img.wpstg--dashicons {\n filter: invert(18%) sepia(57%) saturate(6238%) hue-rotate(332deg) brightness(93%) contrast(88%); }\n\n#wpstg--modal--backup--manage--schedules--content td {\n padding-right: 25px;\n padding-top: 10px; }\n\n#wpstg--modal--backup--manage--schedules--content td:last-child {\n padding-right: 0px; }\n\n#wpstg--modal--backup--manage--schedules--content ul {\n margin-top: 0;\n margin-bottom: 0; }\n\n#wpstg--modal--backup--manage--schedules--content ul li:first-child .wpstg--tooltip {\n margin-left: 0; }\n\n.wpstg-button:disabled {\n background-color: #dddddd;\n text-shadow: none;\n color: #b3b3b3;\n border: 1px solid #cfcfcf;\n cursor: not-allowed; }\n\n#wpstg-backup-runs-info {\n margin: 0px;\n margin-top: 20px;\n padding: 0px;\n font-size: 12px; }\n\n#wpstg-backup-runs-info li {\n margin: 0px; }\n\ndiv#wpstg-backup-locked {\n width: 100%;\n max-width: calc(800px - 30px);\n padding: 15px;\n background: white;\n margin-bottom: 10px;\n display: flex;\n align-items: center; }\n\n#wpstg-backup-locked .icon {\n display: inline-block;\n height: 20px; }\n\n#wpstg-backup-locked .icon img {\n animation: wpstg-loading-icon-anim 2s infinite; }\n\n#wpstg-backup-locked .text {\n display: inline-block;\n margin-left: 15px; }\n\n#backup-schedule-current-time {\n font-size: 12px; }\n\n.wpstg-backup-scheduling-options label {\n margin-top: 17px; }\n\n.wpstg-backup-scheduling-options .wpstg-storage-option {\n display: block;\n margin: .5em 0;\n font-size: 15px; }\n\n.wpstg-storage-option > span:not(.wpstg-storage-settings) {\n width: 150px;\n display: inline-block; }\n\n.wpstg-storages-postbox {\n padding: 13px 16px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: white; }\n\n.wpstg-storages-postbox a {\n padding: 8px;\n margin-right: 8px;\n text-decoration: none;\n font-weight: bold;\n color: #3c434a; }\n\n.wpstg-storages-postbox a:hover {\n color: #b70b72; }\n\n.wpstg-storage-postbox {\n padding: 4px 16px;\n background-color: white; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active {\n background: #b70b72;\n color: white;\n font-weight: 700;\n cursor: default;\n border-radius: 3px; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-active:hover {\n background: #a10a64; }\n\n.wpstg-storages-postbox a.wpstg-storage-provider-disabled {\n color: #999;\n cursor: not-allowed; }\n\n.wpstg-provider-revoke-form {\n display: inline;\n margin-top: 12px;\n margin-bottom: 12px; }\n\n.wpstg-provider-settings-form {\n margin-top: 10px; }\n\n.wpstg-provider-settings-form strong {\n display: block;\n margin: 8px 0; }\n\n.wpstg-provider-settings-form p {\n margin: 0;\n margin-bottom: 8px; }\n\n.wpstg-provider-settings-form fieldset {\n margin: 0;\n padding: 0;\n margin-bottom: 16px; }\n\n.wpstg-provider-settings-form fieldset p {\n margin: 0;\n padding: 5px;\n font-size: 12px; }\n\n.wpstg-provider-settings-form fieldset label {\n display: block;\n margin-bottom: 2px; }\n\n.wpstg-provider-settings-form fieldset input {\n font-size: 12px; }\n\n.wpstg-provider-settings-form .wpstg-link-btn.wpstg-blue-primary {\n text-shadow: none; }\n\n.wpstg-btn-google {\n font-family: Roboto;\n display: inline-flex;\n align-items: center;\n border-width: 0;\n outline: none;\n border-radius: 3px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);\n color: #555;\n transition: background-color .3s;\n padding: 8px;\n padding-right: 16px;\n height: 40px;\n line-height: 40px;\n font-size: 14px;\n box-sizing: border-box;\n text-decoration: none;\n font-weight: bold;\n margin-right: 10px; }\n\n.wpstg-btn-google img {\n width: 18px;\n height: 18px;\n margin-right: 12px;\n margin-left: 5px; }\n\n#wpstg-custom-google-credentials {\n margin-top: 20px; }\n\n.wpstg-fieldset .wpstg-with-icon {\n display: inline-flex;\n align-items: center; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon {\n margin-left: 8px; }\n\n.wpstg-fieldset .wpstg-with-icon .wpstg-fieldset-icon img {\n width: 16px;\n height: 16px; }\n\n#wpstg-btn-provider-revoke {\n border-radius: 2px; }\n\n.wpstg-metabox-holder {\n border-radius: 8px;\n background: #fff;\n padding: 20px;\n margin-left: 16px;\n min-height: 600px;\n margin-right: 32px;\n margin-top: 60px;\n -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.1); }\n\n@media only screen and (max-width: 680px) {\n .wpstg-metabox-holder {\n padding: 0px;\n padding-top: 5px;\n margin-left: 0;\n margin-right: 5px; }\n #wpstg-tab-container .wpstg-settings-panel {\n padding: 0;\n overflow: auto; }\n .wpstg-form-table td:first-child {\n width: 50%; } }\n\n.wpstg-nav-tab {\n float: left;\n border: 1px solid #ffffff;\n border-bottom: none;\n margin-left: 0.5em;\n padding: 5px 10px;\n font-size: 14px;\n line-height: 1.71428571;\n font-weight: 600;\n background: #dcdcde;\n color: #3c434a;\n text-decoration: none;\n white-space: nowrap; }\n\n.wpstg-nav-tab-active, .wpstg-nav-tab-active:focus, .wpstg-nav-tab-active:focus:active, .wpstg-nav-tab-active:hover {\n border-bottom: 1px solid #f0f0f1;\n background: #f3f5f7;\n color: #b70b72;\n -webkit-box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16);\n box-shadow: -4px -13px 14px -12px rgba(0, 0, 0, 0.16); }\n\n.wpstg-nav-tab-active {\n margin-bottom: -1px; }\n\n.wpstg-nav-tab-wrapper {\n /*\n border-bottom: 1px solid #c3c4c7;\n */\n margin: 0;\n padding-top: 9px;\n padding-bottom: 0;\n line-height: inherit; }\n\n.wpstg-nav-tab-wrapper li {\n margin-bottom: 0px; }\n\n#wpstg--js--translations {\n text-decoration: underline; }\n"]}
assets/js/dist/wpstg-admin.js CHANGED
@@ -2591,6 +2591,7 @@
2591
  retryTimeout *= incrementRatio;
2592
  }
2593
 
 
2594
  $.ajax({
2595
  url: ajaxurl + '?action=wpstg_processing&_=' + Date.now() / 1000,
2596
  type: 'POST',
@@ -2610,7 +2611,7 @@
2610
  } else {
2611
  console.log('RETRYING LIMIT');
2612
  var errorCode = 'undefined' === typeof xhr.status ? 'Unknown' : xhr.status;
2613
- showError('Fatal Error: ' + errorCode + ' Please try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');
2614
  }
2615
  },
2616
  success: function success(data) {
@@ -2621,32 +2622,32 @@
2621
  statusCode: {
2622
  404: function _() {
2623
  if (tryCount >= retryLimit) {
2624
- showError('Error 404 - Can\'t find ajax request URL! Please try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');
2625
  }
2626
  },
2627
  500: function _() {
2628
  if (tryCount >= retryLimit) {
2629
- showError('Fatal Error 500 - Internal server error while processing the request! Please try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');
2630
  }
2631
  },
2632
  504: function _() {
2633
  if (tryCount > retryLimit) {
2634
- showError('Error 504 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n\ ');
2635
  }
2636
  },
2637
  502: function _() {
2638
  if (tryCount >= retryLimit) {
2639
- showError('Error 502 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n\ ');
2640
  }
2641
  },
2642
  503: function _() {
2643
  if (tryCount >= retryLimit) {
2644
- showError('Error 503 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n\ ');
2645
  }
2646
  },
2647
  429: function _() {
2648
  if (tryCount >= retryLimit) {
2649
- showError('Error 429 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n\ ');
2650
  }
2651
  },
2652
  403: function _() {
2591
  retryTimeout *= incrementRatio;
2592
  }
2593
 
2594
+ var errorMsgFooter = 'Please try the <a href=\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\' target=\'_blank\'>WP STAGING Small Server Settings</a> or submit an error report and contact us. <br/><br/><strong>Tip:</strong> If you get this error while pushing, you can also use the <strong>BACKUP & MIGRATION</strong> feature to move your staging site to live. <a href=\'https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/\' target=\'_blank\'>Read more.</a>';
2595
  $.ajax({
2596
  url: ajaxurl + '?action=wpstg_processing&_=' + Date.now() / 1000,
2597
  type: 'POST',
2611
  } else {
2612
  console.log('RETRYING LIMIT');
2613
  var errorCode = 'undefined' === typeof xhr.status ? 'Unknown' : xhr.status;
2614
+ showError('Fatal Error: ' + errorCode + ' ' + errorMsgFooter);
2615
  }
2616
  },
2617
  success: function success(data) {
2622
  statusCode: {
2623
  404: function _() {
2624
  if (tryCount >= retryLimit) {
2625
+ showError('Error 404 - Can\'t find ajax request URL! ' + errorMsgFooter);
2626
  }
2627
  },
2628
  500: function _() {
2629
  if (tryCount >= retryLimit) {
2630
+ showError('Fatal Error 500 - Internal server error while processing the request! ' + errorMsgFooter);
2631
  }
2632
  },
2633
  504: function _() {
2634
  if (tryCount > retryLimit) {
2635
+ showError('Error 504 - It seems your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);
2636
  }
2637
  },
2638
  502: function _() {
2639
  if (tryCount >= retryLimit) {
2640
+ showError('Error 502 - It seems your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);
2641
  }
2642
  },
2643
  503: function _() {
2644
  if (tryCount >= retryLimit) {
2645
+ showError('Error 503 - It seem your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);
2646
  }
2647
  },
2648
  429: function _() {
2649
  if (tryCount >= retryLimit) {
2650
+ showError('Error 429 - It seems your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);
2651
  }
2652
  },
2653
  403: function _() {
assets/js/dist/wpstg-admin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"wpstg-admin.js","sources":["../src/modules/wpstg-polyfill.js","../src/modules/wpstg-dom-utils.js","../src/modules/wpstg-clone-staging.js","../src/modules/wpstg-directory-navigation.js","../src/modules/wpstg-table-selection.js","../src/modules/wpstg-exclude-filters.js","../src/modules/wpstg-modal.js","../src/modules/wpstg-hover-intent.js","../src/wpstg.js","../src/modules/wpstg-reset-modal.js","../src/modules/wpstg-cloning-advance-settings.js","../src/modules/wpstg-main-menu.js","../src/wpstg-admin.js"],"sourcesContent":["/**\n * Polyfills the `Element.prototype.closest` function if not available in the browser.\n *\n * @return {Function} A function that will return the closest element, by selector, to this element.\n */\nfunction polyfillClosest() {\n if (Element.prototype.closest) {\n if (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n }\n\n Element.prototype.closest = function(s) {\n let el = this;\n\n do {\n if (Element.prototype.matches.call(el, s)) return el;\n el = el.parentElement || el.parentNode;\n } while (el !== null && el.nodeType === 1);\n return null;\n };\n }\n\n return function(element, selector) {\n return element instanceof Element ? element.closest(selector) : null;\n };\n}\n\nexport const closest = polyfillClosest();\n","import {closest} from './wpstg-polyfill';\n\n/**\n * WP STAGING basic jQuery replacement\n */\n\n/**\n * Shortcut for document.querySelector() or jQuery's $()\n * Return single element only\n */\nexport function qs(selector) {\n return document.querySelector(selector);\n}\n\n/**\n * Shortcut for document.querySelector() or jQuery's $()\n * Return collection of elements\n */\nexport function all(selector) {\n return document.querySelectorAll(selector);\n}\n\n/**\n * alternative of jQuery - $(parent).on(event, selector, handler)\n */\nexport function addEvent(parent, evt, selector, handler) {\n if (!parent instanceof Element) {\n return;\n }\n\n parent.addEventListener(evt, function(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n handler(event.target.closest(selector), event);\n }\n }, false);\n}\n\nexport function slideDown(element, duration = 400) {\n element.style.display = 'block';\n element.style.overflow = 'hidden';\n const height = element.offsetHeight;\n element.style.height = '0px';\n element.style.transitionProperty = 'height';\n element.style.transitionDuration = duration + 'ms';\n setTimeout(() => {\n element.style.height = height + 'px';\n window.setTimeout(() => {\n element.style.removeProperty('height');\n element.style.removeProperty('overflow');\n element.style.removeProperty('transition-duration');\n element.style.removeProperty('transition-property');\n }, duration);\n }, 0);\n}\n\nexport function slideUp(element, duration = 400) {\n element.style.display = 'block';\n element.style.overflow = 'hidden';\n const height = element.offsetHeight;\n element.style.height = height + 'px';\n element.style.transitionProperty = 'height';\n element.style.transitionDuration = duration + 'ms';\n setTimeout(() => {\n element.style.height = '0px';\n window.setTimeout(() => {\n element.style.display = 'none';\n element.style.removeProperty('height');\n element.style.removeProperty('overflow');\n element.style.removeProperty('transition-duration');\n element.style.removeProperty('transition-property');\n }, duration);\n }, 0);\n}\n\nexport function fadeOut(element, duration = 300) {\n element.style.opacity = 1;\n element.style.transitionProperty = 'opacity';\n element.style.transitionDuration = duration + 'ms';\n setTimeout(() => {\n element.style.opacity = 0;\n window.setTimeout(() => {\n element.style.display = 'none';\n element.style.removeProperty('opacity');\n element.style.removeProperty('transition-duration');\n element.style.removeProperty('transition-property');\n }, duration);\n }, 0);\n}\n\nexport function getNextSibling(element, selector) {\n let sibling = element.nextElementSibling;\n\n while (sibling) {\n if (sibling.matches(selector)) {\n return sibling;\n }\n\n sibling = sibling.nextElementSibling;\n }\n};\n\nexport function getParents(element, selector) {\n const result = [];\n for (let parent = element && element.parentElement; parent; parent = parent.parentElement) {\n if (parent.matches(selector)) {\n result.push(parent);\n }\n }\n\n return result;\n}\n\n/**\n * Check if element has class name\n * @param element\n * @param className\n * @return {boolean}\n */\nexport function hasClass(element, className) {\n return (' ' + element.className + ' ').indexOf(' ' + className+ ' ') > -1;\n}\n\n/**\n * Dispatches a change on an element that will trigger, depending on the element type,\n * cascading changes on elements dependant on the one that triggered the change and that\n * belong in the same container.\n *\n * @param {Element} element A reference to the Element the change was triggered from.\n *\n * @return {void} The function does not return any value and will have the side-effect of\n * hiding or showing dependant elements.\n */\nexport function handleDisplayDependencies(element) {\n if (!element instanceof Element || !element.id) {\n return;\n }\n\n const containerSelector = '.wpstg-container';\n // Use the default WordPress CSS class to hide and show the objects.\n const hiddenClass = 'hidden';\n const elementType = element.getAttribute('type');\n\n switch (elementType) {\n case 'checkbox':\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n const showIfChecked = container.querySelectorAll(`[data-show-if-checked=\"${element.id}\"]`);\n const showIfUnchecked = container.querySelectorAll(`[data-show-if-unchecked=\"${element.id}\"]`);\n const checked = element.checked;\n\n if (showIfChecked.length) {\n for (const el of showIfChecked) {\n if (checked) {\n el.classList.remove(hiddenClass);\n } else {\n el.classList.add(hiddenClass);\n }\n }\n }\n\n if (showIfUnchecked.length) {\n for (const el of showIfUnchecked) {\n if (checked) {\n el.classList.add(hiddenClass);\n } else {\n el.classList.remove(hiddenClass);\n }\n }\n }\n\n return;\n default:\n // Not a type we handle.\n return;\n }\n}\n\n/**\n * Initializes the display status of any element that depends on the status of another to\n * either hide or show.\n *\n * @return {void} The function will have the side-effect to toggle the hide/show class from\n * elements dependant on another to hide or show.\n */\nexport function initDependantDisplay() {\n const displayControllerSelector = '[onchange^=\"WPStaging.handleDisplayDependencies\"]';\n const displayControllers = document.querySelectorAll(displayControllerSelector);\n for (const displayController of displayControllers) {\n handleDisplayDependencies(displayController);\n }\n}\n\n/**\n * Toggle target element set in data-wpstg-target of the given element\n *\n * @param {Element} element A reference to the Element the change was triggered from.\n *\n * @return {void} The function does not return any value and will have the side-effect of\n * hiding or showing dependant elements.\n */\nexport function handleToggleElement(element) {\n if (!element instanceof Element || !element.getAttribute('data-wpstg-target')) {\n return;\n }\n\n const containerSelector = '.wpstg_admin';\n // Use the default WordPress CSS class to hide and show the objects.\n const hiddenClass = 'hidden';\n\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n const elements = container.querySelectorAll(element.getAttribute('data-wpstg-target'));\n\n if (elements.length) {\n for (const el of elements) {\n el.classList.toggle(hiddenClass);\n }\n }\n}\n\n/**\n * Copy text in data-wpstg-copy to element(s) in data-wpstg-target\n *\n * @param {Element} element\n *\n * @return {void}\n */\nexport function handleCopyPaste(element) {\n if (!element instanceof Element || !element.getAttribute('data-wpstg-target') || !element.getAttribute('data-wpstg-copy')) {\n return;\n }\n\n const containerSelector = '.wpstg_admin';\n\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n navigator.clipboard.writeText(element.getAttribute('data-wpstg-copy'));\n const elements = container.querySelectorAll(element.getAttribute('data-wpstg-target'));\n\n if (elements.length) {\n for (const el of elements) {\n el.value = element.getAttribute('data-wpstg-copy', '');\n }\n }\n}\n\n/**\n * Copy text in data-wpstg-source to clipboard\n *\n * @param {Element} element\n *\n * @return {void}\n */\nexport function handleCopyToClipboard(element) {\n if (!element instanceof Element || !element.getAttribute('data-wpstg-source')) {\n return;\n }\n\n const containerSelector = '.wpstg_admin';\n\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n const el = container.querySelector(element.getAttribute('data-wpstg-source'));\n\n if (el) {\n navigator.clipboard.writeText(el.value);\n }\n}\n\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Enable/Disable cloning for staging site\n */\nexport default class WpstgCloneStaging {\n constructor(\n pageWrapperId = '#wpstg-clonepage-wrapper',\n wpstgObject = wpstg,\n ) {\n this.pageWrapper = dom.qs(pageWrapperId);\n this.wpstgObject = wpstgObject;\n this.enableButtonId = '#wpstg-enable-staging-cloning';\n this.enableAction = 'wpstg_enable_staging_cloning';\n\n this.notyf = new Notyf({\n duration: 10000,\n position: {\n x: 'center',\n y: 'bottom',\n },\n dismissible: true,\n types: [\n {\n type: 'warning',\n background: 'orange',\n icon: false,\n },\n ],\n });\n this.init();\n }\n\n addEvents() {\n if (this.pageWrapper === null) {\n return;\n }\n\n dom.addEvent(this.pageWrapper, 'click', this.enableButtonId, () => {\n this.sendRequest(this.enableAction);\n });\n }\n\n init() {\n this.addEvents();\n }\n\n sendRequest(action) {\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams({\n action: action,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n }),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((data) => {\n // Reload current page if successful.\n if ('undefined' !== typeof (data.success) && data.success) {\n location.reload();\n return;\n }\n\n // There will be message probably in case of error\n if ('undefined' !== typeof (data.message)) {\n this.notyf.error(data.message);\n return;\n }\n\n this.notyf.error(this.wpstgObject.i18n['somethingWentWrong']);\n }).catch((error) => {\n console.warn(this.wpstgObject.i18n['somethingWentWrong'], error);\n });\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Fetch directory direct child directories\n */\nexport default class WpstgDirectoryNavigation {\n constructor(\n directoryListingSelector = '#wpstg-directories-listing',\n workflowSelector = '#wpstg-workflow',\n wpstgObject = wpstg,\n notyf = null,\n ) {\n this.directoryListingContainer = dom.qs(directoryListingSelector);\n this.workflow = dom.qs(workflowSelector);\n this.wpstgObject = wpstgObject;\n this.dirCheckboxSelector = '.wpstg-check-dir';\n this.dirExpandSelector = '.wpstg-expand-dirs';\n this.unselectAllDirsSelector = '.wpstg-unselect-dirs';\n this.selectDefaultDirsSelector = '.wpstg-select-dirs-default';\n this.fetchChildrenAction = 'wpstg_fetch_dir_childrens';\n this.currentCheckboxElement = null;\n this.currentParentDiv = null;\n this.currentLoader = null;\n this.existingExcludes = [];\n this.excludedDirectories = [];\n this.isDefaultSelected = false;\n this.notyf = notyf;\n\n this.init();\n }\n\n addEvents() {\n if (this.directoryListingContainer === null) {\n console.log('Error: directory navigation add events');\n return;\n }\n\n dom.addEvent(this.directoryListingContainer, 'change', this.dirCheckboxSelector, (element, event) => {\n event.preventDefault();\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', this.dirExpandSelector, (element, event) => {\n event.preventDefault();\n if (this.toggleDirExpand(element)) {\n this.sendRequest(this.fetchChildrenAction, element);\n }\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', this.unselectAllDirsSelector, () => {\n this.unselectAll();\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', this.selectDefaultDirsSelector, () => {\n this.selectDefault();\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', '.wpstg-expand-dirs', (target, event) => {\n event.preventDefault();\n this.toggleDirectoryNavigation(target);\n });\n\n dom.addEvent(this.directoryListingContainer, 'change', 'input.wpstg-check-dir', (target) => {\n this.updateDirectorySelection(target);\n });\n }\n\n init() {\n this.addEvents();\n this.parseExcludes();\n }\n\n /**\n * Toggle Dir Expand,\n * Return true if children aren't fetched\n * @param {HTMLElement} element\n * @return {boolean}\n */\n toggleDirExpand(element) {\n this.currentParentDiv = element.parentElement;\n this.currentCheckboxElement = element.previousSibling;\n this.currentLoader = this.currentParentDiv.querySelector('.wpstg-is-dir-loading');\n if (this.currentCheckboxElement.getAttribute('data-navigateable', 'false') === 'false') {\n return false;\n }\n\n if (this.currentCheckboxElement.getAttribute('data-scanned', 'false') === 'false') {\n return true;\n }\n\n return false;\n }\n\n sendRequest(action) {\n if (this.currentLoader !== null) {\n this.currentLoader.style.display = 'inline-block';\n }\n\n const changed = this.currentCheckboxElement.getAttribute('data-changed');\n\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams({\n action: action,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n dirPath: this.currentCheckboxElement.value,\n isChecked: this.currentCheckboxElement.checked,\n forceDefault: changed === 'true',\n }),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((data) => {\n if ('undefined' !== typeof (data.success) && data.success) {\n this.currentCheckboxElement.setAttribute('data-scanned', true);\n const dirContainer = document.createElement('div');\n dirContainer.classList.add('wpstg-dir');\n dirContainer.classList.add('wpstg-subdir');\n dirContainer.innerHTML = JSON.parse(data.directoryListing);\n this.currentParentDiv.appendChild(dirContainer);\n if (this.currentLoader !== null) {\n this.currentLoader.style.display = 'none';\n }\n\n dom.slideDown(dirContainer);\n\n return;\n }\n\n if (this.notyf !== null) {\n this.notyf.error(this.wpstgObject.i18n['somethingWentWrong']);\n } else {\n alert('Error: ' + this.wpstgObject.i18n['somethingWentWrong']);\n }\n }).catch((error) => {\n console.warn(this.wpstgObject.i18n['somethingWentWrong'], error);\n });\n }\n\n getExcludedDirectories() {\n this.excludedDirectories = [];\n this.directoryListingContainer.querySelectorAll('.wpstg-dir input:not(:checked)').forEach((element) => {\n if (!this.isParentExcluded(element.value)) {\n this.excludedDirectories.push(element.value);\n }\n });\n\n this.existingExcludes.forEach((exclude) => {\n if (!this.isParentExcluded(exclude) && !this.isScanned(exclude)) {\n this.excludedDirectories.push(exclude);\n }\n });\n\n return this.excludedDirectories.join(this.wpstgObject.settings.directorySeparator);\n }\n\n /**\n * @param {string} path\n * @return {bool}\n */\n isParentExcluded(path) {\n let isParentAlreadyExcluded = false;\n this.excludedDirectories.forEach((dir) => {\n if (path.startsWith(dir + '/')) {\n isParentAlreadyExcluded = true;\n }\n });\n\n return isParentAlreadyExcluded;\n }\n\n getExtraDirectoriesRootOnly() {\n this.getExcludedDirectories();\n const extraDirectories = [];\n this.directoryListingContainer.querySelectorAll(':not(.wpstg-subdir)>.wpstg-dir>input.wpstg-wp-non-core-dir:checked').forEach((element) => {\n extraDirectories.push(element.value);\n });\n\n // Check if extra directories text area exists\n // TODO: remove extraCustomDirectories code if no one require extraCustomDirectories...\n const extraDirectoriesTextArea = dom.qs('#wpstg_extraDirectories');\n if (extraDirectoriesTextArea === null || extraDirectoriesTextArea.value === '') {\n return extraDirectories.join(this.wpstgObject.settings.directorySeparator);\n }\n\n const extraCustomDirectories = extraDirectoriesTextArea.value.split(/\\r?\\n/);\n\n return extraDirectories.concat(extraCustomDirectories).join(this.wpstgObject.settings.directorySeparator);\n }\n\n unselectAll() {\n this.directoryListingContainer.querySelectorAll('.wpstg-dir input').forEach((element) => {\n element.checked = false;\n });\n\n this.countSelectedFiles();\n }\n\n selectDefault() {\n // unselect all checkboxes\n this.unselectAll();\n\n // only select those checkboxes whose class is wpstg-wp-core-dir\n this.directoryListingContainer.querySelectorAll('.wpstg-dir input.wpstg-wp-core-dir').forEach((element) => {\n element.checked = true;\n });\n\n // then unselect those checkboxes whose parent has wpstg extra checkbox\n this.directoryListingContainer.querySelectorAll('.wpstg-dir > .wpstg-wp-non-core-dir').forEach((element) => {\n element.parentElement.querySelectorAll('input.wpstg-wp-core-dir').forEach((element) => {\n element.checked = false;\n });\n });\n\n this.isDefaultSelected = true;\n\n this.countSelectedFiles();\n }\n\n parseExcludes() {\n this.existingExcludes = this.directoryListingContainer.getAttribute('data-existing-excludes', []);\n if (this.existingExcludes === '') {\n this.existingExcludes = [];\n return;\n }\n\n if (this.existingExcludes.length === 0) {\n this.existingExcludes = [];\n return;\n }\n\n const existingExcludes = this.existingExcludes.split(',');\n this.existingExcludes = existingExcludes.map((exclude) => {\n if (exclude.substr(0, 1) === '/') {\n return exclude.slice(1);\n }\n\n return exclude;\n });\n }\n\n isScanned(exclude) {\n let scanned = false;\n this.directoryListingContainer.querySelectorAll('.wpstg-dir>input').forEach((element) => {\n if (element.value == exclude) {\n scanned = true;\n }\n });\n\n return scanned;\n }\n\n toggleDirectoryNavigation(element) {\n const cbElement = element.previousSibling;\n if (cbElement.getAttribute('data-navigateable', 'false') === 'false') {\n return;\n }\n\n if (cbElement.getAttribute('data-scanned', 'false') === 'false') {\n return;\n }\n\n const subDirectories = dom.getNextSibling(element, '.wpstg-subdir');\n\n if (subDirectories.style.display === 'none') {\n dom.slideDown(subDirectories);\n } else {\n dom.slideUp(subDirectories);\n }\n }\n\n updateDirectorySelection(element) {\n const parent = element.parentElement;\n element.setAttribute('data-changed', 'true');\n if (element.checked) {\n dom.getParents(parent, '.wpstg-dir').forEach((parElem) => {\n for (let i = 0; i < parElem.children.length; i++) {\n if (parElem.children[i].matches('.wpstg-check-dir')) {\n parElem.children[i].checked = true;\n }\n }\n });\n parent.querySelectorAll('.wpstg-expand-dirs').forEach((x) => {\n x.classList.remove('disabled');\n });\n parent.querySelectorAll('.wpstg-subdir .wpstg-check-dir').forEach((x) => {\n x.checked = true;\n });\n } else {\n parent.querySelectorAll('.wpstg-expand-dirs, .wpstg-check-subdirs').forEach((x) => {\n x.classList.add('disabled');\n });\n parent.querySelectorAll('.wpstg-dir .wpstg-check-dir').forEach((x) => {\n x.checked = false;\n });\n }\n\n this.countSelectedFiles();\n }\n\n countSelectedFiles() {\n const themesCount = this.directoryListingContainer.querySelectorAll('[data-content-type=\"theme\"]:checked').length;\n const pluginsCount = this.directoryListingContainer.querySelectorAll('[data-content-type=\"plugin\"]:checked').length;\n const filesCountElement = dom.qs('#wpstg-files-count');\n if (themesCount === 0 && pluginsCount === 0) {\n filesCountElement.classList.add('danger');\n filesCountElement.innerHTML = this.wpstgObject.i18n['noFileSelected'];\n } else {\n filesCountElement.classList.remove('danger');\n filesCountElement.innerHTML = this.wpstgObject.i18n['filesSelected'].replace('{t}', themesCount).replace('{p}', pluginsCount);\n }\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Database tables selection\n */\nexport default class WpstgTableSelection {\n constructor(\n databaseTableSectionSelector = '#wpstg-scanning-db',\n workflowSelector = '#wpstg-workflow',\n networkCloneSelector = '#wpstg_network_clone',\n inputSelector = '#wpstg_select_tables_cloning',\n wpstgObject = wpstg,\n ) {\n this.databaseTableSection = dom.qs(databaseTableSectionSelector);\n this.workflow = dom.qs(workflowSelector);\n this.networkCloneSelector = networkCloneSelector;\n this.networkCloneCheckbox = dom.qs(networkCloneSelector);\n this.wpstgObject = wpstgObject;\n this.isAllTablesChecked = true;\n this.isMultisite = this.wpstgObject.isMultisite === '1';\n this.isNetworkClone = false;\n this.inputSelector = inputSelector;\n this.input = dom.qs(this.inputSelector);\n\n this.init();\n }\n\n setNetworkClone(isNetworkClone) {\n this.isNetworkClone = isNetworkClone;\n }\n\n addEvents() {\n if (this.workflow === null) {\n console.log('Error: database table section is null. Cannot register events');\n return;\n }\n\n dom.addEvent(this.workflow, 'change', this.networkCloneSelector, () => {\n this.selectDefaultTables();\n });\n\n dom.addEvent(this.workflow, 'change', this.inputSelector, () => {\n this.countSelectedTables();\n });\n\n dom.addEvent(this.workflow, 'click', '.wpstg-button-select', (target, event) => {\n event.preventDefault();\n this.selectDefaultTables();\n });\n\n dom.addEvent(this.workflow, 'click', '.wpstg-button-unselect', (target, event) => {\n event.preventDefault();\n this.toggleTableSelection();\n });\n }\n\n init() {\n this.addEvents();\n }\n\n getRegexPattern() {\n let pattern = '^' + this.wpstgObject.tblprefix;\n let isNetwork = false;\n if (this.networkCloneCheckbox !== undefined && this.networkCloneCheckbox !== null) {\n isNetwork = this.networkCloneCheckbox.checked;\n }\n\n // Force network clone true if set explicitly\n if (this.isNetworkClone) {\n isNetwork = true;\n }\n\n if (this.isMultisite && !isNetwork) {\n pattern += '([^0-9])_*';\n }\n\n return pattern;\n }\n\n selectDefaultTables() {\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning .wpstg-db-table');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (name.match(regexPattern)) {\n option.selected = true;\n } else {\n option.selected = false;\n }\n });\n\n this.countSelectedTables();\n }\n\n toggleTableSelection() {\n if (false === this.isAllTablesChecked) {\n this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning .wpstg-db-table').forEach((option) => {\n option.selected = true;\n });\n this.databaseTableSection.querySelector('.wpstg-button-unselect').innerHTML = 'Unselect All';\n // cache.get('.wpstg-db-table-checkboxes').prop('checked', true);\n this.isAllTablesChecked = true;\n } else {\n this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning .wpstg-db-table').forEach((option) => {\n option.selected = false;\n });\n this.databaseTableSection.querySelector('.wpstg-button-unselect').innerHTML = 'Select All';\n // cache.get('.wpstg-db-table-checkboxes').prop('checked', false);\n this.isAllTablesChecked = false;\n }\n\n this.countSelectedTables();\n }\n\n getSelectedTablesWithoutPrefix() {\n const selectedTablesWithoutPrefix = [];\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning option:checked');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (!name.match(regexPattern)) {\n selectedTablesWithoutPrefix.push(option.value);\n }\n });\n\n return selectedTablesWithoutPrefix.join(this.wpstgObject.settings.directorySeparator);\n }\n\n getIncludedTables() {\n const includedTables = [];\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning option:checked');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (name.match(regexPattern)) {\n includedTables.push(option.value);\n }\n });\n\n return includedTables.join(this.wpstgObject.settings.directorySeparator);\n }\n\n getExcludedTables() {\n const excludedTables = [];\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning option:not(:checked)');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (name.match(regexPattern)) {\n excludedTables.push(option.value);\n }\n });\n\n return excludedTables.join(this.wpstgObject.settings.directorySeparator);\n }\n\n countSelectedTables() {\n const tablesCount = this.input.querySelectorAll('option:checked').length;\n const tablesCountElement = dom.qs('#wpstg-tables-count');\n if (tablesCount === 0) {\n tablesCountElement.classList.add('danger');\n tablesCountElement.innerHTML = this.wpstgObject.i18n['noTableSelected'];\n } else {\n tablesCountElement.classList.remove('danger');\n tablesCountElement.innerHTML = this.wpstgObject.i18n['tablesSelected'].replace('{d}', tablesCount);\n }\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Rich Exclude Filter Module\n */\nexport default class WpstgExcludeFilters {\n constructor(\n excludeFilterContainerSelector = '#wpstg-exclude-filters-container',\n wpstgObject = wpstg,\n ) {\n this.excludeContainer = dom.qs(excludeFilterContainerSelector);\n this.excludeTableBody = dom.qs(`${excludeFilterContainerSelector} tbody`);\n this.wpstgObject = wpstgObject;\n this.init();\n }\n\n addEvents() {\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-file-size-rule', () => {\n this.addFileSizeExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-file-ext-rule', () => {\n this.addFileExtExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-file-name-rule', () => {\n this.addFileNameExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-dir-name-rule', () => {\n this.addDirNameExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-clear-all-rules', () => {\n this.clearExcludes();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-remove-exclude-rule', (target) => {\n this.removeExclude(target);\n });\n }\n\n init() {\n if (this.excludeContainer === null) {\n console.log('Error: Given table selector not found!');\n return;\n }\n\n this.addEvents();\n }\n\n addFileSizeExclude() {\n this.addExcludeRuleRow('#wpstg-file-size-exclude-filter-template');\n }\n\n addFileExtExclude() {\n this.addExcludeRuleRow('#wpstg-file-ext-exclude-filter-template');\n }\n\n addFileNameExclude() {\n this.addExcludeRuleRow('#wpstg-file-name-exclude-filter-template');\n }\n\n addDirNameExclude() {\n this.addExcludeRuleRow('#wpstg-dir-name-exclude-filter-template');\n }\n\n addExcludeRuleRow(templateName) {\n const excludeRowTemplate = dom.qs(templateName);\n if (excludeRowTemplate !== null) {\n const clone = excludeRowTemplate.content.cloneNode(true);\n const excludeRow = clone.querySelector('tr');\n\n this.excludeTableBody.appendChild(excludeRow);\n dom.all('.wpstg-has-exclude-rules').forEach((e) => {\n e.style.display = 'inherit';\n });\n }\n }\n\n clearExcludes() {\n this.excludeTableBody.innerHTML = '';\n dom.all('.wpstg-has-exclude-rules').forEach((e) => {\n e.style.display = 'none';\n });\n }\n\n removeExclude(target) {\n if (target.parentElement !== null && target.parentElement.parentElement !== null) {\n this.excludeTableBody.removeChild(target.parentElement.parentElement);\n }\n\n if (this.excludeTableBody.innerHTML.trim() === '') {\n dom.all('.wpstg-has-exclude-rules').forEach((e) => {\n e.style.display = 'none';\n });\n }\n }\n\n /**\n * Converts all the exclude filters arrays into one single string to keep size of post request small\n * @return {string}\n */\n getExcludeFilters() {\n const globExcludes = [];\n const sizeExcludes = [];\n\n const sizeCompares = this.excludeTableBody.querySelectorAll('select[name=\"wpstgFileSizeExcludeRuleCompare[]\"]');\n const sizeSizes = this.excludeTableBody.querySelectorAll('input[name=\"wpstgFileSizeExcludeRuleSize[]\"]');\n const sizeByte = this.excludeTableBody.querySelectorAll('select[name=\"wpstgFileSizeExcludeRuleByte[]\"]');\n for (const [key, sizeInput] of Object.entries(sizeSizes)) {\n if (sizeInput.value !== '') {\n sizeExcludes.push(sizeCompares[key].value + ' ' + sizeInput.value + sizeByte[key].value);\n }\n }\n\n const extensionInputs = this.excludeTableBody.querySelectorAll('input[name=\"wpstgFileExtExcludeRule[]\"]');\n extensionInputs.forEach((x) => {\n const ext = this.cleanStringForGlob(x.value);\n if (ext !== '') {\n globExcludes.push('ext:' + ext.trim());\n }\n });\n\n const fileNamesPos = this.excludeTableBody.querySelectorAll('select[name=\"wpstgFileNameExcludeRulePos[]\"]');\n const fileNames = this.excludeTableBody.querySelectorAll('input[name=\"wpstgFileNameExcludeRulePath[]\"]');\n for (const [key, fileInput] of Object.entries(fileNames)) {\n let fileName = '';\n if ('name_exact_matches' === fileNamesPos[key].value) {\n fileName = this.cleanStringForGlobExactMatches(fileInput.value);\n } else {\n fileName = this.cleanStringForGlob(fileInput.value);\n }\n\n if (fileName !== '') {\n globExcludes.push('file:' + fileNamesPos[key].value + ' ' + fileName.trim());\n }\n }\n\n const dirNamesPos = this.excludeTableBody.querySelectorAll('select[name=\"wpstgDirNameExcludeRulePos[]\"]');\n const dirNames = this.excludeTableBody.querySelectorAll('input[name=\"wpstgDirNameExcludeRulePath[]\"]');\n for (const [key, dirInput] of Object.entries(dirNames)) {\n const dirName = this.cleanStringForGlob(dirInput.value);\n if (dirName !== '') {\n globExcludes.push('dir:' + dirNamesPos[key].value + ' ' + dirName.trim());\n }\n }\n\n return {\n 'sizes': sizeExcludes.filter(this.onlyUnique).join(','),\n // return set of unique rules\n 'globs': globExcludes.filter(this.onlyUnique).join(','),\n };\n }\n\n onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n }\n\n /**\n * Remove most of the comment glob characters from the string\n * @param {String} value\n * @return {String}\n */\n cleanStringForGlob(value) {\n // will replace character like * ^ / \\ ! ? [ from the string\n return value.replace(/[*^//!\\.[?]/g, '');\n }\n\n /**\n * Remove most of the comment glob characters from the string except . to allow input of extensions\n * @param {String} value\n * @return {String}\n */\n cleanStringForGlobExactMatches(value) {\n // will replace character like * ^ / \\ ! ? [ from the string\n return value.replace(/[*^//!\\\\[?]/g, '');\n }\n}\n","/**\n * Basic WP Staging Modal implemented with help of Sweetalerts\n */\nexport default class WpstgModal {\n constructor(\n confirmAction,\n wpstgObject = wpstg,\n ) {\n this.confirmAction = confirmAction;\n this.wpstgObject = wpstgObject;\n }\n\n show(swalOptions, additionalParams = {}, callback = null) {\n wpstgSwal.fire(swalOptions).then((result) => {\n if (result.value && this.error !== null) {\n this.triggerConfirmAction(additionalParams, callback);\n }\n });\n }\n\n triggerConfirmAction(additionalParams = {}, callback = null) {\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams(Object.assign({\n action: this.confirmAction,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n }, additionalParams)),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((response) => {\n if (callback !== null) {\n callback(response);\n }\n }).catch((error) => {\n console.log(this.wpstgObject.i18n['somethingWentWrong'], error);\n });\n }\n}\n","'use strict';\n\n/**\n * This is a namespaced port of https://github.com/tristen/hoverintent,\n * with slight modification to accept selector with dynamically added element in dom,\n * instead of just already present element.\n *\n * @param {HTMLElement} parent\n * @param {string} selector\n * @param {CallableFunction} onOver\n * @param {CallableFunction} onOut\n *\n * @return {object}\n */\nexport default function(parent, selector, onOver, onOut) {\n let x; let y; let pX; let pY;\n let mouseOver = false;\n let focused = false;\n const h = {};\n let state = 0;\n let timer = 0;\n\n let options = {\n sensitivity: 7,\n interval: 100,\n timeout: 0,\n handleFocus: false,\n };\n\n function delay(el, e) {\n if (timer) {\n timer = clearTimeout(timer);\n }\n\n state = 0;\n return focused ? undefined : onOut(el, e);\n }\n\n function tracker(e) {\n x = e.clientX;\n y = e.clientY;\n }\n\n function compare(el, e) {\n if (timer) timer = clearTimeout(timer);\n if ((Math.abs(pX - x) + Math.abs(pY - y)) < options.sensitivity) {\n state = 1;\n return focused ? undefined : onOver(el, e);\n } else {\n pX = x;\n pY = y;\n timer = setTimeout(function() {\n compare(el, e);\n }, options.interval);\n }\n }\n\n // Public methods\n h.options = function(opt) {\n const focusOptionChanged = opt.handleFocus !== options.handleFocus;\n options = Object.assign({}, options, opt);\n if (focusOptionChanged) {\n options.handleFocus ? addFocus() : removeFocus();\n }\n\n return h;\n };\n\n function dispatchOver(el, e) {\n mouseOver = true;\n if (timer) {\n timer = clearTimeout(timer);\n }\n\n el.removeEventListener('mousemove', tracker, false);\n\n if (state !== 1) {\n pX = e.clientX;\n pY = e.clientY;\n\n el.addEventListener('mousemove', tracker, false);\n\n timer = setTimeout(function() {\n compare(el, e);\n }, options.interval);\n }\n\n return this;\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchOver to support dynamically added elements to dom\n */\n function onMouseOver(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchOver(event.target.closest(selector), event);\n }\n };\n\n function dispatchOut(el, e) {\n mouseOver = false;\n if (timer) {\n timer = clearTimeout(timer);\n }\n\n el.removeEventListener('mousemove', tracker, false);\n\n if (state === 1) {\n timer = setTimeout(function() {\n delay(el, e);\n }, options.timeout);\n }\n\n return this;\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchOut to support dynamically added elements to dom\n */\n function onMouseOut(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchOut(event.target.closest(selector), event);\n }\n };\n\n function dispatchFocus(el, e) {\n if (!mouseOver) {\n focused = true;\n onOver(el, e);\n }\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchFocus to support dynamically added elements to dom\n */\n function onFocus(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchFocus(event.target.closest(selector), event);\n }\n };\n\n function dispatchBlur(el, e) {\n if (!mouseOver && focused) {\n focused = false;\n onOut(el, e);\n }\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchBlur to support dynamically added elements to dom\n */\n function onBlur(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchBlur(event.target.closest(selector), event);\n }\n };\n\n /**\n * Modified to support dynamically added element\n */\n function addFocus() {\n parent.addEventListener('focus', onFocus, false);\n parent.addEventListener('blur', onBlur, false);\n }\n\n /**\n * Modified to support dynamically added element\n */\n function removeFocus() {\n parent.removeEventListener('focus', onFocus, false);\n parent.removeEventListener('blur', onBlur, false);\n }\n\n /**\n * Modified to support dynamically added element\n */\n h.remove = function() {\n if (!parent) {\n return;\n }\n\n parent.removeEventListener('mouseover', onMouseOver, false);\n parent.removeEventListener('mouseout', onMouseOut, false);\n removeFocus();\n };\n\n /**\n * Modified to support dynamically added element\n */\n if (parent) {\n parent.addEventListener('mouseover', onMouseOver, false);\n parent.addEventListener('mouseout', onMouseOut, false);\n }\n\n return h;\n};\n","import wpstgHoverIntent from './modules/wpstg-hover-intent';\n\nexport default (function($) {\n const WPStagingCommon = {\n continueErrorHandle: true,\n cache: {\n elements: [],\n get: function(selector) {\n // It is already cached!\n if ($.inArray(selector, this.elements) !== -1) {\n return this.elements[selector];\n }\n\n // Create cache and return\n this.elements[selector] = $(selector);\n\n return this.elements[selector];\n },\n refresh: function(selector) {\n selector.elements[selector] = $(selector);\n },\n },\n setJobId: function(jobId) {\n localStorage.setItem('jobIdBeingProcessed', jobId);\n },\n getJobId: function() {\n return localStorage.getItem('jobIdBeingProcessed');\n },\n listenTooltip: function() {\n wpstgHoverIntent(document, '.wpstg--tooltip', function(target, event) {\n target.querySelector('.wpstg--tooltiptext').style.visibility = 'visible';\n }, function(target, event) {\n target.querySelector('.wpstg--tooltiptext').style.visibility = 'hidden';\n });\n },\n isEmpty: function(obj) {\n for (const prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n return false;\n }\n }\n\n return true;\n },\n // Get the custom themed Swal Modal for WP Staging\n // Easy to maintain now in one place now\n getSwalModal: function(isContentCentered = false, customClasses = {}) {\n // common style for all swal modal used in WP Staging\n const defaultCustomClasses = {\n confirmButton: 'wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn wpstg-100-width',\n cancelButton: 'wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn wpstg-100-width',\n actions: 'wpstg--modal--actions',\n popup: isContentCentered ? 'wpstg-swal-popup centered-modal' : 'wpstg-swal-popup',\n };\n\n // If a attribute exists in both default and additional attributes,\n // The class(es) of the additional attribute will overrite the default one.\n const options = {\n customClass: Object.assign(defaultCustomClasses, customClasses),\n buttonsStyling: false,\n reverseButtons: true,\n showClass: {\n popup: 'wpstg--swal2-show wpstg-swal-show',\n },\n };\n\n return wpstgSwal.mixin(options);\n },\n showSuccessModal: function(htmlContent) {\n this.getSwalModal().fire({\n showConfirmButton: false,\n showCancelButton: true,\n cancelButtonText: 'OK',\n icon: 'success',\n title: 'Success!',\n html: '<div class=\"wpstg--grey\" style=\"text-align: left; margin-top: 8px;\">' + htmlContent + '</div>',\n });\n },\n showWarningModal: function(htmlContent) {\n this.getSwalModal().fire({\n showConfirmButton: false,\n showCancelButton: true,\n cancelButtonText: 'OK',\n icon: 'warning',\n title: '',\n html: '<div class=\"wpstg--grey\" style=\"text-align: left; margin-top: 8px;\">' + htmlContent + '</div>',\n });\n },\n showErrorModal: function(htmlContent) {\n this.getSwalModal().fire({\n showConfirmButton: false,\n showCancelButton: true,\n cancelButtonText: 'OK',\n icon: 'error',\n title: 'Error!',\n html: '<div class=\"wpstg--grey\" style=\"text-align: left; margin-top: 8px;\">' + htmlContent + '</div>',\n });\n },\n getSwalContainer: function() {\n return wpstgSwal.getContainer();\n },\n closeSwalModal: function() {\n wpstgSwal.close();\n },\n /**\n * Treats a default response object generated by WordPress's\n * wp_send_json_success() or wp_send_json_error() functions in\n * PHP, parses it in JavaScript, and either throws if it's an error,\n * or returns the data if the response is successful.\n *\n * @param {object} response\n * @return {*}\n */\n getDataFromWordPressResponse(response) {\n if (typeof response !== 'object') {\n throw new Error('Unexpected response (ERR 1341)');\n }\n\n if (!response.hasOwnProperty('success')) {\n throw new Error('Unexpected response (ERR 1342)');\n }\n\n if (!response.hasOwnProperty('data')) {\n throw new Error('Unexpected response (ERR 1343)');\n }\n\n if (response.success === false) {\n if (response.data instanceof Array && response.data.length > 0) {\n throw new Error(response.data.shift());\n } else {\n throw new Error('Response was not successful');\n }\n } else {\n // Successful response. Return the data.\n return response.data;\n }\n },\n isLoading: function(isLoading) {\n if (!isLoading || isLoading === false) {\n WPStagingCommon.cache.get('.wpstg-loader').hide();\n } else {\n WPStagingCommon.cache.get('.wpstg-loader').show();\n }\n },\n /**\n * Convert the given url to make it slug compatible\n * @param {string} url\n * @return {string}\n */\n slugify: function(url) {\n return url.toString()\n .toLowerCase()\n .normalize('NFD')\n .replace(/[\\u0300-\\u036f]/g, '')\n .replace(/\\s+/g, '-')\n .replace(/&/g, '-and-')\n .replace(/[^a-z0-9\\-]/g, '')\n .replace(/-+/g, '-')\n .replace(/^-*/, '')\n .replace(/-*$/, '')\n ;\n },\n showAjaxFatalError: function(response, prependMessage, appendMessage) {\n prependMessage = prependMessage ? prependMessage + '<br/><br/>' : 'Something went wrong! <br/><br/>';\n appendMessage = appendMessage ? appendMessage + '<br/><br/>' : '<br/><br/>Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.';\n\n if (response === false) {\n WPStagingCommon.showError(prependMessage + ' Error: No response.' + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n\n if (typeof response.error !== 'undefined' && response.error) {\n WPStagingCommon.showError(prependMessage + ' Error: ' + response.message + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n },\n handleFetchErrors: function(response) {\n if (!response.ok) {\n WPStagingCommon.showError('Error: ' + response.status + ' - ' + response.statusText + '. Please try again or contact support.');\n }\n return response;\n },\n showError: function(message) {\n WPStagingCommon.cache.get('#wpstg-try-again').css('display', 'inline-block');\n WPStagingCommon.cache.get('#wpstg-cancel-cloning').text('Reset');\n WPStagingCommon.cache.get('#wpstg-resume-cloning').show();\n WPStagingCommon.cache.get('#wpstg-error-wrapper').show();\n WPStagingCommon.cache.get('#wpstg-error-details').show().html(message);\n WPStagingCommon.cache.get('#wpstg-removing-clone').removeClass('loading');\n WPStagingCommon.cache.get('.wpstg-loader').hide();\n $('.wpstg--modal--process--generic-problem').show().html(message);\n },\n resetErrors: function() {\n WPStagingCommon.cache.get('#wpstg-error-details').hide().html('');\n },\n /**\n * Ajax Requests\n * @param {Object} data\n * @param {Function} callback\n * @param {string} dataType\n * @param {bool} showErrors\n * @param {int} tryCount\n * @param {float} incrementRatio\n * @param {function} errorCallback\n */\n ajax: function(data, callback, dataType, showErrors, tryCount, incrementRatio = null, errorCallback = null) {\n if ('undefined' === typeof (dataType)) {\n dataType = 'json';\n }\n\n if (false !== showErrors) {\n showErrors = true;\n }\n\n tryCount = 'undefined' === typeof (tryCount) ? 0 : tryCount;\n\n const retryLimit = 10;\n\n let retryTimeout = 10000 * tryCount;\n\n incrementRatio = parseInt(incrementRatio);\n if (!isNaN(incrementRatio)) {\n retryTimeout *= incrementRatio;\n }\n\n $.ajax({\n url: ajaxurl + '?action=wpstg_processing&_=' + (Date.now() / 1000),\n type: 'POST',\n dataType: dataType,\n cache: false,\n data: data,\n error: function(xhr, textStatus, errorThrown) {\n console.log(xhr.status + ' ' + xhr.statusText + '---' + textStatus);\n\n if (typeof (errorCallback) === 'function') {\n // Custom error handler\n errorCallback(xhr, textStatus, errorThrown);\n\n if (!WPStagingCommon.continueErrorHandle) {\n // Reset state\n WPStagingCommon.continueErrorHandle = true;\n\n return;\n }\n }\n\n // Default error handler\n tryCount++;\n if (tryCount <= retryLimit) {\n setTimeout(function() {\n WPStagingCommon.ajax(data, callback, dataType, showErrors, tryCount, incrementRatio);\n return;\n }, retryTimeout);\n } else {\n const errorCode = 'undefined' === typeof (xhr.status) ? 'Unknown' : xhr.status;\n WPStagingCommon.showError(\n 'Fatal Error: ' + errorCode + ' Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.',\n );\n }\n },\n success: function(data) {\n if ('function' === typeof (callback)) {\n callback(data);\n }\n },\n statusCode: {\n 404: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 404 - Can\\'t find ajax request URL! Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');\n }\n },\n 500: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Fatal Error 500 - Internal server error while processing the request! Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');\n }\n },\n 504: function() {\n if (tryCount > retryLimit) {\n WPStagingCommon.showError('Error 504 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 502: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 502 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 503: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 503 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 429: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 429 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 403: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Refresh page or login again! The process should be finished successfully. \\n\\ ');\n }\n },\n },\n });\n },\n };\n\n return WPStagingCommon;\n})(jQuery);\n","\nimport * as dom from './wpstg-dom-utils.js';\nimport WpstgDirectoryNavigation from './wpstg-directory-navigation.js';\nimport WpstgTableSelection from './wpstg-table-selection';\nimport WpstgExcludeFilters from './wpstg-exclude-filters.js';\nimport WpstgModal from './wpstg-modal.js';\nimport WPStagingCommon from './../wpstg.js';\n\n/**\n * Manage RESET MODAL\n */\nexport default class WpstgResetModal {\n constructor(\n cloneID,\n workflowSelector = '#wpstg-workflow',\n fetchExcludeSettingsAction = 'wpstg_clone_excludes_settings',\n modalErrorAction = 'wpstg_modal_error',\n wpstgObject = wpstg,\n ) {\n this.cloneID = cloneID;\n this.workflow = dom.qs(workflowSelector);\n this.wpstgObject = wpstgObject;\n this.fetchExcludeSettingsAction = fetchExcludeSettingsAction;\n this.modalErrorAction = modalErrorAction;\n this.resetButtonClass = 'wpstg-confirm-reset-clone';\n this.resetModalContainerClass = 'wpstg-reset-confirmation';\n this.resetTabSelector = '.wpstg-reset-exclude-tab';\n this.directoryNavigator = null;\n this.excludeFilters = null;\n this.tableSelector = null;\n this.isNetworkClone = false;\n }\n\n addEvents() {\n const resetModalContainer = dom.qs('.' + this.resetModalContainerClass);\n if (resetModalContainer === null) {\n console.log('Exit');\n return;\n }\n\n dom.addEvent(resetModalContainer, 'click', this.resetTabSelector, (target) => {\n this.toggleContent(target);\n });\n }\n\n init() {\n this.addEvents();\n }\n\n setNetworkClone(isNetworkClone) {\n this.isNetworkClone = isNetworkClone;\n }\n\n toggleContent(target) {\n const resetModalContainer = dom.qs('.' + this.resetModalContainerClass);\n const contentId = target.getAttribute('data-id');\n const tabTriangle = target.querySelector('.wpstg-tab-triangle');\n const isCollapsed = target.getAttribute('data-collapsed', 'true');\n const content = dom.qs(contentId);\n if (isCollapsed === 'true') {\n if (resetModalContainer.classList.contains('has-collapsible-open')) {\n resetModalContainer.classList.add('has-collapsible-open-2');\n } else {\n resetModalContainer.classList.add('has-collapsible-open');\n }\n\n dom.slideDown(content);\n tabTriangle.style.transform = 'rotate(90deg)';\n target.setAttribute('data-collapsed', 'false');\n } else {\n if (resetModalContainer.classList.contains('has-collapsible-open-2')) {\n resetModalContainer.classList.remove('has-collapsible-open-2');\n } else {\n resetModalContainer.classList.remove('has-collapsible-open');\n }\n\n dom.slideUp(content);\n tabTriangle.style.removeProperty('transform');\n target.setAttribute('data-collapsed', 'true');\n }\n }\n\n /**\n * Show Swal alert with loader and send ajax request to fetch content of alert.\n * @return Promise\n */\n showModal() {\n const swalPromise = this.loadModal();\n this.init();\n this.fetchCloneExcludes();\n return swalPromise;\n }\n\n loadModal() {\n return WPStagingCommon.getSwalModal(false, {\n confirmButton: this.resetButtonClass + ' wpstg-confirm-reset-clone wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn',\n container: this.resetModalContainerClass + ' wpstg-swal2-container wpstg-swal2-loading',\n }).fire({\n title: '',\n icon: 'warning',\n html: this.getAjaxLoader(),\n width: '400px',\n focusConfirm: false,\n confirmButtonText: this.wpstgObject.i18n.resetClone,\n showCancelButton: true,\n });\n }\n\n fetchCloneExcludes() {\n this.error = null;\n // send ajax request and fetch preserved exclude settings\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams({\n action: this.fetchExcludeSettingsAction,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n clone: this.cloneID,\n job: 'resetting',\n }),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((data) => {\n if (!data.success) {\n const errorModal = new WpstgModal(this.modalErrorAction, this.wpstgObject);\n errorModal.show(Object.assign({\n title: 'Error',\n icon: 'error',\n html: this.wpstgObject.i18n['somethingWentWrong'],\n width: '500px',\n confirmButtonText: 'Ok',\n showCancelButton: false,\n customClass: {\n confirmButton: 'wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn',\n cancelButton: 'wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn',\n actions: 'wpstg--modal--actions',\n popup: 'wpstg-swal-popup centered-modal',\n },\n buttonsStyling: false,\n reverseButtons: true,\n }, data.swalOptions), {\n type: data.type,\n });\n\n return;\n }\n\n const modal = dom.qs('.wpstg-reset-confirmation');\n modal.classList.remove('wpstg-swal2-loading');\n modal.querySelector('.wpstg--swal2-popup').style.width = '500px';\n modal.querySelector('.wpstg--swal2-content').innerHTML = data.html;\n this.directoryNavigator = new WpstgDirectoryNavigation();\n this.directoryNavigator.countSelectedFiles();\n this.excludeFilters = new WpstgExcludeFilters();\n this.tableSelector = new WpstgTableSelection('#wpstg-reset-excluded-tables', '.' + this.resetModalContainerClass);\n this.tableSelector.setNetworkClone(this.isNetworkClone);\n this.tableSelector.countSelectedTables();\n }).catch((error) => {\n this.renderError({\n 'html': this.wpstgObject.i18n['somethingWentWrong'] + ' ' + error,\n });\n });\n }\n\n getDirectoryNavigator() {\n return this.directoryNavigator;\n }\n\n getExcludeFilters() {\n return this.excludeFilters;\n }\n\n getTableSelector() {\n return this.tableSelector;\n }\n\n getAjaxLoader() {\n return '<div class=\"wpstg-swal2-ajax-loader\"><img src=\"' + this.wpstgObject.wpstgIcon + '\" /></div>';\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Handle toggle of advance settings checkboxes\n */\nexport default class WpstgCloningAdvanceSettings {\n constructor(\n baseContainerSelector = '#wpstg-clonepage-wrapper',\n ) {\n this.baseContainer = dom.qs(baseContainerSelector);\n this.checkBoxSettingTogglerSelector = '.wpstg-toggle-advance-settings-section';\n this.init();\n }\n\n /**\n * Add events\n * @return {void}\n */\n addEvents() {\n if (this.baseContainer === null) {\n return;\n }\n\n dom.addEvent(this.baseContainer, 'change', this.checkBoxSettingTogglerSelector, (element) => {\n this.toggleSettings(element);\n });\n }\n\n /**\n * @return {void}\n */\n init() {\n this.addEvents();\n }\n\n /**\n * Expand/Collapse checkbox content on change\n * @return {void}\n */\n toggleSettings(element) {\n const target = dom.qs('#' + element.getAttribute('data-id'));\n if (element.checked) {\n dom.slideDown(target);\n } else {\n dom.slideUp(target);\n }\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\nexport default class WpstgMainMenu {\n constructor() {\n this.activeTabClass = 'wpstg--tab--active';\n this.mainMenu();\n }\n\n mainMenu() {\n const tabHeader = dom.qs('.wpstg--tab--header');\n // Early bail if tab header is not available\n if (tabHeader === null) {\n return;\n }\n\n dom.addEvent(dom.qs('.wpstg--tab--header'), 'click', '.wpstg-button', (element) => {\n const $this = element;\n const target = $this.getAttribute('data-target');\n const targetElements = dom.all(target);\n const menuItems = dom.all('.wpstg--tab--header a[data-target]');\n const contents = dom.all('.wpstg--tab--contents > .wpstg--tab--content');\n\n contents.forEach((content) => {\n // active tab class is without the css dot class prefix\n if (content.matches('.' + this.activeTabClass + ':not(' + target + ')')) {\n content.classList.remove(this.activeTabClass);\n }\n });\n\n menuItems.forEach((menuItem) => {\n if (menuItem !== $this) {\n menuItem.classList.remove(this.activeTabClass);\n }\n });\n\n $this.classList.add(this.activeTabClass);\n\n targetElements.forEach((targetElement) => {\n targetElement.classList.add(this.activeTabClass);\n });\n\n if ('#wpstg--tab--backup' === target) {\n window.dispatchEvent(new Event('backups-tab'));\n }\n });\n };\n}\n","import WpstgCloneStaging from './modules/wpstg-clone-staging.js';\nimport WpstgDirectoryNavigation from './modules/wpstg-directory-navigation.js';\nimport WpstgTableSelection from './modules/wpstg-table-selection.js';\nimport WpstgExcludeFilters from './modules/wpstg-exclude-filters.js';\nimport WpstgResetModal from './modules/wpstg-reset-modal.js';\nimport WpstgModal from './modules/wpstg-modal.js';\nimport WpstgCloningAdvanceSettings from './modules/wpstg-cloning-advance-settings.js';\nimport WpstgMainMenu from './modules/wpstg-main-menu.js';\nimport WPStagingCommon from './wpstg.js';\nimport {handleDisplayDependencies, handleToggleElement, handleCopyPaste, handleCopyToClipboard} from './modules/wpstg-dom-utils.js';\n\nvar WPStaging = (function($) {\n const that = {\n isCancelled: false,\n isFinished: false,\n getLogs: false,\n time: 1,\n executionTime: false,\n progressBar: 0,\n cloneExcludeFilters: null,\n directoryNavigator: null,\n tableSelector: null,\n notyf: null,\n areAllTablesChecked: true,\n handleDisplayDependencies: handleDisplayDependencies,\n handleToggleElement: handleToggleElement,\n handleCopyPaste: handleCopyPaste,\n handleCopyToClipboard: handleCopyToClipboard,\n };\n const cache = {elements: []};\n let timeout; let ajaxSpinner;\n\n /**\n * Get / Set Cache for Selector\n * @param {String} selector\n * @return {*}\n */\n cache.get = function(selector) {\n // It is already cached!\n if ($.inArray(selector, cache.elements) !== -1) {\n return cache.elements[selector];\n }\n\n // Create cache and return\n cache.elements[selector] = jQuery(selector);\n\n return cache.elements[selector];\n };\n\n /**\n * Refreshes given cache\n * @param {String} selector\n */\n cache.refresh = function(selector) {\n selector.elements[selector] = jQuery(selector);\n };\n\n /**\n * Show and Log Error Message\n * @param {String} message\n */\n const showError = function(message) {\n cache.get('#wpstg-try-again').css('display', 'inline-block');\n cache.get('#wpstg-cancel-cloning').text('Reset');\n cache.get('#wpstg-resume-cloning').show();\n cache.get('#wpstg-error-wrapper').show();\n cache.get('#wpstg-error-details').show().html(message);\n cache.get('#wpstg-removing-clone').removeClass('loading');\n cache.get('.wpstg-loader').hide();\n $('.wpstg--modal--process--generic-problem').show().html(message);\n\n // Error event information for Staging\n $.ajax({\n url: ajaxurl,\n type: 'POST',\n dataType: 'json',\n data: {\n 'action': 'wpstg_staging_job_error',\n 'accessToken': wpstg.accessToken,\n 'nonce': wpstg.nonce,\n 'error_message': message,\n },\n });\n };\n\n /**\n * Show warning during cloning or push process when closing tab or browser, or changing page\n * @param {beforeunload} event\n * @return {null}\n */\n that.warnIfClosingDuringProcess = function(event) {\n // Only some browsers show the message below, most say something like \"Changes you made may not be saved\" (Chrome) or \"You have unsaved changes. Exit?\"\n event.returnValue = 'You MUST leave this window open while cloning/pushing. Please wait...';\n return null;\n };\n\n /**\n *\n * @param response the error object\n * @param prependMessage Overwrite default error message at beginning\n * @param appendMessage Overwrite default error message at end\n * @returns void\n */\n\n const showAjaxFatalError = function(response, prependMessage, appendMessage) {\n prependMessage = prependMessage ? prependMessage + '<br/><br/>' : 'Something went wrong! <br/><br/>';\n appendMessage = appendMessage ? appendMessage + '<br/><br/>' : '<br/><br/>Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.';\n\n if (response === false) {\n showError(prependMessage + ' Error: No response.' + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n\n if (typeof response.error !== 'undefined' && response.error) {\n console.error(response.message);\n showError(prependMessage + ' Error: ' + response.message + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n };\n\n /**\n *\n * @param response\n * @return {{ok}|*}\n */\n const handleFetchErrors = function(response) {\n if (!response.ok) {\n showError('Error: ' + response.status + ' - ' + response.statusText + '. Please try again or contact support.');\n }\n return response;\n };\n\n /** Hide and reset previous thrown visible errors */\n const resetErrors = function() {\n cache.get('#wpstg-error-details').hide().html('');\n };\n\n /**\n * Common Elements\n */\n const elements = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n let urlSpinner = ajaxurl.replace('/admin-ajax.php', '') + '/images/spinner';\n let timer;\n\n if (2 < window.devicePixelRatio) {\n urlSpinner += '-2x';\n }\n\n urlSpinner += '.gif';\n\n ajaxSpinner = '<img src=\\'\\'' + urlSpinner + '\\' alt=\\'\\' class=\\'ajax-spinner general-spinner\\' />';\n\n const getBaseValues = function() {\n const path = $('#wpstg-use-target-dir').data('base-path');\n const uri = $('#wpstg-use-target-hostname').data('base-uri');\n return {\n path,\n };\n };\n\n $workFlow\n /**\n .on('change', '#wpstg_network_clone', function(e) {\n e.preventDefault();\n $('.wpstg-button-select').trigger('click');\n })\n */\n // Check / Un-check All Database Tables New\n .on('click', '.wpstg-button-unselect', function(e) {\n e.preventDefault();\n\n if (false === that.areAllTablesChecked) {\n cache.get('#wpstg_select_tables_cloning .wpstg-db-table').prop('selected', 'selected');\n cache.get('.wpstg-button-unselect').text('Unselect All');\n cache.get('.wpstg-db-table-checkboxes').prop('checked', true);\n that.areAllTablesChecked = true;\n } else {\n cache.get('#wpstg_select_tables_cloning .wpstg-db-table').prop('selected', false);\n cache.get('.wpstg-button-unselect').text('Select All');\n cache.get('.wpstg-db-table-checkboxes').prop('checked', false);\n that.areAllTablesChecked = false;\n }\n })\n\n /**\n * Select tables with certain tbl prefix | NEW\n * @param obj e\n * @returns {undefined}\n */\n /**\n .on('click', '.wpstg-button-select', function(e) {\n e.preventDefault();\n $('#wpstg_select_tables_cloning .wpstg-db-table').each(function() {\n let regex = '^' + wpstg.tblprefix;\n if (wpstg.isMultisite === '1' && !$('#wpstg_network_clone').is(':checked')) {\n regex += '([^0-9])_*';\n }\n\n if ($(this).attr('name').match(regex)) {\n $(this).prop('selected', 'selected');\n } else {\n $(this).prop('selected', false);\n }\n });\n })\n\n // Expand Directories\n .on('click', '.wpstg-expand-dirs', function(e) {\n e.preventDefault();\n\n const $this = $(this);\n\n $this.siblings('.wpstg-subdir').slideToggle();\n })\n // When a directory checkbox is Selected\n .on('change', 'input.wpstg-check-dir', function() {\n const $directory = $(this).parent('.wpstg-dir');\n\n if (this.checked) {\n $directory.parents('.wpstg-dir').children('.wpstg-check-dir').prop('checked', true);\n $directory.find('.wpstg-expand-dirs').removeClass('disabled');\n $directory.find('.wpstg-subdir .wpstg-check-dir').prop('checked', true);\n } else {\n $directory.find('.wpstg-dir .wpstg-check-dir').prop('checked', false);\n $directory.find('.wpstg-expand-dirs, .wpstg-check-subdirs').addClass('disabled');\n $directory.find('.wpstg-check-subdirs').data('action', 'check').text('check');\n }\n })\n // When a directory name is Selected\n .on('change', 'href.wpstg-check-dir', function() {\n const $directory = $(this).parent('.wpstg-dir');\n\n if (this.checked) {\n $directory.parents('.wpstg-dir').children('.wpstg-check-dir').prop('checked', true);\n $directory.find('.wpstg-expand-dirs').removeClass('disabled');\n $directory.find('.wpstg-subdir .wpstg-check-dir').prop('checked', true);\n } else {\n $directory.find('.wpstg-dir .wpstg-check-dir').prop('checked', false);\n $directory.find('.wpstg-expand-dirs, .wpstg-check-subdirs').addClass('disabled');\n $directory.find('.wpstg-check-subdirs').data('action', 'check').text('check');\n }\n })\n */\n // Check the max length of the clone name and if the clone name already exists\n .on('keyup', '#wpstg-new-clone-id', function() {\n // Hide previous errors\n document.getElementById('wpstg-error-details').style.display = 'none';\n\n // This request was already sent, clear it up!\n if ('number' === typeof (timer)) {\n clearInterval(timer);\n }\n\n // Early bail if site name is empty\n if (this.value === undefined || this.value === '') {\n cache.get('#wpstg-new-clone-id').removeClass('wpstg-error-input');\n cache.get('#wpstg-start-cloning').removeAttr('disabled');\n cache.get('#wpstg-clone-id-error').text('').hide();\n return;\n }\n\n // Convert the site name to directory name (slugify the site name to create directory name)\n const cloneDirectoryName = WPStagingCommon.slugify(this.value);\n\n timer = setTimeout(\n function() {\n ajax(\n {\n action: 'wpstg_check_clone',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n directoryName: cloneDirectoryName,\n },\n function(response) {\n if (response.status === 'success') {\n cache.get('#wpstg-new-clone-id').removeClass('wpstg-error-input');\n cache.get('#wpstg-start-cloning').removeAttr('disabled');\n cache.get('#wpstg-clone-id-error').text('').hide();\n } else {\n cache.get('#wpstg-new-clone-id').addClass('wpstg-error-input');\n cache.get('#wpstg-start-cloning').prop('disabled', true);\n cache.get('#wpstg-clone-id-error').text(response.message).show();\n }\n },\n );\n },\n 500,\n );\n })\n // Restart cloning process\n .on('click', '#wpstg-start-cloning', function() {\n resetErrors();\n that.isCancelled = false;\n that.getLogs = false;\n that.progressBar = 0;\n })\n .on('input', '#wpstg-new-clone-id', function() {\n if ($('#wpstg-clone-directory').length < 1) {\n return;\n }\n\n const slug = WPStagingCommon.slugify(this.value).substring(0, 16);\n const $targetDir = $('#wpstg-use-target-dir');\n const $targetUri = $('#wpstg-use-target-hostname');\n let path = $targetDir.data('base-path');\n let uri = $targetUri.data('base-uri');\n\n if (path) {\n path = path.replace(/\\/+$/g, '') + '/' + slug + '/';\n }\n\n if (uri) {\n uri = uri.replace(/\\/+$/g, '') + '/' + slug;\n }\n\n\n $('.wpstg-use-target-dir--value').text(path);\n $('.wpstg-use-target-hostname--value').text(uri);\n\n $targetDir.attr('data-path', path);\n $targetUri.attr('data-uri', uri);\n $('#wpstg_clone_dir').attr('placeholder', path);\n $('#wpstg_clone_hostname').attr('placeholder', uri);\n })\n .on('input', '#wpstg_clone_hostname', function() {\n if ($(this).val() === '' || validateTargetHost()) {\n $('#wpstg_clone_hostname_error').remove();\n return;\n }\n if (!validateTargetHost() && !$('#wpstg_clone_hostname_error').length) {\n $('#wpstg-clone-directory tr:last-of-type').after('<tr><td>&nbsp;</td><td><p id=\"wpstg_clone_hostname_error\" style=\"color: red;\">&nbsp;Invalid host name. Please provide it in a format like http://example.com</p></td></tr>');\n }\n })\n ;\n\n cloneActions();\n };\n\n /* @returns {boolean} */\n var validateTargetHost = function() {\n const the_domain = $('#wpstg_clone_hostname').val();\n\n if (the_domain === '') {\n return true;\n }\n\n const reg = /^http(s)?:\\/\\/.*$/;\n if (reg.test(the_domain) === false) {\n return false;\n }\n return true;\n };\n\n /**\n * Clone actions\n */\n var cloneActions = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n\n $workFlow\n // Cancel cloning\n .on('click', '#wpstg-cancel-cloning', function() {\n if (!confirm('Are you sure you want to cancel cloning process?')) {\n return false;\n }\n\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n $this.prop('disabled', true);\n\n that.isCancelled = true;\n that.progressBar = 0;\n\n $('#wpstg-processing-status').text('Please wait...this can take up a while.');\n $('.wpstg-loader, #wpstg-show-log-button').hide();\n\n $this.parent().append(ajaxSpinner);\n\n cancelCloning();\n })\n // Resume cloning\n .on('click', '#wpstg-resume-cloning', function() {\n resetErrors();\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n\n that.isCancelled = false;\n\n $('#wpstg-processing-status').text('Try to resume cloning process...');\n $('#wpstg-error-details').hide();\n $('.wpstg-loader').show();\n\n $this.parent().append(ajaxSpinner);\n\n that.startCloning();\n })\n // Cancel update cloning\n .on('click', '#wpstg-cancel-cloning-update', function() {\n resetErrors();\n\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n $this.prop('disabled', true);\n\n that.isCancelled = true;\n\n $('#wpstg-cloning-result').text('Please wait...this can take up a while.');\n $('.wpstg-loader, #wpstg-show-log-button').hide();\n\n $this.parent().append(ajaxSpinner);\n\n cancelCloningUpdate();\n })\n // Restart cloning\n .on('click', '#wpstg-restart-cloning', function() {\n resetErrors();\n\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n $this.prop('disabled', true);\n\n that.isCancelled = true;\n\n $('#wpstg-cloning-result').text('Please wait...this can take up a while.');\n $('.wpstg-loader, #wpstg-show-log-button').hide();\n\n $this.parent().append(ajaxSpinner);\n\n restart();\n })\n // Delete clone - confirmation\n .on('click', '.wpstg-remove-clone[data-clone]', function(e) {\n resetErrors();\n e.preventDefault();\n\n const $existingClones = cache.get('#wpstg-existing-clones');\n\n $workFlow.removeClass('active');\n\n cache.get('.wpstg-loader').show();\n\n ajax(\n {\n action: 'wpstg_confirm_delete_clone',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n clone: $(this).data('clone'),\n },\n function(response) {\n cache.get('#wpstg-removing-clone').html(response);\n\n $existingClones.children('img').remove();\n\n cache.get('.wpstg-loader').hide();\n\n $('html, body').animate({\n // This logic is meant to be a \"scrollBottom\"\n scrollTop: $('#wpstg-remove-clone').offset().top - $(window).height() +\n $('#wpstg-remove-clone').height() + 50,\n }, 100);\n },\n 'HTML',\n );\n })\n // Delete clone - confirmed\n .on('click', '#wpstg-remove-clone', function(e) {\n resetErrors();\n e.preventDefault();\n\n cache.get('#wpstg-removing-clone').addClass('loading');\n\n cache.get('.wpstg-loader').show();\n\n deleteClone($(this).data('clone'));\n })\n // Cancel deleting clone\n .on('click', '#wpstg-cancel-removing', function(e) {\n e.preventDefault();\n $('.wpstg-clone').removeClass('active');\n cache.get('#wpstg-removing-clone').html('');\n })\n // Update\n .on('click', '.wpstg-execute-clone', function(e) {\n e.preventDefault();\n\n const clone = $(this).data('clone');\n\n $workFlow.addClass('loading');\n that.cloneExcludeFilters = null;\n ajax(\n {\n action: 'wpstg_scanning',\n clone: clone,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response.length < 1) {\n showError(\n 'Something went wrong! Error: No response. Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.',\n );\n }\n\n const jsonResponse = tryParseJson(response);\n if (jsonResponse !== false && jsonResponse.success === false) {\n $workFlow.removeClass('loading');\n showErrorModal(jsonResponse);\n\n return;\n }\n\n $workFlow.removeClass('loading').html(response);\n // register check disk space function for clone update process.\n checkDiskSpace();\n that.directoryNavigator = new WpstgDirectoryNavigation('#wpstg-directories-listing', '#wpstg-workflow', wpstg, that.notyf);\n that.directoryNavigator.countSelectedFiles();\n that.tableSelector = new WpstgTableSelection('#wpstg-scanning-db', '#wpstg-workflow', '#wpstg_network_clone', '#wpstg_select_tables_cloning', wpstg, that.notyf);\n that.tableSelector.countSelectedTables();\n that.cloneExcludeFilters = new WpstgExcludeFilters();\n that.switchStep(2);\n },\n 'HTML',\n );\n })\n // Reset Clone\n .on('click', '.wpstg-reset-clone', function(e) {\n e.preventDefault();\n const clone = $(this).data('clone');\n const resetModal = new WpstgResetModal(clone);\n resetModal.setNetworkClone($(this).data('network') === 'yes');\n const promise = resetModal.showModal();\n that.areAllTablesChecked = true;\n\n promise.then((result) => {\n if (result.value) {\n const dirNavigator = resetModal.getDirectoryNavigator();\n const tableSelector = resetModal.getTableSelector();\n const exclFilters = resetModal.getExcludeFilters().getExcludeFilters();\n\n let includedTables = '';\n let excludedTables = '';\n let selectedTablesWithoutPrefix = '';\n let allTablesExcluded = false;\n\n if (tableSelector !== null) {\n includedTables = tableSelector.getIncludedTables();\n excludedTables = tableSelector.getExcludedTables();\n selectedTablesWithoutPrefix = tableSelector.getSelectedTablesWithoutPrefix();\n }\n\n if (includedTables.length > excludedTables.length) {\n includedTables = '';\n } else if (excludedTables.length > includedTables.length) {\n excludedTables = '';\n allTablesExcluded = includedTables === '';\n }\n\n resetClone(clone, {\n includedTables: includedTables,\n excludedTables: excludedTables,\n allTablesExcluded: allTablesExcluded,\n selectedTablesWithoutPrefix: selectedTablesWithoutPrefix,\n excludeSizeRules: encodeURIComponent(exclFilters.sizes),\n excludeGlobRules: encodeURIComponent(exclFilters.globs),\n excludedDirectories: dirNavigator.getExcludedDirectories(),\n extraDirectories: dirNavigator.getExtraDirectoriesRootOnly(),\n });\n }\n });\n\n return;\n });\n };\n\n /**\n * Ajax Requests\n * @param Object data\n * @param Function callback\n * @param string dataType\n * @param bool showErrors\n * @param int tryCount\n * @param float incrementRatio\n */\n var ajax = function(data, callback, dataType, showErrors, tryCount, incrementRatio = null) {\n if ('undefined' === typeof (dataType)) {\n dataType = 'json';\n }\n\n if (false !== showErrors) {\n showErrors = true;\n }\n\n tryCount = 'undefined' === typeof (tryCount) ? 0 : tryCount;\n\n const retryLimit = 5;\n\n let retryTimeout = 10000 * tryCount;\n\n incrementRatio = parseInt(incrementRatio);\n if (!isNaN(incrementRatio)) {\n retryTimeout *= incrementRatio;\n }\n\n $.ajax({\n url: ajaxurl + '?action=wpstg_processing&_=' + (Date.now() / 1000),\n type: 'POST',\n dataType: dataType,\n cache: false,\n data: data,\n error: function(xhr, textStatus, errorThrown) {\n // try again after 10 seconds\n tryCount++;\n if (tryCount <= retryLimit) {\n console.log('RETRYING ' + tryCount + '/' + retryLimit);\n setTimeout(function() {\n ajax(data, callback, dataType, showErrors, tryCount, incrementRatio);\n return;\n }, retryTimeout);\n } else {\n console.log('RETRYING LIMIT');\n const errorCode = 'undefined' === typeof (xhr.status) ? 'Unknown' : xhr.status;\n showError(\n 'Fatal Error: ' + errorCode + ' Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.',\n );\n }\n },\n success: function(data) {\n if ('function' === typeof (callback)) {\n callback(data);\n }\n },\n statusCode: {\n 404: function() {\n if (tryCount >= retryLimit) {\n showError('Error 404 - Can\\'t find ajax request URL! Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');\n }\n },\n 500: function() {\n if (tryCount >= retryLimit) {\n showError('Fatal Error 500 - Internal server error while processing the request! Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');\n }\n },\n 504: function() {\n if (tryCount > retryLimit) {\n showError('Error 504 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 502: function() {\n if (tryCount >= retryLimit) {\n showError('Error 502 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 503: function() {\n if (tryCount >= retryLimit) {\n showError('Error 503 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 429: function() {\n if (tryCount >= retryLimit) {\n showError('Error 429 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 403: function() {\n if (tryCount >= retryLimit) {\n showError('Refresh page or login again! The process should be finished successfully. \\n\\ ');\n }\n },\n },\n });\n };\n\n /**\n * Next / Previous Step Clicks to Navigate Through Staging Job\n */\n const stepButtons = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n\n $workFlow\n // Next Button\n .on('click', '.wpstg-next-step-link', function(e) {\n e.preventDefault();\n\n const $this = $(this);\n const isScan = false;\n\n if ($('#wpstg_clone_hostname').length && !validateTargetHost()) {\n $('#wpstg_clone_hostname').focus();\n return false;\n }\n\n if ($this.data('action') === 'wpstg_update' || $this.data('action') === 'wpstg_reset') {\n // Update / Reset Clone - confirmed\n let onlyUpdateMessage = '';\n if ($this.data('action') === 'wpstg_update') {\n onlyUpdateMessage = ' \\n\\nExclude all tables and folders you do not want to overwrite, first! \\n\\nDo not cancel the updating process! This can break your staging site. \\n\\n\\Create a backup of your staging website before you proceed.';\n }\n\n if (!confirm('STOP! This will overwrite your staging site with all selected data from the production site! This should be used only if you want to clone again your production site. Are you sure you want to do this?' + onlyUpdateMessage)) {\n return false;\n }\n }\n\n // Button is disabled\n if ($this.attr('disabled')) {\n return false;\n }\n\n if ($this.data('action') === 'wpstg_cloning') {\n // Verify External Database If Checked and Not Skipped\n if ($('#wpstg-ext-db').is(':checked')) {\n verifyExternalDatabase($this, $workFlow);\n return;\n }\n }\n\n proceedCloning($this, $workFlow);\n })\n // Previous Button\n .on('click', '.wpstg-prev-step-link', function(e) {\n e.preventDefault();\n cache.get('.wpstg-loader').removeClass('wpstg-finished');\n cache.get('.wpstg-loader').hide();\n loadOverview();\n });\n };\n\n /**\n * Get Included (Checked) Database Tables\n * @return {Array}\n */\n const getIncludedTables = function() {\n const includedTables = [];\n\n $('#wpstg_select_tables_cloning option:selected').each(function() {\n includedTables.push(this.value);\n });\n\n return includedTables;\n };\n\n /**\n * Get Excluded (Unchecked) Database Tables\n * Not used anymore!\n * @return {Array}\n */\n const getExcludedTables = function() {\n const excludedTables = [];\n\n $('.wpstg-db-table input:not(:checked)').each(function() {\n excludedTables.push(this.name);\n });\n\n return excludedTables;\n };\n\n /**\n * Verify External Database for Cloning\n */\n var verifyExternalDatabase = function($this, workflow) {\n cache.get('.wpstg-loader').show();\n ajax(\n {\n action: 'wpstg_database_verification',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n databaseUser: cache.get('#wpstg_db_username').val(),\n databasePassword: cache.get('#wpstg_db_password').val(),\n databaseServer: cache.get('#wpstg_db_server').val(),\n databaseDatabase: cache.get('#wpstg_db_database').val(),\n },\n function(response) {\n // Undefined Error\n if (false === response) {\n showError(\n 'Something went wrong! Error: No response.' +\n 'Please try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n cache.get('.wpstg-loader').hide();\n return;\n }\n\n // Throw Error\n if ('undefined' === typeof (response.success)) {\n showError(\n 'Something went wrong! Error: Invalid response.' +\n 'Please try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n cache.get('.wpstg-loader').hide();\n return;\n }\n\n if (response.success) {\n cache.get('.wpstg-loader').hide();\n proceedCloning($this, workflow);\n return;\n }\n\n if (response.error_type === 'comparison') {\n cache.get('.wpstg-loader').hide();\n let render = '<table class=\"wpstg-db-comparison-table\"><thead><tr><th>Property</th><th>Production DB</th><th>Staging DB</th><th>Status</th></tr></thead><tbody>';\n response.checks.forEach((x) => {\n let icon = '<span class=\"wpstg-css-tick\"></span>';\n if (x.production !== x.staging) {\n icon = '<span class=\"wpstg-css-cross\"></span>';\n }\n render += '<tr><td>' + x.name + '</td><td>' + x.production + '</td><td>' + x.staging + '</td><td>' + icon + '</td></tr>';\n });\n render += '</tbody></table><p>Note: Some MySQL/MariaDB properties do not match. You may proceed but the staging site may not work as expected.</p>';\n WPStagingCommon.getSwalModal(true, {\n popup: 'wpstg-swal-popup wpstg-db-comparison-modal centered-modal',\n }).fire({\n title: 'Different Database Properties',\n icon: 'warning',\n html: render,\n width: '650px',\n focusConfirm: false,\n confirmButtonText: 'Proceed',\n showCancelButton: true,\n }).then(function(result) {\n if (result.value) {\n proceedCloning($this, workflow);\n }\n });\n return;\n }\n\n WPStagingCommon.getSwalModal(true).fire({\n title: 'Different Database Properties',\n icon: 'error',\n html: response.message,\n focusConfirm: true,\n confirmButtonText: 'Ok',\n showCancelButton: false,\n });\n cache.get('.wpstg-loader').hide();\n },\n 'json',\n false,\n );\n };\n\n /**\n * Get Cloning Step Data\n */\n const getCloningData = function() {\n if ('wpstg_cloning' !== that.data.action && 'wpstg_update' !== that.data.action && 'wpstg_reset' !== that.data.action) {\n return;\n }\n\n that.data.cloneID = new Date().getTime().toString();\n if ('wpstg_update' === that.data.action) {\n that.data.cloneID = $('#wpstg-new-clone-id').data('clone');\n }\n\n that.data.cloneName = $('#wpstg-new-clone-id').val() || that.data.cloneID;\n\n if (that.directoryNavigator !== null) {\n that.data.excludedDirectories = encodeURIComponent(that.directoryNavigator.getExcludedDirectories());\n that.data.extraDirectories = encodeURIComponent(that.directoryNavigator.getExtraDirectoriesRootOnly());\n }\n\n that.data.excludeGlobRules = '';\n that.data.excludeSizeRules = '';\n if (that.cloneExcludeFilters instanceof WpstgExcludeFilters) {\n const rules = that.cloneExcludeFilters.getExcludeFilters();\n that.data.excludeGlobRules = encodeURIComponent(rules.globs);\n that.data.excludeSizeRules = encodeURIComponent(rules.sizes);\n }\n\n that.data.includedTables = '';\n that.data.excludedTables = '';\n that.data.allTablesExcluded = false;\n\n if (that.tableSelector !== null) {\n that.data.includedTables = that.tableSelector.getIncludedTables();\n that.data.excludedTables = that.tableSelector.getExcludedTables();\n that.data.selectedTablesWithoutPrefix = that.tableSelector.getSelectedTablesWithoutPrefix();\n }\n\n if (that.data.includedTables.length > that.data.excludedTables.length) {\n that.data.includedTables = '';\n } else if (that.data.excludedTables.length > that.data.includedTables.length) {\n that.data.excludedTables = '';\n that.data.allTablesExcluded = that.data.includedTables === '';\n }\n\n that.data.databaseServer = $('#wpstg_db_server').val();\n that.data.databaseUser = $('#wpstg_db_username').val();\n that.data.databasePassword = $('#wpstg_db_password').val();\n that.data.databaseDatabase = $('#wpstg_db_database').val();\n that.data.databasePrefix = $('#wpstg_db_prefix').val();\n const cloneDir = $('#wpstg_clone_dir').val();\n that.data.cloneDir = encodeURIComponent($.trim(cloneDir));\n that.data.cloneHostname = $('#wpstg_clone_hostname').val();\n that.data.emailsAllowed = $('#wpstg_allow_emails').is(':checked');\n that.data.networkClone = $('#wpstg_network_clone').is(':checked');\n that.data.uploadsSymlinked = $('#wpstg_symlink_upload').is(':checked');\n that.data.cleanPluginsThemes = $('#wpstg-clean-plugins-themes').is(':checked');\n that.data.cleanUploadsDir = $('#wpstg-clean-uploads').is(':checked');\n };\n\n var proceedCloning = function($this, workflow) {\n // Add loading overlay\n workflow.addClass('loading');\n\n // Prepare data\n that.data = {\n action: $this.data('action'),\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n };\n\n // Cloning data\n getCloningData();\n\n sendCloningAjax(workflow);\n };\n\n var sendCloningAjax = function(workflow) {\n // Send ajax request\n ajax(\n that.data,\n function(response) {\n // Undefined Error\n if (false === response) {\n showError(\n 'Something went wrong!<br/><br/> Go to WP Staging > Settings and lower \\'File Copy Limit\\' and \\'DB Query Limit\\'. Also set \\'CPU Load Priority to low \\'' +\n 'and try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n }\n\n\n if (response.length < 1) {\n showError(\n 'Something went wrong! No response. Go to WP Staging > Settings and lower \\'File Copy Limit\\' and \\'DB Query Limit\\'. Also set \\'CPU Load Priority to low \\'' +\n 'and try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n }\n\n const jsonResponse = tryParseJson(response);\n if (jsonResponse !== false && jsonResponse.success === false) {\n workflow.removeClass('loading');\n showErrorModal(jsonResponse);\n\n return;\n }\n\n // Styling of elements\n workflow.removeClass('loading').html(response);\n that.cloneExcludeFilters = null;\n if (that.data.action === 'wpstg_scanning') {\n that.areAllTablesChecked = true;\n that.directoryNavigator = new WpstgDirectoryNavigation('#wpstg-directories-listing', '#wpstg-workflow', wpstg, that.notyf);\n that.tableSelector = new WpstgTableSelection('#wpstg-scanning-db', '#wpstg-workflow', '#wpstg_network_clone', '#wpstg_select_tables_cloning', wpstg);\n that.switchStep(2);\n that.cloneExcludeFilters = new WpstgExcludeFilters();\n } else if (that.data.action === 'wpstg_cloning' || that.data.action === 'wpstg_update' || that.data.action === 'wpstg_reset') {\n that.switchStep(3);\n }\n\n // Start cloning\n that.startCloning();\n },\n 'HTML',\n );\n };\n\n var showErrorModal = function(response) {\n const errorModal = new WpstgModal('wpstg_modal_error', wpstg);\n errorModal.show(Object.assign({\n title: 'Error',\n icon: 'error',\n html: wpstg.i18n['somethingWentWrong'] + (response.message !== undefined ? ('<br/>' + response.message) : ''),\n width: '500px',\n confirmButtonText: 'Ok',\n showCancelButton: false,\n customClass: {\n confirmButton: 'wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn',\n cancelButton: 'wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn',\n actions: 'wpstg--modal--actions',\n popup: 'wpstg-swal-popup centered-modal',\n },\n buttonsStyling: false,\n reverseButtons: true,\n }, response.swalOptions), {\n type: response.type,\n });\n };\n\n const tryParseJson = function(json) {\n // early bail if not string\n if (!json) {\n return false;\n }\n\n try {\n const object = JSON.parse(json);\n if (object && typeof object === 'object') {\n return object;\n }\n } catch (e) {\n // do nothing on catch\n }\n\n return false;\n };\n\n var resetClone = function(clone, excludeOptions) {\n that.data = {\n action: 'wpstg_reset',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n cloneID: clone,\n };\n\n that.data = {...that.data, ...excludeOptions};\n\n const $workFlow = cache.get('#wpstg-workflow');\n sendCloningAjax($workFlow);\n };\n\n /**\n * Loads Overview (first step) of Staging Job\n */\n var loadOverview = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n\n $workFlow.addClass('loading');\n\n ajax(\n {\n action: 'wpstg_overview',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response.length < 1) {\n showError(\n 'Something went wrong! No response. Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report.',\n );\n }\n\n const $currentStep = cache.get('.wpstg-current-step');\n\n // Styling of elements\n $workFlow.removeClass('loading').html(response);\n },\n 'HTML',\n );\n\n that.switchStep(1);\n cache.get('.wpstg-step3-cloning').show();\n cache.get('.wpstg-step3-pushing').hide();\n };\n\n /**\n * Load Tabs\n */\n const tabs = function() {\n cache.get('#wpstg-workflow').on('click', '.wpstg-tab-header', function(e) {\n e.preventDefault();\n\n const $this = $(this);\n const $section = cache.get($this.data('id'));\n\n $this.toggleClass('expand');\n\n $section.slideToggle();\n\n const tabTriangle = $this.find('.wpstg-tab-triangle');\n\n if ($this.hasClass('expand')) {\n tabTriangle.removeClass('wpstg-no-icon');\n tabTriangle.text('');\n tabTriangle.addClass('wpstg-rotate-90');\n } else {\n tabTriangle.removeClass('wpstg-rotate-90');\n }\n });\n };\n\n /**\n * Delete Clone\n * @param {String} clone\n */\n var deleteClone = function(clone) {\n const deleteDir = $('#deleteDirectory:checked').data('deletepath');\n\n ajax(\n {\n action: 'wpstg_delete_clone',\n clone: clone,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n excludedTables: getExcludedTables(),\n deleteDir: deleteDir,\n },\n function(response) {\n if (response) {\n showAjaxFatalError(response);\n\n // Finished\n if ('undefined' !== typeof response.delete && (response.delete === 'finished' || response.delete === 'unfinished')) {\n cache.get('#wpstg-removing-clone').removeClass('loading').html('');\n\n if (response.delete === 'finished' && response.error === undefined) {\n $('.wpstg-clone[data-clone-id=\"' + clone + '\"]').remove();\n }\n\n // No staging site message is also of type/class .wpstg-class but hidden\n // We have just excluded that from search when counting no of clones\n if ($('#wpstg-existing-clones .wpstg-clone').length < 1) {\n cache.get('#wpstg-existing-clones').find('h3').text('');\n cache.get('#wpstg-no-staging-site-results').show();\n }\n\n cache.get('.wpstg-loader').hide();\n return;\n }\n }\n // continue\n if (true !== response) {\n deleteClone(clone);\n return;\n }\n },\n );\n };\n\n /**\n * Cancel Cloning Process\n */\n var cancelCloning = function() {\n that.timer('stop');\n\n\n if (true === that.isFinished) {\n return true;\n }\n\n ajax(\n {\n action: 'wpstg_cancel_clone',\n clone: that.data.cloneID,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response && 'undefined' !== typeof (response.delete) && response.delete === 'finished') {\n cache.get('.wpstg-loader').hide();\n // Load overview\n loadOverview();\n return;\n }\n\n if (true !== response) {\n // continue\n cancelCloning();\n return;\n }\n\n // Load overview\n loadOverview();\n },\n );\n };\n\n /**\n * Cancel Cloning Process\n */\n var cancelCloningUpdate = function() {\n if (true === that.isFinished) {\n return true;\n }\n\n ajax(\n {\n action: 'wpstg_cancel_update',\n clone: that.data.cloneID,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response && 'undefined' !== typeof (response.delete) && response.delete === 'finished') {\n // Load overview\n loadOverview();\n return;\n }\n\n if (true !== response) {\n // continue\n cancelCloningUpdate();\n return;\n }\n\n // Load overview\n loadOverview();\n },\n );\n };\n\n /**\n * Cancel Cloning Process\n */\n var restart = function() {\n if (true === that.isFinished) {\n return true;\n }\n\n ajax(\n {\n action: 'wpstg_restart',\n // clone: that.data.cloneID,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response && 'undefined' !== typeof (response.delete) && response.delete === 'finished') {\n // Load overview\n loadOverview();\n return;\n }\n\n if (true !== response) {\n // continue\n cancelCloningUpdate();\n return;\n }\n\n // Load overview\n loadOverview();\n },\n );\n };\n\n /**\n * Scroll the window log to bottom\n * @return void\n */\n const logscroll = function() {\n const $div = cache.get('.wpstg-log-details');\n if ('undefined' !== typeof ($div[0])) {\n $div.scrollTop($div[0].scrollHeight);\n }\n };\n\n /**\n * Append the log to the logging window\n * @param string log\n * @return void\n */\n const getLogs = function(log) {\n if (log != null && 'undefined' !== typeof (log)) {\n if (log.constructor === Array) {\n $.each(log, function(index, value) {\n if (value === null) {\n return;\n }\n if (value.type === 'ERROR') {\n cache.get('.wpstg-log-details').append('<span class=\"wpstg--red\">[' + value.type + ']</span>-' + '[' + value.date + '] ' + value.message + '</br>');\n } else {\n cache.get('.wpstg-log-details').append('[' + value.type + ']-' + '[' + value.date + '] ' + value.message + '</br>');\n }\n });\n } else {\n cache.get('.wpstg-log-details').append('[' + log.type + ']-' + '[' + log.date + '] ' + log.message + '</br>');\n }\n }\n logscroll();\n };\n\n /**\n * Check diskspace\n * @return string json\n */\n var checkDiskSpace = function() {\n cache.get('#wpstg-check-space').on('click', function(e) {\n cache.get('.wpstg-loader').show();\n const excludedDirectories = encodeURIComponent(that.directoryNavigator.getExcludedDirectories());\n const extraDirectories = encodeURIComponent(that.directoryNavigator.getExtraDirectoriesRootOnly());\n\n ajax(\n {\n action: 'wpstg_check_disk_space',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n excludedDirectories: excludedDirectories,\n extraDirectories: extraDirectories,\n },\n function(response) {\n if (false === response) {\n cache.get('#wpstg-clone-id-error').text('Can not detect required disk space').show();\n cache.get('.wpstg-loader').hide();\n return;\n }\n\n // Show required disk space\n cache.get('#wpstg-clone-id-error').html(\n 'Estimated necessary disk space: ' + response.requiredSpace +\n (response.errorMessage !== null ? ('<br>' + response.errorMessage) : '') +\n '<br> <span style=\"color:#444;\">Before you proceed ensure your account has enough free disk space to hold the entire instance of the production site. You can check the available space from your hosting account (cPanel or similar).</span>').show();\n cache.get('.wpstg-loader').hide();\n },\n 'json',\n false,\n );\n });\n };\n\n /**\n * Show or hide animated loading icon\n * @param isLoading bool\n */\n const isLoading = function(isLoading) {\n if (!isLoading || isLoading === false) {\n cache.get('.wpstg-loader').hide();\n } else {\n cache.get('.wpstg-loader').show();\n }\n };\n\n /**\n * Count up processing execution time\n * @param string status\n * @return html\n */\n that.timer = function(status) {\n if (status === 'stop') {\n const time = that.time;\n that.time = 1;\n clearInterval(that.executionTime);\n return that.convertSeconds(time);\n }\n\n\n that.executionTime = setInterval(function() {\n if (null !== document.getElementById('wpstg-processing-timer')) {\n document.getElementById('wpstg-processing-timer').innerHTML = 'Elapsed Time: ' + that.convertSeconds(that.time);\n }\n that.time++;\n if (status === 'stop') {\n that.time = 1;\n clearInterval(that.executionTime);\n }\n }, 1000);\n };\n\n /**\n * Convert seconds to hourly format\n * @param int seconds\n * @return string\n */\n that.convertSeconds = function(seconds) {\n const date = new Date(null);\n date.setSeconds(seconds); // specify value for SECONDS here\n return date.toISOString().substr(11, 8);\n };\n\n /**\n * Start Cloning Process\n * @type {Function}\n */\n that.startCloning = (function() {\n resetErrors();\n\n // Register function for checking disk space\n checkDiskSpace();\n\n if ('wpstg_cloning' !== that.data.action && 'wpstg_update' !== that.data.action && 'wpstg_reset' !== that.data.action) {\n return;\n }\n\n that.isCancelled = false;\n\n // Start the process\n start();\n\n // Functions\n // Start\n function start() {\n cache.get('.wpstg-loader').show();\n cache.get('#wpstg-cancel-cloning').text('Cancel');\n cache.get('#wpstg-resume-cloning').hide();\n cache.get('#wpstg-error-details').hide();\n\n\n // Clone Database\n setTimeout(function() {\n // cloneDatabase();\n window.addEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n processing();\n }, wpstg.delayReq);\n\n that.timer('start');\n }\n\n\n /**\n * Start ajax processing\n * @return string\n */\n var processing = function() {\n if (true === that.isCancelled) {\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return false;\n }\n\n isLoading(true);\n\n let excludedDirectories = '';\n let extraDirectories = '';\n if (that.directoryNavigator !== null) {\n excludedDirectories = that.directoryNavigator.getExcludedDirectories();\n extraDirectories = that.directoryNavigator.getExtraDirectoriesRootOnly();\n }\n\n // Show logging window\n cache.get('.wpstg-log-details').show();\n\n WPStaging.ajax(\n {\n action: 'wpstg_processing',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n excludedTables: getExcludedTables(),\n excludedDirectories: encodeURIComponent(excludedDirectories),\n extraDirectories: encodeURIComponent(extraDirectories),\n },\n function(response) {\n showAjaxFatalError(response);\n\n // Add Log messages\n if ('undefined' !== typeof (response.last_msg) && response.last_msg) {\n getLogs(response.last_msg);\n }\n // Continue processing\n if (false === response.status) {\n progressBar(response);\n\n setTimeout(function() {\n cache.get('.wpstg-loader').show();\n processing();\n }, wpstg.delayReq);\n } else if (true === response.status && 'finished' !== response.status) {\n cache.get('#wpstg-error-details').hide();\n cache.get('#wpstg-error-wrapper').hide();\n progressBar(response, true);\n processing();\n } else if ('finished' === response.status || ('undefined' !== typeof (response.job_done) && response.job_done)) {\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n finish(response);\n }\n ;\n },\n 'json',\n false,\n );\n };\n\n // Finish\n function finish(response) {\n if (true === that.getLogs) {\n getLogs();\n }\n\n progressBar(response);\n\n // Add Log\n if ('undefined' !== typeof (response.last_msg)) {\n getLogs(response.last_msg);\n }\n\n cache.get('.wpstg-loader').hide();\n cache.get('#wpstg-processing-header').html('Processing Complete');\n $('#wpstg-processing-status').text('Succesfully finished');\n\n cache.get('#wpstg_staging_name').html(that.data.cloneID);\n cache.get('#wpstg-finished-result').show();\n cache.get('#wpstg-cancel-cloning').hide();\n cache.get('#wpstg-resume-cloning').hide();\n cache.get('#wpstg-cancel-cloning-update').prop('disabled', true);\n\n const $link1 = cache.get('#wpstg-clone-url-1');\n const $link = cache.get('#wpstg-clone-url');\n $link1.attr('href', response.url);\n $link1.html(response.url);\n $link.attr('href', response.url);\n\n cache.get('#wpstg-remove-clone').data('clone', that.data.cloneID);\n\n // Finished\n that.isFinished = true;\n that.timer('stop');\n\n\n cache.get('.wpstg-loader').hide();\n cache.get('#wpstg-processing-header').html('Processing Complete');\n\n // show alert\n let msg = wpstg.i18n.cloneResetComplete;\n if (that.data.action === 'wpstg_update') {\n msg = wpstg.i18n.cloneUpdateComplete;\n }\n\n if (that.data.action === 'wpstg_update' || that.data.action === 'wpstg_reset') {\n cache.get('#wpstg-cancel-cloning-update').hide();\n cache.get('.wpstg-prev-step-link').show();\n\n WPStagingCommon.getSwalModal(true, {\n confirmButton: 'wpstg--btn--confirm wpstg-green-button wpstg-button wpstg-link-btn wpstg-100-width',\n }).fire({\n title: '',\n icon: 'success',\n html: msg,\n width: '500px',\n focusConfirm: true,\n });\n }\n\n return false;\n }\n\n /**\n * Add percentage progress bar\n * @param object response\n * @return {Boolean}\n */\n var progressBar = function(response, restart) {\n if ('undefined' === typeof (response.percentage)) {\n return false;\n }\n\n if (response.job === 'database') {\n cache.get('#wpstg-progress-db').width(response.percentage * 0.2 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 1 of 4 Cloning Database Tables...');\n }\n\n if (response.job === 'SearchReplace') {\n cache.get('#wpstg-progress-db').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-db').html('1. Database');\n // Assumption: All previous steps are done.\n // This avoids bugs where some steps are skipped and the progress bar is incomplete as a result\n cache.get('#wpstg-progress-db').width('20%');\n\n cache.get('#wpstg-progress-sr').width(response.percentage * 0.1 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 2 of 4 Preparing Database Data...');\n }\n\n if (response.job === 'directories') {\n cache.get('#wpstg-progress-sr').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-sr').html('2. Data');\n cache.get('#wpstg-progress-sr').width('10%');\n\n cache.get('#wpstg-progress-dirs').width(response.percentage * 0.1 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 3 of 4 Getting files...');\n }\n if (response.job === 'files') {\n cache.get('#wpstg-progress-dirs').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-dirs').html('3. Files');\n cache.get('#wpstg-progress-dirs').width('10%');\n\n cache.get('#wpstg-progress-files').width(response.percentage * 0.6 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 4 of 4 Copy files...');\n }\n if (response.job === 'finish') {\n cache.get('#wpstg-progress-files').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-files').html('4. Copy Files');\n cache.get('#wpstg-progress-files').width('60%');\n\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Cloning Process Finished');\n }\n };\n });\n\n that.switchStep = function(step) {\n cache.get('.wpstg-current-step')\n .removeClass('wpstg-current-step');\n cache.get('.wpstg-step' + step)\n .addClass('wpstg-current-step');\n };\n\n /**\n * Initiation\n * @type {Function}\n */\n that.init = (function() {\n loadOverview();\n elements();\n stepButtons();\n tabs();\n WPStagingCommon.listenTooltip();\n new WpstgMainMenu();\n new WpstgCloneStaging();\n new WpstgCloningAdvanceSettings();\n that.notyf = new Notyf({\n duration: 10000,\n position: {\n x: 'center',\n y: 'bottom',\n },\n dismissible: true,\n types: [\n {\n type: 'warning',\n background: 'orange',\n icon: false,\n },\n ],\n });\n });\n\n /**\n * Ajax call\n * @type {ajax}\n */\n that.ajax = ajax;\n that.showError = showError;\n that.getLogs = getLogs;\n that.loadOverview = loadOverview;\n\n return that;\n})(jQuery);\n\njQuery(document).ready(function() {\n WPStaging.init();\n // This is necessary to make WPStaging var accessibile in WP Staging PRO js script\n window.WPStaging = WPStaging;\n});\n\n/**\n * Report Issue modal\n */\njQuery(document).ready(function($) {\n $('body').on('click', '#wpstg-report-issue-button', function(e) {\n console.log('REPORT');\n $('.wpstg--tab--active .wpstg-report-issue-form').toggleClass('wpstg-report-show');\n e.preventDefault();\n });\n\n $('body').on('click', '#wpstg-backups-report-issue-button', function(e) {\n $('.wpstg--tab--active .wpstg-report-issue-form').toggleClass('wpstg-report-show');\n e.preventDefault();\n });\n\n $('body').on('click', '#wpstg-report-cancel', function(e) {\n $('.wpstg--tab--active .wpstg-report-issue-form').removeClass('wpstg-report-show');\n e.preventDefault();\n });\n\n $('body').on('click', '.wpstg--tab--active #wpstg-report-submit', function(e) {\n const self = $(this);\n sendIssueReport(self, 'false');\n e.preventDefault();\n });\n\n /*\n * Close Success Modal\n */\n\n $('body').on('click', '#wpstg-success-button', function(e) {\n e.preventDefault();\n $('.wpstg-report-issue-form').removeClass('wpstg-report-show');\n });\n\n function sendIssueReport(button, forceSend = 'false') {\n const spinner = button.next();\n const email = $('.wpstg--tab--active .wpstg-report-email').val();\n const hosting_provider = $('.wpstg--tab--active .wpstg-report-hosting-provider').val();\n const message = $('.wpstg--tab--active .wpstg-report-description').val();\n const syslog = $('.wpstg--tab--active .wpstg-report-syslog').is(':checked');\n const terms = $('.wpstg--tab--active .wpstg-report-terms').is(':checked');\n\n button.attr('disabled', true);\n spinner.css('visibility', 'visible');\n\n $.ajax({\n url: ajaxurl,\n type: 'POST',\n dataType: 'json',\n async: true,\n data: {\n 'action': 'wpstg_send_report',\n 'accessToken': wpstg.accessToken,\n 'nonce': wpstg.nonce,\n 'wpstg_email': email,\n 'wpstg_provider': hosting_provider,\n 'wpstg_message': message,\n 'wpstg_syslog': +syslog,\n 'wpstg_terms': +terms,\n 'wpstg_force_send': forceSend,\n },\n }).done(function(data) {\n button.attr('disabled', false);\n spinner.css('visibility', 'hidden');\n\n if (data.errors.length > 0) {\n $('.wpstg--tab--active .wpstg-report-issue-form .wpstg-message').remove();\n\n let errorMessage = $('<div />').addClass('wpstg-message wpstg-error-message');\n $.each(data.errors, function(key, value) {\n if (value.status === 'already_submitted') {\n errorMessage = '';\n // TODO: remove default custom classes\n WPStagingCommon.getSwalModal(true, {\n container: 'wpstg-issue-resubmit-confirmation',\n }).fire({\n title: '',\n icon: 'warning',\n html: value.message,\n showCancelButton: true,\n focusConfirm: false,\n confirmButtonText: 'Yes',\n cancelButtonText: 'No',\n }).then((result) => {\n if (result.isConfirmed) {\n sendIssueReport(button, 'true');\n }\n });\n } else {\n errorMessage.append('<p>' + value + '</p>');\n }\n });\n\n $('.wpstg--tab--active .wpstg-report-issue-form').prepend(errorMessage);\n } else {\n const successMessage = $('<div />').addClass('wpstg-message wpstg-success-message');\n successMessage.append('<p>Thanks for submitting your request! You should receive an auto reply mail with your ticket ID immediately for confirmation!<br><br>If you do not get that mail please contact us directly at <strong>support@wp-staging.com</strong></p>');\n\n $('.wpstg--tab--active .wpstg-report-issue-form').html(successMessage);\n $('.wpstg--tab--active .wpstg-success-message').append('<div style=\"float:right;margin-top:10px;\"><a id=\"wpstg-success-button\" href=\"#\" class=\"wpstg--red\">[X] CLOSE</a></div>');\n\n // Hide message\n setTimeout(function() {\n $('.wpstg--tab--active .wpstg-report-issue-form').removeClass('wpstg-report-active');\n }, 2000);\n }\n });\n }\n\n // Open/close actions drop down menu\n $(document).on('click', '.wpstg-dropdown>.wpstg-dropdown-toggler', function(e) {\n e.preventDefault();\n $(e.target).next('.wpstg-dropdown-menu').toggleClass('shown');\n\n $(e.target).find('.wpstg-caret').toggleClass('wpstg-caret-up');\n });\n\n $(document).on('click', '.wpstg-caret', function(e) {\n e.preventDefault();\n\n const toggler = $(e.target).closest('.wpstg-dropdown-toggler');\n\n if (toggler) {\n toggler.trigger('click');\n }\n });\n\n // Close action drop down menu if clicked anywhere outside\n document.addEventListener('click', function(event) {\n const isClickInside = event.target.closest('.wpstg-dropdown-toggler');\n if (!isClickInside) {\n const dropDown = document.getElementsByClassName('wpstg-dropdown-menu');\n for (let i = 0; i < dropDown.length; i++) {\n dropDown[i].classList.remove('shown');\n }\n $('.wpstg-caret').removeClass('wpstg-caret-up');\n }\n });\n\n // \"Event info\" for backup errors\n window.addEventListener('finishedProcessWithError', function(customEvent) {\n $.ajax({\n url: ajaxurl,\n type: 'POST',\n dataType: 'json',\n data: {\n 'action': 'wpstg_job_error',\n 'accessToken': wpstg.accessToken,\n 'nonce': wpstg.nonce,\n 'error_message': customEvent.detail.error,\n 'job_id': WPStagingCommon.getJobId(),\n },\n });\n });\n});\n"],"names":["polyfillClosest","Element","prototype","closest","matches","msMatchesSelector","webkitMatchesSelector","s","el","call","parentElement","parentNode","nodeType","element","selector","qs","document","querySelector","all","querySelectorAll","addEvent","parent","evt","handler","addEventListener","event","target","slideDown","duration","style","display","overflow","height","offsetHeight","transitionProperty","transitionDuration","setTimeout","window","removeProperty","slideUp","getNextSibling","sibling","nextElementSibling","getParents","result","push","handleDisplayDependencies","id","containerSelector","hiddenClass","elementType","getAttribute","container","showIfChecked","showIfUnchecked","checked","length","classList","remove","add","handleToggleElement","elements","toggle","handleCopyPaste","navigator","clipboard","writeText","value","handleCopyToClipboard","WpstgCloneStaging","pageWrapperId","wpstgObject","wpstg","pageWrapper","dom","enableButtonId","enableAction","notyf","Notyf","position","x","y","dismissible","types","type","background","icon","init","addEvents","sendRequest","action","fetch","ajaxUrl","method","credentials","body","URLSearchParams","accessToken","nonce","headers","then","response","ok","json","Promise","reject","data","success","location","reload","message","error","i18n","console","warn","WpstgDirectoryNavigation","directoryListingSelector","workflowSelector","directoryListingContainer","workflow","dirCheckboxSelector","dirExpandSelector","unselectAllDirsSelector","selectDefaultDirsSelector","fetchChildrenAction","currentCheckboxElement","currentParentDiv","currentLoader","existingExcludes","excludedDirectories","isDefaultSelected","log","preventDefault","toggleDirExpand","unselectAll","selectDefault","toggleDirectoryNavigation","updateDirectorySelection","parseExcludes","previousSibling","changed","dirPath","isChecked","forceDefault","setAttribute","dirContainer","createElement","innerHTML","JSON","parse","directoryListing","appendChild","alert","getExcludedDirectories","forEach","isParentExcluded","exclude","isScanned","join","settings","directorySeparator","path","isParentAlreadyExcluded","dir","startsWith","getExtraDirectoriesRootOnly","extraDirectories","extraDirectoriesTextArea","extraCustomDirectories","split","concat","countSelectedFiles","map","substr","slice","scanned","cbElement","subDirectories","parElem","i","children","themesCount","pluginsCount","filesCountElement","replace","WpstgTableSelection","databaseTableSectionSelector","networkCloneSelector","inputSelector","databaseTableSection","networkCloneCheckbox","isAllTablesChecked","isMultisite","isNetworkClone","input","setNetworkClone","selectDefaultTables","countSelectedTables","toggleTableSelection","getRegexPattern","pattern","tblprefix","isNetwork","undefined","options","regexPattern","option","name","match","selected","getSelectedTablesWithoutPrefix","selectedTablesWithoutPrefix","getIncludedTables","includedTables","getExcludedTables","excludedTables","tablesCount","tablesCountElement","WpstgExcludeFilters","excludeFilterContainerSelector","excludeContainer","excludeTableBody","addFileSizeExclude","addFileExtExclude","addFileNameExclude","addDirNameExclude","clearExcludes","removeExclude","addExcludeRuleRow","templateName","excludeRowTemplate","clone","content","cloneNode","excludeRow","e","removeChild","trim","getExcludeFilters","globExcludes","sizeExcludes","sizeCompares","sizeSizes","sizeByte","Object","entries","key","sizeInput","extensionInputs","ext","cleanStringForGlob","fileNamesPos","fileNames","fileInput","fileName","cleanStringForGlobExactMatches","dirNamesPos","dirNames","dirInput","dirName","filter","onlyUnique","index","self","indexOf","WpstgModal","confirmAction","show","swalOptions","additionalParams","callback","wpstgSwal","fire","triggerConfirmAction","assign","onOver","onOut","pX","pY","mouseOver","focused","h","state","timer","sensitivity","interval","timeout","handleFocus","delay","clearTimeout","tracker","clientX","clientY","compare","Math","abs","opt","focusOptionChanged","addFocus","removeFocus","dispatchOver","removeEventListener","onMouseOver","dispatchOut","onMouseOut","dispatchFocus","onFocus","dispatchBlur","onBlur","$","WPStagingCommon","continueErrorHandle","cache","get","inArray","refresh","setJobId","jobId","localStorage","setItem","getJobId","getItem","listenTooltip","wpstgHoverIntent","visibility","isEmpty","obj","prop","hasOwnProperty","getSwalModal","isContentCentered","customClasses","defaultCustomClasses","confirmButton","cancelButton","actions","popup","customClass","buttonsStyling","reverseButtons","showClass","mixin","showSuccessModal","htmlContent","showConfirmButton","showCancelButton","cancelButtonText","title","html","showWarningModal","showErrorModal","getSwalContainer","getContainer","closeSwalModal","close","getDataFromWordPressResponse","Error","Array","shift","isLoading","hide","slugify","url","toString","toLowerCase","normalize","showAjaxFatalError","prependMessage","appendMessage","showError","WPStaging","warnIfClosingDuringProcess","handleFetchErrors","status","statusText","css","text","removeClass","resetErrors","ajax","dataType","showErrors","tryCount","incrementRatio","errorCallback","retryLimit","retryTimeout","parseInt","isNaN","ajaxurl","Date","now","xhr","textStatus","errorThrown","errorCode","statusCode","jQuery","WpstgResetModal","cloneID","fetchExcludeSettingsAction","modalErrorAction","resetButtonClass","resetModalContainerClass","resetTabSelector","directoryNavigator","excludeFilters","tableSelector","resetModalContainer","toggleContent","contentId","tabTriangle","isCollapsed","contains","transform","showModal","swalPromise","loadModal","fetchCloneExcludes","getAjaxLoader","width","focusConfirm","confirmButtonText","resetClone","job","errorModal","modal","renderError","getDirectoryNavigator","getTableSelector","wpstgIcon","WpstgCloningAdvanceSettings","baseContainerSelector","baseContainer","checkBoxSettingTogglerSelector","toggleSettings","WpstgMainMenu","activeTabClass","mainMenu","tabHeader","$this","targetElements","menuItems","contents","menuItem","targetElement","dispatchEvent","Event","that","isCancelled","isFinished","getLogs","time","executionTime","progressBar","cloneExcludeFilters","areAllTablesChecked","ajaxSpinner","returnValue","$workFlow","urlSpinner","devicePixelRatio","on","getElementById","clearInterval","removeAttr","cloneDirectoryName","directoryName","addClass","slug","substring","$targetDir","$targetUri","uri","attr","val","validateTargetHost","after","cloneActions","the_domain","reg","test","confirm","append","cancelCloning","startCloning","cancelCloningUpdate","restart","$existingClones","animate","scrollTop","offset","top","deleteClone","jsonResponse","tryParseJson","checkDiskSpace","switchStep","resetModal","promise","dirNavigator","exclFilters","allTablesExcluded","excludeSizeRules","encodeURIComponent","sizes","excludeGlobRules","globs","stepButtons","focus","onlyUpdateMessage","is","verifyExternalDatabase","proceedCloning","loadOverview","each","databaseUser","databasePassword","databaseServer","databaseDatabase","error_type","render","checks","production","staging","getCloningData","getTime","cloneName","rules","databasePrefix","cloneDir","cloneHostname","emailsAllowed","networkClone","uploadsSymlinked","cleanPluginsThemes","cleanUploadsDir","sendCloningAjax","object","excludeOptions","tabs","$section","toggleClass","slideToggle","find","hasClass","deleteDir","logscroll","$div","scrollHeight","constructor","date","requiredSpace","errorMessage","convertSeconds","setInterval","seconds","setSeconds","toISOString","start","processing","delayReq","last_msg","job_done","finish","$link1","$link","msg","cloneResetComplete","cloneUpdateComplete","percentage","toFixed","step","ready","sendIssueReport","button","forceSend","spinner","next","email","hosting_provider","syslog","terms","async","done","errors","isConfirmed","prepend","successMessage","toggler","trigger","isClickInside","dropDown","getElementsByClassName","customEvent","detail"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;EACA;EACA;EACA;EACA;EACA,SAASA,eAAT,GAA2B;EACzB,MAAIC,OAAO,CAACC,SAAR,CAAkBC,OAAtB,EAA+B;EAC7B,QAAI,CAACF,OAAO,CAACC,SAAR,CAAkBE,OAAvB,EAAgC;EAC9BH,MAAAA,OAAO,CAACC,SAAR,CAAkBE,OAAlB,GAA4BH,OAAO,CAACC,SAAR,CAAkBG,iBAAlB,IAAuCJ,OAAO,CAACC,SAAR,CAAkBI,qBAArF;EACD;;EAEDL,IAAAA,OAAO,CAACC,SAAR,CAAkBC,OAAlB,GAA4B,UAASI,CAAT,EAAY;EACtC,UAAIC,EAAE,GAAG,IAAT;;EAEA,SAAG;EACD,YAAIP,OAAO,CAACC,SAAR,CAAkBE,OAAlB,CAA0BK,IAA1B,CAA+BD,EAA/B,EAAmCD,CAAnC,CAAJ,EAA2C,OAAOC,EAAP;EAC3CA,QAAAA,EAAE,GAAGA,EAAE,CAACE,aAAH,IAAoBF,EAAE,CAACG,UAA5B;EACD,OAHD,QAGSH,EAAE,KAAK,IAAP,IAAeA,EAAE,CAACI,QAAH,KAAgB,CAHxC;;EAIA,aAAO,IAAP;EACD,KARD;EASD;;EAED,SAAO,UAASC,OAAT,EAAkBC,QAAlB,EAA4B;EACj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CAACb,gBAAP,CAAwB,0BAAxB,EAAoD,UAAS0jB,WAAT,EAAsB;EACxE7R,IAAAA,CAAC,CAACsE,IAAF,CAAO;EACLjB,MAAAA,GAAG,EAAE2B,OADA;EAELjT,MAAAA,IAAI,EAAE,MAFD;EAGLwS,MAAAA,QAAQ,EAAE,MAHL;EAILlR,MAAAA,IAAI,EAAE;EACJ,kBAAU,iBADN;EAEJ,uBAAelC,KAAK,CAACyB,WAFjB;EAGJ,iBAASzB,KAAK,CAAC0B,KAHX;EAIJ,yBAAiBgf,WAAW,CAACC,MAAZ,CAAmBpe,KAJhC;EAKJ,kBAAUuM,eAAe,CAACU,QAAhB;EALN;EAJD,KAAP;EAYD,GAbD;EAcD,CAxJD;;;;;;"}
1
+ {"version":3,"file":"wpstg-admin.js","sources":["../src/modules/wpstg-polyfill.js","../src/modules/wpstg-dom-utils.js","../src/modules/wpstg-clone-staging.js","../src/modules/wpstg-directory-navigation.js","../src/modules/wpstg-table-selection.js","../src/modules/wpstg-exclude-filters.js","../src/modules/wpstg-modal.js","../src/modules/wpstg-hover-intent.js","../src/wpstg.js","../src/modules/wpstg-reset-modal.js","../src/modules/wpstg-cloning-advance-settings.js","../src/modules/wpstg-main-menu.js","../src/wpstg-admin.js"],"sourcesContent":["/**\n * Polyfills the `Element.prototype.closest` function if not available in the browser.\n *\n * @return {Function} A function that will return the closest element, by selector, to this element.\n */\nfunction polyfillClosest() {\n if (Element.prototype.closest) {\n if (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n }\n\n Element.prototype.closest = function(s) {\n let el = this;\n\n do {\n if (Element.prototype.matches.call(el, s)) return el;\n el = el.parentElement || el.parentNode;\n } while (el !== null && el.nodeType === 1);\n return null;\n };\n }\n\n return function(element, selector) {\n return element instanceof Element ? element.closest(selector) : null;\n };\n}\n\nexport const closest = polyfillClosest();\n","import {closest} from './wpstg-polyfill';\n\n/**\n * WP STAGING basic jQuery replacement\n */\n\n/**\n * Shortcut for document.querySelector() or jQuery's $()\n * Return single element only\n */\nexport function qs(selector) {\n return document.querySelector(selector);\n}\n\n/**\n * Shortcut for document.querySelector() or jQuery's $()\n * Return collection of elements\n */\nexport function all(selector) {\n return document.querySelectorAll(selector);\n}\n\n/**\n * alternative of jQuery - $(parent).on(event, selector, handler)\n */\nexport function addEvent(parent, evt, selector, handler) {\n if (!parent instanceof Element) {\n return;\n }\n\n parent.addEventListener(evt, function(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n handler(event.target.closest(selector), event);\n }\n }, false);\n}\n\nexport function slideDown(element, duration = 400) {\n element.style.display = 'block';\n element.style.overflow = 'hidden';\n const height = element.offsetHeight;\n element.style.height = '0px';\n element.style.transitionProperty = 'height';\n element.style.transitionDuration = duration + 'ms';\n setTimeout(() => {\n element.style.height = height + 'px';\n window.setTimeout(() => {\n element.style.removeProperty('height');\n element.style.removeProperty('overflow');\n element.style.removeProperty('transition-duration');\n element.style.removeProperty('transition-property');\n }, duration);\n }, 0);\n}\n\nexport function slideUp(element, duration = 400) {\n element.style.display = 'block';\n element.style.overflow = 'hidden';\n const height = element.offsetHeight;\n element.style.height = height + 'px';\n element.style.transitionProperty = 'height';\n element.style.transitionDuration = duration + 'ms';\n setTimeout(() => {\n element.style.height = '0px';\n window.setTimeout(() => {\n element.style.display = 'none';\n element.style.removeProperty('height');\n element.style.removeProperty('overflow');\n element.style.removeProperty('transition-duration');\n element.style.removeProperty('transition-property');\n }, duration);\n }, 0);\n}\n\nexport function fadeOut(element, duration = 300) {\n element.style.opacity = 1;\n element.style.transitionProperty = 'opacity';\n element.style.transitionDuration = duration + 'ms';\n setTimeout(() => {\n element.style.opacity = 0;\n window.setTimeout(() => {\n element.style.display = 'none';\n element.style.removeProperty('opacity');\n element.style.removeProperty('transition-duration');\n element.style.removeProperty('transition-property');\n }, duration);\n }, 0);\n}\n\nexport function getNextSibling(element, selector) {\n let sibling = element.nextElementSibling;\n\n while (sibling) {\n if (sibling.matches(selector)) {\n return sibling;\n }\n\n sibling = sibling.nextElementSibling;\n }\n};\n\nexport function getParents(element, selector) {\n const result = [];\n for (let parent = element && element.parentElement; parent; parent = parent.parentElement) {\n if (parent.matches(selector)) {\n result.push(parent);\n }\n }\n\n return result;\n}\n\n/**\n * Check if element has class name\n * @param element\n * @param className\n * @return {boolean}\n */\nexport function hasClass(element, className) {\n return (' ' + element.className + ' ').indexOf(' ' + className+ ' ') > -1;\n}\n\n/**\n * Dispatches a change on an element that will trigger, depending on the element type,\n * cascading changes on elements dependant on the one that triggered the change and that\n * belong in the same container.\n *\n * @param {Element} element A reference to the Element the change was triggered from.\n *\n * @return {void} The function does not return any value and will have the side-effect of\n * hiding or showing dependant elements.\n */\nexport function handleDisplayDependencies(element) {\n if (!element instanceof Element || !element.id) {\n return;\n }\n\n const containerSelector = '.wpstg-container';\n // Use the default WordPress CSS class to hide and show the objects.\n const hiddenClass = 'hidden';\n const elementType = element.getAttribute('type');\n\n switch (elementType) {\n case 'checkbox':\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n const showIfChecked = container.querySelectorAll(`[data-show-if-checked=\"${element.id}\"]`);\n const showIfUnchecked = container.querySelectorAll(`[data-show-if-unchecked=\"${element.id}\"]`);\n const checked = element.checked;\n\n if (showIfChecked.length) {\n for (const el of showIfChecked) {\n if (checked) {\n el.classList.remove(hiddenClass);\n } else {\n el.classList.add(hiddenClass);\n }\n }\n }\n\n if (showIfUnchecked.length) {\n for (const el of showIfUnchecked) {\n if (checked) {\n el.classList.add(hiddenClass);\n } else {\n el.classList.remove(hiddenClass);\n }\n }\n }\n\n return;\n default:\n // Not a type we handle.\n return;\n }\n}\n\n/**\n * Initializes the display status of any element that depends on the status of another to\n * either hide or show.\n *\n * @return {void} The function will have the side-effect to toggle the hide/show class from\n * elements dependant on another to hide or show.\n */\nexport function initDependantDisplay() {\n const displayControllerSelector = '[onchange^=\"WPStaging.handleDisplayDependencies\"]';\n const displayControllers = document.querySelectorAll(displayControllerSelector);\n for (const displayController of displayControllers) {\n handleDisplayDependencies(displayController);\n }\n}\n\n/**\n * Toggle target element set in data-wpstg-target of the given element\n *\n * @param {Element} element A reference to the Element the change was triggered from.\n *\n * @return {void} The function does not return any value and will have the side-effect of\n * hiding or showing dependant elements.\n */\nexport function handleToggleElement(element) {\n if (!element instanceof Element || !element.getAttribute('data-wpstg-target')) {\n return;\n }\n\n const containerSelector = '.wpstg_admin';\n // Use the default WordPress CSS class to hide and show the objects.\n const hiddenClass = 'hidden';\n\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n const elements = container.querySelectorAll(element.getAttribute('data-wpstg-target'));\n\n if (elements.length) {\n for (const el of elements) {\n el.classList.toggle(hiddenClass);\n }\n }\n}\n\n/**\n * Copy text in data-wpstg-copy to element(s) in data-wpstg-target\n *\n * @param {Element} element\n *\n * @return {void}\n */\nexport function handleCopyPaste(element) {\n if (!element instanceof Element || !element.getAttribute('data-wpstg-target') || !element.getAttribute('data-wpstg-copy')) {\n return;\n }\n\n const containerSelector = '.wpstg_admin';\n\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n navigator.clipboard.writeText(element.getAttribute('data-wpstg-copy'));\n const elements = container.querySelectorAll(element.getAttribute('data-wpstg-target'));\n\n if (elements.length) {\n for (const el of elements) {\n el.value = element.getAttribute('data-wpstg-copy', '');\n }\n }\n}\n\n/**\n * Copy text in data-wpstg-source to clipboard\n *\n * @param {Element} element\n *\n * @return {void}\n */\nexport function handleCopyToClipboard(element) {\n if (!element instanceof Element || !element.getAttribute('data-wpstg-source')) {\n return;\n }\n\n const containerSelector = '.wpstg_admin';\n\n // Go as high as the container that contains this element.\n const container = closest(element, containerSelector);\n\n if (container === null) {\n return;\n }\n\n const el = container.querySelector(element.getAttribute('data-wpstg-source'));\n\n if (el) {\n navigator.clipboard.writeText(el.value);\n }\n}\n\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Enable/Disable cloning for staging site\n */\nexport default class WpstgCloneStaging {\n constructor(\n pageWrapperId = '#wpstg-clonepage-wrapper',\n wpstgObject = wpstg,\n ) {\n this.pageWrapper = dom.qs(pageWrapperId);\n this.wpstgObject = wpstgObject;\n this.enableButtonId = '#wpstg-enable-staging-cloning';\n this.enableAction = 'wpstg_enable_staging_cloning';\n\n this.notyf = new Notyf({\n duration: 10000,\n position: {\n x: 'center',\n y: 'bottom',\n },\n dismissible: true,\n types: [\n {\n type: 'warning',\n background: 'orange',\n icon: false,\n },\n ],\n });\n this.init();\n }\n\n addEvents() {\n if (this.pageWrapper === null) {\n return;\n }\n\n dom.addEvent(this.pageWrapper, 'click', this.enableButtonId, () => {\n this.sendRequest(this.enableAction);\n });\n }\n\n init() {\n this.addEvents();\n }\n\n sendRequest(action) {\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams({\n action: action,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n }),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((data) => {\n // Reload current page if successful.\n if ('undefined' !== typeof (data.success) && data.success) {\n location.reload();\n return;\n }\n\n // There will be message probably in case of error\n if ('undefined' !== typeof (data.message)) {\n this.notyf.error(data.message);\n return;\n }\n\n this.notyf.error(this.wpstgObject.i18n['somethingWentWrong']);\n }).catch((error) => {\n console.warn(this.wpstgObject.i18n['somethingWentWrong'], error);\n });\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Fetch directory direct child directories\n */\nexport default class WpstgDirectoryNavigation {\n constructor(\n directoryListingSelector = '#wpstg-directories-listing',\n workflowSelector = '#wpstg-workflow',\n wpstgObject = wpstg,\n notyf = null,\n ) {\n this.directoryListingContainer = dom.qs(directoryListingSelector);\n this.workflow = dom.qs(workflowSelector);\n this.wpstgObject = wpstgObject;\n this.dirCheckboxSelector = '.wpstg-check-dir';\n this.dirExpandSelector = '.wpstg-expand-dirs';\n this.unselectAllDirsSelector = '.wpstg-unselect-dirs';\n this.selectDefaultDirsSelector = '.wpstg-select-dirs-default';\n this.fetchChildrenAction = 'wpstg_fetch_dir_childrens';\n this.currentCheckboxElement = null;\n this.currentParentDiv = null;\n this.currentLoader = null;\n this.existingExcludes = [];\n this.excludedDirectories = [];\n this.isDefaultSelected = false;\n this.notyf = notyf;\n\n this.init();\n }\n\n addEvents() {\n if (this.directoryListingContainer === null) {\n console.log('Error: directory navigation add events');\n return;\n }\n\n dom.addEvent(this.directoryListingContainer, 'change', this.dirCheckboxSelector, (element, event) => {\n event.preventDefault();\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', this.dirExpandSelector, (element, event) => {\n event.preventDefault();\n if (this.toggleDirExpand(element)) {\n this.sendRequest(this.fetchChildrenAction, element);\n }\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', this.unselectAllDirsSelector, () => {\n this.unselectAll();\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', this.selectDefaultDirsSelector, () => {\n this.selectDefault();\n });\n\n dom.addEvent(this.directoryListingContainer, 'click', '.wpstg-expand-dirs', (target, event) => {\n event.preventDefault();\n this.toggleDirectoryNavigation(target);\n });\n\n dom.addEvent(this.directoryListingContainer, 'change', 'input.wpstg-check-dir', (target) => {\n this.updateDirectorySelection(target);\n });\n }\n\n init() {\n this.addEvents();\n this.parseExcludes();\n }\n\n /**\n * Toggle Dir Expand,\n * Return true if children aren't fetched\n * @param {HTMLElement} element\n * @return {boolean}\n */\n toggleDirExpand(element) {\n this.currentParentDiv = element.parentElement;\n this.currentCheckboxElement = element.previousSibling;\n this.currentLoader = this.currentParentDiv.querySelector('.wpstg-is-dir-loading');\n if (this.currentCheckboxElement.getAttribute('data-navigateable', 'false') === 'false') {\n return false;\n }\n\n if (this.currentCheckboxElement.getAttribute('data-scanned', 'false') === 'false') {\n return true;\n }\n\n return false;\n }\n\n sendRequest(action) {\n if (this.currentLoader !== null) {\n this.currentLoader.style.display = 'inline-block';\n }\n\n const changed = this.currentCheckboxElement.getAttribute('data-changed');\n\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams({\n action: action,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n dirPath: this.currentCheckboxElement.value,\n isChecked: this.currentCheckboxElement.checked,\n forceDefault: changed === 'true',\n }),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((data) => {\n if ('undefined' !== typeof (data.success) && data.success) {\n this.currentCheckboxElement.setAttribute('data-scanned', true);\n const dirContainer = document.createElement('div');\n dirContainer.classList.add('wpstg-dir');\n dirContainer.classList.add('wpstg-subdir');\n dirContainer.innerHTML = JSON.parse(data.directoryListing);\n this.currentParentDiv.appendChild(dirContainer);\n if (this.currentLoader !== null) {\n this.currentLoader.style.display = 'none';\n }\n\n dom.slideDown(dirContainer);\n\n return;\n }\n\n if (this.notyf !== null) {\n this.notyf.error(this.wpstgObject.i18n['somethingWentWrong']);\n } else {\n alert('Error: ' + this.wpstgObject.i18n['somethingWentWrong']);\n }\n }).catch((error) => {\n console.warn(this.wpstgObject.i18n['somethingWentWrong'], error);\n });\n }\n\n getExcludedDirectories() {\n this.excludedDirectories = [];\n this.directoryListingContainer.querySelectorAll('.wpstg-dir input:not(:checked)').forEach((element) => {\n if (!this.isParentExcluded(element.value)) {\n this.excludedDirectories.push(element.value);\n }\n });\n\n this.existingExcludes.forEach((exclude) => {\n if (!this.isParentExcluded(exclude) && !this.isScanned(exclude)) {\n this.excludedDirectories.push(exclude);\n }\n });\n\n return this.excludedDirectories.join(this.wpstgObject.settings.directorySeparator);\n }\n\n /**\n * @param {string} path\n * @return {bool}\n */\n isParentExcluded(path) {\n let isParentAlreadyExcluded = false;\n this.excludedDirectories.forEach((dir) => {\n if (path.startsWith(dir + '/')) {\n isParentAlreadyExcluded = true;\n }\n });\n\n return isParentAlreadyExcluded;\n }\n\n getExtraDirectoriesRootOnly() {\n this.getExcludedDirectories();\n const extraDirectories = [];\n this.directoryListingContainer.querySelectorAll(':not(.wpstg-subdir)>.wpstg-dir>input.wpstg-wp-non-core-dir:checked').forEach((element) => {\n extraDirectories.push(element.value);\n });\n\n // Check if extra directories text area exists\n // TODO: remove extraCustomDirectories code if no one require extraCustomDirectories...\n const extraDirectoriesTextArea = dom.qs('#wpstg_extraDirectories');\n if (extraDirectoriesTextArea === null || extraDirectoriesTextArea.value === '') {\n return extraDirectories.join(this.wpstgObject.settings.directorySeparator);\n }\n\n const extraCustomDirectories = extraDirectoriesTextArea.value.split(/\\r?\\n/);\n\n return extraDirectories.concat(extraCustomDirectories).join(this.wpstgObject.settings.directorySeparator);\n }\n\n unselectAll() {\n this.directoryListingContainer.querySelectorAll('.wpstg-dir input').forEach((element) => {\n element.checked = false;\n });\n\n this.countSelectedFiles();\n }\n\n selectDefault() {\n // unselect all checkboxes\n this.unselectAll();\n\n // only select those checkboxes whose class is wpstg-wp-core-dir\n this.directoryListingContainer.querySelectorAll('.wpstg-dir input.wpstg-wp-core-dir').forEach((element) => {\n element.checked = true;\n });\n\n // then unselect those checkboxes whose parent has wpstg extra checkbox\n this.directoryListingContainer.querySelectorAll('.wpstg-dir > .wpstg-wp-non-core-dir').forEach((element) => {\n element.parentElement.querySelectorAll('input.wpstg-wp-core-dir').forEach((element) => {\n element.checked = false;\n });\n });\n\n this.isDefaultSelected = true;\n\n this.countSelectedFiles();\n }\n\n parseExcludes() {\n this.existingExcludes = this.directoryListingContainer.getAttribute('data-existing-excludes', []);\n if (this.existingExcludes === '') {\n this.existingExcludes = [];\n return;\n }\n\n if (this.existingExcludes.length === 0) {\n this.existingExcludes = [];\n return;\n }\n\n const existingExcludes = this.existingExcludes.split(',');\n this.existingExcludes = existingExcludes.map((exclude) => {\n if (exclude.substr(0, 1) === '/') {\n return exclude.slice(1);\n }\n\n return exclude;\n });\n }\n\n isScanned(exclude) {\n let scanned = false;\n this.directoryListingContainer.querySelectorAll('.wpstg-dir>input').forEach((element) => {\n if (element.value == exclude) {\n scanned = true;\n }\n });\n\n return scanned;\n }\n\n toggleDirectoryNavigation(element) {\n const cbElement = element.previousSibling;\n if (cbElement.getAttribute('data-navigateable', 'false') === 'false') {\n return;\n }\n\n if (cbElement.getAttribute('data-scanned', 'false') === 'false') {\n return;\n }\n\n const subDirectories = dom.getNextSibling(element, '.wpstg-subdir');\n\n if (subDirectories.style.display === 'none') {\n dom.slideDown(subDirectories);\n } else {\n dom.slideUp(subDirectories);\n }\n }\n\n updateDirectorySelection(element) {\n const parent = element.parentElement;\n element.setAttribute('data-changed', 'true');\n if (element.checked) {\n dom.getParents(parent, '.wpstg-dir').forEach((parElem) => {\n for (let i = 0; i < parElem.children.length; i++) {\n if (parElem.children[i].matches('.wpstg-check-dir')) {\n parElem.children[i].checked = true;\n }\n }\n });\n parent.querySelectorAll('.wpstg-expand-dirs').forEach((x) => {\n x.classList.remove('disabled');\n });\n parent.querySelectorAll('.wpstg-subdir .wpstg-check-dir').forEach((x) => {\n x.checked = true;\n });\n } else {\n parent.querySelectorAll('.wpstg-expand-dirs, .wpstg-check-subdirs').forEach((x) => {\n x.classList.add('disabled');\n });\n parent.querySelectorAll('.wpstg-dir .wpstg-check-dir').forEach((x) => {\n x.checked = false;\n });\n }\n\n this.countSelectedFiles();\n }\n\n countSelectedFiles() {\n const themesCount = this.directoryListingContainer.querySelectorAll('[data-content-type=\"theme\"]:checked').length;\n const pluginsCount = this.directoryListingContainer.querySelectorAll('[data-content-type=\"plugin\"]:checked').length;\n const filesCountElement = dom.qs('#wpstg-files-count');\n if (themesCount === 0 && pluginsCount === 0) {\n filesCountElement.classList.add('danger');\n filesCountElement.innerHTML = this.wpstgObject.i18n['noFileSelected'];\n } else {\n filesCountElement.classList.remove('danger');\n filesCountElement.innerHTML = this.wpstgObject.i18n['filesSelected'].replace('{t}', themesCount).replace('{p}', pluginsCount);\n }\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Database tables selection\n */\nexport default class WpstgTableSelection {\n constructor(\n databaseTableSectionSelector = '#wpstg-scanning-db',\n workflowSelector = '#wpstg-workflow',\n networkCloneSelector = '#wpstg_network_clone',\n inputSelector = '#wpstg_select_tables_cloning',\n wpstgObject = wpstg,\n ) {\n this.databaseTableSection = dom.qs(databaseTableSectionSelector);\n this.workflow = dom.qs(workflowSelector);\n this.networkCloneSelector = networkCloneSelector;\n this.networkCloneCheckbox = dom.qs(networkCloneSelector);\n this.wpstgObject = wpstgObject;\n this.isAllTablesChecked = true;\n this.isMultisite = this.wpstgObject.isMultisite === '1';\n this.isNetworkClone = false;\n this.inputSelector = inputSelector;\n this.input = dom.qs(this.inputSelector);\n\n this.init();\n }\n\n setNetworkClone(isNetworkClone) {\n this.isNetworkClone = isNetworkClone;\n }\n\n addEvents() {\n if (this.workflow === null) {\n console.log('Error: database table section is null. Cannot register events');\n return;\n }\n\n dom.addEvent(this.workflow, 'change', this.networkCloneSelector, () => {\n this.selectDefaultTables();\n });\n\n dom.addEvent(this.workflow, 'change', this.inputSelector, () => {\n this.countSelectedTables();\n });\n\n dom.addEvent(this.workflow, 'click', '.wpstg-button-select', (target, event) => {\n event.preventDefault();\n this.selectDefaultTables();\n });\n\n dom.addEvent(this.workflow, 'click', '.wpstg-button-unselect', (target, event) => {\n event.preventDefault();\n this.toggleTableSelection();\n });\n }\n\n init() {\n this.addEvents();\n }\n\n getRegexPattern() {\n let pattern = '^' + this.wpstgObject.tblprefix;\n let isNetwork = false;\n if (this.networkCloneCheckbox !== undefined && this.networkCloneCheckbox !== null) {\n isNetwork = this.networkCloneCheckbox.checked;\n }\n\n // Force network clone true if set explicitly\n if (this.isNetworkClone) {\n isNetwork = true;\n }\n\n if (this.isMultisite && !isNetwork) {\n pattern += '([^0-9])_*';\n }\n\n return pattern;\n }\n\n selectDefaultTables() {\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning .wpstg-db-table');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (name.match(regexPattern)) {\n option.selected = true;\n } else {\n option.selected = false;\n }\n });\n\n this.countSelectedTables();\n }\n\n toggleTableSelection() {\n if (false === this.isAllTablesChecked) {\n this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning .wpstg-db-table').forEach((option) => {\n option.selected = true;\n });\n this.databaseTableSection.querySelector('.wpstg-button-unselect').innerHTML = 'Unselect All';\n // cache.get('.wpstg-db-table-checkboxes').prop('checked', true);\n this.isAllTablesChecked = true;\n } else {\n this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning .wpstg-db-table').forEach((option) => {\n option.selected = false;\n });\n this.databaseTableSection.querySelector('.wpstg-button-unselect').innerHTML = 'Select All';\n // cache.get('.wpstg-db-table-checkboxes').prop('checked', false);\n this.isAllTablesChecked = false;\n }\n\n this.countSelectedTables();\n }\n\n getSelectedTablesWithoutPrefix() {\n const selectedTablesWithoutPrefix = [];\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning option:checked');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (!name.match(regexPattern)) {\n selectedTablesWithoutPrefix.push(option.value);\n }\n });\n\n return selectedTablesWithoutPrefix.join(this.wpstgObject.settings.directorySeparator);\n }\n\n getIncludedTables() {\n const includedTables = [];\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning option:checked');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (name.match(regexPattern)) {\n includedTables.push(option.value);\n }\n });\n\n return includedTables.join(this.wpstgObject.settings.directorySeparator);\n }\n\n getExcludedTables() {\n const excludedTables = [];\n const options = this.databaseTableSection.querySelectorAll('#wpstg_select_tables_cloning option:not(:checked)');\n const regexPattern = this.getRegexPattern();\n options.forEach((option) => {\n const name = option.getAttribute('name', '');\n if (name.match(regexPattern)) {\n excludedTables.push(option.value);\n }\n });\n\n return excludedTables.join(this.wpstgObject.settings.directorySeparator);\n }\n\n countSelectedTables() {\n const tablesCount = this.input.querySelectorAll('option:checked').length;\n const tablesCountElement = dom.qs('#wpstg-tables-count');\n if (tablesCount === 0) {\n tablesCountElement.classList.add('danger');\n tablesCountElement.innerHTML = this.wpstgObject.i18n['noTableSelected'];\n } else {\n tablesCountElement.classList.remove('danger');\n tablesCountElement.innerHTML = this.wpstgObject.i18n['tablesSelected'].replace('{d}', tablesCount);\n }\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Rich Exclude Filter Module\n */\nexport default class WpstgExcludeFilters {\n constructor(\n excludeFilterContainerSelector = '#wpstg-exclude-filters-container',\n wpstgObject = wpstg,\n ) {\n this.excludeContainer = dom.qs(excludeFilterContainerSelector);\n this.excludeTableBody = dom.qs(`${excludeFilterContainerSelector} tbody`);\n this.wpstgObject = wpstgObject;\n this.init();\n }\n\n addEvents() {\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-file-size-rule', () => {\n this.addFileSizeExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-file-ext-rule', () => {\n this.addFileExtExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-file-name-rule', () => {\n this.addFileNameExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-dir-name-rule', () => {\n this.addDirNameExclude();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-clear-all-rules', () => {\n this.clearExcludes();\n });\n\n dom.addEvent(this.excludeContainer, 'click', '.wpstg-remove-exclude-rule', (target) => {\n this.removeExclude(target);\n });\n }\n\n init() {\n if (this.excludeContainer === null) {\n console.log('Error: Given table selector not found!');\n return;\n }\n\n this.addEvents();\n }\n\n addFileSizeExclude() {\n this.addExcludeRuleRow('#wpstg-file-size-exclude-filter-template');\n }\n\n addFileExtExclude() {\n this.addExcludeRuleRow('#wpstg-file-ext-exclude-filter-template');\n }\n\n addFileNameExclude() {\n this.addExcludeRuleRow('#wpstg-file-name-exclude-filter-template');\n }\n\n addDirNameExclude() {\n this.addExcludeRuleRow('#wpstg-dir-name-exclude-filter-template');\n }\n\n addExcludeRuleRow(templateName) {\n const excludeRowTemplate = dom.qs(templateName);\n if (excludeRowTemplate !== null) {\n const clone = excludeRowTemplate.content.cloneNode(true);\n const excludeRow = clone.querySelector('tr');\n\n this.excludeTableBody.appendChild(excludeRow);\n dom.all('.wpstg-has-exclude-rules').forEach((e) => {\n e.style.display = 'inherit';\n });\n }\n }\n\n clearExcludes() {\n this.excludeTableBody.innerHTML = '';\n dom.all('.wpstg-has-exclude-rules').forEach((e) => {\n e.style.display = 'none';\n });\n }\n\n removeExclude(target) {\n if (target.parentElement !== null && target.parentElement.parentElement !== null) {\n this.excludeTableBody.removeChild(target.parentElement.parentElement);\n }\n\n if (this.excludeTableBody.innerHTML.trim() === '') {\n dom.all('.wpstg-has-exclude-rules').forEach((e) => {\n e.style.display = 'none';\n });\n }\n }\n\n /**\n * Converts all the exclude filters arrays into one single string to keep size of post request small\n * @return {string}\n */\n getExcludeFilters() {\n const globExcludes = [];\n const sizeExcludes = [];\n\n const sizeCompares = this.excludeTableBody.querySelectorAll('select[name=\"wpstgFileSizeExcludeRuleCompare[]\"]');\n const sizeSizes = this.excludeTableBody.querySelectorAll('input[name=\"wpstgFileSizeExcludeRuleSize[]\"]');\n const sizeByte = this.excludeTableBody.querySelectorAll('select[name=\"wpstgFileSizeExcludeRuleByte[]\"]');\n for (const [key, sizeInput] of Object.entries(sizeSizes)) {\n if (sizeInput.value !== '') {\n sizeExcludes.push(sizeCompares[key].value + ' ' + sizeInput.value + sizeByte[key].value);\n }\n }\n\n const extensionInputs = this.excludeTableBody.querySelectorAll('input[name=\"wpstgFileExtExcludeRule[]\"]');\n extensionInputs.forEach((x) => {\n const ext = this.cleanStringForGlob(x.value);\n if (ext !== '') {\n globExcludes.push('ext:' + ext.trim());\n }\n });\n\n const fileNamesPos = this.excludeTableBody.querySelectorAll('select[name=\"wpstgFileNameExcludeRulePos[]\"]');\n const fileNames = this.excludeTableBody.querySelectorAll('input[name=\"wpstgFileNameExcludeRulePath[]\"]');\n for (const [key, fileInput] of Object.entries(fileNames)) {\n let fileName = '';\n if ('name_exact_matches' === fileNamesPos[key].value) {\n fileName = this.cleanStringForGlobExactMatches(fileInput.value);\n } else {\n fileName = this.cleanStringForGlob(fileInput.value);\n }\n\n if (fileName !== '') {\n globExcludes.push('file:' + fileNamesPos[key].value + ' ' + fileName.trim());\n }\n }\n\n const dirNamesPos = this.excludeTableBody.querySelectorAll('select[name=\"wpstgDirNameExcludeRulePos[]\"]');\n const dirNames = this.excludeTableBody.querySelectorAll('input[name=\"wpstgDirNameExcludeRulePath[]\"]');\n for (const [key, dirInput] of Object.entries(dirNames)) {\n const dirName = this.cleanStringForGlob(dirInput.value);\n if (dirName !== '') {\n globExcludes.push('dir:' + dirNamesPos[key].value + ' ' + dirName.trim());\n }\n }\n\n return {\n 'sizes': sizeExcludes.filter(this.onlyUnique).join(','),\n // return set of unique rules\n 'globs': globExcludes.filter(this.onlyUnique).join(','),\n };\n }\n\n onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n }\n\n /**\n * Remove most of the comment glob characters from the string\n * @param {String} value\n * @return {String}\n */\n cleanStringForGlob(value) {\n // will replace character like * ^ / \\ ! ? [ from the string\n return value.replace(/[*^//!\\.[?]/g, '');\n }\n\n /**\n * Remove most of the comment glob characters from the string except . to allow input of extensions\n * @param {String} value\n * @return {String}\n */\n cleanStringForGlobExactMatches(value) {\n // will replace character like * ^ / \\ ! ? [ from the string\n return value.replace(/[*^//!\\\\[?]/g, '');\n }\n}\n","/**\n * Basic WP Staging Modal implemented with help of Sweetalerts\n */\nexport default class WpstgModal {\n constructor(\n confirmAction,\n wpstgObject = wpstg,\n ) {\n this.confirmAction = confirmAction;\n this.wpstgObject = wpstgObject;\n }\n\n show(swalOptions, additionalParams = {}, callback = null) {\n wpstgSwal.fire(swalOptions).then((result) => {\n if (result.value && this.error !== null) {\n this.triggerConfirmAction(additionalParams, callback);\n }\n });\n }\n\n triggerConfirmAction(additionalParams = {}, callback = null) {\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams(Object.assign({\n action: this.confirmAction,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n }, additionalParams)),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((response) => {\n if (callback !== null) {\n callback(response);\n }\n }).catch((error) => {\n console.log(this.wpstgObject.i18n['somethingWentWrong'], error);\n });\n }\n}\n","'use strict';\n\n/**\n * This is a namespaced port of https://github.com/tristen/hoverintent,\n * with slight modification to accept selector with dynamically added element in dom,\n * instead of just already present element.\n *\n * @param {HTMLElement} parent\n * @param {string} selector\n * @param {CallableFunction} onOver\n * @param {CallableFunction} onOut\n *\n * @return {object}\n */\nexport default function(parent, selector, onOver, onOut) {\n let x; let y; let pX; let pY;\n let mouseOver = false;\n let focused = false;\n const h = {};\n let state = 0;\n let timer = 0;\n\n let options = {\n sensitivity: 7,\n interval: 100,\n timeout: 0,\n handleFocus: false,\n };\n\n function delay(el, e) {\n if (timer) {\n timer = clearTimeout(timer);\n }\n\n state = 0;\n return focused ? undefined : onOut(el, e);\n }\n\n function tracker(e) {\n x = e.clientX;\n y = e.clientY;\n }\n\n function compare(el, e) {\n if (timer) timer = clearTimeout(timer);\n if ((Math.abs(pX - x) + Math.abs(pY - y)) < options.sensitivity) {\n state = 1;\n return focused ? undefined : onOver(el, e);\n } else {\n pX = x;\n pY = y;\n timer = setTimeout(function() {\n compare(el, e);\n }, options.interval);\n }\n }\n\n // Public methods\n h.options = function(opt) {\n const focusOptionChanged = opt.handleFocus !== options.handleFocus;\n options = Object.assign({}, options, opt);\n if (focusOptionChanged) {\n options.handleFocus ? addFocus() : removeFocus();\n }\n\n return h;\n };\n\n function dispatchOver(el, e) {\n mouseOver = true;\n if (timer) {\n timer = clearTimeout(timer);\n }\n\n el.removeEventListener('mousemove', tracker, false);\n\n if (state !== 1) {\n pX = e.clientX;\n pY = e.clientY;\n\n el.addEventListener('mousemove', tracker, false);\n\n timer = setTimeout(function() {\n compare(el, e);\n }, options.interval);\n }\n\n return this;\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchOver to support dynamically added elements to dom\n */\n function onMouseOver(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchOver(event.target.closest(selector), event);\n }\n };\n\n function dispatchOut(el, e) {\n mouseOver = false;\n if (timer) {\n timer = clearTimeout(timer);\n }\n\n el.removeEventListener('mousemove', tracker, false);\n\n if (state === 1) {\n timer = setTimeout(function() {\n delay(el, e);\n }, options.timeout);\n }\n\n return this;\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchOut to support dynamically added elements to dom\n */\n function onMouseOut(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchOut(event.target.closest(selector), event);\n }\n };\n\n function dispatchFocus(el, e) {\n if (!mouseOver) {\n focused = true;\n onOver(el, e);\n }\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchFocus to support dynamically added elements to dom\n */\n function onFocus(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchFocus(event.target.closest(selector), event);\n }\n };\n\n function dispatchBlur(el, e) {\n if (!mouseOver && focused) {\n focused = false;\n onOut(el, e);\n }\n }\n\n /**\n * Newly added method,\n * A wrapper around dispatchBlur to support dynamically added elements to dom\n */\n function onBlur(event) {\n if (event.target.matches(selector + ', ' + selector + ' *')) {\n dispatchBlur(event.target.closest(selector), event);\n }\n };\n\n /**\n * Modified to support dynamically added element\n */\n function addFocus() {\n parent.addEventListener('focus', onFocus, false);\n parent.addEventListener('blur', onBlur, false);\n }\n\n /**\n * Modified to support dynamically added element\n */\n function removeFocus() {\n parent.removeEventListener('focus', onFocus, false);\n parent.removeEventListener('blur', onBlur, false);\n }\n\n /**\n * Modified to support dynamically added element\n */\n h.remove = function() {\n if (!parent) {\n return;\n }\n\n parent.removeEventListener('mouseover', onMouseOver, false);\n parent.removeEventListener('mouseout', onMouseOut, false);\n removeFocus();\n };\n\n /**\n * Modified to support dynamically added element\n */\n if (parent) {\n parent.addEventListener('mouseover', onMouseOver, false);\n parent.addEventListener('mouseout', onMouseOut, false);\n }\n\n return h;\n};\n","import wpstgHoverIntent from './modules/wpstg-hover-intent';\n\nexport default (function($) {\n const WPStagingCommon = {\n continueErrorHandle: true,\n cache: {\n elements: [],\n get: function(selector) {\n // It is already cached!\n if ($.inArray(selector, this.elements) !== -1) {\n return this.elements[selector];\n }\n\n // Create cache and return\n this.elements[selector] = $(selector);\n\n return this.elements[selector];\n },\n refresh: function(selector) {\n selector.elements[selector] = $(selector);\n },\n },\n setJobId: function(jobId) {\n localStorage.setItem('jobIdBeingProcessed', jobId);\n },\n getJobId: function() {\n return localStorage.getItem('jobIdBeingProcessed');\n },\n listenTooltip: function() {\n wpstgHoverIntent(document, '.wpstg--tooltip', function(target, event) {\n target.querySelector('.wpstg--tooltiptext').style.visibility = 'visible';\n }, function(target, event) {\n target.querySelector('.wpstg--tooltiptext').style.visibility = 'hidden';\n });\n },\n isEmpty: function(obj) {\n for (const prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n return false;\n }\n }\n\n return true;\n },\n // Get the custom themed Swal Modal for WP Staging\n // Easy to maintain now in one place now\n getSwalModal: function(isContentCentered = false, customClasses = {}) {\n // common style for all swal modal used in WP Staging\n const defaultCustomClasses = {\n confirmButton: 'wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn wpstg-100-width',\n cancelButton: 'wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn wpstg-100-width',\n actions: 'wpstg--modal--actions',\n popup: isContentCentered ? 'wpstg-swal-popup centered-modal' : 'wpstg-swal-popup',\n };\n\n // If a attribute exists in both default and additional attributes,\n // The class(es) of the additional attribute will overrite the default one.\n const options = {\n customClass: Object.assign(defaultCustomClasses, customClasses),\n buttonsStyling: false,\n reverseButtons: true,\n showClass: {\n popup: 'wpstg--swal2-show wpstg-swal-show',\n },\n };\n\n return wpstgSwal.mixin(options);\n },\n showSuccessModal: function(htmlContent) {\n this.getSwalModal().fire({\n showConfirmButton: false,\n showCancelButton: true,\n cancelButtonText: 'OK',\n icon: 'success',\n title: 'Success!',\n html: '<div class=\"wpstg--grey\" style=\"text-align: left; margin-top: 8px;\">' + htmlContent + '</div>',\n });\n },\n showWarningModal: function(htmlContent) {\n this.getSwalModal().fire({\n showConfirmButton: false,\n showCancelButton: true,\n cancelButtonText: 'OK',\n icon: 'warning',\n title: '',\n html: '<div class=\"wpstg--grey\" style=\"text-align: left; margin-top: 8px;\">' + htmlContent + '</div>',\n });\n },\n showErrorModal: function(htmlContent) {\n this.getSwalModal().fire({\n showConfirmButton: false,\n showCancelButton: true,\n cancelButtonText: 'OK',\n icon: 'error',\n title: 'Error!',\n html: '<div class=\"wpstg--grey\" style=\"text-align: left; margin-top: 8px;\">' + htmlContent + '</div>',\n });\n },\n getSwalContainer: function() {\n return wpstgSwal.getContainer();\n },\n closeSwalModal: function() {\n wpstgSwal.close();\n },\n /**\n * Treats a default response object generated by WordPress's\n * wp_send_json_success() or wp_send_json_error() functions in\n * PHP, parses it in JavaScript, and either throws if it's an error,\n * or returns the data if the response is successful.\n *\n * @param {object} response\n * @return {*}\n */\n getDataFromWordPressResponse(response) {\n if (typeof response !== 'object') {\n throw new Error('Unexpected response (ERR 1341)');\n }\n\n if (!response.hasOwnProperty('success')) {\n throw new Error('Unexpected response (ERR 1342)');\n }\n\n if (!response.hasOwnProperty('data')) {\n throw new Error('Unexpected response (ERR 1343)');\n }\n\n if (response.success === false) {\n if (response.data instanceof Array && response.data.length > 0) {\n throw new Error(response.data.shift());\n } else {\n throw new Error('Response was not successful');\n }\n } else {\n // Successful response. Return the data.\n return response.data;\n }\n },\n isLoading: function(isLoading) {\n if (!isLoading || isLoading === false) {\n WPStagingCommon.cache.get('.wpstg-loader').hide();\n } else {\n WPStagingCommon.cache.get('.wpstg-loader').show();\n }\n },\n /**\n * Convert the given url to make it slug compatible\n * @param {string} url\n * @return {string}\n */\n slugify: function(url) {\n return url.toString()\n .toLowerCase()\n .normalize('NFD')\n .replace(/[\\u0300-\\u036f]/g, '')\n .replace(/\\s+/g, '-')\n .replace(/&/g, '-and-')\n .replace(/[^a-z0-9\\-]/g, '')\n .replace(/-+/g, '-')\n .replace(/^-*/, '')\n .replace(/-*$/, '')\n ;\n },\n showAjaxFatalError: function(response, prependMessage, appendMessage) {\n prependMessage = prependMessage ? prependMessage + '<br/><br/>' : 'Something went wrong! <br/><br/>';\n appendMessage = appendMessage ? appendMessage + '<br/><br/>' : '<br/><br/>Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.';\n\n if (response === false) {\n WPStagingCommon.showError(prependMessage + ' Error: No response.' + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n\n if (typeof response.error !== 'undefined' && response.error) {\n WPStagingCommon.showError(prependMessage + ' Error: ' + response.message + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n },\n handleFetchErrors: function(response) {\n if (!response.ok) {\n WPStagingCommon.showError('Error: ' + response.status + ' - ' + response.statusText + '. Please try again or contact support.');\n }\n return response;\n },\n showError: function(message) {\n WPStagingCommon.cache.get('#wpstg-try-again').css('display', 'inline-block');\n WPStagingCommon.cache.get('#wpstg-cancel-cloning').text('Reset');\n WPStagingCommon.cache.get('#wpstg-resume-cloning').show();\n WPStagingCommon.cache.get('#wpstg-error-wrapper').show();\n WPStagingCommon.cache.get('#wpstg-error-details').show().html(message);\n WPStagingCommon.cache.get('#wpstg-removing-clone').removeClass('loading');\n WPStagingCommon.cache.get('.wpstg-loader').hide();\n $('.wpstg--modal--process--generic-problem').show().html(message);\n },\n resetErrors: function() {\n WPStagingCommon.cache.get('#wpstg-error-details').hide().html('');\n },\n /**\n * Ajax Requests\n * @param {Object} data\n * @param {Function} callback\n * @param {string} dataType\n * @param {bool} showErrors\n * @param {int} tryCount\n * @param {float} incrementRatio\n * @param {function} errorCallback\n */\n ajax: function(data, callback, dataType, showErrors, tryCount, incrementRatio = null, errorCallback = null) {\n if ('undefined' === typeof (dataType)) {\n dataType = 'json';\n }\n\n if (false !== showErrors) {\n showErrors = true;\n }\n\n tryCount = 'undefined' === typeof (tryCount) ? 0 : tryCount;\n\n const retryLimit = 10;\n\n let retryTimeout = 10000 * tryCount;\n\n incrementRatio = parseInt(incrementRatio);\n if (!isNaN(incrementRatio)) {\n retryTimeout *= incrementRatio;\n }\n\n $.ajax({\n url: ajaxurl + '?action=wpstg_processing&_=' + (Date.now() / 1000),\n type: 'POST',\n dataType: dataType,\n cache: false,\n data: data,\n error: function(xhr, textStatus, errorThrown) {\n console.log(xhr.status + ' ' + xhr.statusText + '---' + textStatus);\n\n if (typeof (errorCallback) === 'function') {\n // Custom error handler\n errorCallback(xhr, textStatus, errorThrown);\n\n if (!WPStagingCommon.continueErrorHandle) {\n // Reset state\n WPStagingCommon.continueErrorHandle = true;\n\n return;\n }\n }\n\n // Default error handler\n tryCount++;\n if (tryCount <= retryLimit) {\n setTimeout(function() {\n WPStagingCommon.ajax(data, callback, dataType, showErrors, tryCount, incrementRatio);\n return;\n }, retryTimeout);\n } else {\n const errorCode = 'undefined' === typeof (xhr.status) ? 'Unknown' : xhr.status;\n WPStagingCommon.showError(\n 'Fatal Error: ' + errorCode + ' Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.',\n );\n }\n },\n success: function(data) {\n if ('function' === typeof (callback)) {\n callback(data);\n }\n },\n statusCode: {\n 404: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 404 - Can\\'t find ajax request URL! Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');\n }\n },\n 500: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Fatal Error 500 - Internal server error while processing the request! Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.');\n }\n },\n 504: function() {\n if (tryCount > retryLimit) {\n WPStagingCommon.showError('Error 504 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 502: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 502 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 503: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 503 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 429: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Error 429 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.\\n\\ ');\n }\n },\n 403: function() {\n if (tryCount >= retryLimit) {\n WPStagingCommon.showError('Refresh page or login again! The process should be finished successfully. \\n\\ ');\n }\n },\n },\n });\n },\n };\n\n return WPStagingCommon;\n})(jQuery);\n","\nimport * as dom from './wpstg-dom-utils.js';\nimport WpstgDirectoryNavigation from './wpstg-directory-navigation.js';\nimport WpstgTableSelection from './wpstg-table-selection';\nimport WpstgExcludeFilters from './wpstg-exclude-filters.js';\nimport WpstgModal from './wpstg-modal.js';\nimport WPStagingCommon from './../wpstg.js';\n\n/**\n * Manage RESET MODAL\n */\nexport default class WpstgResetModal {\n constructor(\n cloneID,\n workflowSelector = '#wpstg-workflow',\n fetchExcludeSettingsAction = 'wpstg_clone_excludes_settings',\n modalErrorAction = 'wpstg_modal_error',\n wpstgObject = wpstg,\n ) {\n this.cloneID = cloneID;\n this.workflow = dom.qs(workflowSelector);\n this.wpstgObject = wpstgObject;\n this.fetchExcludeSettingsAction = fetchExcludeSettingsAction;\n this.modalErrorAction = modalErrorAction;\n this.resetButtonClass = 'wpstg-confirm-reset-clone';\n this.resetModalContainerClass = 'wpstg-reset-confirmation';\n this.resetTabSelector = '.wpstg-reset-exclude-tab';\n this.directoryNavigator = null;\n this.excludeFilters = null;\n this.tableSelector = null;\n this.isNetworkClone = false;\n }\n\n addEvents() {\n const resetModalContainer = dom.qs('.' + this.resetModalContainerClass);\n if (resetModalContainer === null) {\n console.log('Exit');\n return;\n }\n\n dom.addEvent(resetModalContainer, 'click', this.resetTabSelector, (target) => {\n this.toggleContent(target);\n });\n }\n\n init() {\n this.addEvents();\n }\n\n setNetworkClone(isNetworkClone) {\n this.isNetworkClone = isNetworkClone;\n }\n\n toggleContent(target) {\n const resetModalContainer = dom.qs('.' + this.resetModalContainerClass);\n const contentId = target.getAttribute('data-id');\n const tabTriangle = target.querySelector('.wpstg-tab-triangle');\n const isCollapsed = target.getAttribute('data-collapsed', 'true');\n const content = dom.qs(contentId);\n if (isCollapsed === 'true') {\n if (resetModalContainer.classList.contains('has-collapsible-open')) {\n resetModalContainer.classList.add('has-collapsible-open-2');\n } else {\n resetModalContainer.classList.add('has-collapsible-open');\n }\n\n dom.slideDown(content);\n tabTriangle.style.transform = 'rotate(90deg)';\n target.setAttribute('data-collapsed', 'false');\n } else {\n if (resetModalContainer.classList.contains('has-collapsible-open-2')) {\n resetModalContainer.classList.remove('has-collapsible-open-2');\n } else {\n resetModalContainer.classList.remove('has-collapsible-open');\n }\n\n dom.slideUp(content);\n tabTriangle.style.removeProperty('transform');\n target.setAttribute('data-collapsed', 'true');\n }\n }\n\n /**\n * Show Swal alert with loader and send ajax request to fetch content of alert.\n * @return Promise\n */\n showModal() {\n const swalPromise = this.loadModal();\n this.init();\n this.fetchCloneExcludes();\n return swalPromise;\n }\n\n loadModal() {\n return WPStagingCommon.getSwalModal(false, {\n confirmButton: this.resetButtonClass + ' wpstg-confirm-reset-clone wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn',\n container: this.resetModalContainerClass + ' wpstg-swal2-container wpstg-swal2-loading',\n }).fire({\n title: '',\n icon: 'warning',\n html: this.getAjaxLoader(),\n width: '400px',\n focusConfirm: false,\n confirmButtonText: this.wpstgObject.i18n.resetClone,\n showCancelButton: true,\n });\n }\n\n fetchCloneExcludes() {\n this.error = null;\n // send ajax request and fetch preserved exclude settings\n fetch(this.wpstgObject.ajaxUrl, {\n method: 'POST',\n credentials: 'same-origin',\n body: new URLSearchParams({\n action: this.fetchExcludeSettingsAction,\n accessToken: this.wpstgObject.accessToken,\n nonce: this.wpstgObject.nonce,\n clone: this.cloneID,\n job: 'resetting',\n }),\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n }).then((response) => {\n if (response.ok) {\n return response.json();\n }\n\n return Promise.reject(response);\n }).then((data) => {\n if (!data.success) {\n const errorModal = new WpstgModal(this.modalErrorAction, this.wpstgObject);\n errorModal.show(Object.assign({\n title: 'Error',\n icon: 'error',\n html: this.wpstgObject.i18n['somethingWentWrong'],\n width: '500px',\n confirmButtonText: 'Ok',\n showCancelButton: false,\n customClass: {\n confirmButton: 'wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn',\n cancelButton: 'wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn',\n actions: 'wpstg--modal--actions',\n popup: 'wpstg-swal-popup centered-modal',\n },\n buttonsStyling: false,\n reverseButtons: true,\n }, data.swalOptions), {\n type: data.type,\n });\n\n return;\n }\n\n const modal = dom.qs('.wpstg-reset-confirmation');\n modal.classList.remove('wpstg-swal2-loading');\n modal.querySelector('.wpstg--swal2-popup').style.width = '500px';\n modal.querySelector('.wpstg--swal2-content').innerHTML = data.html;\n this.directoryNavigator = new WpstgDirectoryNavigation();\n this.directoryNavigator.countSelectedFiles();\n this.excludeFilters = new WpstgExcludeFilters();\n this.tableSelector = new WpstgTableSelection('#wpstg-reset-excluded-tables', '.' + this.resetModalContainerClass);\n this.tableSelector.setNetworkClone(this.isNetworkClone);\n this.tableSelector.countSelectedTables();\n }).catch((error) => {\n this.renderError({\n 'html': this.wpstgObject.i18n['somethingWentWrong'] + ' ' + error,\n });\n });\n }\n\n getDirectoryNavigator() {\n return this.directoryNavigator;\n }\n\n getExcludeFilters() {\n return this.excludeFilters;\n }\n\n getTableSelector() {\n return this.tableSelector;\n }\n\n getAjaxLoader() {\n return '<div class=\"wpstg-swal2-ajax-loader\"><img src=\"' + this.wpstgObject.wpstgIcon + '\" /></div>';\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\n/**\n * Handle toggle of advance settings checkboxes\n */\nexport default class WpstgCloningAdvanceSettings {\n constructor(\n baseContainerSelector = '#wpstg-clonepage-wrapper',\n ) {\n this.baseContainer = dom.qs(baseContainerSelector);\n this.checkBoxSettingTogglerSelector = '.wpstg-toggle-advance-settings-section';\n this.init();\n }\n\n /**\n * Add events\n * @return {void}\n */\n addEvents() {\n if (this.baseContainer === null) {\n return;\n }\n\n dom.addEvent(this.baseContainer, 'change', this.checkBoxSettingTogglerSelector, (element) => {\n this.toggleSettings(element);\n });\n }\n\n /**\n * @return {void}\n */\n init() {\n this.addEvents();\n }\n\n /**\n * Expand/Collapse checkbox content on change\n * @return {void}\n */\n toggleSettings(element) {\n const target = dom.qs('#' + element.getAttribute('data-id'));\n if (element.checked) {\n dom.slideDown(target);\n } else {\n dom.slideUp(target);\n }\n }\n}\n","import * as dom from './wpstg-dom-utils.js';\n\nexport default class WpstgMainMenu {\n constructor() {\n this.activeTabClass = 'wpstg--tab--active';\n this.mainMenu();\n }\n\n mainMenu() {\n const tabHeader = dom.qs('.wpstg--tab--header');\n // Early bail if tab header is not available\n if (tabHeader === null) {\n return;\n }\n\n dom.addEvent(dom.qs('.wpstg--tab--header'), 'click', '.wpstg-button', (element) => {\n const $this = element;\n const target = $this.getAttribute('data-target');\n const targetElements = dom.all(target);\n const menuItems = dom.all('.wpstg--tab--header a[data-target]');\n const contents = dom.all('.wpstg--tab--contents > .wpstg--tab--content');\n\n contents.forEach((content) => {\n // active tab class is without the css dot class prefix\n if (content.matches('.' + this.activeTabClass + ':not(' + target + ')')) {\n content.classList.remove(this.activeTabClass);\n }\n });\n\n menuItems.forEach((menuItem) => {\n if (menuItem !== $this) {\n menuItem.classList.remove(this.activeTabClass);\n }\n });\n\n $this.classList.add(this.activeTabClass);\n\n targetElements.forEach((targetElement) => {\n targetElement.classList.add(this.activeTabClass);\n });\n\n if ('#wpstg--tab--backup' === target) {\n window.dispatchEvent(new Event('backups-tab'));\n }\n });\n };\n}\n","import WpstgCloneStaging from './modules/wpstg-clone-staging.js';\nimport WpstgDirectoryNavigation from './modules/wpstg-directory-navigation.js';\nimport WpstgTableSelection from './modules/wpstg-table-selection.js';\nimport WpstgExcludeFilters from './modules/wpstg-exclude-filters.js';\nimport WpstgResetModal from './modules/wpstg-reset-modal.js';\nimport WpstgModal from './modules/wpstg-modal.js';\nimport WpstgCloningAdvanceSettings from './modules/wpstg-cloning-advance-settings.js';\nimport WpstgMainMenu from './modules/wpstg-main-menu.js';\nimport WPStagingCommon from './wpstg.js';\nimport {handleDisplayDependencies, handleToggleElement, handleCopyPaste, handleCopyToClipboard} from './modules/wpstg-dom-utils.js';\n\nvar WPStaging = (function($) {\n const that = {\n isCancelled: false,\n isFinished: false,\n getLogs: false,\n time: 1,\n executionTime: false,\n progressBar: 0,\n cloneExcludeFilters: null,\n directoryNavigator: null,\n tableSelector: null,\n notyf: null,\n areAllTablesChecked: true,\n handleDisplayDependencies: handleDisplayDependencies,\n handleToggleElement: handleToggleElement,\n handleCopyPaste: handleCopyPaste,\n handleCopyToClipboard: handleCopyToClipboard,\n };\n const cache = {elements: []};\n let timeout; let ajaxSpinner;\n\n /**\n * Get / Set Cache for Selector\n * @param {String} selector\n * @return {*}\n */\n cache.get = function(selector) {\n // It is already cached!\n if ($.inArray(selector, cache.elements) !== -1) {\n return cache.elements[selector];\n }\n\n // Create cache and return\n cache.elements[selector] = jQuery(selector);\n\n return cache.elements[selector];\n };\n\n /**\n * Refreshes given cache\n * @param {String} selector\n */\n cache.refresh = function(selector) {\n selector.elements[selector] = jQuery(selector);\n };\n\n /**\n * Show and Log Error Message\n * @param {String} message\n */\n const showError = function(message) {\n cache.get('#wpstg-try-again').css('display', 'inline-block');\n cache.get('#wpstg-cancel-cloning').text('Reset');\n cache.get('#wpstg-resume-cloning').show();\n cache.get('#wpstg-error-wrapper').show();\n cache.get('#wpstg-error-details').show().html(message);\n cache.get('#wpstg-removing-clone').removeClass('loading');\n cache.get('.wpstg-loader').hide();\n $('.wpstg--modal--process--generic-problem').show().html(message);\n\n // Error event information for Staging\n $.ajax({\n url: ajaxurl,\n type: 'POST',\n dataType: 'json',\n data: {\n 'action': 'wpstg_staging_job_error',\n 'accessToken': wpstg.accessToken,\n 'nonce': wpstg.nonce,\n 'error_message': message,\n },\n });\n };\n\n /**\n * Show warning during cloning or push process when closing tab or browser, or changing page\n * @param {beforeunload} event\n * @return {null}\n */\n that.warnIfClosingDuringProcess = function(event) {\n // Only some browsers show the message below, most say something like \"Changes you made may not be saved\" (Chrome) or \"You have unsaved changes. Exit?\"\n event.returnValue = 'You MUST leave this window open while cloning/pushing. Please wait...';\n return null;\n };\n\n /**\n *\n * @param response the error object\n * @param prependMessage Overwrite default error message at beginning\n * @param appendMessage Overwrite default error message at end\n * @returns void\n */\n\n const showAjaxFatalError = function(response, prependMessage, appendMessage) {\n prependMessage = prependMessage ? prependMessage + '<br/><br/>' : 'Something went wrong! <br/><br/>';\n appendMessage = appendMessage ? appendMessage + '<br/><br/>' : '<br/><br/>Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.';\n\n if (response === false) {\n showError(prependMessage + ' Error: No response.' + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n\n if (typeof response.error !== 'undefined' && response.error) {\n console.error(response.message);\n showError(prependMessage + ' Error: ' + response.message + appendMessage);\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return;\n }\n };\n\n /**\n *\n * @param response\n * @return {{ok}|*}\n */\n const handleFetchErrors = function(response) {\n if (!response.ok) {\n showError('Error: ' + response.status + ' - ' + response.statusText + '. Please try again or contact support.');\n }\n return response;\n };\n\n /** Hide and reset previous thrown visible errors */\n const resetErrors = function() {\n cache.get('#wpstg-error-details').hide().html('');\n };\n\n /**\n * Common Elements\n */\n const elements = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n let urlSpinner = ajaxurl.replace('/admin-ajax.php', '') + '/images/spinner';\n let timer;\n\n if (2 < window.devicePixelRatio) {\n urlSpinner += '-2x';\n }\n\n urlSpinner += '.gif';\n\n ajaxSpinner = '<img src=\\'\\'' + urlSpinner + '\\' alt=\\'\\' class=\\'ajax-spinner general-spinner\\' />';\n\n const getBaseValues = function() {\n const path = $('#wpstg-use-target-dir').data('base-path');\n const uri = $('#wpstg-use-target-hostname').data('base-uri');\n return {\n path,\n };\n };\n\n $workFlow\n /**\n .on('change', '#wpstg_network_clone', function(e) {\n e.preventDefault();\n $('.wpstg-button-select').trigger('click');\n })\n */\n // Check / Un-check All Database Tables New\n .on('click', '.wpstg-button-unselect', function(e) {\n e.preventDefault();\n\n if (false === that.areAllTablesChecked) {\n cache.get('#wpstg_select_tables_cloning .wpstg-db-table').prop('selected', 'selected');\n cache.get('.wpstg-button-unselect').text('Unselect All');\n cache.get('.wpstg-db-table-checkboxes').prop('checked', true);\n that.areAllTablesChecked = true;\n } else {\n cache.get('#wpstg_select_tables_cloning .wpstg-db-table').prop('selected', false);\n cache.get('.wpstg-button-unselect').text('Select All');\n cache.get('.wpstg-db-table-checkboxes').prop('checked', false);\n that.areAllTablesChecked = false;\n }\n })\n\n /**\n * Select tables with certain tbl prefix | NEW\n * @param obj e\n * @returns {undefined}\n */\n /**\n .on('click', '.wpstg-button-select', function(e) {\n e.preventDefault();\n $('#wpstg_select_tables_cloning .wpstg-db-table').each(function() {\n let regex = '^' + wpstg.tblprefix;\n if (wpstg.isMultisite === '1' && !$('#wpstg_network_clone').is(':checked')) {\n regex += '([^0-9])_*';\n }\n\n if ($(this).attr('name').match(regex)) {\n $(this).prop('selected', 'selected');\n } else {\n $(this).prop('selected', false);\n }\n });\n })\n\n // Expand Directories\n .on('click', '.wpstg-expand-dirs', function(e) {\n e.preventDefault();\n\n const $this = $(this);\n\n $this.siblings('.wpstg-subdir').slideToggle();\n })\n // When a directory checkbox is Selected\n .on('change', 'input.wpstg-check-dir', function() {\n const $directory = $(this).parent('.wpstg-dir');\n\n if (this.checked) {\n $directory.parents('.wpstg-dir').children('.wpstg-check-dir').prop('checked', true);\n $directory.find('.wpstg-expand-dirs').removeClass('disabled');\n $directory.find('.wpstg-subdir .wpstg-check-dir').prop('checked', true);\n } else {\n $directory.find('.wpstg-dir .wpstg-check-dir').prop('checked', false);\n $directory.find('.wpstg-expand-dirs, .wpstg-check-subdirs').addClass('disabled');\n $directory.find('.wpstg-check-subdirs').data('action', 'check').text('check');\n }\n })\n // When a directory name is Selected\n .on('change', 'href.wpstg-check-dir', function() {\n const $directory = $(this).parent('.wpstg-dir');\n\n if (this.checked) {\n $directory.parents('.wpstg-dir').children('.wpstg-check-dir').prop('checked', true);\n $directory.find('.wpstg-expand-dirs').removeClass('disabled');\n $directory.find('.wpstg-subdir .wpstg-check-dir').prop('checked', true);\n } else {\n $directory.find('.wpstg-dir .wpstg-check-dir').prop('checked', false);\n $directory.find('.wpstg-expand-dirs, .wpstg-check-subdirs').addClass('disabled');\n $directory.find('.wpstg-check-subdirs').data('action', 'check').text('check');\n }\n })\n */\n // Check the max length of the clone name and if the clone name already exists\n .on('keyup', '#wpstg-new-clone-id', function() {\n // Hide previous errors\n document.getElementById('wpstg-error-details').style.display = 'none';\n\n // This request was already sent, clear it up!\n if ('number' === typeof (timer)) {\n clearInterval(timer);\n }\n\n // Early bail if site name is empty\n if (this.value === undefined || this.value === '') {\n cache.get('#wpstg-new-clone-id').removeClass('wpstg-error-input');\n cache.get('#wpstg-start-cloning').removeAttr('disabled');\n cache.get('#wpstg-clone-id-error').text('').hide();\n return;\n }\n\n // Convert the site name to directory name (slugify the site name to create directory name)\n const cloneDirectoryName = WPStagingCommon.slugify(this.value);\n\n timer = setTimeout(\n function() {\n ajax(\n {\n action: 'wpstg_check_clone',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n directoryName: cloneDirectoryName,\n },\n function(response) {\n if (response.status === 'success') {\n cache.get('#wpstg-new-clone-id').removeClass('wpstg-error-input');\n cache.get('#wpstg-start-cloning').removeAttr('disabled');\n cache.get('#wpstg-clone-id-error').text('').hide();\n } else {\n cache.get('#wpstg-new-clone-id').addClass('wpstg-error-input');\n cache.get('#wpstg-start-cloning').prop('disabled', true);\n cache.get('#wpstg-clone-id-error').text(response.message).show();\n }\n },\n );\n },\n 500,\n );\n })\n // Restart cloning process\n .on('click', '#wpstg-start-cloning', function() {\n resetErrors();\n that.isCancelled = false;\n that.getLogs = false;\n that.progressBar = 0;\n })\n .on('input', '#wpstg-new-clone-id', function() {\n if ($('#wpstg-clone-directory').length < 1) {\n return;\n }\n\n const slug = WPStagingCommon.slugify(this.value).substring(0, 16);\n const $targetDir = $('#wpstg-use-target-dir');\n const $targetUri = $('#wpstg-use-target-hostname');\n let path = $targetDir.data('base-path');\n let uri = $targetUri.data('base-uri');\n\n if (path) {\n path = path.replace(/\\/+$/g, '') + '/' + slug + '/';\n }\n\n if (uri) {\n uri = uri.replace(/\\/+$/g, '') + '/' + slug;\n }\n\n\n $('.wpstg-use-target-dir--value').text(path);\n $('.wpstg-use-target-hostname--value').text(uri);\n\n $targetDir.attr('data-path', path);\n $targetUri.attr('data-uri', uri);\n $('#wpstg_clone_dir').attr('placeholder', path);\n $('#wpstg_clone_hostname').attr('placeholder', uri);\n })\n .on('input', '#wpstg_clone_hostname', function() {\n if ($(this).val() === '' || validateTargetHost()) {\n $('#wpstg_clone_hostname_error').remove();\n return;\n }\n if (!validateTargetHost() && !$('#wpstg_clone_hostname_error').length) {\n $('#wpstg-clone-directory tr:last-of-type').after('<tr><td>&nbsp;</td><td><p id=\"wpstg_clone_hostname_error\" style=\"color: red;\">&nbsp;Invalid host name. Please provide it in a format like http://example.com</p></td></tr>');\n }\n })\n ;\n\n cloneActions();\n };\n\n /* @returns {boolean} */\n var validateTargetHost = function() {\n const the_domain = $('#wpstg_clone_hostname').val();\n\n if (the_domain === '') {\n return true;\n }\n\n const reg = /^http(s)?:\\/\\/.*$/;\n if (reg.test(the_domain) === false) {\n return false;\n }\n return true;\n };\n\n /**\n * Clone actions\n */\n var cloneActions = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n\n $workFlow\n // Cancel cloning\n .on('click', '#wpstg-cancel-cloning', function() {\n if (!confirm('Are you sure you want to cancel cloning process?')) {\n return false;\n }\n\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n $this.prop('disabled', true);\n\n that.isCancelled = true;\n that.progressBar = 0;\n\n $('#wpstg-processing-status').text('Please wait...this can take up a while.');\n $('.wpstg-loader, #wpstg-show-log-button').hide();\n\n $this.parent().append(ajaxSpinner);\n\n cancelCloning();\n })\n // Resume cloning\n .on('click', '#wpstg-resume-cloning', function() {\n resetErrors();\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n\n that.isCancelled = false;\n\n $('#wpstg-processing-status').text('Try to resume cloning process...');\n $('#wpstg-error-details').hide();\n $('.wpstg-loader').show();\n\n $this.parent().append(ajaxSpinner);\n\n that.startCloning();\n })\n // Cancel update cloning\n .on('click', '#wpstg-cancel-cloning-update', function() {\n resetErrors();\n\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n $this.prop('disabled', true);\n\n that.isCancelled = true;\n\n $('#wpstg-cloning-result').text('Please wait...this can take up a while.');\n $('.wpstg-loader, #wpstg-show-log-button').hide();\n\n $this.parent().append(ajaxSpinner);\n\n cancelCloningUpdate();\n })\n // Restart cloning\n .on('click', '#wpstg-restart-cloning', function() {\n resetErrors();\n\n const $this = $(this);\n\n $('#wpstg-try-again, #wpstg-home-link').hide();\n $this.prop('disabled', true);\n\n that.isCancelled = true;\n\n $('#wpstg-cloning-result').text('Please wait...this can take up a while.');\n $('.wpstg-loader, #wpstg-show-log-button').hide();\n\n $this.parent().append(ajaxSpinner);\n\n restart();\n })\n // Delete clone - confirmation\n .on('click', '.wpstg-remove-clone[data-clone]', function(e) {\n resetErrors();\n e.preventDefault();\n\n const $existingClones = cache.get('#wpstg-existing-clones');\n\n $workFlow.removeClass('active');\n\n cache.get('.wpstg-loader').show();\n\n ajax(\n {\n action: 'wpstg_confirm_delete_clone',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n clone: $(this).data('clone'),\n },\n function(response) {\n cache.get('#wpstg-removing-clone').html(response);\n\n $existingClones.children('img').remove();\n\n cache.get('.wpstg-loader').hide();\n\n $('html, body').animate({\n // This logic is meant to be a \"scrollBottom\"\n scrollTop: $('#wpstg-remove-clone').offset().top - $(window).height() +\n $('#wpstg-remove-clone').height() + 50,\n }, 100);\n },\n 'HTML',\n );\n })\n // Delete clone - confirmed\n .on('click', '#wpstg-remove-clone', function(e) {\n resetErrors();\n e.preventDefault();\n\n cache.get('#wpstg-removing-clone').addClass('loading');\n\n cache.get('.wpstg-loader').show();\n\n deleteClone($(this).data('clone'));\n })\n // Cancel deleting clone\n .on('click', '#wpstg-cancel-removing', function(e) {\n e.preventDefault();\n $('.wpstg-clone').removeClass('active');\n cache.get('#wpstg-removing-clone').html('');\n })\n // Update\n .on('click', '.wpstg-execute-clone', function(e) {\n e.preventDefault();\n\n const clone = $(this).data('clone');\n\n $workFlow.addClass('loading');\n that.cloneExcludeFilters = null;\n ajax(\n {\n action: 'wpstg_scanning',\n clone: clone,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response.length < 1) {\n showError(\n 'Something went wrong! Error: No response. Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report and contact us.',\n );\n }\n\n const jsonResponse = tryParseJson(response);\n if (jsonResponse !== false && jsonResponse.success === false) {\n $workFlow.removeClass('loading');\n showErrorModal(jsonResponse);\n\n return;\n }\n\n $workFlow.removeClass('loading').html(response);\n // register check disk space function for clone update process.\n checkDiskSpace();\n that.directoryNavigator = new WpstgDirectoryNavigation('#wpstg-directories-listing', '#wpstg-workflow', wpstg, that.notyf);\n that.directoryNavigator.countSelectedFiles();\n that.tableSelector = new WpstgTableSelection('#wpstg-scanning-db', '#wpstg-workflow', '#wpstg_network_clone', '#wpstg_select_tables_cloning', wpstg, that.notyf);\n that.tableSelector.countSelectedTables();\n that.cloneExcludeFilters = new WpstgExcludeFilters();\n that.switchStep(2);\n },\n 'HTML',\n );\n })\n // Reset Clone\n .on('click', '.wpstg-reset-clone', function(e) {\n e.preventDefault();\n const clone = $(this).data('clone');\n const resetModal = new WpstgResetModal(clone);\n resetModal.setNetworkClone($(this).data('network') === 'yes');\n const promise = resetModal.showModal();\n that.areAllTablesChecked = true;\n\n promise.then((result) => {\n if (result.value) {\n const dirNavigator = resetModal.getDirectoryNavigator();\n const tableSelector = resetModal.getTableSelector();\n const exclFilters = resetModal.getExcludeFilters().getExcludeFilters();\n\n let includedTables = '';\n let excludedTables = '';\n let selectedTablesWithoutPrefix = '';\n let allTablesExcluded = false;\n\n if (tableSelector !== null) {\n includedTables = tableSelector.getIncludedTables();\n excludedTables = tableSelector.getExcludedTables();\n selectedTablesWithoutPrefix = tableSelector.getSelectedTablesWithoutPrefix();\n }\n\n if (includedTables.length > excludedTables.length) {\n includedTables = '';\n } else if (excludedTables.length > includedTables.length) {\n excludedTables = '';\n allTablesExcluded = includedTables === '';\n }\n\n resetClone(clone, {\n includedTables: includedTables,\n excludedTables: excludedTables,\n allTablesExcluded: allTablesExcluded,\n selectedTablesWithoutPrefix: selectedTablesWithoutPrefix,\n excludeSizeRules: encodeURIComponent(exclFilters.sizes),\n excludeGlobRules: encodeURIComponent(exclFilters.globs),\n excludedDirectories: dirNavigator.getExcludedDirectories(),\n extraDirectories: dirNavigator.getExtraDirectoriesRootOnly(),\n });\n }\n });\n\n return;\n });\n };\n\n /**\n * Ajax Requests\n * @param Object data\n * @param Function callback\n * @param string dataType\n * @param bool showErrors\n * @param int tryCount\n * @param float incrementRatio\n */\n var ajax = function(data, callback, dataType, showErrors, tryCount, incrementRatio = null) {\n if ('undefined' === typeof (dataType)) {\n dataType = 'json';\n }\n\n if (false !== showErrors) {\n showErrors = true;\n }\n\n tryCount = 'undefined' === typeof (tryCount) ? 0 : tryCount;\n\n const retryLimit = 5;\n\n let retryTimeout = 10000 * tryCount;\n\n incrementRatio = parseInt(incrementRatio);\n if (!isNaN(incrementRatio)) {\n retryTimeout *= incrementRatio;\n }\n\n var errorMsgFooter = 'Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP STAGING Small Server Settings</a> or submit an error report and contact us. <br/><br/><strong>Tip:</strong> If you get this error while pushing, you can also use the <strong>BACKUP & MIGRATION</strong> feature to move your staging site to live. <a href=\\'https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/\\' target=\\'_blank\\'>Read more.</a>';\n\n $.ajax({\n url: ajaxurl + '?action=wpstg_processing&_=' + (Date.now() / 1000),\n type: 'POST',\n dataType: dataType,\n cache: false,\n data: data,\n error: function(xhr, textStatus, errorThrown) {\n // try again after 10 seconds\n tryCount++;\n if (tryCount <= retryLimit) {\n console.log('RETRYING ' + tryCount + '/' + retryLimit);\n setTimeout(function() {\n ajax(data, callback, dataType, showErrors, tryCount, incrementRatio);\n return;\n }, retryTimeout);\n } else {\n console.log('RETRYING LIMIT');\n const errorCode = 'undefined' === typeof (xhr.status) ? 'Unknown' : xhr.status;\n showError(\n 'Fatal Error: ' + errorCode + ' ' + errorMsgFooter,\n );\n }\n },\n success: function(data) {\n if ('function' === typeof (callback)) {\n callback(data);\n }\n },\n statusCode: {\n 404: function() {\n if (tryCount >= retryLimit) {\n showError('Error 404 - Can\\'t find ajax request URL! ' + errorMsgFooter);\n }\n },\n 500: function() {\n if (tryCount >= retryLimit) {\n showError('Fatal Error 500 - Internal server error while processing the request! ' + errorMsgFooter);\n }\n },\n 504: function() {\n if (tryCount > retryLimit) {\n showError('Error 504 - It seems your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);\n }\n },\n 502: function() {\n if (tryCount >= retryLimit) {\n showError('Error 502 - It seems your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);\n }\n },\n 503: function() {\n if (tryCount >= retryLimit) {\n showError('Error 503 - It seem your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);\n }\n },\n 429: function() {\n if (tryCount >= retryLimit) {\n showError('Error 429 - It seems your server is rate limiting ajax requests. Please try to resume after a minute. ' + errorMsgFooter);\n }\n },\n 403: function() {\n if (tryCount >= retryLimit) {\n showError('Refresh page or login again! The process should be finished successfully. \\n\\ ');\n }\n },\n },\n });\n };\n\n /**\n * Next / Previous Step Clicks to Navigate Through Staging Job\n */\n const stepButtons = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n\n $workFlow\n // Next Button\n .on('click', '.wpstg-next-step-link', function(e) {\n e.preventDefault();\n\n const $this = $(this);\n const isScan = false;\n\n if ($('#wpstg_clone_hostname').length && !validateTargetHost()) {\n $('#wpstg_clone_hostname').focus();\n return false;\n }\n\n if ($this.data('action') === 'wpstg_update' || $this.data('action') === 'wpstg_reset') {\n // Update / Reset Clone - confirmed\n let onlyUpdateMessage = '';\n if ($this.data('action') === 'wpstg_update') {\n onlyUpdateMessage = ' \\n\\nExclude all tables and folders you do not want to overwrite, first! \\n\\nDo not cancel the updating process! This can break your staging site. \\n\\n\\Create a backup of your staging website before you proceed.';\n }\n\n if (!confirm('STOP! This will overwrite your staging site with all selected data from the production site! This should be used only if you want to clone again your production site. Are you sure you want to do this?' + onlyUpdateMessage)) {\n return false;\n }\n }\n\n // Button is disabled\n if ($this.attr('disabled')) {\n return false;\n }\n\n if ($this.data('action') === 'wpstg_cloning') {\n // Verify External Database If Checked and Not Skipped\n if ($('#wpstg-ext-db').is(':checked')) {\n verifyExternalDatabase($this, $workFlow);\n return;\n }\n }\n\n proceedCloning($this, $workFlow);\n })\n // Previous Button\n .on('click', '.wpstg-prev-step-link', function(e) {\n e.preventDefault();\n cache.get('.wpstg-loader').removeClass('wpstg-finished');\n cache.get('.wpstg-loader').hide();\n loadOverview();\n });\n };\n\n /**\n * Get Included (Checked) Database Tables\n * @return {Array}\n */\n const getIncludedTables = function() {\n const includedTables = [];\n\n $('#wpstg_select_tables_cloning option:selected').each(function() {\n includedTables.push(this.value);\n });\n\n return includedTables;\n };\n\n /**\n * Get Excluded (Unchecked) Database Tables\n * Not used anymore!\n * @return {Array}\n */\n const getExcludedTables = function() {\n const excludedTables = [];\n\n $('.wpstg-db-table input:not(:checked)').each(function() {\n excludedTables.push(this.name);\n });\n\n return excludedTables;\n };\n\n /**\n * Verify External Database for Cloning\n */\n var verifyExternalDatabase = function($this, workflow) {\n cache.get('.wpstg-loader').show();\n ajax(\n {\n action: 'wpstg_database_verification',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n databaseUser: cache.get('#wpstg_db_username').val(),\n databasePassword: cache.get('#wpstg_db_password').val(),\n databaseServer: cache.get('#wpstg_db_server').val(),\n databaseDatabase: cache.get('#wpstg_db_database').val(),\n },\n function(response) {\n // Undefined Error\n if (false === response) {\n showError(\n 'Something went wrong! Error: No response.' +\n 'Please try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n cache.get('.wpstg-loader').hide();\n return;\n }\n\n // Throw Error\n if ('undefined' === typeof (response.success)) {\n showError(\n 'Something went wrong! Error: Invalid response.' +\n 'Please try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n cache.get('.wpstg-loader').hide();\n return;\n }\n\n if (response.success) {\n cache.get('.wpstg-loader').hide();\n proceedCloning($this, workflow);\n return;\n }\n\n if (response.error_type === 'comparison') {\n cache.get('.wpstg-loader').hide();\n let render = '<table class=\"wpstg-db-comparison-table\"><thead><tr><th>Property</th><th>Production DB</th><th>Staging DB</th><th>Status</th></tr></thead><tbody>';\n response.checks.forEach((x) => {\n let icon = '<span class=\"wpstg-css-tick\"></span>';\n if (x.production !== x.staging) {\n icon = '<span class=\"wpstg-css-cross\"></span>';\n }\n render += '<tr><td>' + x.name + '</td><td>' + x.production + '</td><td>' + x.staging + '</td><td>' + icon + '</td></tr>';\n });\n render += '</tbody></table><p>Note: Some MySQL/MariaDB properties do not match. You may proceed but the staging site may not work as expected.</p>';\n WPStagingCommon.getSwalModal(true, {\n popup: 'wpstg-swal-popup wpstg-db-comparison-modal centered-modal',\n }).fire({\n title: 'Different Database Properties',\n icon: 'warning',\n html: render,\n width: '650px',\n focusConfirm: false,\n confirmButtonText: 'Proceed',\n showCancelButton: true,\n }).then(function(result) {\n if (result.value) {\n proceedCloning($this, workflow);\n }\n });\n return;\n }\n\n WPStagingCommon.getSwalModal(true).fire({\n title: 'Different Database Properties',\n icon: 'error',\n html: response.message,\n focusConfirm: true,\n confirmButtonText: 'Ok',\n showCancelButton: false,\n });\n cache.get('.wpstg-loader').hide();\n },\n 'json',\n false,\n );\n };\n\n /**\n * Get Cloning Step Data\n */\n const getCloningData = function() {\n if ('wpstg_cloning' !== that.data.action && 'wpstg_update' !== that.data.action && 'wpstg_reset' !== that.data.action) {\n return;\n }\n\n that.data.cloneID = new Date().getTime().toString();\n if ('wpstg_update' === that.data.action) {\n that.data.cloneID = $('#wpstg-new-clone-id').data('clone');\n }\n\n that.data.cloneName = $('#wpstg-new-clone-id').val() || that.data.cloneID;\n\n if (that.directoryNavigator !== null) {\n that.data.excludedDirectories = encodeURIComponent(that.directoryNavigator.getExcludedDirectories());\n that.data.extraDirectories = encodeURIComponent(that.directoryNavigator.getExtraDirectoriesRootOnly());\n }\n\n that.data.excludeGlobRules = '';\n that.data.excludeSizeRules = '';\n if (that.cloneExcludeFilters instanceof WpstgExcludeFilters) {\n const rules = that.cloneExcludeFilters.getExcludeFilters();\n that.data.excludeGlobRules = encodeURIComponent(rules.globs);\n that.data.excludeSizeRules = encodeURIComponent(rules.sizes);\n }\n\n that.data.includedTables = '';\n that.data.excludedTables = '';\n that.data.allTablesExcluded = false;\n\n if (that.tableSelector !== null) {\n that.data.includedTables = that.tableSelector.getIncludedTables();\n that.data.excludedTables = that.tableSelector.getExcludedTables();\n that.data.selectedTablesWithoutPrefix = that.tableSelector.getSelectedTablesWithoutPrefix();\n }\n\n if (that.data.includedTables.length > that.data.excludedTables.length) {\n that.data.includedTables = '';\n } else if (that.data.excludedTables.length > that.data.includedTables.length) {\n that.data.excludedTables = '';\n that.data.allTablesExcluded = that.data.includedTables === '';\n }\n\n that.data.databaseServer = $('#wpstg_db_server').val();\n that.data.databaseUser = $('#wpstg_db_username').val();\n that.data.databasePassword = $('#wpstg_db_password').val();\n that.data.databaseDatabase = $('#wpstg_db_database').val();\n that.data.databasePrefix = $('#wpstg_db_prefix').val();\n const cloneDir = $('#wpstg_clone_dir').val();\n that.data.cloneDir = encodeURIComponent($.trim(cloneDir));\n that.data.cloneHostname = $('#wpstg_clone_hostname').val();\n that.data.emailsAllowed = $('#wpstg_allow_emails').is(':checked');\n that.data.networkClone = $('#wpstg_network_clone').is(':checked');\n that.data.uploadsSymlinked = $('#wpstg_symlink_upload').is(':checked');\n that.data.cleanPluginsThemes = $('#wpstg-clean-plugins-themes').is(':checked');\n that.data.cleanUploadsDir = $('#wpstg-clean-uploads').is(':checked');\n };\n\n var proceedCloning = function($this, workflow) {\n // Add loading overlay\n workflow.addClass('loading');\n\n // Prepare data\n that.data = {\n action: $this.data('action'),\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n };\n\n // Cloning data\n getCloningData();\n\n sendCloningAjax(workflow);\n };\n\n var sendCloningAjax = function(workflow) {\n // Send ajax request\n ajax(\n that.data,\n function(response) {\n // Undefined Error\n if (false === response) {\n showError(\n 'Something went wrong!<br/><br/> Go to WP Staging > Settings and lower \\'File Copy Limit\\' and \\'DB Query Limit\\'. Also set \\'CPU Load Priority to low \\'' +\n 'and try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n }\n\n\n if (response.length < 1) {\n showError(\n 'Something went wrong! No response. Go to WP Staging > Settings and lower \\'File Copy Limit\\' and \\'DB Query Limit\\'. Also set \\'CPU Load Priority to low \\'' +\n 'and try again. If that does not help, ' +\n '<a href=\\'https://wp-staging.com/support/\\' target=\\'_blank\\'>open a support ticket</a> ',\n );\n }\n\n const jsonResponse = tryParseJson(response);\n if (jsonResponse !== false && jsonResponse.success === false) {\n workflow.removeClass('loading');\n showErrorModal(jsonResponse);\n\n return;\n }\n\n // Styling of elements\n workflow.removeClass('loading').html(response);\n that.cloneExcludeFilters = null;\n if (that.data.action === 'wpstg_scanning') {\n that.areAllTablesChecked = true;\n that.directoryNavigator = new WpstgDirectoryNavigation('#wpstg-directories-listing', '#wpstg-workflow', wpstg, that.notyf);\n that.tableSelector = new WpstgTableSelection('#wpstg-scanning-db', '#wpstg-workflow', '#wpstg_network_clone', '#wpstg_select_tables_cloning', wpstg);\n that.switchStep(2);\n that.cloneExcludeFilters = new WpstgExcludeFilters();\n } else if (that.data.action === 'wpstg_cloning' || that.data.action === 'wpstg_update' || that.data.action === 'wpstg_reset') {\n that.switchStep(3);\n }\n\n // Start cloning\n that.startCloning();\n },\n 'HTML',\n );\n };\n\n var showErrorModal = function(response) {\n const errorModal = new WpstgModal('wpstg_modal_error', wpstg);\n errorModal.show(Object.assign({\n title: 'Error',\n icon: 'error',\n html: wpstg.i18n['somethingWentWrong'] + (response.message !== undefined ? ('<br/>' + response.message) : ''),\n width: '500px',\n confirmButtonText: 'Ok',\n showCancelButton: false,\n customClass: {\n confirmButton: 'wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn',\n cancelButton: 'wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn',\n actions: 'wpstg--modal--actions',\n popup: 'wpstg-swal-popup centered-modal',\n },\n buttonsStyling: false,\n reverseButtons: true,\n }, response.swalOptions), {\n type: response.type,\n });\n };\n\n const tryParseJson = function(json) {\n // early bail if not string\n if (!json) {\n return false;\n }\n\n try {\n const object = JSON.parse(json);\n if (object && typeof object === 'object') {\n return object;\n }\n } catch (e) {\n // do nothing on catch\n }\n\n return false;\n };\n\n var resetClone = function(clone, excludeOptions) {\n that.data = {\n action: 'wpstg_reset',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n cloneID: clone,\n };\n\n that.data = {...that.data, ...excludeOptions};\n\n const $workFlow = cache.get('#wpstg-workflow');\n sendCloningAjax($workFlow);\n };\n\n /**\n * Loads Overview (first step) of Staging Job\n */\n var loadOverview = function() {\n const $workFlow = cache.get('#wpstg-workflow');\n\n $workFlow.addClass('loading');\n\n ajax(\n {\n action: 'wpstg_overview',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response.length < 1) {\n showError(\n 'Something went wrong! No response. Please try the <a href=\\'https://wp-staging.com/docs/wp-staging-settings-for-small-servers/\\' target=\\'_blank\\'>WP Staging Small Server Settings</a> or submit an error report.',\n );\n }\n\n const $currentStep = cache.get('.wpstg-current-step');\n\n // Styling of elements\n $workFlow.removeClass('loading').html(response);\n },\n 'HTML',\n );\n\n that.switchStep(1);\n cache.get('.wpstg-step3-cloning').show();\n cache.get('.wpstg-step3-pushing').hide();\n };\n\n /**\n * Load Tabs\n */\n const tabs = function() {\n cache.get('#wpstg-workflow').on('click', '.wpstg-tab-header', function(e) {\n e.preventDefault();\n\n const $this = $(this);\n const $section = cache.get($this.data('id'));\n\n $this.toggleClass('expand');\n\n $section.slideToggle();\n\n const tabTriangle = $this.find('.wpstg-tab-triangle');\n\n if ($this.hasClass('expand')) {\n tabTriangle.removeClass('wpstg-no-icon');\n tabTriangle.text('');\n tabTriangle.addClass('wpstg-rotate-90');\n } else {\n tabTriangle.removeClass('wpstg-rotate-90');\n }\n });\n };\n\n /**\n * Delete Clone\n * @param {String} clone\n */\n var deleteClone = function(clone) {\n const deleteDir = $('#deleteDirectory:checked').data('deletepath');\n\n ajax(\n {\n action: 'wpstg_delete_clone',\n clone: clone,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n excludedTables: getExcludedTables(),\n deleteDir: deleteDir,\n },\n function(response) {\n if (response) {\n showAjaxFatalError(response);\n\n // Finished\n if ('undefined' !== typeof response.delete && (response.delete === 'finished' || response.delete === 'unfinished')) {\n cache.get('#wpstg-removing-clone').removeClass('loading').html('');\n\n if (response.delete === 'finished' && response.error === undefined) {\n $('.wpstg-clone[data-clone-id=\"' + clone + '\"]').remove();\n }\n\n // No staging site message is also of type/class .wpstg-class but hidden\n // We have just excluded that from search when counting no of clones\n if ($('#wpstg-existing-clones .wpstg-clone').length < 1) {\n cache.get('#wpstg-existing-clones').find('h3').text('');\n cache.get('#wpstg-no-staging-site-results').show();\n }\n\n cache.get('.wpstg-loader').hide();\n return;\n }\n }\n // continue\n if (true !== response) {\n deleteClone(clone);\n return;\n }\n },\n );\n };\n\n /**\n * Cancel Cloning Process\n */\n var cancelCloning = function() {\n that.timer('stop');\n\n\n if (true === that.isFinished) {\n return true;\n }\n\n ajax(\n {\n action: 'wpstg_cancel_clone',\n clone: that.data.cloneID,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response && 'undefined' !== typeof (response.delete) && response.delete === 'finished') {\n cache.get('.wpstg-loader').hide();\n // Load overview\n loadOverview();\n return;\n }\n\n if (true !== response) {\n // continue\n cancelCloning();\n return;\n }\n\n // Load overview\n loadOverview();\n },\n );\n };\n\n /**\n * Cancel Cloning Process\n */\n var cancelCloningUpdate = function() {\n if (true === that.isFinished) {\n return true;\n }\n\n ajax(\n {\n action: 'wpstg_cancel_update',\n clone: that.data.cloneID,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response && 'undefined' !== typeof (response.delete) && response.delete === 'finished') {\n // Load overview\n loadOverview();\n return;\n }\n\n if (true !== response) {\n // continue\n cancelCloningUpdate();\n return;\n }\n\n // Load overview\n loadOverview();\n },\n );\n };\n\n /**\n * Cancel Cloning Process\n */\n var restart = function() {\n if (true === that.isFinished) {\n return true;\n }\n\n ajax(\n {\n action: 'wpstg_restart',\n // clone: that.data.cloneID,\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n },\n function(response) {\n if (response && 'undefined' !== typeof (response.delete) && response.delete === 'finished') {\n // Load overview\n loadOverview();\n return;\n }\n\n if (true !== response) {\n // continue\n cancelCloningUpdate();\n return;\n }\n\n // Load overview\n loadOverview();\n },\n );\n };\n\n /**\n * Scroll the window log to bottom\n * @return void\n */\n const logscroll = function() {\n const $div = cache.get('.wpstg-log-details');\n if ('undefined' !== typeof ($div[0])) {\n $div.scrollTop($div[0].scrollHeight);\n }\n };\n\n /**\n * Append the log to the logging window\n * @param string log\n * @return void\n */\n const getLogs = function(log) {\n if (log != null && 'undefined' !== typeof (log)) {\n if (log.constructor === Array) {\n $.each(log, function(index, value) {\n if (value === null) {\n return;\n }\n if (value.type === 'ERROR') {\n cache.get('.wpstg-log-details').append('<span class=\"wpstg--red\">[' + value.type + ']</span>-' + '[' + value.date + '] ' + value.message + '</br>');\n } else {\n cache.get('.wpstg-log-details').append('[' + value.type + ']-' + '[' + value.date + '] ' + value.message + '</br>');\n }\n });\n } else {\n cache.get('.wpstg-log-details').append('[' + log.type + ']-' + '[' + log.date + '] ' + log.message + '</br>');\n }\n }\n logscroll();\n };\n\n /**\n * Check diskspace\n * @return string json\n */\n var checkDiskSpace = function() {\n cache.get('#wpstg-check-space').on('click', function(e) {\n cache.get('.wpstg-loader').show();\n const excludedDirectories = encodeURIComponent(that.directoryNavigator.getExcludedDirectories());\n const extraDirectories = encodeURIComponent(that.directoryNavigator.getExtraDirectoriesRootOnly());\n\n ajax(\n {\n action: 'wpstg_check_disk_space',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n excludedDirectories: excludedDirectories,\n extraDirectories: extraDirectories,\n },\n function(response) {\n if (false === response) {\n cache.get('#wpstg-clone-id-error').text('Can not detect required disk space').show();\n cache.get('.wpstg-loader').hide();\n return;\n }\n\n // Show required disk space\n cache.get('#wpstg-clone-id-error').html(\n 'Estimated necessary disk space: ' + response.requiredSpace +\n (response.errorMessage !== null ? ('<br>' + response.errorMessage) : '') +\n '<br> <span style=\"color:#444;\">Before you proceed ensure your account has enough free disk space to hold the entire instance of the production site. You can check the available space from your hosting account (cPanel or similar).</span>').show();\n cache.get('.wpstg-loader').hide();\n },\n 'json',\n false,\n );\n });\n };\n\n /**\n * Show or hide animated loading icon\n * @param isLoading bool\n */\n const isLoading = function(isLoading) {\n if (!isLoading || isLoading === false) {\n cache.get('.wpstg-loader').hide();\n } else {\n cache.get('.wpstg-loader').show();\n }\n };\n\n /**\n * Count up processing execution time\n * @param string status\n * @return html\n */\n that.timer = function(status) {\n if (status === 'stop') {\n const time = that.time;\n that.time = 1;\n clearInterval(that.executionTime);\n return that.convertSeconds(time);\n }\n\n\n that.executionTime = setInterval(function() {\n if (null !== document.getElementById('wpstg-processing-timer')) {\n document.getElementById('wpstg-processing-timer').innerHTML = 'Elapsed Time: ' + that.convertSeconds(that.time);\n }\n that.time++;\n if (status === 'stop') {\n that.time = 1;\n clearInterval(that.executionTime);\n }\n }, 1000);\n };\n\n /**\n * Convert seconds to hourly format\n * @param int seconds\n * @return string\n */\n that.convertSeconds = function(seconds) {\n const date = new Date(null);\n date.setSeconds(seconds); // specify value for SECONDS here\n return date.toISOString().substr(11, 8);\n };\n\n /**\n * Start Cloning Process\n * @type {Function}\n */\n that.startCloning = (function() {\n resetErrors();\n\n // Register function for checking disk space\n checkDiskSpace();\n\n if ('wpstg_cloning' !== that.data.action && 'wpstg_update' !== that.data.action && 'wpstg_reset' !== that.data.action) {\n return;\n }\n\n that.isCancelled = false;\n\n // Start the process\n start();\n\n // Functions\n // Start\n function start() {\n cache.get('.wpstg-loader').show();\n cache.get('#wpstg-cancel-cloning').text('Cancel');\n cache.get('#wpstg-resume-cloning').hide();\n cache.get('#wpstg-error-details').hide();\n\n\n // Clone Database\n setTimeout(function() {\n // cloneDatabase();\n window.addEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n processing();\n }, wpstg.delayReq);\n\n that.timer('start');\n }\n\n\n /**\n * Start ajax processing\n * @return string\n */\n var processing = function() {\n if (true === that.isCancelled) {\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n return false;\n }\n\n isLoading(true);\n\n let excludedDirectories = '';\n let extraDirectories = '';\n if (that.directoryNavigator !== null) {\n excludedDirectories = that.directoryNavigator.getExcludedDirectories();\n extraDirectories = that.directoryNavigator.getExtraDirectoriesRootOnly();\n }\n\n // Show logging window\n cache.get('.wpstg-log-details').show();\n\n WPStaging.ajax(\n {\n action: 'wpstg_processing',\n accessToken: wpstg.accessToken,\n nonce: wpstg.nonce,\n excludedTables: getExcludedTables(),\n excludedDirectories: encodeURIComponent(excludedDirectories),\n extraDirectories: encodeURIComponent(extraDirectories),\n },\n function(response) {\n showAjaxFatalError(response);\n\n // Add Log messages\n if ('undefined' !== typeof (response.last_msg) && response.last_msg) {\n getLogs(response.last_msg);\n }\n // Continue processing\n if (false === response.status) {\n progressBar(response);\n\n setTimeout(function() {\n cache.get('.wpstg-loader').show();\n processing();\n }, wpstg.delayReq);\n } else if (true === response.status && 'finished' !== response.status) {\n cache.get('#wpstg-error-details').hide();\n cache.get('#wpstg-error-wrapper').hide();\n progressBar(response, true);\n processing();\n } else if ('finished' === response.status || ('undefined' !== typeof (response.job_done) && response.job_done)) {\n window.removeEventListener('beforeunload', WPStaging.warnIfClosingDuringProcess);\n finish(response);\n }\n ;\n },\n 'json',\n false,\n );\n };\n\n // Finish\n function finish(response) {\n if (true === that.getLogs) {\n getLogs();\n }\n\n progressBar(response);\n\n // Add Log\n if ('undefined' !== typeof (response.last_msg)) {\n getLogs(response.last_msg);\n }\n\n cache.get('.wpstg-loader').hide();\n cache.get('#wpstg-processing-header').html('Processing Complete');\n $('#wpstg-processing-status').text('Succesfully finished');\n\n cache.get('#wpstg_staging_name').html(that.data.cloneID);\n cache.get('#wpstg-finished-result').show();\n cache.get('#wpstg-cancel-cloning').hide();\n cache.get('#wpstg-resume-cloning').hide();\n cache.get('#wpstg-cancel-cloning-update').prop('disabled', true);\n\n const $link1 = cache.get('#wpstg-clone-url-1');\n const $link = cache.get('#wpstg-clone-url');\n $link1.attr('href', response.url);\n $link1.html(response.url);\n $link.attr('href', response.url);\n\n cache.get('#wpstg-remove-clone').data('clone', that.data.cloneID);\n\n // Finished\n that.isFinished = true;\n that.timer('stop');\n\n\n cache.get('.wpstg-loader').hide();\n cache.get('#wpstg-processing-header').html('Processing Complete');\n\n // show alert\n let msg = wpstg.i18n.cloneResetComplete;\n if (that.data.action === 'wpstg_update') {\n msg = wpstg.i18n.cloneUpdateComplete;\n }\n\n if (that.data.action === 'wpstg_update' || that.data.action === 'wpstg_reset') {\n cache.get('#wpstg-cancel-cloning-update').hide();\n cache.get('.wpstg-prev-step-link').show();\n\n WPStagingCommon.getSwalModal(true, {\n confirmButton: 'wpstg--btn--confirm wpstg-green-button wpstg-button wpstg-link-btn wpstg-100-width',\n }).fire({\n title: '',\n icon: 'success',\n html: msg,\n width: '500px',\n focusConfirm: true,\n });\n }\n\n return false;\n }\n\n /**\n * Add percentage progress bar\n * @param object response\n * @return {Boolean}\n */\n var progressBar = function(response, restart) {\n if ('undefined' === typeof (response.percentage)) {\n return false;\n }\n\n if (response.job === 'database') {\n cache.get('#wpstg-progress-db').width(response.percentage * 0.2 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 1 of 4 Cloning Database Tables...');\n }\n\n if (response.job === 'SearchReplace') {\n cache.get('#wpstg-progress-db').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-db').html('1. Database');\n // Assumption: All previous steps are done.\n // This avoids bugs where some steps are skipped and the progress bar is incomplete as a result\n cache.get('#wpstg-progress-db').width('20%');\n\n cache.get('#wpstg-progress-sr').width(response.percentage * 0.1 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 2 of 4 Preparing Database Data...');\n }\n\n if (response.job === 'directories') {\n cache.get('#wpstg-progress-sr').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-sr').html('2. Data');\n cache.get('#wpstg-progress-sr').width('10%');\n\n cache.get('#wpstg-progress-dirs').width(response.percentage * 0.1 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 3 of 4 Getting files...');\n }\n if (response.job === 'files') {\n cache.get('#wpstg-progress-dirs').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-dirs').html('3. Files');\n cache.get('#wpstg-progress-dirs').width('10%');\n\n cache.get('#wpstg-progress-files').width(response.percentage * 0.6 + '%').html(response.percentage + '%');\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Step 4 of 4 Copy files...');\n }\n if (response.job === 'finish') {\n cache.get('#wpstg-progress-files').css('background-color', '#3bc36b');\n cache.get('#wpstg-progress-files').html('4. Copy Files');\n cache.get('#wpstg-progress-files').width('60%');\n\n cache.get('#wpstg-processing-status').html(response.percentage.toFixed(0) + '%' + ' - Cloning Process Finished');\n }\n };\n });\n\n that.switchStep = function(step) {\n cache.get('.wpstg-current-step')\n .removeClass('wpstg-current-step');\n cache.get('.wpstg-step' + step)\n .addClass('wpstg-current-step');\n };\n\n /**\n * Initiation\n * @type {Function}\n */\n that.init = (function() {\n loadOverview();\n elements();\n stepButtons();\n tabs();\n WPStagingCommon.listenTooltip();\n new WpstgMainMenu();\n new WpstgCloneStaging();\n new WpstgCloningAdvanceSettings();\n that.notyf = new Notyf({\n duration: 10000,\n position: {\n x: 'center',\n y: 'bottom',\n },\n dismissible: true,\n types: [\n {\n type: 'warning',\n background: 'orange',\n icon: false,\n },\n ],\n });\n });\n\n /**\n * Ajax call\n * @type {ajax}\n */\n that.ajax = ajax;\n that.showError = showError;\n that.getLogs = getLogs;\n that.loadOverview = loadOverview;\n\n return that;\n})(jQuery);\n\njQuery(document).ready(function() {\n WPStaging.init();\n // This is necessary to make WPStaging var accessibile in WP Staging PRO js script\n window.WPStaging = WPStaging;\n});\n\n/**\n * Report Issue modal\n */\njQuery(document).ready(function($) {\n $('body').on('click', '#wpstg-report-issue-button', function(e) {\n console.log('REPORT');\n $('.wpstg--tab--active .wpstg-report-issue-form').toggleClass('wpstg-report-show');\n e.preventDefault();\n });\n\n $('body').on('click', '#wpstg-backups-report-issue-button', function(e) {\n $('.wpstg--tab--active .wpstg-report-issue-form').toggleClass('wpstg-report-show');\n e.preventDefault();\n });\n\n $('body').on('click', '#wpstg-report-cancel', function(e) {\n $('.wpstg--tab--active .wpstg-report-issue-form').removeClass('wpstg-report-show');\n e.preventDefault();\n });\n\n $('body').on('click', '.wpstg--tab--active #wpstg-report-submit', function(e) {\n const self = $(this);\n sendIssueReport(self, 'false');\n e.preventDefault();\n });\n\n /*\n * Close Success Modal\n */\n\n $('body').on('click', '#wpstg-success-button', function(e) {\n e.preventDefault();\n $('.wpstg-report-issue-form').removeClass('wpstg-report-show');\n });\n\n function sendIssueReport(button, forceSend = 'false') {\n const spinner = button.next();\n const email = $('.wpstg--tab--active .wpstg-report-email').val();\n const hosting_provider = $('.wpstg--tab--active .wpstg-report-hosting-provider').val();\n const message = $('.wpstg--tab--active .wpstg-report-description').val();\n const syslog = $('.wpstg--tab--active .wpstg-report-syslog').is(':checked');\n const terms = $('.wpstg--tab--active .wpstg-report-terms').is(':checked');\n\n button.attr('disabled', true);\n spinner.css('visibility', 'visible');\n\n $.ajax({\n url: ajaxurl,\n type: 'POST',\n dataType: 'json',\n async: true,\n data: {\n 'action': 'wpstg_send_report',\n 'accessToken': wpstg.accessToken,\n 'nonce': wpstg.nonce,\n 'wpstg_email': email,\n 'wpstg_provider': hosting_provider,\n 'wpstg_message': message,\n 'wpstg_syslog': +syslog,\n 'wpstg_terms': +terms,\n 'wpstg_force_send': forceSend,\n },\n }).done(function(data) {\n button.attr('disabled', false);\n spinner.css('visibility', 'hidden');\n\n if (data.errors.length > 0) {\n $('.wpstg--tab--active .wpstg-report-issue-form .wpstg-message').remove();\n\n let errorMessage = $('<div />').addClass('wpstg-message wpstg-error-message');\n $.each(data.errors, function(key, value) {\n if (value.status === 'already_submitted') {\n errorMessage = '';\n // TODO: remove default custom classes\n WPStagingCommon.getSwalModal(true, {\n container: 'wpstg-issue-resubmit-confirmation',\n }).fire({\n title: '',\n icon: 'warning',\n html: value.message,\n showCancelButton: true,\n focusConfirm: false,\n confirmButtonText: 'Yes',\n cancelButtonText: 'No',\n }).then((result) => {\n if (result.isConfirmed) {\n sendIssueReport(button, 'true');\n }\n });\n } else {\n errorMessage.append('<p>' + value + '</p>');\n }\n });\n\n $('.wpstg--tab--active .wpstg-report-issue-form').prepend(errorMessage);\n } else {\n const successMessage = $('<div />').addClass('wpstg-message wpstg-success-message');\n successMessage.append('<p>Thanks for submitting your request! You should receive an auto reply mail with your ticket ID immediately for confirmation!<br><br>If you do not get that mail please contact us directly at <strong>support@wp-staging.com</strong></p>');\n\n $('.wpstg--tab--active .wpstg-report-issue-form').html(successMessage);\n $('.wpstg--tab--active .wpstg-success-message').append('<div style=\"float:right;margin-top:10px;\"><a id=\"wpstg-success-button\" href=\"#\" class=\"wpstg--red\">[X] CLOSE</a></div>');\n\n // Hide message\n setTimeout(function() {\n $('.wpstg--tab--active .wpstg-report-issue-form').removeClass('wpstg-report-active');\n }, 2000);\n }\n });\n }\n\n // Open/close actions drop down menu\n $(document).on('click', '.wpstg-dropdown>.wpstg-dropdown-toggler', function(e) {\n e.preventDefault();\n $(e.target).next('.wpstg-dropdown-menu').toggleClass('shown');\n\n $(e.target).find('.wpstg-caret').toggleClass('wpstg-caret-up');\n });\n\n $(document).on('click', '.wpstg-caret', function(e) {\n e.preventDefault();\n\n const toggler = $(e.target).closest('.wpstg-dropdown-toggler');\n\n if (toggler) {\n toggler.trigger('click');\n }\n });\n\n // Close action drop down menu if clicked anywhere outside\n document.addEventListener('click', function(event) {\n const isClickInside = event.target.closest('.wpstg-dropdown-toggler');\n if (!isClickInside) {\n const dropDown = document.getElementsByClassName('wpstg-dropdown-menu');\n for (let i = 0; i < dropDown.length; i++) {\n dropDown[i].classList.remove('shown');\n }\n $('.wpstg-caret').removeClass('wpstg-caret-up');\n }\n });\n\n // \"Event info\" for backup errors\n window.addEventListener('finishedProcessWithError', function(customEvent) {\n $.ajax({\n url: ajaxurl,\n type: 'POST',\n dataType: 'json',\n data: {\n 'action': 'wpstg_job_error',\n 'accessToken': wpstg.accessToken,\n 'nonce': wpstg.nonce,\n 'error_message': customEvent.detail.error,\n 'job_id': WPStagingCommon.getJobId(),\n },\n });\n });\n});\n"],"names":["polyfillClosest","Element","prototype","closest","matches","msMatchesSelector","webkitMatchesSelector","s","el","call","parentElement","parentNode","nodeType","element","selector","qs","document","querySelector","all","querySelectorAll","addEvent","parent","evt","handler","addEventListener","event","target","slideDown","duration","style","display","overflow","height","offsetHeight","transitionProperty","transitionDuration","setTimeout","window","removeProperty","slideUp","getNextSibling","sibling","nextElementSibling","getParents","result","push","handleDisplayDependencies","id","containerSelector","hiddenClass","elementType","getAttribute","container","showIfChecked","showIfUnchecked","checked","length","classList","remove","add","handleToggleElement","elements","toggle","handleCopyPaste","navigator","clipboard","writeText","value","handleCopyToClipboard","WpstgCloneStaging","pageWrapperId","wpstgObject","wpstg","pageWrapper","dom","enableButtonId","enableAction","notyf","Notyf","position","x","y","dismissible","types","type","background","icon","init","addEvents","sendRequest","action","fetch","ajaxUrl","method","credentials","body","URLSearchParams","accessToken","nonce","headers","then","response","ok","json","Promise","reject","data","success","location","reload","message","error","i18n","console","warn","WpstgDirectoryNavigation","directoryListingSelector","workflowSelector","directoryListingContainer","workflow","dirCheckboxSelector","dirExpandSelector","unselectAllDirsSelector","selectDefaultDirsSelector","fetchChildrenAction","currentCheckboxElement","currentParentDiv","currentLoader","existingExcludes","excludedDirectories","isDefaultSelected","log","preventDefault","toggleDirExpand","unselectAll","selectDefault","toggleDirectoryNavigation","updateDirectorySelection","parseExcludes","previousSibling","changed","dirPath","isChecked","forceDefault","setAttribute","dirContainer","createElement","innerHTML","JSON","parse","directoryListing","appendChild","alert","getExcludedDirectories","forEach","isParentExcluded","exclude","isScanned","join","settings","directorySeparator","path","isParentAlreadyExcluded","dir","startsWith","getExtraDirectoriesRootOnly","extraDirectories","extraDirectoriesTextArea","extraCustomDirectories","split","concat","countSelectedFiles","map","substr","slice","scanned","cbElement","subDirectories","parElem","i","children","themesCount","pluginsCount","filesCountElement","replace","WpstgTableSelection","databaseTableSectionSelector","networkCloneSelector","inputSelector","databaseTableSection","networkCloneCheckbox","isAllTablesChecked","isMultisite","isNetworkClone","input","setNetworkClone","selectDefaultTables","countSelectedTables","toggleTableSelection","getRegexPattern","pattern","tblprefix","isNetwork","undefined","options","regexPattern","option","name","match","selected","getSelectedTablesWithoutPrefix","selectedTablesWithoutPrefix","getIncludedTables","includedTables","getExcludedTables","excludedTables","tablesCount","tablesCountElement","WpstgExcludeFilters","excludeFilterContainerSelector","excludeContainer","excludeTableBody","addFileSizeExclude","addFileExtExclude","addFileNameExclude","addDirNameExclude","clearExcludes","removeExclude","addExcludeRuleRow","templateName","excludeRowTemplate","clone","content","cloneNode","excludeRow","e","removeChild","trim","getExcludeFilters","globExcludes","sizeExcludes","sizeCompares","sizeSizes","sizeByte","Object","entries","key","sizeInput","extensionInputs","ext","cleanStringForGlob","fileNamesPos","fileNames","fileInput","fileName","cleanStringForGlobExactMatches","dirNamesPos","dirNames","dirInput","dirName","filter","onlyUnique","index","self","indexOf","WpstgModal","confirmAction","show","swalOptions","additionalParams","callback","wpstgSwal","fire","triggerConfirmAction","assign","onOver","onOut","pX","pY","mouseOver","focused","h","state","timer","sensitivity","interval","timeout","handleFocus","delay","clearTimeout","tracker","clientX","clientY","compare","Math","abs","opt","focusOptionChanged","addFocus","removeFocus","dispatchOver","removeEventListener","onMouseOver","dispatchOut","onMouseOut","dispatchFocus","onFocus","dispatchBlur","onBlur","$","WPStagingCommon","continueErrorHandle","cache","get","inArray","refresh","setJobId","jobId","localStorage","setItem","getJobId","getItem","listenTooltip","wpstgHoverIntent","visibility","isEmpty","obj","prop","hasOwnProperty","getSwalModal","isContentCentered","customClasses","defaultCustomClasses","confirmButton","cancelButton","actions","popup","customClass","buttonsStyling","reverseButtons","showClass","mixin","showSuccessModal","htmlContent","showConfirmButton","showCancelButton","cancelButtonText","title","html","showWarningModal","showErrorModal","getSwalContainer","getContainer","closeSwalModal","close","getDataFromWordPressResponse","Error","Array","shift","isLoading","hide","slugify","url","toString","toLowerCase","normalize","showAjaxFatalError","prependMessage","appendMessage","showError","WPStaging","warnIfClosingDuringProcess","handleFetchErrors","status","statusText","css","text","removeClass","resetErrors","ajax","dataType","showErrors","tryCount","incrementRatio","errorCallback","retryLimit","retryTimeout","parseInt","isNaN","ajaxurl","Date","now","xhr","textStatus","errorThrown","errorCode","statusCode","jQuery","WpstgResetModal","cloneID","fetchExcludeSettingsAction","modalErrorAction","resetButtonClass","resetModalContainerClass","resetTabSelector","directoryNavigator","excludeFilters","tableSelector","resetModalContainer","toggleContent","contentId","tabTriangle","isCollapsed","contains","transform","showModal","swalPromise","loadModal","fetchCloneExcludes","getAjaxLoader","width","focusConfirm","confirmButtonText","resetClone","job","errorModal","modal","renderError","getDirectoryNavigator","getTableSelector","wpstgIcon","WpstgCloningAdvanceSettings","baseContainerSelector","baseContainer","checkBoxSettingTogglerSelector","toggleSettings","WpstgMainMenu","activeTabClass","mainMenu","tabHeader","$this","targetElements","menuItems","contents","menuItem","targetElement","dispatchEvent","Event","that","isCancelled","isFinished","getLogs","time","executionTime","progressBar","cloneExcludeFilters","areAllTablesChecked","ajaxSpinner","returnValue","$workFlow","urlSpinner","devicePixelRatio","on","getElementById","clearInterval","removeAttr","cloneDirectoryName","directoryName","addClass","slug","substring","$targetDir","$targetUri","uri","attr","val","validateTargetHost","after","cloneActions","the_domain","reg","test","confirm","append","cancelCloning","startCloning","cancelCloningUpdate","restart","$existingClones","animate","scrollTop","offset","top","deleteClone","jsonResponse","tryParseJson","checkDiskSpace","switchStep","resetModal","promise","dirNavigator","exclFilters","allTablesExcluded","excludeSizeRules","encodeURIComponent","sizes","excludeGlobRules","globs","errorMsgFooter","stepButtons","focus","onlyUpdateMessage","is","verifyExternalDatabase","proceedCloning","loadOverview","each","databaseUser","databasePassword","databaseServer","databaseDatabase","error_type","render","checks","production","staging","getCloningData","getTime","cloneName","rules","databasePrefix","cloneDir","cloneHostname","emailsAllowed","networkClone","uploadsSymlinked","cleanPluginsThemes","cleanUploadsDir","sendCloningAjax","object","excludeOptions","tabs","$section","toggleClass","slideToggle","find","hasClass","deleteDir","logscroll","$div","scrollHeight","constructor","date","requiredSpace","errorMessage","convertSeconds","setInterval","seconds","setSeconds","toISOString","start","processing","delayReq","last_msg","job_done","finish","$link1","$link","msg","cloneResetComplete","cloneUpdateComplete","percentage","toFixed","step","ready","sendIssueReport","button","forceSend","spinner","next","email","hosting_provider","syslog","terms","async","done","errors","isConfirmed","prepend","successMessage","toggler","trigger","isClickInside","dropDown","getElementsByClassName","customEvent","detail"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;EACA;EACA;EACA;EACA;EACA,SAASA,eAAT,GAA2B;EACzB,MAAIC,OAAO,CAACC,SAAR,CAAkBC,OAAtB,EAA+B;EAC7B,QAAI,CAACF,OAAO,CAACC,SAAR,CAAkBE,OAAvB,EAAgC;EAC9BH,MAAAA,OAAO,CAACC,SAAR,CAAkBE,OAAlB,GAA4BH,OAAO,CAACC,SAAR,CAAkBG,iBAAlB,IAAuCJ,OAAO,CAACC,SAAR,CAAkBI,qBAArF;EACD;;EAEDL,IAAAA,OAAO,CAACC,SAAR,CAAkBC,OAAlB,GAA4B,UAASI,CAAT,EAAY;EACtC,UAAIC,EAAE,GAAG,IAAT;;EAEA,SAAG;EACD,YAAIP,OAAO,CAACC,SAAR,CAAkBE,OAAlB,CAA0BK,IAA1B,CAA+BD,EAA/B,EAAmCD,CAAnC,CAAJ,EAA2C,OAAOC,EAAP;EAC3CA,QAAAA,EAAE,GAAGA,EAAE,CAACE,aAAH,IAAoBF,EAAE,CAACG,UAA5B;EACD,OAHD,QAGSH,EAAE,KAAK,IAAP,IAAeA,EAAE,CAACI,QAAH,KAAgB,CAHxC;;EAIA,aAAO,IAAP;EACD,KARD;EASD;;EAED,SAAO,UAASC,OAAT,EAAkBC,QAAlB,EAA4B;EACjC,WAAOD,OAAO,YAAYZ,OAAnB,GAA6BY,OAAO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D,CAAkBoE,WAAlB,CAA8B,gBAA9B;EACD;EACF,GATD,EA9HiC;;EA0IjCpV,EAAAA,MAAM,CAACb,gBAAP,CAAwB,0BAAxB,EAAoD,UAAS2jB,WAAT,EAAsB;EACxE9R,IAAAA,CAAC,CAACsE,IAAF,CAAO;EACLjB,MAAAA,GAAG,EAAE2B,OADA;EAELjT,MAAAA,IAAI,EAAE,MAFD;EAGLwS,MAAAA,QAAQ,EAAE,MAHL;EAILlR,MAAAA,IAAI,EAAE;EACJ,kBAAU,iBADN;EAEJ,uBAAelC,KAAK,CAACyB,WAFjB;EAGJ,iBAASzB,KAAK,CAAC0B,KAHX;EAIJ,yBAAiBif,WAAW,CAACC,MAAZ,CAAmBre,KAJhC;EAKJ,kBAAUuM,eAAe,CAACU,QAAhB;EALN;EAJD,KAAP;EAYD,GAbD;EAcD,CAxJD;;;;;;"}
assets/js/dist/wpstg-admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(this,arguments)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=new Array(t);s<t;s++)n[s]=e[s];return n}function s(e,s){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,s){if(e){if("string"==typeof e)return t(e,s);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,s):void 0}}(e))||s&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var n=(Element.prototype.closest&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),function(e,t){return e instanceof Element?e.closest(t):null});function r(e){return document.querySelector(e)}function o(e){return document.querySelectorAll(e)}function i(e,t,s,n){!e instanceof Element||e.addEventListener(t,(function(e){e.target.matches(s+", "+s+" *")&&n(e.target.closest(s),e)}),!1)}function a(e,t){void 0===t&&(t=400),e.style.display="block",e.style.overflow="hidden";var s=e.offsetHeight;e.style.height="0px",e.style.transitionProperty="height",e.style.transitionDuration=t+"ms",setTimeout((function(){e.style.height=s+"px",window.setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)}),0)}function l(e,t){void 0===t&&(t=400),e.style.display="block",e.style.overflow="hidden";var s=e.offsetHeight;e.style.height=s+"px",e.style.transitionProperty="height",e.style.transitionDuration=t+"ms",setTimeout((function(){e.style.height="0px",window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)}),0)}function c(e){if(!(!e instanceof Element)&&e.id){var t="hidden";switch(e.getAttribute("type")){case"checkbox":var r=n(e,".wpstg-container");if(null===r)return;var o=r.querySelectorAll('[data-show-if-checked="'+e.id+'"]'),i=r.querySelectorAll('[data-show-if-unchecked="'+e.id+'"]'),a=e.checked;if(o.length)for(var l,c=s(o);!(l=c()).done;){var g=l.value;a?g.classList.remove(t):g.classList.add(t)}if(i.length)for(var d,p=s(i);!(d=p()).done;){var u=d.value;a?u.classList.add(t):u.classList.remove(t)}return;default:return}}}function g(e){if(!(!e instanceof Element)&&e.getAttribute("data-wpstg-target")){var t=n(e,".wpstg_admin");if(null!==t){var r=t.querySelectorAll(e.getAttribute("data-wpstg-target"));if(r.length)for(var o,i=s(r);!(o=i()).done;){o.value.classList.toggle("hidden")}}}}function d(e){if(!(!e instanceof Element)&&e.getAttribute("data-wpstg-target")&&e.getAttribute("data-wpstg-copy")){var t=n(e,".wpstg_admin");if(null!==t){navigator.clipboard.writeText(e.getAttribute("data-wpstg-copy"));var r=t.querySelectorAll(e.getAttribute("data-wpstg-target"));if(r.length)for(var o,i=s(r);!(o=i()).done;){o.value.value=e.getAttribute("data-wpstg-copy","")}}}}function p(e){if(!(!e instanceof Element)&&e.getAttribute("data-wpstg-source")){var t=n(e,".wpstg_admin");if(null!==t){var s=t.querySelector(e.getAttribute("data-wpstg-source"));s&&navigator.clipboard.writeText(s.value)}}}var u=function(){function e(e,t){void 0===e&&(e="#wpstg-clonepage-wrapper"),void 0===t&&(t=wpstg),this.pageWrapper=r(e),this.wpstgObject=t,this.enableButtonId="#wpstg-enable-staging-cloning",this.enableAction="wpstg_enable_staging_cloning",this.notyf=new Notyf({duration:1e4,position:{x:"center",y:"bottom"},dismissible:!0,types:[{type:"warning",background:"orange",icon:!1}]}),this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;null!==this.pageWrapper&&i(this.pageWrapper,"click",this.enableButtonId,(function(){e.sendRequest(e.enableAction)}))},t.init=function(){this.addEvents()},t.sendRequest=function(e){var t=this;fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams({action:e,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(e){void 0!==e.success&&e.success?location.reload():void 0===e.message?t.notyf.error(t.wpstgObject.i18n.somethingWentWrong):t.notyf.error(e.message)})).catch((function(e){console.warn(t.wpstgObject.i18n.somethingWentWrong,e)}))},e}(),w=function(){function e(e,t,s,n){void 0===e&&(e="#wpstg-directories-listing"),void 0===t&&(t="#wpstg-workflow"),void 0===s&&(s=wpstg),void 0===n&&(n=null),this.directoryListingContainer=r(e),this.workflow=r(t),this.wpstgObject=s,this.dirCheckboxSelector=".wpstg-check-dir",this.dirExpandSelector=".wpstg-expand-dirs",this.unselectAllDirsSelector=".wpstg-unselect-dirs",this.selectDefaultDirsSelector=".wpstg-select-dirs-default",this.fetchChildrenAction="wpstg_fetch_dir_childrens",this.currentCheckboxElement=null,this.currentParentDiv=null,this.currentLoader=null,this.existingExcludes=[],this.excludedDirectories=[],this.isDefaultSelected=!1,this.notyf=n,this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;null!==this.directoryListingContainer?(i(this.directoryListingContainer,"change",this.dirCheckboxSelector,(function(e,t){t.preventDefault()})),i(this.directoryListingContainer,"click",this.dirExpandSelector,(function(t,s){s.preventDefault(),e.toggleDirExpand(t)&&e.sendRequest(e.fetchChildrenAction,t)})),i(this.directoryListingContainer,"click",this.unselectAllDirsSelector,(function(){e.unselectAll()})),i(this.directoryListingContainer,"click",this.selectDefaultDirsSelector,(function(){e.selectDefault()})),i(this.directoryListingContainer,"click",".wpstg-expand-dirs",(function(t,s){s.preventDefault(),e.toggleDirectoryNavigation(t)})),i(this.directoryListingContainer,"change","input.wpstg-check-dir",(function(t){e.updateDirectorySelection(t)}))):console.log("Error: directory navigation add events")},t.init=function(){this.addEvents(),this.parseExcludes()},t.toggleDirExpand=function(e){return this.currentParentDiv=e.parentElement,this.currentCheckboxElement=e.previousSibling,this.currentLoader=this.currentParentDiv.querySelector(".wpstg-is-dir-loading"),"false"!==this.currentCheckboxElement.getAttribute("data-navigateable","false")&&"false"===this.currentCheckboxElement.getAttribute("data-scanned","false")},t.sendRequest=function(e){var t=this;null!==this.currentLoader&&(this.currentLoader.style.display="inline-block");var s=this.currentCheckboxElement.getAttribute("data-changed");fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams({action:e,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce,dirPath:this.currentCheckboxElement.value,isChecked:this.currentCheckboxElement.checked,forceDefault:"true"===s}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(e){if(void 0!==e.success&&e.success){t.currentCheckboxElement.setAttribute("data-scanned",!0);var s=document.createElement("div");return s.classList.add("wpstg-dir"),s.classList.add("wpstg-subdir"),s.innerHTML=JSON.parse(e.directoryListing),t.currentParentDiv.appendChild(s),null!==t.currentLoader&&(t.currentLoader.style.display="none"),void a(s)}null!==t.notyf?t.notyf.error(t.wpstgObject.i18n.somethingWentWrong):alert("Error: "+t.wpstgObject.i18n.somethingWentWrong)})).catch((function(e){console.warn(t.wpstgObject.i18n.somethingWentWrong,e)}))},t.getExcludedDirectories=function(){var e=this;return this.excludedDirectories=[],this.directoryListingContainer.querySelectorAll(".wpstg-dir input:not(:checked)").forEach((function(t){e.isParentExcluded(t.value)||e.excludedDirectories.push(t.value)})),this.existingExcludes.forEach((function(t){e.isParentExcluded(t)||e.isScanned(t)||e.excludedDirectories.push(t)})),this.excludedDirectories.join(this.wpstgObject.settings.directorySeparator)},t.isParentExcluded=function(e){var t=!1;return this.excludedDirectories.forEach((function(s){e.startsWith(s+"/")&&(t=!0)})),t},t.getExtraDirectoriesRootOnly=function(){this.getExcludedDirectories();var e=[];this.directoryListingContainer.querySelectorAll(":not(.wpstg-subdir)>.wpstg-dir>input.wpstg-wp-non-core-dir:checked").forEach((function(t){e.push(t.value)}));var t=r("#wpstg_extraDirectories");if(null===t||""===t.value)return e.join(this.wpstgObject.settings.directorySeparator);var s=t.value.split(/\r?\n/);return e.concat(s).join(this.wpstgObject.settings.directorySeparator)},t.unselectAll=function(){this.directoryListingContainer.querySelectorAll(".wpstg-dir input").forEach((function(e){e.checked=!1})),this.countSelectedFiles()},t.selectDefault=function(){this.unselectAll(),this.directoryListingContainer.querySelectorAll(".wpstg-dir input.wpstg-wp-core-dir").forEach((function(e){e.checked=!0})),this.directoryListingContainer.querySelectorAll(".wpstg-dir > .wpstg-wp-non-core-dir").forEach((function(e){e.parentElement.querySelectorAll("input.wpstg-wp-core-dir").forEach((function(e){e.checked=!1}))})),this.isDefaultSelected=!0,this.countSelectedFiles()},t.parseExcludes=function(){if(this.existingExcludes=this.directoryListingContainer.getAttribute("data-existing-excludes",[]),""!==this.existingExcludes)if(0!==this.existingExcludes.length){var e=this.existingExcludes.split(",");this.existingExcludes=e.map((function(e){return"/"===e.substr(0,1)?e.slice(1):e}))}else this.existingExcludes=[];else this.existingExcludes=[]},t.isScanned=function(e){var t=!1;return this.directoryListingContainer.querySelectorAll(".wpstg-dir>input").forEach((function(s){s.value==e&&(t=!0)})),t},t.toggleDirectoryNavigation=function(e){var t=e.previousSibling;if("false"!==t.getAttribute("data-navigateable","false")&&"false"!==t.getAttribute("data-scanned","false")){var s=function(e,t){for(var s=e.nextElementSibling;s;){if(s.matches(t))return s;s=s.nextElementSibling}}(e,".wpstg-subdir");"none"===s.style.display?a(s):l(s)}},t.updateDirectorySelection=function(e){var t=e.parentElement;e.setAttribute("data-changed","true"),e.checked?(function(e,t){for(var s=[],n=e&&e.parentElement;n;n=n.parentElement)n.matches(t)&&s.push(n);return s}(t,".wpstg-dir").forEach((function(e){for(var t=0;t<e.children.length;t++)e.children[t].matches(".wpstg-check-dir")&&(e.children[t].checked=!0)})),t.querySelectorAll(".wpstg-expand-dirs").forEach((function(e){e.classList.remove("disabled")})),t.querySelectorAll(".wpstg-subdir .wpstg-check-dir").forEach((function(e){e.checked=!0}))):(t.querySelectorAll(".wpstg-expand-dirs, .wpstg-check-subdirs").forEach((function(e){e.classList.add("disabled")})),t.querySelectorAll(".wpstg-dir .wpstg-check-dir").forEach((function(e){e.checked=!1}))),this.countSelectedFiles()},t.countSelectedFiles=function(){var e=this.directoryListingContainer.querySelectorAll('[data-content-type="theme"]:checked').length,t=this.directoryListingContainer.querySelectorAll('[data-content-type="plugin"]:checked').length,s=r("#wpstg-files-count");0===e&&0===t?(s.classList.add("danger"),s.innerHTML=this.wpstgObject.i18n.noFileSelected):(s.classList.remove("danger"),s.innerHTML=this.wpstgObject.i18n.filesSelected.replace("{t}",e).replace("{p}",t))},e}(),h=function(){function e(e,t,s,n,o){void 0===e&&(e="#wpstg-scanning-db"),void 0===t&&(t="#wpstg-workflow"),void 0===s&&(s="#wpstg_network_clone"),void 0===n&&(n="#wpstg_select_tables_cloning"),void 0===o&&(o=wpstg),this.databaseTableSection=r(e),this.workflow=r(t),this.networkCloneSelector=s,this.networkCloneCheckbox=r(s),this.wpstgObject=o,this.isAllTablesChecked=!0,this.isMultisite="1"===this.wpstgObject.isMultisite,this.isNetworkClone=!1,this.inputSelector=n,this.input=r(this.inputSelector),this.init()}var t=e.prototype;return t.setNetworkClone=function(e){this.isNetworkClone=e},t.addEvents=function(){var e=this;null!==this.workflow?(i(this.workflow,"change",this.networkCloneSelector,(function(){e.selectDefaultTables()})),i(this.workflow,"change",this.inputSelector,(function(){e.countSelectedTables()})),i(this.workflow,"click",".wpstg-button-select",(function(t,s){s.preventDefault(),e.selectDefaultTables()})),i(this.workflow,"click",".wpstg-button-unselect",(function(t,s){s.preventDefault(),e.toggleTableSelection()}))):console.log("Error: database table section is null. Cannot register events")},t.init=function(){this.addEvents()},t.getRegexPattern=function(){var e="^"+this.wpstgObject.tblprefix,t=!1;return void 0!==this.networkCloneCheckbox&&null!==this.networkCloneCheckbox&&(t=this.networkCloneCheckbox.checked),this.isNetworkClone&&(t=!0),this.isMultisite&&!t&&(e+="([^0-9])_*"),e},t.selectDefaultTables=function(){var e=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning .wpstg-db-table"),t=this.getRegexPattern();e.forEach((function(e){e.getAttribute("name","").match(t)?e.selected=!0:e.selected=!1})),this.countSelectedTables()},t.toggleTableSelection=function(){!1===this.isAllTablesChecked?(this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning .wpstg-db-table").forEach((function(e){e.selected=!0})),this.databaseTableSection.querySelector(".wpstg-button-unselect").innerHTML="Unselect All",this.isAllTablesChecked=!0):(this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning .wpstg-db-table").forEach((function(e){e.selected=!1})),this.databaseTableSection.querySelector(".wpstg-button-unselect").innerHTML="Select All",this.isAllTablesChecked=!1),this.countSelectedTables()},t.getSelectedTablesWithoutPrefix=function(){var e=[],t=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning option:checked"),s=this.getRegexPattern();return t.forEach((function(t){t.getAttribute("name","").match(s)||e.push(t.value)})),e.join(this.wpstgObject.settings.directorySeparator)},t.getIncludedTables=function(){var e=[],t=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning option:checked"),s=this.getRegexPattern();return t.forEach((function(t){t.getAttribute("name","").match(s)&&e.push(t.value)})),e.join(this.wpstgObject.settings.directorySeparator)},t.getExcludedTables=function(){var e=[],t=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning option:not(:checked)"),s=this.getRegexPattern();return t.forEach((function(t){t.getAttribute("name","").match(s)&&e.push(t.value)})),e.join(this.wpstgObject.settings.directorySeparator)},t.countSelectedTables=function(){var e=this.input.querySelectorAll("option:checked").length,t=r("#wpstg-tables-count");0===e?(t.classList.add("danger"),t.innerHTML=this.wpstgObject.i18n.noTableSelected):(t.classList.remove("danger"),t.innerHTML=this.wpstgObject.i18n.tablesSelected.replace("{d}",e))},e}(),f=function(){function e(e,t){void 0===e&&(e="#wpstg-exclude-filters-container"),void 0===t&&(t=wpstg),this.excludeContainer=r(e),this.excludeTableBody=r(e+" tbody"),this.wpstgObject=t,this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;i(this.excludeContainer,"click",".wpstg-file-size-rule",(function(){e.addFileSizeExclude()})),i(this.excludeContainer,"click",".wpstg-file-ext-rule",(function(){e.addFileExtExclude()})),i(this.excludeContainer,"click",".wpstg-file-name-rule",(function(){e.addFileNameExclude()})),i(this.excludeContainer,"click",".wpstg-dir-name-rule",(function(){e.addDirNameExclude()})),i(this.excludeContainer,"click",".wpstg-clear-all-rules",(function(){e.clearExcludes()})),i(this.excludeContainer,"click",".wpstg-remove-exclude-rule",(function(t){e.removeExclude(t)}))},t.init=function(){null!==this.excludeContainer?this.addEvents():console.log("Error: Given table selector not found!")},t.addFileSizeExclude=function(){this.addExcludeRuleRow("#wpstg-file-size-exclude-filter-template")},t.addFileExtExclude=function(){this.addExcludeRuleRow("#wpstg-file-ext-exclude-filter-template")},t.addFileNameExclude=function(){this.addExcludeRuleRow("#wpstg-file-name-exclude-filter-template")},t.addDirNameExclude=function(){this.addExcludeRuleRow("#wpstg-dir-name-exclude-filter-template")},t.addExcludeRuleRow=function(e){var t=r(e);if(null!==t){var s=t.content.cloneNode(!0).querySelector("tr");this.excludeTableBody.appendChild(s),o(".wpstg-has-exclude-rules").forEach((function(e){e.style.display="inherit"}))}},t.clearExcludes=function(){this.excludeTableBody.innerHTML="",o(".wpstg-has-exclude-rules").forEach((function(e){e.style.display="none"}))},t.removeExclude=function(e){null!==e.parentElement&&null!==e.parentElement.parentElement&&this.excludeTableBody.removeChild(e.parentElement.parentElement),""===this.excludeTableBody.innerHTML.trim()&&o(".wpstg-has-exclude-rules").forEach((function(e){e.style.display="none"}))},t.getExcludeFilters=function(){for(var e=this,t=[],s=[],n=this.excludeTableBody.querySelectorAll('select[name="wpstgFileSizeExcludeRuleCompare[]"]'),r=this.excludeTableBody.querySelectorAll('input[name="wpstgFileSizeExcludeRuleSize[]"]'),o=this.excludeTableBody.querySelectorAll('select[name="wpstgFileSizeExcludeRuleByte[]"]'),i=0,a=Object.entries(r);i<a.length;i++){var l=a[i],c=l[0],g=l[1];""!==g.value&&s.push(n[c].value+" "+g.value+o[c].value)}this.excludeTableBody.querySelectorAll('input[name="wpstgFileExtExcludeRule[]"]').forEach((function(s){var n=e.cleanStringForGlob(s.value);""!==n&&t.push("ext:"+n.trim())}));for(var d=this.excludeTableBody.querySelectorAll('select[name="wpstgFileNameExcludeRulePos[]"]'),p=this.excludeTableBody.querySelectorAll('input[name="wpstgFileNameExcludeRulePath[]"]'),u=0,w=Object.entries(p);u<w.length;u++){var h=w[u],f=h[0],m=h[1],b="";""!==(b="name_exact_matches"===d[f].value?this.cleanStringForGlobExactMatches(m.value):this.cleanStringForGlob(m.value))&&t.push("file:"+d[f].value+" "+b.trim())}for(var v=this.excludeTableBody.querySelectorAll('select[name="wpstgDirNameExcludeRulePos[]"]'),y=this.excludeTableBody.querySelectorAll('input[name="wpstgDirNameExcludeRulePath[]"]'),x=0,S=Object.entries(y);x<S.length;x++){var k=S[x],E=k[0],C=k[1],T=this.cleanStringForGlob(C.value);""!==T&&t.push("dir:"+v[E].value+" "+T.trim())}return{sizes:s.filter(this.onlyUnique).join(","),globs:t.filter(this.onlyUnique).join(",")}},t.onlyUnique=function(e,t,s){return s.indexOf(e)===t},t.cleanStringForGlob=function(e){return e.replace(/[*^//!\.[?]/g,"")},t.cleanStringForGlobExactMatches=function(e){return e.replace(/[*^//!\\[?]/g,"")},e}(),m=function(){function e(e,t){void 0===t&&(t=wpstg),this.confirmAction=e,this.wpstgObject=t}var t=e.prototype;return t.show=function(e,t,s){var n=this;void 0===t&&(t={}),void 0===s&&(s=null),wpstgSwal.fire(e).then((function(e){e.value&&null!==n.error&&n.triggerConfirmAction(t,s)}))},t.triggerConfirmAction=function(e,t){var s=this;void 0===e&&(e={}),void 0===t&&(t=null),fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams(Object.assign({action:this.confirmAction,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce},e)),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(e){null!==t&&t(e)})).catch((function(e){console.log(s.wpstgObject.i18n.somethingWentWrong,e)}))},e}();function b(e,t,s,n){var r,o,i,a,l=!1,c=!1,g={},d=0,p=0,u={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function w(e){r=e.clientX,o=e.clientY}function h(e,t){if(p&&(p=clearTimeout(p)),Math.abs(i-r)+Math.abs(a-o)<u.sensitivity)return d=1,c?void 0:s(e,t);i=r,a=o,p=setTimeout((function(){h(e,t)}),u.interval)}function f(e,t){return l=!0,p&&(p=clearTimeout(p)),e.removeEventListener("mousemove",w,!1),1!==d&&(i=t.clientX,a=t.clientY,e.addEventListener("mousemove",w,!1),p=setTimeout((function(){h(e,t)}),u.interval)),this}function m(e){e.target.matches(t+", "+t+" *")&&f(e.target.closest(t),e)}function b(e,t){return l=!1,p&&(p=clearTimeout(p)),e.removeEventListener("mousemove",w,!1),1===d&&(p=setTimeout((function(){!function(e,t){p&&(p=clearTimeout(p)),d=0,c||n(e,t)}(e,t)}),u.timeout)),this}function v(e){e.target.matches(t+", "+t+" *")&&b(e.target.closest(t),e)}function y(e){var n,r;e.target.matches(t+", "+t+" *")&&(n=e.target.closest(t),r=e,l||(c=!0,s(n,r)))}function x(e){var s,r;e.target.matches(t+", "+t+" *")&&(s=e.target.closest(t),r=e,!l&&c&&(c=!1,n(s,r)))}function S(){e.removeEventListener("focus",y,!1),e.removeEventListener("blur",x,!1)}return g.options=function(t){var s=t.handleFocus!==u.handleFocus;return u=Object.assign({},u,t),s&&(u.handleFocus?(e.addEventListener("focus",y,!1),e.addEventListener("blur",x,!1)):S()),g},g.remove=function(){e&&(e.removeEventListener("mouseover",m,!1),e.removeEventListener("mouseout",v,!1),S())},e&&(e.addEventListener("mouseover",m,!1),e.addEventListener("mouseout",v,!1)),g}var v=function(e){var t={continueErrorHandle:!0,cache:{elements:[],get:function(t){return-1!==e.inArray(t,this.elements)||(this.elements[t]=e(t)),this.elements[t]},refresh:function(t){t.elements[t]=e(t)}},setJobId:function(e){localStorage.setItem("jobIdBeingProcessed",e)},getJobId:function(){return localStorage.getItem("jobIdBeingProcessed")},listenTooltip:function(){b(document,".wpstg--tooltip",(function(e,t){e.querySelector(".wpstg--tooltiptext").style.visibility="visible"}),(function(e,t){e.querySelector(".wpstg--tooltiptext").style.visibility="hidden"}))},isEmpty:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},getSwalModal:function(e,t){void 0===e&&(e=!1),void 0===t&&(t={});var s={confirmButton:"wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn wpstg-100-width",cancelButton:"wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn wpstg-100-width",actions:"wpstg--modal--actions",popup:e?"wpstg-swal-popup centered-modal":"wpstg-swal-popup"},n={customClass:Object.assign(s,t),buttonsStyling:!1,reverseButtons:!0,showClass:{popup:"wpstg--swal2-show wpstg-swal-show"}};return wpstgSwal.mixin(n)},showSuccessModal:function(e){this.getSwalModal().fire({showConfirmButton:!1,showCancelButton:!0,cancelButtonText:"OK",icon:"success",title:"Success!",html:'<div class="wpstg--grey" style="text-align: left; margin-top: 8px;">'+e+"</div>"})},showWarningModal:function(e){this.getSwalModal().fire({showConfirmButton:!1,showCancelButton:!0,cancelButtonText:"OK",icon:"warning",title:"",html:'<div class="wpstg--grey" style="text-align: left; margin-top: 8px;">'+e+"</div>"})},showErrorModal:function(e){this.getSwalModal().fire({showConfirmButton:!1,showCancelButton:!0,cancelButtonText:"OK",icon:"error",title:"Error!",html:'<div class="wpstg--grey" style="text-align: left; margin-top: 8px;">'+e+"</div>"})},getSwalContainer:function(){return wpstgSwal.getContainer()},closeSwalModal:function(){wpstgSwal.close()},getDataFromWordPressResponse:function(e){if("object"!=typeof e)throw new Error("Unexpected response (ERR 1341)");if(!e.hasOwnProperty("success"))throw new Error("Unexpected response (ERR 1342)");if(!e.hasOwnProperty("data"))throw new Error("Unexpected response (ERR 1343)");if(!1===e.success)throw e.data instanceof Array&&e.data.length>0?new Error(e.data.shift()):new Error("Response was not successful");return e.data},isLoading:function(e){e&&!1!==e?t.cache.get(".wpstg-loader").show():t.cache.get(".wpstg-loader").hide()},slugify:function(e){return e.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/[^a-z0-9\-]/g,"").replace(/-+/g,"-").replace(/^-*/,"").replace(/-*$/,"")},showAjaxFatalError:function(e,s,n){return s=s?s+"<br/><br/>":"Something went wrong! <br/><br/>",n=n?n+"<br/><br/>":"<br/><br/>Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.",!1===e?(t.showError(s+" Error: No response."+n),void window.removeEventListener("beforeunload",WPStaging.warnIfClosingDuringProcess)):void 0!==e.error&&e.error?(t.showError(s+" Error: "+e.message+n),void window.removeEventListener("beforeunload",WPStaging.warnIfClosingDuringProcess)):void 0},handleFetchErrors:function(e){return e.ok||t.showError("Error: "+e.status+" - "+e.statusText+". Please try again or contact support."),e},showError:function(s){t.cache.get("#wpstg-try-again").css("display","inline-block"),t.cache.get("#wpstg-cancel-cloning").text("Reset"),t.cache.get("#wpstg-resume-cloning").show(),t.cache.get("#wpstg-error-wrapper").show(),t.cache.get("#wpstg-error-details").show().html(s),t.cache.get("#wpstg-removing-clone").removeClass("loading"),t.cache.get(".wpstg-loader").hide(),e(".wpstg--modal--process--generic-problem").show().html(s)},resetErrors:function(){t.cache.get("#wpstg-error-details").hide().html("")},ajax:function(s,n,r,o,i,a,l){void 0===a&&(a=null),void 0===l&&(l=null),void 0===r&&(r="json"),!1!==o&&(o=!0);var c=10,g=1e4*(i=void 0===i?0:i);a=parseInt(a),isNaN(a)||(g*=a),e.ajax({url:ajaxurl+"?action=wpstg_processing&_="+Date.now()/1e3,type:"POST",dataType:r,cache:!1,data:s,error:function(e,d,p){if(console.log(e.status+" "+e.statusText+"---"+d),"function"!=typeof l||(l(e,d,p),t.continueErrorHandle))if(++i<=c)setTimeout((function(){t.ajax(s,n,r,o,i,a)}),g);else{var u=void 0===e.status?"Unknown":e.status;t.showError("Fatal Error: "+u+" Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.")}else t.continueErrorHandle=!0},success:function(e){"function"==typeof n&&n(e)},statusCode:{404:function(){i>=c&&t.showError("Error 404 - Can't find ajax request URL! Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.")},500:function(){i>=c&&t.showError("Fatal Error 500 - Internal server error while processing the request! Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.")},504:function(){i>c&&t.showError("Error 504 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},502:function(){i>=c&&t.showError("Error 502 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},503:function(){i>=c&&t.showError("Error 503 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},429:function(){i>=c&&t.showError("Error 429 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},403:function(){i>=c&&t.showError("Refresh page or login again! The process should be finished successfully. \n ")}}})}};return t}(jQuery),y=function(){function e(e,t,s,n,o){void 0===t&&(t="#wpstg-workflow"),void 0===s&&(s="wpstg_clone_excludes_settings"),void 0===n&&(n="wpstg_modal_error"),void 0===o&&(o=wpstg),this.cloneID=e,this.workflow=r(t),this.wpstgObject=o,this.fetchExcludeSettingsAction=s,this.modalErrorAction=n,this.resetButtonClass="wpstg-confirm-reset-clone",this.resetModalContainerClass="wpstg-reset-confirmation",this.resetTabSelector=".wpstg-reset-exclude-tab",this.directoryNavigator=null,this.excludeFilters=null,this.tableSelector=null,this.isNetworkClone=!1}var t=e.prototype;return t.addEvents=function(){var e=this,t=r("."+this.resetModalContainerClass);null!==t?i(t,"click",this.resetTabSelector,(function(t){e.toggleContent(t)})):console.log("Exit")},t.init=function(){this.addEvents()},t.setNetworkClone=function(e){this.isNetworkClone=e},t.toggleContent=function(e){var t=r("."+this.resetModalContainerClass),s=e.getAttribute("data-id"),n=e.querySelector(".wpstg-tab-triangle"),o=e.getAttribute("data-collapsed","true"),i=r(s);"true"===o?(t.classList.contains("has-collapsible-open")?t.classList.add("has-collapsible-open-2"):t.classList.add("has-collapsible-open"),a(i),n.style.transform="rotate(90deg)",e.setAttribute("data-collapsed","false")):(t.classList.contains("has-collapsible-open-2")?t.classList.remove("has-collapsible-open-2"):t.classList.remove("has-collapsible-open"),l(i),n.style.removeProperty("transform"),e.setAttribute("data-collapsed","true"))},t.showModal=function(){var e=this.loadModal();return this.init(),this.fetchCloneExcludes(),e},t.loadModal=function(){return v.getSwalModal(!1,{confirmButton:this.resetButtonClass+" wpstg-confirm-reset-clone wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn",container:this.resetModalContainerClass+" wpstg-swal2-container wpstg-swal2-loading"}).fire({title:"",icon:"warning",html:this.getAjaxLoader(),width:"400px",focusConfirm:!1,confirmButtonText:this.wpstgObject.i18n.resetClone,showCancelButton:!0})},t.fetchCloneExcludes=function(){var e=this;this.error=null,fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams({action:this.fetchExcludeSettingsAction,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce,clone:this.cloneID,job:"resetting"}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(t){if(t.success){var s=r(".wpstg-reset-confirmation");s.classList.remove("wpstg-swal2-loading"),s.querySelector(".wpstg--swal2-popup").style.width="500px",s.querySelector(".wpstg--swal2-content").innerHTML=t.html,e.directoryNavigator=new w,e.directoryNavigator.countSelectedFiles(),e.excludeFilters=new f,e.tableSelector=new h("#wpstg-reset-excluded-tables","."+e.resetModalContainerClass),e.tableSelector.setNetworkClone(e.isNetworkClone),e.tableSelector.countSelectedTables()}else{new m(e.modalErrorAction,e.wpstgObject).show(Object.assign({title:"Error",icon:"error",html:e.wpstgObject.i18n.somethingWentWrong,width:"500px",confirmButtonText:"Ok",showCancelButton:!1,customClass:{confirmButton:"wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn",cancelButton:"wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn",actions:"wpstg--modal--actions",popup:"wpstg-swal-popup centered-modal"},buttonsStyling:!1,reverseButtons:!0},t.swalOptions),{type:t.type})}})).catch((function(t){e.renderError({html:e.wpstgObject.i18n.somethingWentWrong+" "+t})}))},t.getDirectoryNavigator=function(){return this.directoryNavigator},t.getExcludeFilters=function(){return this.excludeFilters},t.getTableSelector=function(){return this.tableSelector},t.getAjaxLoader=function(){return'<div class="wpstg-swal2-ajax-loader"><img src="'+this.wpstgObject.wpstgIcon+'" /></div>'},e}(),x=function(){function e(e){void 0===e&&(e="#wpstg-clonepage-wrapper"),this.baseContainer=r(e),this.checkBoxSettingTogglerSelector=".wpstg-toggle-advance-settings-section",this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;null!==this.baseContainer&&i(this.baseContainer,"change",this.checkBoxSettingTogglerSelector,(function(t){e.toggleSettings(t)}))},t.init=function(){this.addEvents()},t.toggleSettings=function(e){var t=r("#"+e.getAttribute("data-id"));e.checked?a(t):l(t)},e}(),S=function(){function e(){this.activeTabClass="wpstg--tab--active",this.mainMenu()}return e.prototype.mainMenu=function(){var e=this;null!==r(".wpstg--tab--header")&&i(r(".wpstg--tab--header"),"click",".wpstg-button",(function(t){var s=t,n=s.getAttribute("data-target"),r=o(n),i=o(".wpstg--tab--header a[data-target]");o(".wpstg--tab--contents > .wpstg--tab--content").forEach((function(t){t.matches("."+e.activeTabClass+":not("+n+")")&&t.classList.remove(e.activeTabClass)})),i.forEach((function(t){t!==s&&t.classList.remove(e.activeTabClass)})),s.classList.add(e.activeTabClass),r.forEach((function(t){t.classList.add(e.activeTabClass)})),"#wpstg--tab--backup"===n&&window.dispatchEvent(new Event("backups-tab"))}))},e}(),k=function(t){var s,n={isCancelled:!1,isFinished:!1,getLogs:!1,time:1,executionTime:!1,progressBar:0,cloneExcludeFilters:null,directoryNavigator:null,tableSelector:null,notyf:null,areAllTablesChecked:!0,handleDisplayDependencies:c,handleToggleElement:g,handleCopyPaste:d,handleCopyToClipboard:p},r={elements:[]};r.get=function(e){return-1!==t.inArray(e,r.elements)||(r.elements[e]=jQuery(e)),r.elements[e]},r.refresh=function(e){e.elements[e]=jQuery(e)};var o=function(e){r.get("#wpstg-try-again").css("display","inline-block"),r.get("#wpstg-cancel-cloning").text("Reset"),r.get("#wpstg-resume-cloning").show(),r.get("#wpstg-error-wrapper").show(),r.get("#wpstg-error-details").show().html(e),r.get("#wpstg-removing-clone").removeClass("loading"),r.get(".wpstg-loader").hide(),t(".wpstg--modal--process--generic-problem").show().html(e),t.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"wpstg_staging_job_error",accessToken:wpstg.accessToken,nonce:wpstg.nonce,error_message:e}})};n.warnIfClosingDuringProcess=function(e){return e.returnValue="You MUST leave this window open while cloning/pushing. Please wait...",null};var i=function(e,t,s){return t=t?t+"<br/><br/>":"Something went wrong! <br/><br/>",s=s?s+"<br/><br/>":"<br/><br/>Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.",!1===e?(o(t+" Error: No response."+s),void window.removeEventListener("beforeunload",k.warnIfClosingDuringProcess)):void 0!==e.error&&e.error?(console.error(e.message),o(t+" Error: "+e.message+s),void window.removeEventListener("beforeunload",k.warnIfClosingDuringProcess)):void 0},a=function(){r.get("#wpstg-error-details").hide().html("")},l=function(){var e=t("#wpstg_clone_hostname").val();if(""===e)return!0;return!1!==/^http(s)?:\/\/.*$/.test(e)},b=function(){var e=r.get("#wpstg-workflow");e.on("click","#wpstg-cancel-cloning",(function(){if(!confirm("Are you sure you want to cancel cloning process?"))return!1;var e=t(this);t("#wpstg-try-again, #wpstg-home-link").hide(),e.prop("disabled",!0),n.isCancelled=!0,n.progressBar=0,t("#wpstg-processing-status").text("Please wait...this can take up a while."),t(".wpstg-loader, #wpstg-show-log-button").hide(),e.parent().append(s),I()})).on("click","#wpstg-resume-cloning",(function(){a();var e=t(this);t("#wpstg-try-again, #wpstg-home-link").hide(),n.isCancelled=!1,t("#wpstg-processing-status").text("Try to resume cloning process..."),t("#wpstg-error-details").hide(),t(".wpstg-loader").show(),e.parent().append(s),n.startCloning()})).on("click","#wpstg-cancel-cloning-update",(function(){a();var e=t(this);t("#wpstg-try-again, #wpstg-home-link").hide(),e.prop("disabled",!0),n.isCancelled=!0,t("#wpstg-cloning-result").text("Please wait...this can take up a while."),t(".wpstg-loader, #wpstg-show-log-button").hide(),e.parent().append(s),R()})).on("click","#wpstg-restart-cloning",(function(){a();var e=t(this);t("#wpstg-try-again, #wpstg-home-link").hide(),e.prop("disabled",!0),n.isCancelled=!0,t("#wpstg-cloning-result").text("Please wait...this can take up a while."),t(".wpstg-loader, #wpstg-show-log-button").hide(),e.parent().append(s),q()})).on("click",".wpstg-remove-clone[data-clone]",(function(s){a(),s.preventDefault();var n=r.get("#wpstg-existing-clones");e.removeClass("active"),r.get(".wpstg-loader").show(),E({action:"wpstg_confirm_delete_clone",accessToken:wpstg.accessToken,nonce:wpstg.nonce,clone:t(this).data("clone")},(function(e){r.get("#wpstg-removing-clone").html(e),n.children("img").remove(),r.get(".wpstg-loader").hide(),t("html, body").animate({scrollTop:t("#wpstg-remove-clone").offset().top-t(window).height()+t("#wpstg-remove-clone").height()+50},100)}),"HTML")})).on("click","#wpstg-remove-clone",(function(e){a(),e.preventDefault(),r.get("#wpstg-removing-clone").addClass("loading"),r.get(".wpstg-loader").show(),O(t(this).data("clone"))})).on("click","#wpstg-cancel-removing",(function(e){e.preventDefault(),t(".wpstg-clone").removeClass("active"),r.get("#wpstg-removing-clone").html("")})).on("click",".wpstg-execute-clone",(function(s){s.preventDefault();var r=t(this).data("clone");e.addClass("loading"),n.cloneExcludeFilters=null,E({action:"wpstg_scanning",clone:r,accessToken:wpstg.accessToken,nonce:wpstg.nonce},(function(t){t.length<1&&o("Something went wrong! Error: No response. Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.");var s=D(t);if(!1!==s&&!1===s.success)return e.removeClass("loading"),void j(s);e.removeClass("loading").html(t),F(),n.directoryNavigator=new w("#wpstg-directories-listing","#wpstg-workflow",wpstg,n.notyf),n.directoryNavigator.countSelectedFiles(),n.tableSelector=new h("#wpstg-scanning-db","#wpstg-workflow","#wpstg_network_clone","#wpstg_select_tables_cloning",wpstg,n.notyf),n.tableSelector.countSelectedTables(),n.cloneExcludeFilters=new f,n.switchStep(2)}),"HTML")})).on("click",".wpstg-reset-clone",(function(e){e.preventDefault();var s=t(this).data("clone"),r=new y(s);r.setNetworkClone("yes"===t(this).data("network"));var o=r.showModal();n.areAllTablesChecked=!0,o.then((function(e){if(e.value){var t=r.getDirectoryNavigator(),n=r.getTableSelector(),o=r.getExcludeFilters().getExcludeFilters(),i="",a="",l="",c=!1;null!==n&&(i=n.getIncludedTables(),a=n.getExcludedTables(),l=n.getSelectedTablesWithoutPrefix()),i.length>a.length?i="":a.length>i.length&&(a="",c=""===i),A(s,{includedTables:i,excludedTables:a,allTablesExcluded:c,selectedTablesWithoutPrefix:l,excludeSizeRules:encodeURIComponent(o.sizes),excludeGlobRules:encodeURIComponent(o.globs),excludedDirectories:t.getExcludedDirectories(),extraDirectories:t.getExtraDirectoriesRootOnly()})}}))}))},E=function e(s,n,r,i,a,l){void 0===l&&(l=null),void 0===r&&(r="json"),!1!==i&&(i=!0);var c=1e4*(a=void 0===a?0:a);l=parseInt(l),isNaN(l)||(c*=l),t.ajax({url:ajaxurl+"?action=wpstg_processing&_="+Date.now()/1e3,type:"POST",dataType:r,cache:!1,data:s,error:function(t,g,d){if(++a<=5)console.log("RETRYING "+a+"/5"),setTimeout((function(){e(s,n,r,i,a,l)}),c);else{console.log("RETRYING LIMIT");var p=void 0===t.status?"Unknown":t.status;o("Fatal Error: "+p+" Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.")}},success:function(e){"function"==typeof n&&n(e)},statusCode:{404:function(){a>=5&&o("Error 404 - Can't find ajax request URL! Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.")},500:function(){a>=5&&o("Fatal Error 500 - Internal server error while processing the request! Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.")},504:function(){a>5&&o("Error 504 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},502:function(){a>=5&&o("Error 502 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},503:function(){a>=5&&o("Error 503 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},429:function(){a>=5&&o("Error 429 - It looks like your server is rate limiting ajax requests. Please try to resume after a minute. If this still not works try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report and contact us.\n ")},403:function(){a>=5&&o("Refresh page or login again! The process should be finished successfully. \n ")}}})},C=function(){var e=[];return t(".wpstg-db-table input:not(:checked)").each((function(){e.push(this.name)})),e},T=function(e,t){r.get(".wpstg-loader").show(),E({action:"wpstg_database_verification",accessToken:wpstg.accessToken,nonce:wpstg.nonce,databaseUser:r.get("#wpstg_db_username").val(),databasePassword:r.get("#wpstg_db_password").val(),databaseServer:r.get("#wpstg_db_server").val(),databaseDatabase:r.get("#wpstg_db_database").val()},(function(s){if(!1===s)return o("Something went wrong! Error: No response.Please try again. If that does not help, <a href='https://wp-staging.com/support/' target='_blank'>open a support ticket</a> "),void r.get(".wpstg-loader").hide();if(void 0===s.success)return o("Something went wrong! Error: Invalid response.Please try again. If that does not help, <a href='https://wp-staging.com/support/' target='_blank'>open a support ticket</a> "),void r.get(".wpstg-loader").hide();if(s.success)return r.get(".wpstg-loader").hide(),void _(e,t);if("comparison"===s.error_type){r.get(".wpstg-loader").hide();var n='<table class="wpstg-db-comparison-table"><thead><tr><th>Property</th><th>Production DB</th><th>Staging DB</th><th>Status</th></tr></thead><tbody>';return s.checks.forEach((function(e){var t='<span class="wpstg-css-tick"></span>';e.production!==e.staging&&(t='<span class="wpstg-css-cross"></span>'),n+="<tr><td>"+e.name+"</td><td>"+e.production+"</td><td>"+e.staging+"</td><td>"+t+"</td></tr>"})),n+="</tbody></table><p>Note: Some MySQL/MariaDB properties do not match. You may proceed but the staging site may not work as expected.</p>",void v.getSwalModal(!0,{popup:"wpstg-swal-popup wpstg-db-comparison-modal centered-modal"}).fire({title:"Different Database Properties",icon:"warning",html:n,width:"650px",focusConfirm:!1,confirmButtonText:"Proceed",showCancelButton:!0}).then((function(s){s.value&&_(e,t)}))}v.getSwalModal(!0).fire({title:"Different Database Properties",icon:"error",html:s.message,focusConfirm:!0,confirmButtonText:"Ok",showCancelButton:!1}),r.get(".wpstg-loader").hide()}),"json",!1)},_=function(e,s){s.addClass("loading"),n.data={action:e.data("action"),accessToken:wpstg.accessToken,nonce:wpstg.nonce},function(){if("wpstg_cloning"===n.data.action||"wpstg_update"===n.data.action||"wpstg_reset"===n.data.action){if(n.data.cloneID=(new Date).getTime().toString(),"wpstg_update"===n.data.action&&(n.data.cloneID=t("#wpstg-new-clone-id").data("clone")),n.data.cloneName=t("#wpstg-new-clone-id").val()||n.data.cloneID,null!==n.directoryNavigator&&(n.data.excludedDirectories=encodeURIComponent(n.directoryNavigator.getExcludedDirectories()),n.data.extraDirectories=encodeURIComponent(n.directoryNavigator.getExtraDirectoriesRootOnly())),n.data.excludeGlobRules="",n.data.excludeSizeRules="",n.cloneExcludeFilters instanceof f){var e=n.cloneExcludeFilters.getExcludeFilters();n.data.excludeGlobRules=encodeURIComponent(e.globs),n.data.excludeSizeRules=encodeURIComponent(e.sizes)}n.data.includedTables="",n.data.excludedTables="",n.data.allTablesExcluded=!1,null!==n.tableSelector&&(n.data.includedTables=n.tableSelector.getIncludedTables(),n.data.excludedTables=n.tableSelector.getExcludedTables(),n.data.selectedTablesWithoutPrefix=n.tableSelector.getSelectedTablesWithoutPrefix()),n.data.includedTables.length>n.data.excludedTables.length?n.data.includedTables="":n.data.excludedTables.length>n.data.includedTables.length&&(n.data.excludedTables="",n.data.allTablesExcluded=""===n.data.includedTables),n.data.databaseServer=t("#wpstg_db_server").val(),n.data.databaseUser=t("#wpstg_db_username").val(),n.data.databasePassword=t("#wpstg_db_password").val(),n.data.databaseDatabase=t("#wpstg_db_database").val(),n.data.databasePrefix=t("#wpstg_db_prefix").val();var s=t("#wpstg_clone_dir").val();n.data.cloneDir=encodeURIComponent(t.trim(s)),n.data.cloneHostname=t("#wpstg_clone_hostname").val(),n.data.emailsAllowed=t("#wpstg_allow_emails").is(":checked"),n.data.networkClone=t("#wpstg_network_clone").is(":checked"),n.data.uploadsSymlinked=t("#wpstg_symlink_upload").is(":checked"),n.data.cleanPluginsThemes=t("#wpstg-clean-plugins-themes").is(":checked"),n.data.cleanUploadsDir=t("#wpstg-clean-uploads").is(":checked")}}(),P(s)},P=function(e){E(n.data,(function(t){!1===t&&o("Something went wrong!<br/><br/> Go to WP Staging > Settings and lower 'File Copy Limit' and 'DB Query Limit'. Also set 'CPU Load Priority to low 'and try again. If that does not help, <a href='https://wp-staging.com/support/' target='_blank'>open a support ticket</a> "),t.length<1&&o("Something went wrong! No response. Go to WP Staging > Settings and lower 'File Copy Limit' and 'DB Query Limit'. Also set 'CPU Load Priority to low 'and try again. If that does not help, <a href='https://wp-staging.com/support/' target='_blank'>open a support ticket</a> ");var s=D(t);if(!1!==s&&!1===s.success)return e.removeClass("loading"),void j(s);e.removeClass("loading").html(t),n.cloneExcludeFilters=null,"wpstg_scanning"===n.data.action?(n.areAllTablesChecked=!0,n.directoryNavigator=new w("#wpstg-directories-listing","#wpstg-workflow",wpstg,n.notyf),n.tableSelector=new h("#wpstg-scanning-db","#wpstg-workflow","#wpstg_network_clone","#wpstg_select_tables_cloning",wpstg),n.switchStep(2),n.cloneExcludeFilters=new f):"wpstg_cloning"!==n.data.action&&"wpstg_update"!==n.data.action&&"wpstg_reset"!==n.data.action||n.switchStep(3),n.startCloning()}),"HTML")},j=function(e){new m("wpstg_modal_error",wpstg).show(Object.assign({title:"Error",icon:"error",html:wpstg.i18n.somethingWentWrong+(void 0!==e.message?"<br/>"+e.message:""),width:"500px",confirmButtonText:"Ok",showCancelButton:!1,customClass:{confirmButton:"wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn",cancelButton:"wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn",actions:"wpstg--modal--actions",popup:"wpstg-swal-popup centered-modal"},buttonsStyling:!1,reverseButtons:!0},e.swalOptions),{type:e.type})},D=function(e){if(!e)return!1;try{var t=JSON.parse(e);if(t&&"object"==typeof t)return t}catch(e){}return!1},A=function(t,s){n.data={action:"wpstg_reset",accessToken:wpstg.accessToken,nonce:wpstg.nonce,cloneID:t},n.data=e({},n.data,s);var o=r.get("#wpstg-workflow");P(o)},L=function(){var e=r.get("#wpstg-workflow");e.addClass("loading"),E({action:"wpstg_overview",accessToken:wpstg.accessToken,nonce:wpstg.nonce},(function(t){t.length<1&&o("Something went wrong! No response. Please try the <a href='https://wp-staging.com/docs/wp-staging-settings-for-small-servers/' target='_blank'>WP Staging Small Server Settings</a> or submit an error report."),r.get(".wpstg-current-step"),e.removeClass("loading").html(t)}),"HTML"),n.switchStep(1),r.get(".wpstg-step3-cloning").show(),r.get(".wpstg-step3-pushing").hide()},O=function e(s){var n=t("#deleteDirectory:checked").data("deletepath");E({action:"wpstg_delete_clone",clone:s,accessToken:wpstg.accessToken,nonce:wpstg.nonce,excludedTables:C(),deleteDir:n},(function(n){if(n&&(i(n),void 0!==n.delete&&("finished"===n.delete||"unfinished"===n.delete)))return r.get("#wpstg-removing-clone").removeClass("loading").html(""),"finished"===n.delete&&void 0===n.error&&t('.wpstg-clone[data-clone-id="'+s+'"]').remove(),t("#wpstg-existing-clones .wpstg-clone").length<1&&(r.get("#wpstg-existing-clones").find("h3").text(""),r.get("#wpstg-no-staging-site-results").show()),void r.get(".wpstg-loader").hide();!0===n||e(s)}))},I=function e(){if(n.timer("stop"),!0===n.isFinished)return!0;E({action:"wpstg_cancel_clone",clone:n.data.cloneID,accessToken:wpstg.accessToken,nonce:wpstg.nonce},(function(t){if(t&&void 0!==t.delete&&"finished"===t.delete)return r.get(".wpstg-loader").hide(),void L();!0===t?L():e()}))},R=function e(){if(!0===n.isFinished)return!0;E({action:"wpstg_cancel_update",clone:n.data.cloneID,accessToken:wpstg.accessToken,nonce:wpstg.nonce},(function(t){t&&void 0!==t.delete&&"finished"===t.delete||!0===t?L():e()}))},q=function(){if(!0===n.isFinished)return!0;E({action:"wpstg_restart",accessToken:wpstg.accessToken,nonce:wpstg.nonce},(function(e){e&&void 0!==e.delete&&"finished"===e.delete||!0===e?L():R()}))},B=function(e){var s;null!=e&&void 0!==e&&(e.constructor===Array?t.each(e,(function(e,t){null!==t&&("ERROR"===t.type?r.get(".wpstg-log-details").append('<span class="wpstg--red">['+t.type+"]</span>-["+t.date+"] "+t.message+"</br>"):r.get(".wpstg-log-details").append("["+t.type+"]-["+t.date+"] "+t.message+"</br>"))})):r.get(".wpstg-log-details").append("["+e.type+"]-["+e.date+"] "+e.message+"</br>")),void 0!==(s=r.get(".wpstg-log-details"))[0]&&s.scrollTop(s[0].scrollHeight)},F=function(){r.get("#wpstg-check-space").on("click",(function(e){r.get(".wpstg-loader").show();var t=encodeURIComponent(n.directoryNavigator.getExcludedDirectories()),s=encodeURIComponent(n.directoryNavigator.getExtraDirectoriesRootOnly());E({action:"wpstg_check_disk_space",accessToken:wpstg.accessToken,nonce:wpstg.nonce,excludedDirectories:t,extraDirectories:s},(function(e){if(!1===e)return r.get("#wpstg-clone-id-error").text("Can not detect required disk space").show(),void r.get(".wpstg-loader").hide();r.get("#wpstg-clone-id-error").html("Estimated necessary disk space: "+e.requiredSpace+(null!==e.errorMessage?"<br>"+e.errorMessage:"")+'<br> <span style="color:#444;">Before you proceed ensure your account has enough free disk space to hold the entire instance of the production site. You can check the available space from your hosting account (cPanel or similar).</span>').show(),r.get(".wpstg-loader").hide()}),"json",!1)}))};return n.timer=function(e){if("stop"===e){var t=n.time;return n.time=1,clearInterval(n.executionTime),n.convertSeconds(t)}n.executionTime=setInterval((function(){null!==document.getElementById("wpstg-processing-timer")&&(document.getElementById("wpstg-processing-timer").innerHTML="Elapsed Time: "+n.convertSeconds(n.time)),n.time++,"stop"===e&&(n.time=1,clearInterval(n.executionTime))}),1e3)},n.convertSeconds=function(e){var t=new Date(null);return t.setSeconds(e),t.toISOString().substr(11,8)},n.startCloning=function(){if(a(),F(),"wpstg_cloning"===n.data.action||"wpstg_update"===n.data.action||"wpstg_reset"===n.data.action){n.isCancelled=!1,r.get(".wpstg-loader").show(),r.get("#wpstg-cancel-cloning").text("Cancel"),r.get("#wpstg-resume-cloning").hide(),r.get("#wpstg-error-details").hide(),setTimeout((function(){window.addEventListener("beforeunload",k.warnIfClosingDuringProcess),e()}),wpstg.delayReq),n.timer("start");var e=function e(){if(!0===n.isCancelled)return window.removeEventListener("beforeunload",k.warnIfClosingDuringProcess),!1;var o;(o=!0)&&!1!==o?r.get(".wpstg-loader").show():r.get(".wpstg-loader").hide();var a="",l="";null!==n.directoryNavigator&&(a=n.directoryNavigator.getExcludedDirectories(),l=n.directoryNavigator.getExtraDirectoriesRootOnly()),r.get(".wpstg-log-details").show(),k.ajax({action:"wpstg_processing",accessToken:wpstg.accessToken,nonce:wpstg.nonce,excludedTables:C(),excludedDirectories:encodeURIComponent(a),extraDirectories:encodeURIComponent(l)},(function(o){i(o),void 0!==o.last_msg&&o.last_msg&&B(o.last_msg),!1===o.status?(s(o),setTimeout((function(){r.get(".wpstg-loader").show(),e()}),wpstg.delayReq)):!0===o.status&&"finished"!==o.status?(r.get("#wpstg-error-details").hide(),r.get("#wpstg-error-wrapper").hide(),s(o),e()):("finished"===o.status||void 0!==o.job_done&&o.job_done)&&(window.removeEventListener("beforeunload",k.warnIfClosingDuringProcess),function(e){!0===n.getLogs&&B();s(e),void 0!==e.last_msg&&B(e.last_msg);r.get(".wpstg-loader").hide(),r.get("#wpstg-processing-header").html("Processing Complete"),t("#wpstg-processing-status").text("Succesfully finished"),r.get("#wpstg_staging_name").html(n.data.cloneID),r.get("#wpstg-finished-result").show(),r.get("#wpstg-cancel-cloning").hide(),r.get("#wpstg-resume-cloning").hide(),r.get("#wpstg-cancel-cloning-update").prop("disabled",!0);var o=r.get("#wpstg-clone-url-1"),i=r.get("#wpstg-clone-url");o.attr("href",e.url),o.html(e.url),i.attr("href",e.url),r.get("#wpstg-remove-clone").data("clone",n.data.cloneID),n.isFinished=!0,n.timer("stop"),r.get(".wpstg-loader").hide(),r.get("#wpstg-processing-header").html("Processing Complete");var a=wpstg.i18n.cloneResetComplete;"wpstg_update"===n.data.action&&(a=wpstg.i18n.cloneUpdateComplete);"wpstg_update"!==n.data.action&&"wpstg_reset"!==n.data.action||(r.get("#wpstg-cancel-cloning-update").hide(),r.get(".wpstg-prev-step-link").show(),v.getSwalModal(!0,{confirmButton:"wpstg--btn--confirm wpstg-green-button wpstg-button wpstg-link-btn wpstg-100-width"}).fire({title:"",icon:"success",html:a,width:"500px",focusConfirm:!0}))}(o))}),"json",!1)},s=function(e,t){if(void 0===e.percentage)return!1;"database"===e.job&&(r.get("#wpstg-progress-db").width(.2*e.percentage+"%").html(e.percentage+"%"),r.get("#wpstg-processing-status").html(e.percentage.toFixed(0)+"% - Step 1 of 4 Cloning Database Tables...")),"SearchReplace"===e.job&&(r.get("#wpstg-progress-db").css("background-color","#3bc36b"),r.get("#wpstg-progress-db").html("1. Database"),r.get("#wpstg-progress-db").width("20%"),r.get("#wpstg-progress-sr").width(.1*e.percentage+"%").html(e.percentage+"%"),r.get("#wpstg-processing-status").html(e.percentage.toFixed(0)+"% - Step 2 of 4 Preparing Database Data...")),"directories"===e.job&&(r.get("#wpstg-progress-sr").css("background-color","#3bc36b"),r.get("#wpstg-progress-sr").html("2. Data"),r.get("#wpstg-progress-sr").width("10%"),r.get("#wpstg-progress-dirs").width(.1*e.percentage+"%").html(e.percentage+"%"),r.get("#wpstg-processing-status").html(e.percentage.toFixed(0)+"% - Step 3 of 4 Getting files...")),"files"===e.job&&(r.get("#wpstg-progress-dirs").css("background-color","#3bc36b"),r.get("#wpstg-progress-dirs").html("3. Files"),r.get("#wpstg-progress-dirs").width("10%"),r.get("#wpstg-progress-files").width(.6*e.percentage+"%").html(e.percentage+"%"),r.get("#wpstg-processing-status").html(e.percentage.toFixed(0)+"% - Step 4 of 4 Copy files...")),"finish"===e.job&&(r.get("#wpstg-progress-files").css("background-color","#3bc36b"),r.get("#wpstg-progress-files").html("4. Copy Files"),r.get("#wpstg-progress-files").width("60%"),r.get("#wpstg-processing-status").html(e.percentage.toFixed(0)+"% - Cloning Process Finished"))}}},n.switchStep=function(e){r.get(".wpstg-current-step").removeClass("wpstg-current-step"),r.get(".wpstg-step"+e).addClass("wpstg-current-step")},n.init=function(){var e,o,i;L(),o=r.get("#wpstg-workflow"),i=ajaxurl.replace("/admin-ajax.php","")+"/images/spinner",2<window.devicePixelRatio&&(i+="-2x"),s="<img src=''"+(i+=".gif")+"' alt='' class='ajax-spinner general-spinner' />",o.on("click",".wpstg-button-unselect",(function(e){e.preventDefault(),!1===n.areAllTablesChecked?(r.get("#wpstg_select_tables_cloning .wpstg-db-table").prop("selected","selected"),r.get(".wpstg-button-unselect").text("Unselect All"),r.get(".wpstg-db-table-checkboxes").prop("checked",!0),n.areAllTablesChecked=!0):(r.get("#wpstg_select_tables_cloning .wpstg-db-table").prop("selected",!1),r.get(".wpstg-button-unselect").text("Select All"),r.get(".wpstg-db-table-checkboxes").prop("checked",!1),n.areAllTablesChecked=!1)})).on("keyup","#wpstg-new-clone-id",(function(){if(document.getElementById("wpstg-error-details").style.display="none","number"==typeof e&&clearInterval(e),void 0===this.value||""===this.value)return r.get("#wpstg-new-clone-id").removeClass("wpstg-error-input"),r.get("#wpstg-start-cloning").removeAttr("disabled"),void r.get("#wpstg-clone-id-error").text("").hide();var t=v.slugify(this.value);e=setTimeout((function(){E({action:"wpstg_check_clone",accessToken:wpstg.accessToken,nonce:wpstg.nonce,directoryName:t},(function(e){"success"===e.status?(r.get("#wpstg-new-clone-id").removeClass("wpstg-error-input"),r.get("#wpstg-start-cloning").removeAttr("disabled"),r.get("#wpstg-clone-id-error").text("").hide()):(r.get("#wpstg-new-clone-id").addClass("wpstg-error-input"),r.get("#wpstg-start-cloning").prop("disabled",!0),r.get("#wpstg-clone-id-error").text(e.message).show())}))}),500)})).on("click","#wpstg-start-cloning",(function(){a(),n.isCancelled=!1,n.getLogs=!1,n.progressBar=0})).on("input","#wpstg-new-clone-id",(function(){if(!(t("#wpstg-clone-directory").length<1)){var e=v.slugify(this.value).substring(0,16),s=t("#wpstg-use-target-dir"),n=t("#wpstg-use-target-hostname"),r=s.data("base-path"),o=n.data("base-uri");r&&(r=r.replace(/\/+$/g,"")+"/"+e+"/"),o&&(o=o.replace(/\/+$/g,"")+"/"+e),t(".wpstg-use-target-dir--value").text(r),t(".wpstg-use-target-hostname--value").text(o),s.attr("data-path",r),n.attr("data-uri",o),t("#wpstg_clone_dir").attr("placeholder",r),t("#wpstg_clone_hostname").attr("placeholder",o)}})).on("input","#wpstg_clone_hostname",(function(){""===t(this).val()||l()?t("#wpstg_clone_hostname_error").remove():l()||t("#wpstg_clone_hostname_error").length||t("#wpstg-clone-directory tr:last-of-type").after('<tr><td>&nbsp;</td><td><p id="wpstg_clone_hostname_error" style="color: red;">&nbsp;Invalid host name. Please provide it in a format like http://example.com</p></td></tr>')})),b(),function(){var e=r.get("#wpstg-workflow");e.on("click",".wpstg-next-step-link",(function(s){s.preventDefault();var n=t(this);if(t("#wpstg_clone_hostname").length&&!l())return t("#wpstg_clone_hostname").focus(),!1;if("wpstg_update"===n.data("action")||"wpstg_reset"===n.data("action")){var r="";if("wpstg_update"===n.data("action")&&(r=" \n\nExclude all tables and folders you do not want to overwrite, first! \n\nDo not cancel the updating process! This can break your staging site. \n\nCreate a backup of your staging website before you proceed."),!confirm("STOP! This will overwrite your staging site with all selected data from the production site! This should be used only if you want to clone again your production site. Are you sure you want to do this?"+r))return!1}if(n.attr("disabled"))return!1;"wpstg_cloning"===n.data("action")&&t("#wpstg-ext-db").is(":checked")?T(n,e):_(n,e)})).on("click",".wpstg-prev-step-link",(function(e){e.preventDefault(),r.get(".wpstg-loader").removeClass("wpstg-finished"),r.get(".wpstg-loader").hide(),L()}))}(),r.get("#wpstg-workflow").on("click",".wpstg-tab-header",(function(e){e.preventDefault();var s=t(this),n=r.get(s.data("id"));s.toggleClass("expand"),n.slideToggle();var o=s.find(".wpstg-tab-triangle");s.hasClass("expand")?(o.removeClass("wpstg-no-icon"),o.text(""),o.addClass("wpstg-rotate-90")):o.removeClass("wpstg-rotate-90")})),v.listenTooltip(),new S,new u,new x,n.notyf=new Notyf({duration:1e4,position:{x:"center",y:"bottom"},dismissible:!0,types:[{type:"warning",background:"orange",icon:!1}]})},n.ajax=E,n.showError=o,n.getLogs=B,n.loadOverview=L,n}(jQuery);jQuery(document).ready((function(){k.init(),window.WPStaging=k})),jQuery(document).ready((function(e){function t(s,n){void 0===n&&(n="false");var r=s.next(),o=e(".wpstg--tab--active .wpstg-report-email").val(),i=e(".wpstg--tab--active .wpstg-report-hosting-provider").val(),a=e(".wpstg--tab--active .wpstg-report-description").val(),l=e(".wpstg--tab--active .wpstg-report-syslog").is(":checked"),c=e(".wpstg--tab--active .wpstg-report-terms").is(":checked");s.attr("disabled",!0),r.css("visibility","visible"),e.ajax({url:ajaxurl,type:"POST",dataType:"json",async:!0,data:{action:"wpstg_send_report",accessToken:wpstg.accessToken,nonce:wpstg.nonce,wpstg_email:o,wpstg_provider:i,wpstg_message:a,wpstg_syslog:+l,wpstg_terms:+c,wpstg_force_send:n}}).done((function(n){if(s.attr("disabled",!1),r.css("visibility","hidden"),n.errors.length>0){e(".wpstg--tab--active .wpstg-report-issue-form .wpstg-message").remove();var o=e("<div />").addClass("wpstg-message wpstg-error-message");e.each(n.errors,(function(e,n){"already_submitted"===n.status?(o="",v.getSwalModal(!0,{container:"wpstg-issue-resubmit-confirmation"}).fire({title:"",icon:"warning",html:n.message,showCancelButton:!0,focusConfirm:!1,confirmButtonText:"Yes",cancelButtonText:"No"}).then((function(e){e.isConfirmed&&t(s,"true")}))):o.append("<p>"+n+"</p>")})),e(".wpstg--tab--active .wpstg-report-issue-form").prepend(o)}else{var i=e("<div />").addClass("wpstg-message wpstg-success-message");i.append("<p>Thanks for submitting your request! You should receive an auto reply mail with your ticket ID immediately for confirmation!<br><br>If you do not get that mail please contact us directly at <strong>support@wp-staging.com</strong></p>"),e(".wpstg--tab--active .wpstg-report-issue-form").html(i),e(".wpstg--tab--active .wpstg-success-message").append('<div style="float:right;margin-top:10px;"><a id="wpstg-success-button" href="#" class="wpstg--red">[X] CLOSE</a></div>'),setTimeout((function(){e(".wpstg--tab--active .wpstg-report-issue-form").removeClass("wpstg-report-active")}),2e3)}}))}e("body").on("click","#wpstg-report-issue-button",(function(t){console.log("REPORT"),e(".wpstg--tab--active .wpstg-report-issue-form").toggleClass("wpstg-report-show"),t.preventDefault()})),e("body").on("click","#wpstg-backups-report-issue-button",(function(t){e(".wpstg--tab--active .wpstg-report-issue-form").toggleClass("wpstg-report-show"),t.preventDefault()})),e("body").on("click","#wpstg-report-cancel",(function(t){e(".wpstg--tab--active .wpstg-report-issue-form").removeClass("wpstg-report-show"),t.preventDefault()})),e("body").on("click",".wpstg--tab--active #wpstg-report-submit",(function(s){t(e(this),"false"),s.preventDefault()})),e("body").on("click","#wpstg-success-button",(function(t){t.preventDefault(),e(".wpstg-report-issue-form").removeClass("wpstg-report-show")})),e(document).on("click",".wpstg-dropdown>.wpstg-dropdown-toggler",(function(t){t.preventDefault(),e(t.target).next(".wpstg-dropdown-menu").toggleClass("shown"),e(t.target).find(".wpstg-caret").toggleClass("wpstg-caret-up")})),e(document).on("click",".wpstg-caret",(function(t){t.preventDefault();var s=e(t.target).closest(".wpstg-dropdown-toggler");s&&s.trigger("click")})),document.addEventListener("click",(function(t){if(!t.target.closest(".wpstg-dropdown-toggler")){for(var s=document.getElementsByClassName("wpstg-dropdown-menu"),n=0;n<s.length;n++)s[n].classList.remove("shown");e(".wpstg-caret").removeClass("wpstg-caret-up")}})),window.addEventListener("finishedProcessWithError",(function(t){e.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"wpstg_job_error",accessToken:wpstg.accessToken,nonce:wpstg.nonce,error_message:t.detail.error,job_id:v.getJobId()}})}))}))}();
1
+ !function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(this,arguments)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=new Array(t);s<t;s++)n[s]=e[s];return n}function s(e,s){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,s){if(e){if("string"==typeof e)return t(e,s);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,s):void 0}}(e))||s&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var n=(Element.prototype.closest&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),function(e,t){return e instanceof Element?e.closest(t):null});function o(e){return document.querySelector(e)}function r(e){return document.querySelectorAll(e)}function i(e,t,s,n){!e instanceof Element||e.addEventListener(t,(function(e){e.target.matches(s+", "+s+" *")&&n(e.target.closest(s),e)}),!1)}function a(e,t){void 0===t&&(t=400),e.style.display="block",e.style.overflow="hidden";var s=e.offsetHeight;e.style.height="0px",e.style.transitionProperty="height",e.style.transitionDuration=t+"ms",setTimeout((function(){e.style.height=s+"px",window.setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)}),0)}function l(e,t){void 0===t&&(t=400),e.style.display="block",e.style.overflow="hidden";var s=e.offsetHeight;e.style.height=s+"px",e.style.transitionProperty="height",e.style.transitionDuration=t+"ms",setTimeout((function(){e.style.height="0px",window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)}),0)}function c(e){if(!(!e instanceof Element)&&e.id){var t="hidden";switch(e.getAttribute("type")){case"checkbox":var o=n(e,".wpstg-container");if(null===o)return;var r=o.querySelectorAll('[data-show-if-checked="'+e.id+'"]'),i=o.querySelectorAll('[data-show-if-unchecked="'+e.id+'"]'),a=e.checked;if(r.length)for(var l,c=s(r);!(l=c()).done;){var g=l.value;a?g.classList.remove(t):g.classList.add(t)}if(i.length)for(var d,u=s(i);!(d=u()).done;){var p=d.value;a?p.classList.add(t):p.classList.remove(t)}return;default:return}}}function g(e){if(!(!e instanceof Element)&&e.getAttribute("data-wpstg-target")){var t=n(e,".wpstg_admin");if(null!==t){var o=t.querySelectorAll(e.getAttribute("data-wpstg-target"));if(o.length)for(var r,i=s(o);!(r=i()).done;){r.value.classList.toggle("hidden")}}}}function d(e){if(!(!e instanceof Element)&&e.getAttribute("data-wpstg-target")&&e.getAttribute("data-wpstg-copy")){var t=n(e,".wpstg_admin");if(null!==t){navigator.clipboard.writeText(e.getAttribute("data-wpstg-copy"));var o=t.querySelectorAll(e.getAttribute("data-wpstg-target"));if(o.length)for(var r,i=s(o);!(r=i()).done;){r.value.value=e.getAttribute("data-wpstg-copy","")}}}}function u(e){if(!(!e instanceof Element)&&e.getAttribute("data-wpstg-source")){var t=n(e,".wpstg_admin");if(null!==t){var s=t.querySelector(e.getAttribute("data-wpstg-source"));s&&navigator.clipboard.writeText(s.value)}}}var p=function(){function e(e,t){void 0===e&&(e="#wpstg-clonepage-wrapper"),void 0===t&&(t=wpstg),this.pageWrapper=o(e),this.wpstgObject=t,this.enableButtonId="#wpstg-enable-staging-cloning",this.enableAction="wpstg_enable_staging_cloning",this.notyf=new Notyf({duration:1e4,position:{x:"center",y:"bottom"},dismissible:!0,types:[{type:"warning",background:"orange",icon:!1}]}),this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;null!==this.pageWrapper&&i(this.pageWrapper,"click",this.enableButtonId,(function(){e.sendRequest(e.enableAction)}))},t.init=function(){this.addEvents()},t.sendRequest=function(e){var t=this;fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams({action:e,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(e){void 0!==e.success&&e.success?location.reload():void 0===e.message?t.notyf.error(t.wpstgObject.i18n.somethingWentWrong):t.notyf.error(e.message)})).catch((function(e){console.warn(t.wpstgObject.i18n.somethingWentWrong,e)}))},e}(),w=function(){function e(e,t,s,n){void 0===e&&(e="#wpstg-directories-listing"),void 0===t&&(t="#wpstg-workflow"),void 0===s&&(s=wpstg),void 0===n&&(n=null),this.directoryListingContainer=o(e),this.workflow=o(t),this.wpstgObject=s,this.dirCheckboxSelector=".wpstg-check-dir",this.dirExpandSelector=".wpstg-expand-dirs",this.unselectAllDirsSelector=".wpstg-unselect-dirs",this.selectDefaultDirsSelector=".wpstg-select-dirs-default",this.fetchChildrenAction="wpstg_fetch_dir_childrens",this.currentCheckboxElement=null,this.currentParentDiv=null,this.currentLoader=null,this.existingExcludes=[],this.excludedDirectories=[],this.isDefaultSelected=!1,this.notyf=n,this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;null!==this.directoryListingContainer?(i(this.directoryListingContainer,"change",this.dirCheckboxSelector,(function(e,t){t.preventDefault()})),i(this.directoryListingContainer,"click",this.dirExpandSelector,(function(t,s){s.preventDefault(),e.toggleDirExpand(t)&&e.sendRequest(e.fetchChildrenAction,t)})),i(this.directoryListingContainer,"click",this.unselectAllDirsSelector,(function(){e.unselectAll()})),i(this.directoryListingContainer,"click",this.selectDefaultDirsSelector,(function(){e.selectDefault()})),i(this.directoryListingContainer,"click",".wpstg-expand-dirs",(function(t,s){s.preventDefault(),e.toggleDirectoryNavigation(t)})),i(this.directoryListingContainer,"change","input.wpstg-check-dir",(function(t){e.updateDirectorySelection(t)}))):console.log("Error: directory navigation add events")},t.init=function(){this.addEvents(),this.parseExcludes()},t.toggleDirExpand=function(e){return this.currentParentDiv=e.parentElement,this.currentCheckboxElement=e.previousSibling,this.currentLoader=this.currentParentDiv.querySelector(".wpstg-is-dir-loading"),"false"!==this.currentCheckboxElement.getAttribute("data-navigateable","false")&&"false"===this.currentCheckboxElement.getAttribute("data-scanned","false")},t.sendRequest=function(e){var t=this;null!==this.currentLoader&&(this.currentLoader.style.display="inline-block");var s=this.currentCheckboxElement.getAttribute("data-changed");fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams({action:e,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce,dirPath:this.currentCheckboxElement.value,isChecked:this.currentCheckboxElement.checked,forceDefault:"true"===s}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(e){if(void 0!==e.success&&e.success){t.currentCheckboxElement.setAttribute("data-scanned",!0);var s=document.createElement("div");return s.classList.add("wpstg-dir"),s.classList.add("wpstg-subdir"),s.innerHTML=JSON.parse(e.directoryListing),t.currentParentDiv.appendChild(s),null!==t.currentLoader&&(t.currentLoader.style.display="none"),void a(s)}null!==t.notyf?t.notyf.error(t.wpstgObject.i18n.somethingWentWrong):alert("Error: "+t.wpstgObject.i18n.somethingWentWrong)})).catch((function(e){console.warn(t.wpstgObject.i18n.somethingWentWrong,e)}))},t.getExcludedDirectories=function(){var e=this;return this.excludedDirectories=[],this.directoryListingContainer.querySelectorAll(".wpstg-dir input:not(:checked)").forEach((function(t){e.isParentExcluded(t.value)||e.excludedDirectories.push(t.value)})),this.existingExcludes.forEach((function(t){e.isParentExcluded(t)||e.isScanned(t)||e.excludedDirectories.push(t)})),this.excludedDirectories.join(this.wpstgObject.settings.directorySeparator)},t.isParentExcluded=function(e){var t=!1;return this.excludedDirectories.forEach((function(s){e.startsWith(s+"/")&&(t=!0)})),t},t.getExtraDirectoriesRootOnly=function(){this.getExcludedDirectories();var e=[];this.directoryListingContainer.querySelectorAll(":not(.wpstg-subdir)>.wpstg-dir>input.wpstg-wp-non-core-dir:checked").forEach((function(t){e.push(t.value)}));var t=o("#wpstg_extraDirectories");if(null===t||""===t.value)return e.join(this.wpstgObject.settings.directorySeparator);var s=t.value.split(/\r?\n/);return e.concat(s).join(this.wpstgObject.settings.directorySeparator)},t.unselectAll=function(){this.directoryListingContainer.querySelectorAll(".wpstg-dir input").forEach((function(e){e.checked=!1})),this.countSelectedFiles()},t.selectDefault=function(){this.unselectAll(),this.directoryListingContainer.querySelectorAll(".wpstg-dir input.wpstg-wp-core-dir").forEach((function(e){e.checked=!0})),this.directoryListingContainer.querySelectorAll(".wpstg-dir > .wpstg-wp-non-core-dir").forEach((function(e){e.parentElement.querySelectorAll("input.wpstg-wp-core-dir").forEach((function(e){e.checked=!1}))})),this.isDefaultSelected=!0,this.countSelectedFiles()},t.parseExcludes=function(){if(this.existingExcludes=this.directoryListingContainer.getAttribute("data-existing-excludes",[]),""!==this.existingExcludes)if(0!==this.existingExcludes.length){var e=this.existingExcludes.split(",");this.existingExcludes=e.map((function(e){return"/"===e.substr(0,1)?e.slice(1):e}))}else this.existingExcludes=[];else this.existingExcludes=[]},t.isScanned=function(e){var t=!1;return this.directoryListingContainer.querySelectorAll(".wpstg-dir>input").forEach((function(s){s.value==e&&(t=!0)})),t},t.toggleDirectoryNavigation=function(e){var t=e.previousSibling;if("false"!==t.getAttribute("data-navigateable","false")&&"false"!==t.getAttribute("data-scanned","false")){var s=function(e,t){for(var s=e.nextElementSibling;s;){if(s.matches(t))return s;s=s.nextElementSibling}}(e,".wpstg-subdir");"none"===s.style.display?a(s):l(s)}},t.updateDirectorySelection=function(e){var t=e.parentElement;e.setAttribute("data-changed","true"),e.checked?(function(e,t){for(var s=[],n=e&&e.parentElement;n;n=n.parentElement)n.matches(t)&&s.push(n);return s}(t,".wpstg-dir").forEach((function(e){for(var t=0;t<e.children.length;t++)e.children[t].matches(".wpstg-check-dir")&&(e.children[t].checked=!0)})),t.querySelectorAll(".wpstg-expand-dirs").forEach((function(e){e.classList.remove("disabled")})),t.querySelectorAll(".wpstg-subdir .wpstg-check-dir").forEach((function(e){e.checked=!0}))):(t.querySelectorAll(".wpstg-expand-dirs, .wpstg-check-subdirs").forEach((function(e){e.classList.add("disabled")})),t.querySelectorAll(".wpstg-dir .wpstg-check-dir").forEach((function(e){e.checked=!1}))),this.countSelectedFiles()},t.countSelectedFiles=function(){var e=this.directoryListingContainer.querySelectorAll('[data-content-type="theme"]:checked').length,t=this.directoryListingContainer.querySelectorAll('[data-content-type="plugin"]:checked').length,s=o("#wpstg-files-count");0===e&&0===t?(s.classList.add("danger"),s.innerHTML=this.wpstgObject.i18n.noFileSelected):(s.classList.remove("danger"),s.innerHTML=this.wpstgObject.i18n.filesSelected.replace("{t}",e).replace("{p}",t))},e}(),h=function(){function e(e,t,s,n,r){void 0===e&&(e="#wpstg-scanning-db"),void 0===t&&(t="#wpstg-workflow"),void 0===s&&(s="#wpstg_network_clone"),void 0===n&&(n="#wpstg_select_tables_cloning"),void 0===r&&(r=wpstg),this.databaseTableSection=o(e),this.workflow=o(t),this.networkCloneSelector=s,this.networkCloneCheckbox=o(s),this.wpstgObject=r,this.isAllTablesChecked=!0,this.isMultisite="1"===this.wpstgObject.isMultisite,this.isNetworkClone=!1,this.inputSelector=n,this.input=o(this.inputSelector),this.init()}var t=e.prototype;return t.setNetworkClone=function(e){this.isNetworkClone=e},t.addEvents=function(){var e=this;null!==this.workflow?(i(this.workflow,"change",this.networkCloneSelector,(function(){e.selectDefaultTables()})),i(this.workflow,"change",this.inputSelector,(function(){e.countSelectedTables()})),i(this.workflow,"click",".wpstg-button-select",(function(t,s){s.preventDefault(),e.selectDefaultTables()})),i(this.workflow,"click",".wpstg-button-unselect",(function(t,s){s.preventDefault(),e.toggleTableSelection()}))):console.log("Error: database table section is null. Cannot register events")},t.init=function(){this.addEvents()},t.getRegexPattern=function(){var e="^"+this.wpstgObject.tblprefix,t=!1;return void 0!==this.networkCloneCheckbox&&null!==this.networkCloneCheckbox&&(t=this.networkCloneCheckbox.checked),this.isNetworkClone&&(t=!0),this.isMultisite&&!t&&(e+="([^0-9])_*"),e},t.selectDefaultTables=function(){var e=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning .wpstg-db-table"),t=this.getRegexPattern();e.forEach((function(e){e.getAttribute("name","").match(t)?e.selected=!0:e.selected=!1})),this.countSelectedTables()},t.toggleTableSelection=function(){!1===this.isAllTablesChecked?(this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning .wpstg-db-table").forEach((function(e){e.selected=!0})),this.databaseTableSection.querySelector(".wpstg-button-unselect").innerHTML="Unselect All",this.isAllTablesChecked=!0):(this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning .wpstg-db-table").forEach((function(e){e.selected=!1})),this.databaseTableSection.querySelector(".wpstg-button-unselect").innerHTML="Select All",this.isAllTablesChecked=!1),this.countSelectedTables()},t.getSelectedTablesWithoutPrefix=function(){var e=[],t=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning option:checked"),s=this.getRegexPattern();return t.forEach((function(t){t.getAttribute("name","").match(s)||e.push(t.value)})),e.join(this.wpstgObject.settings.directorySeparator)},t.getIncludedTables=function(){var e=[],t=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning option:checked"),s=this.getRegexPattern();return t.forEach((function(t){t.getAttribute("name","").match(s)&&e.push(t.value)})),e.join(this.wpstgObject.settings.directorySeparator)},t.getExcludedTables=function(){var e=[],t=this.databaseTableSection.querySelectorAll("#wpstg_select_tables_cloning option:not(:checked)"),s=this.getRegexPattern();return t.forEach((function(t){t.getAttribute("name","").match(s)&&e.push(t.value)})),e.join(this.wpstgObject.settings.directorySeparator)},t.countSelectedTables=function(){var e=this.input.querySelectorAll("option:checked").length,t=o("#wpstg-tables-count");0===e?(t.classList.add("danger"),t.innerHTML=this.wpstgObject.i18n.noTableSelected):(t.classList.remove("danger"),t.innerHTML=this.wpstgObject.i18n.tablesSelected.replace("{d}",e))},e}(),f=function(){function e(e,t){void 0===e&&(e="#wpstg-exclude-filters-container"),void 0===t&&(t=wpstg),this.excludeContainer=o(e),this.excludeTableBody=o(e+" tbody"),this.wpstgObject=t,this.init()}var t=e.prototype;return t.addEvents=function(){var e=this;i(this.excludeContainer,"click",".wpstg-file-size-rule",(function(){e.addFileSizeExclude()})),i(this.excludeContainer,"click",".wpstg-file-ext-rule",(function(){e.addFileExtExclude()})),i(this.excludeContainer,"click",".wpstg-file-name-rule",(function(){e.addFileNameExclude()})),i(this.excludeContainer,"click",".wpstg-dir-name-rule",(function(){e.addDirNameExclude()})),i(this.excludeContainer,"click",".wpstg-clear-all-rules",(function(){e.clearExcludes()})),i(this.excludeContainer,"click",".wpstg-remove-exclude-rule",(function(t){e.removeExclude(t)}))},t.init=function(){null!==this.excludeContainer?this.addEvents():console.log("Error: Given table selector not found!")},t.addFileSizeExclude=function(){this.addExcludeRuleRow("#wpstg-file-size-exclude-filter-template")},t.addFileExtExclude=function(){this.addExcludeRuleRow("#wpstg-file-ext-exclude-filter-template")},t.addFileNameExclude=function(){this.addExcludeRuleRow("#wpstg-file-name-exclude-filter-template")},t.addDirNameExclude=function(){this.addExcludeRuleRow("#wpstg-dir-name-exclude-filter-template")},t.addExcludeRuleRow=function(e){var t=o(e);if(null!==t){var s=t.content.cloneNode(!0).querySelector("tr");this.excludeTableBody.appendChild(s),r(".wpstg-has-exclude-rules").forEach((function(e){e.style.display="inherit"}))}},t.clearExcludes=function(){this.excludeTableBody.innerHTML="",r(".wpstg-has-exclude-rules").forEach((function(e){e.style.display="none"}))},t.removeExclude=function(e){null!==e.parentElement&&null!==e.parentElement.parentElement&&this.excludeTableBody.removeChild(e.parentElement.parentElement),""===this.excludeTableBody.innerHTML.trim()&&r(".wpstg-has-exclude-rules").forEach((function(e){e.style.display="none"}))},t.getExcludeFilters=function(){for(var e=this,t=[],s=[],n=this.excludeTableBody.querySelectorAll('select[name="wpstgFileSizeExcludeRuleCompare[]"]'),o=this.excludeTableBody.querySelectorAll('input[name="wpstgFileSizeExcludeRuleSize[]"]'),r=this.excludeTableBody.querySelectorAll('select[name="wpstgFileSizeExcludeRuleByte[]"]'),i=0,a=Object.entries(o);i<a.length;i++){var l=a[i],c=l[0],g=l[1];""!==g.value&&s.push(n[c].value+" "+g.value+r[c].value)}this.excludeTableBody.querySelectorAll('input[name="wpstgFileExtExcludeRule[]"]').forEach((function(s){var n=e.cleanStringForGlob(s.value);""!==n&&t.push("ext:"+n.trim())}));for(var d=this.excludeTableBody.querySelectorAll('select[name="wpstgFileNameExcludeRulePos[]"]'),u=this.excludeTableBody.querySelectorAll('input[name="wpstgFileNameExcludeRulePath[]"]'),p=0,w=Object.entries(u);p<w.length;p++){var h=w[p],f=h[0],m=h[1],b="";""!==(b="name_exact_matches"===d[f].value?this.cleanStringForGlobExactMatches(m.value):this.cleanStringForGlob(m.value))&&t.push("file:"+d[f].value+" "+b.trim())}for(var v=this.excludeTableBody.querySelectorAll('select[name="wpstgDirNameExcludeRulePos[]"]'),y=this.excludeTableBody.querySelectorAll('input[name="wpstgDirNameExcludeRulePath[]"]'),x=0,k=Object.entries(y);x<k.length;x++){var S=k[x],E=S[0],C=S[1],T=this.cleanStringForGlob(C.value);""!==T&&t.push("dir:"+v[E].value+" "+T.trim())}return{sizes:s.filter(this.onlyUnique).join(","),globs:t.filter(this.onlyUnique).join(",")}},t.onlyUnique=function(e,t,s){return s.indexOf(e)===t},t.cleanStringForGlob=function(e){return e.replace(/[*^//!\.[?]/g,"")},t.cleanStringForGlobExactMatches=function(e){return e.replace(/[*^//!\\[?]/g,"")},e}(),m=function(){function e(e,t){void 0===t&&(t=wpstg),this.confirmAction=e,this.wpstgObject=t}var t=e.prototype;return t.show=function(e,t,s){var n=this;void 0===t&&(t={}),void 0===s&&(s=null),wpstgSwal.fire(e).then((function(e){e.value&&null!==n.error&&n.triggerConfirmAction(t,s)}))},t.triggerConfirmAction=function(e,t){var s=this;void 0===e&&(e={}),void 0===t&&(t=null),fetch(this.wpstgObject.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams(Object.assign({action:this.confirmAction,accessToken:this.wpstgObject.accessToken,nonce:this.wpstgObject.nonce},e)),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.ok?e.json():Promise.reject(e)})).then((function(e){null!==t&&t(e)})).catch((function(e){console.log(s.wpstgObject.i18n.somethingWentWrong,e)}))},e}();function b(e,t,s,n){var o,r,i,a,l=!1,c=!1,g={},d=0,u=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function w(e){o=e.clientX,r=e.clientY}function h(e,t){if(u&&(u=clearTimeout(u)),Math.abs(i-o)+Math.abs(a-r)<p.sensitivity)return d=1,c?void 0:s(e,t);i=o,a=r,u=setTimeout((function(){h(e,t)}),p.interval)}function f(e,t){return l=!0,u&&(u=clearTimeout(u)),e.removeEventListener("mousemove",w,!1),1!==d&&(i=t.clientX,a=t.clientY,e.addEventListener("mousemove",w,!1),u=setTimeout((function(){h(e,t)}),p.interval)),this}function m(e){e.target.matches(t+", "+t+" *")&&f(e.target.closest(t),e)}function b(e,t){return l=!1,u&&(u=clearTimeout(u)),e.removeEventListener("mousemove",w,!1),1===d&&(u=setTimeout((function(){!function(e,t){u&&(u=clearTimeout(u)),d=0,c||n(e,t)}(e,t)}),p.timeout)),this}function v(e){e.target.matches(t+", "+t+" *")&&b(e.target.closest(t),e)}function y(e){var n,o;e.target.matches(t+", "+t+" *")&&(n=e.target.closest(t),o=e,l||(c=!0,s(n,o)))}function x(e){var s,o;e.target.matches(t+", "+t+" *")&&(s=e.target.closest(t),o=e,!l&&c&&(c=!1,n(s,o)))}function k(){e.removeEventListener("focus",y,!1),e.removeEventListener("blur",x,!1)}return g.options=function(t){var s=t.handleFocus!==p.handleFocus;return p=Object.assign({},p,t),s&&(p.handleFocus?(e.addEventListener("focus",y,!1),e.addEventListener("blur",x,!1)):k()),g},g.remove=function(){e&&(e.removeEventListener("mouseover",m,!1),e.removeEventListener("mouseout",v,!1),k())},e&&(e.addEventListener("mouseover",m,!1),e.addEventListener("mouseout",v,!1)),g}var v=function(e){var t={continueErrorHandle:!0,cache:{elements:[],get:function(t){return-1!==e.inArray(t,this.elements)||(this.elements[t]=e(t)),this.elements[t]},refresh:function(t){t.elements[t]=e(t)}},setJobId:function(e){localStorage.setItem("jobIdBeingProcessed",e)},getJobId:function(){return localStorage.getItem("jobIdBeingProcessed")},listenTooltip:function(){b(document,".wpstg--tooltip",(function(e,t){e.querySelector(".wpstg--tooltiptext").style.visibility="visible"}),(function(e,t){e.querySelector(".wpstg--tooltiptext").style.visibility="hidden"}))},isEmpty:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},getSwalModal:function(e,t){void 0===e&&(e=!1),void 0===t&&(t={});var s={confirmButton:"wpstg--btn--confirm wpstg-blue-primary wpstg-button wpstg-link-btn wpstg-100-width",cancelButton:"wpstg--btn--cancel wpstg-blue-primary wpstg-link-btn wpstg-100-width",actions:"wpstg--modal--actions",popup:e?"wpstg-swal-popup centered-modal":"wpstg-swal-popup"},n={customClass:Object.assign(s,t),buttonsStyling:!1,reverseButtons:!0,showClass:{popup:"wpstg--swal2-show wpstg-swal-show"}};return wpst