All-in-One WP Migration - Version 6.69

Version Description

Added

  • Support for RTL languages
  • Disable My Custom Widgets, WPS Hide Login and Endurance Page Cache plugins after restoring a backup

Changed

  • Text on import steps
Download this release

Release Info

Developer bangelov
Plugin Icon 128x128 All-in-One WP Migration
Version 6.69
Comparing to
See all releases

Code changes from version 6.68 to 6.69

Files changed (91) hide show
  1. all-in-one-wp-migration.php +1 -6
  2. constants.php +31 -1
  3. exceptions.php +2 -0
  4. functions.php +79 -1
  5. lib/controller/class-ai1wm-export-controller.php +1 -5
  6. lib/controller/class-ai1wm-import-controller.php +1 -5
  7. lib/controller/class-ai1wm-main-controller.php +180 -106
  8. lib/model/class-ai1wm-deprecated.php +0 -2
  9. lib/model/class-ai1wm-extensions.php +11 -11
  10. lib/model/class-ai1wm-feedback.php +3 -2
  11. lib/model/class-ai1wm-report.php +3 -2
  12. lib/model/export/class-ai1wm-export-config-file.php +115 -0
  13. lib/model/export/class-ai1wm-export-config.php +4 -10
  14. lib/model/export/class-ai1wm-export-content.php +44 -10
  15. lib/model/export/class-ai1wm-export-database-file.php +24 -5
  16. lib/model/export/class-ai1wm-export-download.php +1 -1
  17. lib/model/export/class-ai1wm-export-enumerate.php +14 -14
  18. lib/model/import/class-ai1wm-import-confirm.php +1 -0
  19. lib/model/import/class-ai1wm-import-content.php +43 -31
  20. lib/model/import/class-ai1wm-import-database.php +178 -92
  21. lib/model/import/class-ai1wm-import-done.php +6 -0
  22. lib/model/import/class-ai1wm-import-mu-plugins.php +7 -1
  23. lib/model/import/class-ai1wm-import-validate.php +28 -18
  24. lib/vendor/servmask/archiver/class-ai1wm-archiver.php +22 -7
  25. lib/vendor/servmask/archiver/class-ai1wm-extractor.php +19 -10
  26. lib/vendor/servmask/command/class-ai1wm-wp-cli-command.php +1 -1
  27. lib/vendor/servmask/cron/class-ai1wm-cron.php +13 -13
  28. lib/vendor/servmask/database/class-ai1wm-database.php +2 -14
  29. lib/view/assets/css/backups.min.css +1 -1
  30. lib/view/assets/css/backups.min.rtl.css +1 -0
  31. lib/view/assets/css/common.min.css +1 -0
  32. lib/view/assets/css/export.min.css +1 -1
  33. lib/view/assets/css/export.min.rtl.css +1 -0
  34. lib/view/assets/css/import.min.css +1 -1
  35. lib/view/assets/css/import.min.rtl.css +1 -0
  36. lib/view/assets/css/servmask.min.css +1 -0
  37. lib/view/assets/css/servmask.min.rtl.css +1 -0
  38. lib/view/assets/css/updater.min.css +1 -1
  39. lib/view/assets/css/updater.min.rtl.css +1 -0
  40. lib/view/assets/javascript/backups.min.js +213 -269
  41. lib/view/assets/javascript/export.min.js +185 -446
  42. lib/view/assets/javascript/feedback.min.js +268 -0
  43. lib/view/assets/javascript/import.min.js +487 -727
  44. lib/view/assets/javascript/report.min.js +235 -0
  45. lib/view/assets/javascript/updater.min.js +25 -11
  46. lib/view/assets/javascript/util.min.js +215 -0
  47. lib/view/backups/index.php +11 -8
  48. lib/view/common/http-authentication.php +23 -1
  49. lib/view/common/leave-feedback.php +27 -2
  50. lib/view/common/maintenance-mode.php +23 -1
  51. lib/view/common/report-problem.php +29 -3
  52. lib/view/common/share-buttons.php +26 -0
  53. lib/view/export/advanced-settings.php +29 -5
  54. lib/view/export/button-box.php +27 -1
  55. lib/view/export/button-digitalocean.php +27 -1
  56. lib/view/export/button-dropbox.php +27 -1
  57. lib/view/export/button-file.php +26 -0
  58. lib/view/export/button-ftp.php +27 -1
  59. lib/view/export/button-gdrive.php +27 -1
  60. lib/view/export/button-mega.php +27 -1
  61. lib/view/export/button-onedrive.php +27 -1
  62. lib/view/export/button-s3.php +27 -1
  63. lib/view/export/export-buttons.php +26 -0
  64. lib/view/export/find-replace.php +28 -1
  65. lib/view/export/help-section.php +26 -0
  66. lib/view/export/index.php +4 -1
  67. lib/view/import/button-box.php +27 -1
  68. lib/view/import/button-digitalocean.php +27 -1
  69. lib/view/import/button-dropbox.php +27 -1
  70. lib/view/import/button-file.php +26 -0
  71. lib/view/import/button-ftp.php +27 -1
  72. lib/view/import/button-gdrive.php +27 -1
  73. lib/view/import/button-mega.php +27 -1
  74. lib/view/import/button-onedrive.php +27 -1
  75. lib/view/import/button-s3.php +27 -1
  76. lib/view/import/button-url.php +27 -1
  77. lib/view/import/import-buttons.php +26 -0
  78. lib/view/import/index.php +4 -1
  79. lib/view/main/admin-head.php +31 -5
  80. lib/view/main/backups-htaccess-notice.php +26 -0
  81. lib/view/main/backups-index-notice.php +26 -0
  82. lib/view/main/backups-path-notice.php +26 -0
  83. lib/view/main/backups-webconfig-notice.php +26 -0
  84. lib/view/main/get-support.php +26 -0
  85. lib/view/main/multisite-notice.php +26 -0
  86. lib/view/main/storage-index-notice.php +26 -0
  87. lib/view/main/storage-path-notice.php +26 -0
  88. lib/view/updater/check.php +27 -1
  89. lib/view/updater/modal.php +31 -5
  90. loader.php +5 -1
  91. readme.txt +12 -1
all-in-one-wp-migration.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
  * Author: ServMask
7
  * Author URI: https://servmask.com/
8
- * Version: 6.68
9
  * Text Domain: all-in-one-wp-migration
10
  * Domain Path: /languages
11
  * Network: True
@@ -33,11 +33,6 @@
33
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
34
  */
35
 
36
- @ignore_user_abort( true );
37
- @set_time_limit( 0 );
38
- @ini_set( 'max_input_time', '-1' );
39
- @ini_set( 'pcre.backtrack_limit', PHP_INT_MAX );
40
-
41
  // Check SSL Mode
42
  if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && ( $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) ) {
43
  $_SERVER['HTTPS'] = 'on';
5
  * Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
  * Author: ServMask
7
  * Author URI: https://servmask.com/
8
+ * Version: 6.69
9
  * Text Domain: all-in-one-wp-migration
10
  * Domain Path: /languages
11
  * Network: True
33
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
34
  */
35
 
 
 
 
 
 
36
  // Check SSL Mode
37
  if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && ( $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) ) {
38
  $_SERVER['HTTPS'] = 'on';
constants.php CHANGED
@@ -31,7 +31,7 @@ define( 'AI1WM_DEBUG', false );
31
  // ==================
32
  // = Plugin Version =
33
  // ==================
34
- define( 'AI1WM_VERSION', '6.68' );
35
 
36
  // ===============
37
  // = Plugin Name =
@@ -148,6 +148,16 @@ define( 'AI1WM_MULTISITE_NAME', 'multisite.json' );
148
  // ======================
149
  define( 'AI1WM_BLOGS_NAME', 'blogs.json' );
150
 
 
 
 
 
 
 
 
 
 
 
151
  // ========================
152
  // = Archive FileMap Name =
153
  // ========================
@@ -158,6 +168,21 @@ define( 'AI1WM_FILEMAP_NAME', 'filemap.list' );
158
  // =================================
159
  define( 'AI1WM_MUPLUGINS_NAME', 'mu-plugins' );
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  // ===================
162
  // = Export Log Name =
163
  // ===================
@@ -228,6 +253,11 @@ define( 'AI1WM_ACTIVE_TEMPLATE', 'template' );
228
  // =====================
229
  define( 'AI1WM_ACTIVE_STYLESHEET', 'stylesheet' );
230
 
 
 
 
 
 
231
  // ===============
232
  // = Updater Key =
233
  // ===============
31
  // ==================
32
  // = Plugin Version =
33
  // ==================
34
+ define( 'AI1WM_VERSION', '6.69' );
35
 
36
  // ===============
37
  // = Plugin Name =
148
  // ======================
149
  define( 'AI1WM_BLOGS_NAME', 'blogs.json' );
150
 
151
+ // =========================
152
+ // = Archive Settings Name =
153
+ // =========================
154
+ define( 'AI1WM_SETTINGS_NAME', 'settings.json' );
155
+
156
+ // ==========================
157
+ // = Archive Multipart Name =
158
+ // ==========================
159
+ define( 'AI1WM_MULTIPART_NAME', 'multipart.list' );
160
+
161
  // ========================
162
  // = Archive FileMap Name =
163
  // ========================
168
  // =================================
169
  define( 'AI1WM_MUPLUGINS_NAME', 'mu-plugins' );
170
 
171
+ // =============================
172
+ // = Endurance Page Cache Name =
173
+ // =============================
174
+ define( 'AI1WM_ENDURANCE_PAGE_CACHE_NAME', 'endurance-page-cache.php' );
175
+
176
+ // ===========================
177
+ // = Endurance PHP Edge Name =
178
+ // ===========================
179
+ define( 'AI1WM_ENDURANCE_PHP_EDGE_NAME', 'endurance-php-edge.php' );
180
+
181
+ // ================================
182
+ // = Endurance Browser Cache Name =
183
+ // ================================
184
+ define( 'AI1WM_ENDURANCE_BROWSER_CACHE_NAME', 'endurance-browser-cache.php' );
185
+
186
  // ===================
187
  // = Export Log Name =
188
  // ===================
253
  // =====================
254
  define( 'AI1WM_ACTIVE_STYLESHEET', 'stylesheet' );
255
 
256
+ // ============
257
+ // = Cron Key =
258
+ // ============
259
+ define( 'AI1WM_CRON', 'cron' );
260
+
261
  // ===============
262
  // = Updater Key =
263
  // ===============
exceptions.php CHANGED
@@ -34,6 +34,8 @@ class Ai1wm_Not_Seekable_Exception extends Exception {}
34
  class Ai1wm_Not_Tellable_Exception extends Exception {}
35
  class Ai1wm_Not_Readable_Exception extends Exception {}
36
  class Ai1wm_Not_Writable_Exception extends Exception {}
 
 
37
  class Ai1wm_Not_Found_Exception extends Exception {}
38
  class Ai1wm_Not_Directory_Exception extends Exception {}
39
  class Ai1wm_Not_Valid_Secret_Key_Exception extends Exception {}
34
  class Ai1wm_Not_Tellable_Exception extends Exception {}
35
  class Ai1wm_Not_Readable_Exception extends Exception {}
36
  class Ai1wm_Not_Writable_Exception extends Exception {}
37
+ class Ai1wm_Not_Truncatable_Exception extends Exception {}
38
+ class Ai1wm_Not_Closable_Exception extends Exception {}
39
  class Ai1wm_Not_Found_Exception extends Exception {}
40
  class Ai1wm_Not_Directory_Exception extends Exception {}
41
  class Ai1wm_Not_Valid_Secret_Key_Exception extends Exception {}
functions.php CHANGED
@@ -106,6 +106,16 @@ function ai1wm_import_path( $params ) {
106
  return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . AI1WM_IMPORT_NAME;
107
  }
108
 
 
 
 
 
 
 
 
 
 
 
109
  /**
110
  * Get filemap.list absolute path
111
  *
@@ -146,6 +156,16 @@ function ai1wm_blogs_path( $params ) {
146
  return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . AI1WM_BLOGS_NAME;
147
  }
148
 
 
 
 
 
 
 
 
 
 
 
149
  /**
150
  * Get database.sql absolute path
151
  *
@@ -229,6 +249,26 @@ function ai1wm_database_bytes( $params ) {
229
  return filesize( ai1wm_database_path( $params ) );
230
  }
231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  /**
233
  * Get archive size as text
234
  *
@@ -861,7 +901,6 @@ function ai1wm_cache_flush() {
861
  wp_cache_delete( 'notoptions', 'options' );
862
  }
863
 
864
-
865
  /**
866
  * URL encode
867
  *
@@ -882,6 +921,21 @@ function ai1wm_urldecode( $value ) {
882
  return is_array( $value ) ? array_map( 'ai1wm_urldecode', $value ) : urldecode( stripslashes( $value ) );
883
  }
884
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
885
  /**
886
  * Opens a file in specified mode
887
  *
@@ -1145,3 +1199,27 @@ function ai1wm_is_scheduled_backup() {
1145
  return empty( $_REQUEST['ai1wm_manual_export'] ) && empty( $_REQUEST['ai1wm_manual_import'] ) && empty( $_REQUEST['ai1wm_manual_restore'] );
1146
  }
1147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . AI1WM_IMPORT_NAME;
107
  }
108
 
109
+ /**
110
+ * Get multipart.list absolute path
111
+ *
112
+ * @param array $params Request parameters
113
+ * @return string
114
+ */
115
+ function ai1wm_multipart_path( $params ) {
116
+ return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . AI1WM_MULTIPART_NAME;
117
+ }
118
+
119
  /**
120
  * Get filemap.list absolute path
121
  *
156
  return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . AI1WM_BLOGS_NAME;
157
  }
158
 
159
+ /**
160
+ * Get settings.json absolute path
161
+ *
162
+ * @param array $params Request parameters
163
+ * @return string
164
+ */
165
+ function ai1wm_settings_path( $params ) {
166
+ return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . AI1WM_SETTINGS_NAME;
167
+ }
168
+
169
  /**
170
  * Get database.sql absolute path
171
  *
249
  return filesize( ai1wm_database_path( $params ) );
250
  }
251
 
252
+ /**
253
+ * Get package size in bytes
254
+ *
255
+ * @param array $params Request parameters
256
+ * @return integer
257
+ */
258
+ function ai1wm_package_bytes( $params ) {
259
+ return filesize( ai1wm_package_path( $params ) );
260
+ }
261
+
262
+ /**
263
+ * Get multisite size in bytes
264
+ *
265
+ * @param array $params Request parameters
266
+ * @return integer
267
+ */
268
+ function ai1wm_multisite_bytes( $params ) {
269
+ return filesize( ai1wm_multisite_path( $params ) );
270
+ }
271
+
272
  /**
273
  * Get archive size as text
274
  *
901
  wp_cache_delete( 'notoptions', 'options' );
902
  }
903
 
 
904
  /**
905
  * URL encode
906
  *
921
  return is_array( $value ) ? array_map( 'ai1wm_urldecode', $value ) : urldecode( stripslashes( $value ) );
922
  }
923
 
924
+ /**
925
+ * Set URL scheme
926
+ *
927
+ * @param string $url URL value
928
+ * @param string $scheme URL scheme
929
+ * @return string
930
+ */
931
+ function ai1wm_urlscheme( $url, $scheme = '' ) {
932
+ if ( empty( $scheme ) ) {
933
+ return preg_replace( '#^\w+://#', '//', $url );
934
+ }
935
+
936
+ return preg_replace( '#^\w+://#', $scheme . '://', $url );
937
+ }
938
+
939
  /**
940
  * Opens a file in specified mode
941
  *
1199
  return empty( $_REQUEST['ai1wm_manual_export'] ) && empty( $_REQUEST['ai1wm_manual_import'] ) && empty( $_REQUEST['ai1wm_manual_restore'] );
1200
  }
1201
 
1202
+ /**
1203
+ * PHP setup environment
1204
+ *
1205
+ * @return void
1206
+ */
1207
+ function ai1wm_setup_environment() {
1208
+ // Set whether a client disconnect should abort script execution
1209
+ @ignore_user_abort( true );
1210
+
1211
+ // Set maximum execution time
1212
+ @set_time_limit( 0 );
1213
+
1214
+ // Set maximum time in seconds a script is allowed to parse input data
1215
+ @ini_set( 'max_input_time', '-1' );
1216
+
1217
+ // Set maximum backtracking steps
1218
+ @ini_set( 'pcre.backtrack_limit', PHP_INT_MAX );
1219
+
1220
+ // Set error handler
1221
+ @set_error_handler( 'Ai1wm_Handler::error' );
1222
+
1223
+ // Set shutdown handler
1224
+ @register_shutdown_function( 'Ai1wm_Handler::shutdown' );
1225
+ }
lib/controller/class-ai1wm-export-controller.php CHANGED
@@ -32,11 +32,7 @@ class Ai1wm_Export_Controller {
32
  public static function export( $params = array() ) {
33
  global $wp_filter;
34
 
35
- // Set error handler
36
- @set_error_handler( 'Ai1wm_Handler::error' );
37
-
38
- // Set shutdown handler
39
- @register_shutdown_function( 'Ai1wm_Handler::shutdown' );
40
 
41
  // Set params
42
  if ( empty( $params ) ) {
32
  public static function export( $params = array() ) {
33
  global $wp_filter;
34
 
35
+ ai1wm_setup_environment();
 
 
 
 
36
 
37
  // Set params
38
  if ( empty( $params ) ) {
lib/controller/class-ai1wm-import-controller.php CHANGED
@@ -32,11 +32,7 @@ class Ai1wm_Import_Controller {
32
  public static function import( $params = array() ) {
33
  global $wp_filter;
34
 
35
- // Set error handler
36
- @set_error_handler( 'Ai1wm_Handler::error' );
37
-
38
- // Set shutdown handler
39
- @register_shutdown_function( 'Ai1wm_Handler::shutdown' );
40
 
41
  // Set params
42
  if ( empty( $params ) ) {
32
  public static function import( $params = array() ) {
33
  global $wp_filter;
34
 
35
+ ai1wm_setup_environment();
 
 
 
 
36
 
37
  // Set params
38
  if ( empty( $params ) ) {
lib/controller/class-ai1wm-main-controller.php CHANGED
@@ -86,17 +86,20 @@ class Ai1wm_Main_Controller {
86
  // Export and import buttons
87
  add_action( 'plugins_loaded', array( $this, 'ai1wm_buttons' ), 10 );
88
 
89
- // Add export scripts and styles
90
- add_action( 'admin_enqueue_scripts', array( $this, 'register_export_scripts_and_styles' ), 5 );
91
 
92
- // Add import scripts and styles
93
- add_action( 'admin_enqueue_scripts', array( $this, 'register_import_scripts_and_styles' ), 5 );
94
 
95
- // Add backups scripts and styles
96
- add_action( 'admin_enqueue_scripts', array( $this, 'register_backups_scripts_and_styles' ), 5 );
97
 
98
- // Add updater scripts and styles
99
- add_action( 'admin_enqueue_scripts', array( $this, 'register_updater_scripts_and_styles' ), 5 );
 
 
 
100
 
101
  return $this;
102
  }
@@ -133,6 +136,7 @@ class Ai1wm_Main_Controller {
133
 
134
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Archive::execute', 10 );
135
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Config::execute', 50 );
 
136
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Enumerate::execute', 100 );
137
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Content::execute', 150 );
138
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Database::execute', 200 );
@@ -363,88 +367,135 @@ class Ai1wm_Main_Controller {
363
  * @return void
364
  */
365
  public function admin_menu() {
366
- // top level WP Migration menu
367
  add_menu_page(
368
  'All-in-One WP Migration',
369
  'All-in-One WP Migration',
370
  'export',
371
- 'site-migration-export',
372
  'Ai1wm_Export_Controller::index',
373
  '',
374
  '76.295'
375
  );
376
 
377
- // sublevel Export menu
378
  add_submenu_page(
379
- 'site-migration-export',
380
  __( 'Export', AI1WM_PLUGIN_NAME ),
381
  __( 'Export', AI1WM_PLUGIN_NAME ),
382
  'export',
383
- 'site-migration-export',
384
  'Ai1wm_Export_Controller::index'
385
  );
386
 
387
- // sublevel Import menu
388
  add_submenu_page(
389
- 'site-migration-export',
390
  __( 'Import', AI1WM_PLUGIN_NAME ),
391
  __( 'Import', AI1WM_PLUGIN_NAME ),
392
  'import',
393
- 'site-migration-import',
394
  'Ai1wm_Import_Controller::index'
395
  );
396
 
397
- // sublevel Backups menu
398
  add_submenu_page(
399
- 'site-migration-export',
400
  __( 'Backups', AI1WM_PLUGIN_NAME ),
401
  __( 'Backups', AI1WM_PLUGIN_NAME ),
402
  'import',
403
- 'site-migration-backups',
404
  'Ai1wm_Backups_Controller::index'
405
  );
406
  }
407
 
408
  /**
409
- * Register scripts and styles for Export Controller
410
  *
411
  * @return void
412
  */
413
- public function register_export_scripts_and_styles( $hook ) {
414
- if ( stripos( 'toplevel_page_site-migration-export', $hook ) === false ) {
415
- return;
 
 
 
 
 
 
 
 
416
  }
417
 
418
- do_action( 'ai1mw_register_export_scripts_and_styles' );
 
 
 
 
419
 
420
- // we don't want heartbeat to occur when exporting
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
  wp_deregister_script( 'heartbeat' );
422
 
423
- // we don't want auth check for monitoring whether the user is still logged in
424
  remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
425
 
426
- wp_enqueue_style(
427
- 'ai1wm-css-export',
428
- Ai1wm_Template::asset_link( 'css/export.min.css' )
429
- );
 
 
 
 
 
 
 
 
430
  wp_enqueue_script(
431
- 'ai1wm-js-export',
432
  Ai1wm_Template::asset_link( 'javascript/export.min.js' ),
433
- array( 'jquery' )
434
  );
435
- wp_localize_script( 'ai1wm-js-export', 'ai1wm_feedback', array(
 
436
  'ajax' => array(
437
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_feedback' ) ),
438
  ),
439
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
440
  ) );
441
- wp_localize_script( 'ai1wm-js-export', 'ai1wm_report', array(
 
442
  'ajax' => array(
443
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report' ) ),
444
  ),
445
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
446
  ) );
447
- wp_localize_script( 'ai1wm-js-export', 'ai1wm_export', array(
 
448
  'ajax' => array(
449
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_export' ) ),
450
  ),
@@ -456,33 +507,55 @@ class Ai1wm_Main_Controller {
456
  }
457
 
458
  /**
459
- * Register scripts and styles for Import Controller
460
  *
 
461
  * @return void
462
  */
463
- public function register_import_scripts_and_styles( $hook ) {
464
- if ( stripos( 'all-in-one-wp-migration_page_site-migration-import', $hook ) === false ) {
465
  return;
466
  }
467
 
468
- do_action( 'ai1mw_register_import_scripts_and_styles' );
469
-
470
- // we don't want heartbeat to occur when importing
471
  wp_deregister_script( 'heartbeat' );
472
 
473
- // we don't want auth check for monitoring whether the user is still logged in
474
  remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
475
 
476
- wp_enqueue_style(
477
- 'ai1wm-css-import',
478
- Ai1wm_Template::asset_link( 'css/import.min.css' )
479
- );
 
 
 
 
 
 
 
 
480
  wp_enqueue_script(
481
- 'ai1wm-js-import',
482
  Ai1wm_Template::asset_link( 'javascript/import.min.js' ),
483
- array( 'jquery' )
484
  );
485
- wp_localize_script( 'ai1wm-js-import', 'ai1wm_uploader', array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
  'chunk_size' => apply_filters( 'ai1wm_max_chunk_size', AI1WM_MAX_CHUNK_SIZE ),
487
  'max_retries' => apply_filters( 'ai1wm_max_chunk_retries', AI1WM_MAX_CHUNK_RETRIES ),
488
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
@@ -495,19 +568,8 @@ class Ai1wm_Main_Controller {
495
  'ai1wm_archive_size' => apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ),
496
  ),
497
  ) );
498
- wp_localize_script( 'ai1wm-js-import', 'ai1wm_feedback', array(
499
- 'ajax' => array(
500
- 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_feedback' ) ),
501
- ),
502
- 'secret_key' => get_option( AI1WM_SECRET_KEY ),
503
- ) );
504
- wp_localize_script( 'ai1wm-js-import', 'ai1wm_report', array(
505
- 'ajax' => array(
506
- 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report' ) ),
507
- ),
508
- 'secret_key' => get_option( AI1WM_SECRET_KEY ),
509
- ) );
510
- wp_localize_script( 'ai1wm-js-import', 'ai1wm_import', array(
511
  'ajax' => array(
512
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
513
  ),
@@ -524,68 +586,65 @@ class Ai1wm_Main_Controller {
524
  ),
525
  size_format( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) )
526
  ),
527
- 'invalid_extension' => sprintf(
528
- __(
529
- 'Version 2.1.1 of All in One WP Migration introduces new compression algorithm. ' .
530
- 'It makes exporting and importing 10 times faster.' .
531
- '<br />Unfortunately, the new format is not back compatible with backups made with earlier ' .
532
- 'versions of the plugin.' .
533
- '<br />You can either create a new backup with the latest version of the ' .
534
- 'plugin, or convert the archive to the new format using our tools ' .
535
- '<a href="%s" target="_blank">here</a>.',
536
- AI1WM_PLUGIN_NAME
537
- ),
538
- AI1WM_ARCHIVE_TOOLS_URL
539
  ),
540
  ) );
541
  }
542
 
543
  /**
544
- * Register scripts and styles for Backups Controller
545
  *
 
546
  * @return void
547
  */
548
- public function register_backups_scripts_and_styles( $hook ) {
549
- if ( stripos( 'all-in-one-wp-migration_page_site-migration-backups', $hook ) === false ) {
550
  return;
551
  }
552
 
553
- do_action( 'ai1mw_register_backups_scripts_and_styles' );
554
-
555
- // we don't want heartbeat to occur when restoring
556
  wp_deregister_script( 'heartbeat' );
557
 
558
- // we don't want auth check for monitoring whether the user is still logged in
559
  remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
560
 
561
- wp_enqueue_style(
562
- 'ai1wm-css-backups',
563
- Ai1wm_Template::asset_link( 'css/backups.min.css' )
564
- );
 
 
 
 
 
 
 
 
565
  wp_enqueue_script(
566
- 'ai1wm-js-backups',
567
  Ai1wm_Template::asset_link( 'javascript/backups.min.js' ),
568
- array( 'jquery' )
569
  );
570
- wp_localize_script( 'ai1wm-js-backups', 'ai1wm_feedback', array(
 
571
  'ajax' => array(
572
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_feedback' ) ),
573
  ),
574
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
575
  ) );
576
- wp_localize_script( 'ai1wm-js-backups', 'ai1wm_report', array(
 
577
  'ajax' => array(
578
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report' ) ),
579
  ),
580
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
581
  ) );
582
- wp_localize_script( 'ai1wm-js-backups', 'ai1wm_backups', array(
583
- 'ajax' => array(
584
- 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_backups' ) ),
585
- ),
586
- 'secret_key' => get_option( AI1WM_SECRET_KEY ),
587
- ) );
588
- wp_localize_script( 'ai1wm-js-backups', 'ai1wm_import', array(
589
  'ajax' => array(
590
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
591
  ),
@@ -594,30 +653,45 @@ class Ai1wm_Main_Controller {
594
  ),
595
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
596
  ) );
 
 
 
 
 
 
 
597
  }
598
 
599
  /**
600
- * Register scripts and styles for Updater Controller
601
  *
 
602
  * @return void
603
  */
604
- public function register_updater_scripts_and_styles( $hook ) {
605
  if ( 'plugins.php' !== strtolower( $hook ) ) {
606
  return;
607
  }
608
 
609
- do_action( 'ai1mw_register_updater_scripts_and_styles' );
 
 
 
 
 
 
 
 
 
 
610
 
611
- wp_enqueue_style(
612
- 'ai1wm-css-updater',
613
- Ai1wm_Template::asset_link( 'css/updater.min.css' )
614
- );
615
  wp_enqueue_script(
616
- 'ai1wm-js-updater',
617
  Ai1wm_Template::asset_link( 'javascript/updater.min.js' ),
618
- array( 'jquery' )
619
  );
620
- wp_localize_script( 'ai1wm-js-updater', 'ai1wm_updater', array(
 
621
  'ajax' => array(
622
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_updater' ) ),
623
  ),
86
  // Export and import buttons
87
  add_action( 'plugins_loaded', array( $this, 'ai1wm_buttons' ), 10 );
88
 
89
+ // Register scripts and styles
90
+ add_action( 'admin_enqueue_scripts', array( $this, 'register_scripts_and_styles' ), 5 );
91
 
92
+ // Enqueue export scripts and styles
93
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_export_scripts_and_styles' ), 5 );
94
 
95
+ // Enqueue import scripts and styles
96
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_import_scripts_and_styles' ), 5 );
97
 
98
+ // Enqueue backups scripts and styles
99
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_backups_scripts_and_styles' ), 5 );
100
+
101
+ // Enqueue updater scripts and styles
102
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_updater_scripts_and_styles' ), 5 );
103
 
104
  return $this;
105
  }
136
 
137
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Archive::execute', 10 );
138
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Config::execute', 50 );
139
+ add_filter( 'ai1wm_export', 'Ai1wm_Export_Config_File::execute', 60 );
140
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Enumerate::execute', 100 );
141
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Content::execute', 150 );
142
  add_filter( 'ai1wm_export', 'Ai1wm_Export_Database::execute', 200 );
367
  * @return void
368
  */
369
  public function admin_menu() {
370
+ // Top-level WP Migration menu
371
  add_menu_page(
372
  'All-in-One WP Migration',
373
  'All-in-One WP Migration',
374
  'export',
375
+ 'ai1wm_export',
376
  'Ai1wm_Export_Controller::index',
377
  '',
378
  '76.295'
379
  );
380
 
381
+ // Sub-level Export menu
382
  add_submenu_page(
383
+ 'ai1wm_export',
384
  __( 'Export', AI1WM_PLUGIN_NAME ),
385
  __( 'Export', AI1WM_PLUGIN_NAME ),
386
  'export',
387
+ 'ai1wm_export',
388
  'Ai1wm_Export_Controller::index'
389
  );
390
 
391
+ // Sub-level Import menu
392
  add_submenu_page(
393
+ 'ai1wm_export',
394
  __( 'Import', AI1WM_PLUGIN_NAME ),
395
  __( 'Import', AI1WM_PLUGIN_NAME ),
396
  'import',
397
+ 'ai1wm_import',
398
  'Ai1wm_Import_Controller::index'
399
  );
400
 
401
+ // Sub-level Backups menu
402
  add_submenu_page(
403
+ 'ai1wm_export',
404
  __( 'Backups', AI1WM_PLUGIN_NAME ),
405
  __( 'Backups', AI1WM_PLUGIN_NAME ),
406
  'import',
407
+ 'ai1wm_backups',
408
  'Ai1wm_Backups_Controller::index'
409
  );
410
  }
411
 
412
  /**
413
+ * Register scripts and styles
414
  *
415
  * @return void
416
  */
417
+ public function register_scripts_and_styles() {
418
+ if ( is_rtl() ) {
419
+ wp_register_style(
420
+ 'ai1wm_servmask',
421
+ Ai1wm_Template::asset_link( 'css/servmask.min.rtl.css' )
422
+ );
423
+ } else {
424
+ wp_register_style(
425
+ 'ai1wm_servmask',
426
+ Ai1wm_Template::asset_link( 'css/servmask.min.css' )
427
+ );
428
  }
429
 
430
+ wp_register_script(
431
+ 'ai1wm_util',
432
+ Ai1wm_Template::asset_link( 'javascript/util.min.js' ),
433
+ array( 'jquery' )
434
+ );
435
 
436
+ wp_register_script(
437
+ 'ai1wm_feedback',
438
+ Ai1wm_Template::asset_link( 'javascript/feedback.min.js' ),
439
+ array( 'ai1wm_util' )
440
+ );
441
+
442
+ wp_register_script(
443
+ 'ai1wm_report',
444
+ Ai1wm_Template::asset_link( 'javascript/report.min.js' ),
445
+ array( 'ai1wm_util' )
446
+ );
447
+ }
448
+
449
+ /**
450
+ * Enqueue scripts and styles for Export Controller
451
+ *
452
+ * @param string $hook Hook suffix
453
+ * @return void
454
+ */
455
+ public function enqueue_export_scripts_and_styles( $hook ) {
456
+ if ( stripos( 'toplevel_page_ai1wm_export', $hook ) === false ) {
457
+ return;
458
+ }
459
+
460
+ // We don't want heartbeat to occur when exporting
461
  wp_deregister_script( 'heartbeat' );
462
 
463
+ // We don't want auth check for monitoring whether the user is still logged in
464
  remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
465
 
466
+ if ( is_rtl() ) {
467
+ wp_enqueue_style(
468
+ 'ai1wm_export',
469
+ Ai1wm_Template::asset_link( 'css/export.min.rtl.css' )
470
+ );
471
+ } else {
472
+ wp_enqueue_style(
473
+ 'ai1wm_export',
474
+ Ai1wm_Template::asset_link( 'css/export.min.css' )
475
+ );
476
+ }
477
+
478
  wp_enqueue_script(
479
+ 'ai1wm_export',
480
  Ai1wm_Template::asset_link( 'javascript/export.min.js' ),
481
+ array( 'ai1wm_util' )
482
  );
483
+
484
+ wp_localize_script( 'ai1wm_export', 'ai1wm_feedback', array(
485
  'ajax' => array(
486
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_feedback' ) ),
487
  ),
488
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
489
  ) );
490
+
491
+ wp_localize_script( 'ai1wm_export', 'ai1wm_report', array(
492
  'ajax' => array(
493
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report' ) ),
494
  ),
495
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
496
  ) );
497
+
498
+ wp_localize_script( 'ai1wm_export', 'ai1wm_export', array(
499
  'ajax' => array(
500
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_export' ) ),
501
  ),
507
  }
508
 
509
  /**
510
+ * Enqueue scripts and styles for Import Controller
511
  *
512
+ * @param string $hook Hook suffix
513
  * @return void
514
  */
515
+ public function enqueue_import_scripts_and_styles( $hook ) {
516
+ if ( stripos( 'all-in-one-wp-migration_page_ai1wm_import', $hook ) === false ) {
517
  return;
518
  }
519
 
520
+ // We don't want heartbeat to occur when importing
 
 
521
  wp_deregister_script( 'heartbeat' );
522
 
523
+ // We don't want auth check for monitoring whether the user is still logged in
524
  remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
525
 
526
+ if ( is_rtl() ) {
527
+ wp_enqueue_style(
528
+ 'ai1wm_import',
529
+ Ai1wm_Template::asset_link( 'css/import.min.rtl.css' )
530
+ );
531
+ } else {
532
+ wp_enqueue_style(
533
+ 'ai1wm_import',
534
+ Ai1wm_Template::asset_link( 'css/import.min.css' )
535
+ );
536
+ }
537
+
538
  wp_enqueue_script(
539
+ 'ai1wm_import',
540
  Ai1wm_Template::asset_link( 'javascript/import.min.js' ),
541
+ array( 'ai1wm_util' )
542
  );
543
+
544
+ wp_localize_script( 'ai1wm_import', 'ai1wm_feedback', array(
545
+ 'ajax' => array(
546
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_feedback' ) ),
547
+ ),
548
+ 'secret_key' => get_option( AI1WM_SECRET_KEY ),
549
+ ) );
550
+
551
+ wp_localize_script( 'ai1wm_import', 'ai1wm_report', array(
552
+ 'ajax' => array(
553
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report' ) ),
554
+ ),
555
+ 'secret_key' => get_option( AI1WM_SECRET_KEY ),
556
+ ) );
557
+
558
+ wp_localize_script( 'ai1wm_import', 'ai1wm_uploader', array(
559
  'chunk_size' => apply_filters( 'ai1wm_max_chunk_size', AI1WM_MAX_CHUNK_SIZE ),
560
  'max_retries' => apply_filters( 'ai1wm_max_chunk_retries', AI1WM_MAX_CHUNK_RETRIES ),
561
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
568
  'ai1wm_archive_size' => apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ),
569
  ),
570
  ) );
571
+
572
+ wp_localize_script( 'ai1wm_import', 'ai1wm_import', array(
 
 
 
 
 
 
 
 
 
 
 
573
  'ajax' => array(
574
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
575
  ),
586
  ),
587
  size_format( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) )
588
  ),
589
+ 'invalid_extension' => __(
590
+ 'The file type that you have tried to upload is not compatible with this plugin. ' .
591
+ 'Please ensure that your file is a <strong>.wpress</strong> file that was created with the All-in-One WP migration plugin. ' .
592
+ '<a href="https://help.servmask.com/knowledgebase/invalid-backup-file/" target="_blank">Technical details</a>',
593
+ AI1WM_PLUGIN_NAME
 
 
 
 
 
 
 
594
  ),
595
  ) );
596
  }
597
 
598
  /**
599
+ * Enqueue scripts and styles for Backups Controller
600
  *
601
+ * @param string $hook Hook suffix
602
  * @return void
603
  */
604
+ public function enqueue_backups_scripts_and_styles( $hook ) {
605
+ if ( stripos( 'all-in-one-wp-migration_page_ai1wm_backups', $hook ) === false ) {
606
  return;
607
  }
608
 
609
+ // We don't want heartbeat to occur when restoring
 
 
610
  wp_deregister_script( 'heartbeat' );
611
 
612
+ // We don't want auth check for monitoring whether the user is still logged in
613
  remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
614
 
615
+ if ( is_rtl() ) {
616
+ wp_enqueue_style(
617
+ 'ai1wm_backups',
618
+ Ai1wm_Template::asset_link( 'css/backups.min.rtl.css' )
619
+ );
620
+ } else {
621
+ wp_enqueue_style(
622
+ 'ai1wm_backups',
623
+ Ai1wm_Template::asset_link( 'css/backups.min.css' )
624
+ );
625
+ }
626
+
627
  wp_enqueue_script(
628
+ 'ai1wm_backups',
629
  Ai1wm_Template::asset_link( 'javascript/backups.min.js' ),
630
+ array( 'ai1wm_util' )
631
  );
632
+
633
+ wp_localize_script( 'ai1wm_backups', 'ai1wm_feedback', array(
634
  'ajax' => array(
635
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_feedback' ) ),
636
  ),
637
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
638
  ) );
639
+
640
+ wp_localize_script( 'ai1wm_backups', 'ai1wm_report', array(
641
  'ajax' => array(
642
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report' ) ),
643
  ),
644
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
645
  ) );
646
+
647
+ wp_localize_script( 'ai1wm_backups', 'ai1wm_import', array(
 
 
 
 
 
648
  'ajax' => array(
649
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
650
  ),
653
  ),
654
  'secret_key' => get_option( AI1WM_SECRET_KEY ),
655
  ) );
656
+
657
+ wp_localize_script( 'ai1wm_backups', 'ai1wm_backups', array(
658
+ 'ajax' => array(
659
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_backups' ) ),
660
+ ),
661
+ 'secret_key' => get_option( AI1WM_SECRET_KEY ),
662
+ ) );
663
  }
664
 
665
  /**
666
+ * Enqueue scripts and styles for Updater Controller
667
  *
668
+ * @param string $hook Hook suffix
669
  * @return void
670
  */
671
+ public function enqueue_updater_scripts_and_styles( $hook ) {
672
  if ( 'plugins.php' !== strtolower( $hook ) ) {
673
  return;
674
  }
675
 
676
+ if ( is_rtl() ) {
677
+ wp_enqueue_style(
678
+ 'ai1wm_updater',
679
+ Ai1wm_Template::asset_link( 'css/updater.min.rtl.css' )
680
+ );
681
+ } else {
682
+ wp_enqueue_style(
683
+ 'ai1wm_updater',
684
+ Ai1wm_Template::asset_link( 'css/updater.min.css' )
685
+ );
686
+ }
687
 
 
 
 
 
688
  wp_enqueue_script(
689
+ 'ai1wm_updater',
690
  Ai1wm_Template::asset_link( 'javascript/updater.min.js' ),
691
+ array( 'ai1wm_util' )
692
  );
693
+
694
+ wp_localize_script( 'ai1wm_updater', 'ai1wm_updater', array(
695
  'ajax' => array(
696
  'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_updater' ) ),
697
  ),
lib/model/class-ai1wm-deprecated.php CHANGED
@@ -24,7 +24,5 @@
24
  */
25
 
26
  class Ai1wm_Export_Abstract {}
27
-
28
  class Ai1wm_Import_Abstract {}
29
-
30
  class Ai1wm_Config {}
24
  */
25
 
26
  class Ai1wm_Export_Abstract {}
 
27
  class Ai1wm_Import_Abstract {}
 
28
  class Ai1wm_Config {}
lib/model/class-ai1wm-extensions.php CHANGED
@@ -40,7 +40,7 @@ class Ai1wm_Extensions {
40
  'about' => AI1WMBE_PLUGIN_ABOUT,
41
  'basename' => AI1WMBE_PLUGIN_BASENAME,
42
  'version' => AI1WMBE_VERSION,
43
- 'requires' => '1.9',
44
  'short' => AI1WMBE_PLUGIN_SHORT,
45
  );
46
  }
@@ -52,7 +52,7 @@ class Ai1wm_Extensions {
52
  'about' => AI1WMIE_PLUGIN_ABOUT,
53
  'basename' => AI1WMIE_PLUGIN_BASENAME,
54
  'version' => AI1WMIE_VERSION,
55
- 'requires' => '1.0',
56
  'short' => AI1WMIE_PLUGIN_SHORT,
57
  );
58
  }
@@ -64,7 +64,7 @@ class Ai1wm_Extensions {
64
  'about' => AI1WMDE_PLUGIN_ABOUT,
65
  'basename' => AI1WMDE_PLUGIN_BASENAME,
66
  'version' => AI1WMDE_VERSION,
67
- 'requires' => '3.28',
68
  'short' => AI1WMDE_PLUGIN_SHORT,
69
  );
70
  }
@@ -76,7 +76,7 @@ class Ai1wm_Extensions {
76
  'about' => AI1WMFE_PLUGIN_ABOUT,
77
  'basename' => AI1WMFE_PLUGIN_BASENAME,
78
  'version' => AI1WMFE_VERSION,
79
- 'requires' => '2.33',
80
  'short' => AI1WMFE_PLUGIN_SHORT,
81
  );
82
  }
@@ -88,7 +88,7 @@ class Ai1wm_Extensions {
88
  'about' => AI1WMGE_PLUGIN_ABOUT,
89
  'basename' => AI1WMGE_PLUGIN_BASENAME,
90
  'version' => AI1WMGE_VERSION,
91
- 'requires' => '2.30',
92
  'short' => AI1WMGE_PLUGIN_SHORT,
93
  );
94
  }
@@ -100,7 +100,7 @@ class Ai1wm_Extensions {
100
  'about' => AI1WMEE_PLUGIN_ABOUT,
101
  'basename' => AI1WMEE_PLUGIN_BASENAME,
102
  'version' => AI1WMEE_VERSION,
103
- 'requires' => '1.6',
104
  'short' => AI1WMEE_PLUGIN_SHORT,
105
  );
106
  }
@@ -112,7 +112,7 @@ class Ai1wm_Extensions {
112
  'about' => AI1WMME_PLUGIN_ABOUT,
113
  'basename' => AI1WMME_PLUGIN_BASENAME,
114
  'version' => AI1WMME_VERSION,
115
- 'requires' => '3.50',
116
  'short' => AI1WMME_PLUGIN_SHORT,
117
  );
118
  }
@@ -124,7 +124,7 @@ class Ai1wm_Extensions {
124
  'about' => AI1WMOE_PLUGIN_ABOUT,
125
  'basename' => AI1WMOE_PLUGIN_BASENAME,
126
  'version' => AI1WMOE_VERSION,
127
- 'requires' => '1.19',
128
  'short' => AI1WMOE_PLUGIN_SHORT,
129
  );
130
  }
@@ -136,7 +136,7 @@ class Ai1wm_Extensions {
136
  'about' => AI1WMSE_PLUGIN_ABOUT,
137
  'basename' => AI1WMSE_PLUGIN_BASENAME,
138
  'version' => AI1WMSE_VERSION,
139
- 'requires' => '3.22',
140
  'short' => AI1WMSE_PLUGIN_SHORT,
141
  );
142
  }
@@ -148,7 +148,7 @@ class Ai1wm_Extensions {
148
  'about' => AI1WMUE_PLUGIN_ABOUT,
149
  'basename' => AI1WMUE_PLUGIN_BASENAME,
150
  'version' => AI1WMUE_VERSION,
151
- 'requires' => '2.15',
152
  'short' => AI1WMUE_PLUGIN_SHORT,
153
  );
154
  }
@@ -160,7 +160,7 @@ class Ai1wm_Extensions {
160
  'about' => AI1WMLE_PLUGIN_ABOUT,
161
  'basename' => AI1WMLE_PLUGIN_BASENAME,
162
  'version' => AI1WMLE_VERSION,
163
- 'requires' => '2.22',
164
  'short' => AI1WMLE_PLUGIN_SHORT,
165
  );
166
  }
40
  'about' => AI1WMBE_PLUGIN_ABOUT,
41
  'basename' => AI1WMBE_PLUGIN_BASENAME,
42
  'version' => AI1WMBE_VERSION,
43
+ 'requires' => '1.10',
44
  'short' => AI1WMBE_PLUGIN_SHORT,
45
  );
46
  }
52
  'about' => AI1WMIE_PLUGIN_ABOUT,
53
  'basename' => AI1WMIE_PLUGIN_BASENAME,
54
  'version' => AI1WMIE_VERSION,
55
+ 'requires' => '1.1',
56
  'short' => AI1WMIE_PLUGIN_SHORT,
57
  );
58
  }
64
  'about' => AI1WMDE_PLUGIN_ABOUT,
65
  'basename' => AI1WMDE_PLUGIN_BASENAME,
66
  'version' => AI1WMDE_VERSION,
67
+ 'requires' => '3.29',
68
  'short' => AI1WMDE_PLUGIN_SHORT,
69
  );
70
  }
76
  'about' => AI1WMFE_PLUGIN_ABOUT,
77
  'basename' => AI1WMFE_PLUGIN_BASENAME,
78
  'version' => AI1WMFE_VERSION,
79
+ 'requires' => '2.34',
80
  'short' => AI1WMFE_PLUGIN_SHORT,
81
  );
82
  }
88
  'about' => AI1WMGE_PLUGIN_ABOUT,
89
  'basename' => AI1WMGE_PLUGIN_BASENAME,
90
  'version' => AI1WMGE_VERSION,
91
+ 'requires' => '2.31',
92
  'short' => AI1WMGE_PLUGIN_SHORT,
93
  );
94
  }
100
  'about' => AI1WMEE_PLUGIN_ABOUT,
101
  'basename' => AI1WMEE_PLUGIN_BASENAME,
102
  'version' => AI1WMEE_VERSION,
103
+ 'requires' => '1.7',
104
  'short' => AI1WMEE_PLUGIN_SHORT,
105
  );
106
  }
112
  'about' => AI1WMME_PLUGIN_ABOUT,
113
  'basename' => AI1WMME_PLUGIN_BASENAME,
114
  'version' => AI1WMME_VERSION,
115
+ 'requires' => '3.51',
116
  'short' => AI1WMME_PLUGIN_SHORT,
117
  );
118
  }
124
  'about' => AI1WMOE_PLUGIN_ABOUT,
125
  'basename' => AI1WMOE_PLUGIN_BASENAME,
126
  'version' => AI1WMOE_VERSION,
127
+ 'requires' => '1.20',
128
  'short' => AI1WMOE_PLUGIN_SHORT,
129
  );
130
  }
136
  'about' => AI1WMSE_PLUGIN_ABOUT,
137
  'basename' => AI1WMSE_PLUGIN_BASENAME,
138
  'version' => AI1WMSE_VERSION,
139
+ 'requires' => '3.23',
140
  'short' => AI1WMSE_PLUGIN_SHORT,
141
  );
142
  }
148
  'about' => AI1WMUE_PLUGIN_ABOUT,
149
  'basename' => AI1WMUE_PLUGIN_BASENAME,
150
  'version' => AI1WMUE_VERSION,
151
+ 'requires' => '2.16',
152
  'short' => AI1WMUE_PLUGIN_SHORT,
153
  );
154
  }
160
  'about' => AI1WMLE_PLUGIN_ABOUT,
161
  'basename' => AI1WMLE_PLUGIN_BASENAME,
162
  'version' => AI1WMLE_VERSION,
163
+ 'requires' => '2.23',
164
  'short' => AI1WMLE_PLUGIN_SHORT,
165
  );
166
  }
lib/model/class-ai1wm-feedback.php CHANGED
@@ -26,7 +26,7 @@
26
  class Ai1wm_Feedback {
27
 
28
  /**
29
- * Submit customer feedback to ServMask.com
30
  *
31
  * @param string $type Feedback type
32
  * @param string $email User e-mail
@@ -51,7 +51,8 @@ class Ai1wm_Feedback {
51
  $response = wp_remote_post(
52
  AI1WM_FEEDBACK_URL,
53
  array(
54
- 'body' => array(
 
55
  'type' => $type,
56
  'email' => $email,
57
  'message' => $message,
26
  class Ai1wm_Feedback {
27
 
28
  /**
29
+ * Submit customer feedback to servmask.com
30
  *
31
  * @param string $type Feedback type
32
  * @param string $email User e-mail
51
  $response = wp_remote_post(
52
  AI1WM_FEEDBACK_URL,
53
  array(
54
+ 'timeout' => 15,
55
+ 'body' => array(
56
  'type' => $type,
57
  'email' => $email,
58
  'message' => $message,
lib/model/class-ai1wm-report.php CHANGED
@@ -26,7 +26,7 @@
26
  class Ai1wm_Report {
27
 
28
  /**
29
- * Submit customer report to ServMask.com
30
  *
31
  * @param string $email User e-mail
32
  * @param string $message User message
@@ -48,7 +48,8 @@ class Ai1wm_Report {
48
  $response = wp_remote_post(
49
  AI1WM_REPORT_URL,
50
  array(
51
- 'body' => array(
 
52
  'email' => $email,
53
  'message' => $message,
54
  ),
26
  class Ai1wm_Report {
27
 
28
  /**
29
+ * Submit customer report to servmask.com
30
  *
31
  * @param string $email User e-mail
32
  * @param string $message User message
48
  $response = wp_remote_post(
49
  AI1WM_REPORT_URL,
50
  array(
51
+ 'timeout' => 15,
52
+ 'body' => array(
53
  'email' => $email,
54
  'message' => $message,
55
  ),
lib/model/export/class-ai1wm-export-config-file.php ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+
26
+ class Ai1wm_Export_Config_File {
27
+
28
+ public static function execute( $params ) {
29
+
30
+ $package_bytes_written = 0;
31
+
32
+ // Set archive bytes offset
33
+ if ( isset( $params['archive_bytes_offset'] ) ) {
34
+ $archive_bytes_offset = (int) $params['archive_bytes_offset'];
35
+ } else {
36
+ $archive_bytes_offset = ai1wm_archive_bytes( $params );
37
+ }
38
+
39
+ // Set package bytes offset
40
+ if ( isset( $params['package_bytes_offset'] ) ) {
41
+ $package_bytes_offset = (int) $params['package_bytes_offset'];
42
+ } else {
43
+ $package_bytes_offset = 0;
44
+ }
45
+
46
+ // Get total package size
47
+ if ( isset( $params['total_package_size'] ) ) {
48
+ $total_package_size = (int) $params['total_package_size'];
49
+ } else {
50
+ $total_package_size = ai1wm_package_bytes( $params );
51
+ }
52
+
53
+ // What percent of package have we processed?
54
+ $progress = (int) min( ( $package_bytes_offset / $total_package_size ) * 100, 100 );
55
+
56
+ // Set progress
57
+ Ai1wm_Status::info( sprintf( __( 'Archiving configuration file...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
58
+
59
+ // Open the archive file for writing
60
+ $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
61
+
62
+ // Set the file pointer to the one that we have saved
63
+ $archive->set_file_pointer( $archive_bytes_offset );
64
+
65
+ // Add package.json to archive
66
+ if ( $archive->add_file( ai1wm_package_path( $params ), AI1WM_PACKAGE_NAME, $package_bytes_written, $package_bytes_offset, 10 ) ) {
67
+
68
+ // Set progress
69
+ Ai1wm_Status::info( __( 'Done archiving configuration file.', AI1WM_PLUGIN_NAME ) );
70
+
71
+ // Unset archive bytes offset
72
+ unset( $params['archive_bytes_offset'] );
73
+
74
+ // Unset package bytes offset
75
+ unset( $params['package_bytes_offset'] );
76
+
77
+ // Unset total package size
78
+ unset( $params['total_package_size'] );
79
+
80
+ // Unset completed flag
81
+ unset( $params['completed'] );
82
+
83
+ } else {
84
+
85
+ // Get archive bytes offset
86
+ $archive_bytes_offset = $archive->get_file_pointer();
87
+
88
+ // What percent of package have we processed?
89
+ $progress = (int) min( ( $package_bytes_offset / $total_package_size ) * 100, 100 );
90
+
91
+ // Set progress
92
+ Ai1wm_Status::info( sprintf( __( 'Archiving configuration file...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
93
+
94
+ // Set archive bytes offset
95
+ $params['archive_bytes_offset'] = $archive_bytes_offset;
96
+
97
+ // Set package bytes offset
98
+ $params['package_bytes_offset'] = $package_bytes_offset;
99
+
100
+ // Set total package size
101
+ $params['total_package_size'] = $total_package_size;
102
+
103
+ // Set completed flag
104
+ $params['completed'] = false;
105
+ }
106
+
107
+ // Truncate the archive file
108
+ $archive->truncate();
109
+
110
+ // Close the archive file
111
+ $archive->close();
112
+
113
+ return $params;
114
+ }
115
+ }
lib/model/export/class-ai1wm-export-config.php CHANGED
@@ -29,14 +29,11 @@ class Ai1wm_Export_Config {
29
  global $wp_version, $wpdb;
30
 
31
  // Set progress
32
- Ai1wm_Status::info( __( 'Adding configuration to archive...', AI1WM_PLUGIN_NAME ) );
33
 
34
  // Get options
35
  $options = wp_load_alloptions();
36
 
37
- // Set config
38
- $config = array();
39
-
40
  // Get database client
41
  if ( empty( $wpdb->use_mysqli ) ) {
42
  $mysql = new Ai1wm_Database_Mysql( $wpdb );
@@ -44,6 +41,8 @@ class Ai1wm_Export_Config {
44
  $mysql = new Ai1wm_Database_Mysqli( $wpdb );
45
  }
46
 
 
 
47
  // Set site URL
48
  $config['SiteURL'] = site_url();
49
 
@@ -101,13 +100,8 @@ class Ai1wm_Export_Config {
101
  ai1wm_write( $handle, json_encode( $config ) );
102
  ai1wm_close( $handle );
103
 
104
- // Add package.json file
105
- $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
106
- $archive->add_file( ai1wm_package_path( $params ), AI1WM_PACKAGE_NAME );
107
- $archive->close();
108
-
109
  // Set progress
110
- Ai1wm_Status::info( __( 'Done adding configuration to archive.', AI1WM_PLUGIN_NAME ) );
111
 
112
  return $params;
113
  }
29
  global $wp_version, $wpdb;
30
 
31
  // Set progress
32
+ Ai1wm_Status::info( __( 'Preparing configuration file...', AI1WM_PLUGIN_NAME ) );
33
 
34
  // Get options
35
  $options = wp_load_alloptions();
36
 
 
 
 
37
  // Get database client
38
  if ( empty( $wpdb->use_mysqli ) ) {
39
  $mysql = new Ai1wm_Database_Mysql( $wpdb );
41
  $mysql = new Ai1wm_Database_Mysqli( $wpdb );
42
  }
43
 
44
+ $config = array();
45
+
46
  // Set site URL
47
  $config['SiteURL'] = site_url();
48
 
100
  ai1wm_write( $handle, json_encode( $config ) );
101
  ai1wm_close( $handle );
102
 
 
 
 
 
 
103
  // Set progress
104
+ Ai1wm_Status::info( __( 'Done preparing configuration file.', AI1WM_PLUGIN_NAME ) );
105
 
106
  return $params;
107
  }
lib/model/export/class-ai1wm-export-content.php CHANGED
@@ -27,6 +27,13 @@ class Ai1wm_Export_Content {
27
 
28
  public static function execute( $params ) {
29
 
 
 
 
 
 
 
 
30
  // Set file bytes offset
31
  if ( isset( $params['file_bytes_offset'] ) ) {
32
  $file_bytes_offset = (int) $params['file_bytes_offset'];
@@ -41,11 +48,11 @@ class Ai1wm_Export_Content {
41
  $filemap_bytes_offset = 0;
42
  }
43
 
44
- // Get total files count
45
- if ( isset( $params['total_files_count'] ) ) {
46
- $total_files_count = (int) $params['total_files_count'];
47
  } else {
48
- $total_files_count = 1;
49
  }
50
 
51
  // Get total files size
@@ -55,11 +62,11 @@ class Ai1wm_Export_Content {
55
  $total_files_size = 1;
56
  }
57
 
58
- // Get processed files size
59
- if ( isset( $params['processed_files_size'] ) ) {
60
- $processed_files_size = (int) $params['processed_files_size'];
61
  } else {
62
- $processed_files_size = 0;
63
  }
64
 
65
  // What percent of files have we processed?
@@ -80,9 +87,12 @@ class Ai1wm_Export_Content {
80
  // Set filemap pointer at the current index
81
  if ( fseek( $filemap, $filemap_bytes_offset ) !== -1 ) {
82
 
83
- // Get archive
84
  $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
85
 
 
 
 
86
  // Loop over files
87
  while ( $path = trim( fgets( $filemap ) ) ) {
88
  $file_bytes_written = 0;
@@ -91,7 +101,7 @@ class Ai1wm_Export_Content {
91
  if ( ( $completed = $archive->add_file( WP_CONTENT_DIR . DIRECTORY_SEPARATOR . $path, $path, $file_bytes_written, $file_bytes_offset, 10 ) ) ) {
92
  $file_bytes_offset = 0;
93
 
94
- // Set filemap bytes offset
95
  $filemap_bytes_offset = ftell( $filemap );
96
  }
97
 
@@ -111,6 +121,12 @@ class Ai1wm_Export_Content {
111
  }
112
  }
113
 
 
 
 
 
 
 
114
  // Close the archive file
115
  $archive->close();
116
  }
@@ -118,6 +134,9 @@ class Ai1wm_Export_Content {
118
  // End of the filemap?
119
  if ( feof( $filemap ) ) {
120
 
 
 
 
121
  // Unset file bytes offset
122
  unset( $params['file_bytes_offset'] );
123
 
@@ -127,11 +146,20 @@ class Ai1wm_Export_Content {
127
  // Unset processed files size
128
  unset( $params['processed_files_size'] );
129
 
 
 
 
 
 
 
130
  // Unset completed flag
131
  unset( $params['completed'] );
132
 
133
  } else {
134
 
 
 
 
135
  // Set file bytes offset
136
  $params['file_bytes_offset'] = $file_bytes_offset;
137
 
@@ -141,6 +169,12 @@ class Ai1wm_Export_Content {
141
  // Set processed files size
142
  $params['processed_files_size'] = $processed_files_size;
143
 
 
 
 
 
 
 
144
  // Set completed flag
145
  $params['completed'] = $completed;
146
  }
27
 
28
  public static function execute( $params ) {
29
 
30
+ // Set archive bytes offset
31
+ if ( isset( $params['archive_bytes_offset'] ) ) {
32
+ $archive_bytes_offset = (int) $params['archive_bytes_offset'];
33
+ } else {
34
+ $archive_bytes_offset = ai1wm_archive_bytes( $params );
35
+ }
36
+
37
  // Set file bytes offset
38
  if ( isset( $params['file_bytes_offset'] ) ) {
39
  $file_bytes_offset = (int) $params['file_bytes_offset'];
48
  $filemap_bytes_offset = 0;
49
  }
50
 
51
+ // Get processed files size
52
+ if ( isset( $params['processed_files_size'] ) ) {
53
+ $processed_files_size = (int) $params['processed_files_size'];
54
  } else {
55
+ $processed_files_size = 0;
56
  }
57
 
58
  // Get total files size
62
  $total_files_size = 1;
63
  }
64
 
65
+ // Get total files count
66
+ if ( isset( $params['total_files_count'] ) ) {
67
+ $total_files_count = (int) $params['total_files_count'];
68
  } else {
69
+ $total_files_count = 1;
70
  }
71
 
72
  // What percent of files have we processed?
87
  // Set filemap pointer at the current index
88
  if ( fseek( $filemap, $filemap_bytes_offset ) !== -1 ) {
89
 
90
+ // Open the archive file for writing
91
  $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
92
 
93
+ // Set the file pointer to the one that we have saved
94
+ $archive->set_file_pointer( $archive_bytes_offset );
95
+
96
  // Loop over files
97
  while ( $path = trim( fgets( $filemap ) ) ) {
98
  $file_bytes_written = 0;
101
  if ( ( $completed = $archive->add_file( WP_CONTENT_DIR . DIRECTORY_SEPARATOR . $path, $path, $file_bytes_written, $file_bytes_offset, 10 ) ) ) {
102
  $file_bytes_offset = 0;
103
 
104
+ // Get filemap bytes offset
105
  $filemap_bytes_offset = ftell( $filemap );
106
  }
107
 
121
  }
122
  }
123
 
124
+ // Get archive bytes offset
125
+ $archive_bytes_offset = $archive->get_file_pointer();
126
+
127
+ // Truncate the archive file
128
+ $archive->truncate();
129
+
130
  // Close the archive file
131
  $archive->close();
132
  }
134
  // End of the filemap?
135
  if ( feof( $filemap ) ) {
136
 
137
+ // Unset archive bytes offset
138
+ unset( $params['archive_bytes_offset'] );
139
+
140
  // Unset file bytes offset
141
  unset( $params['file_bytes_offset'] );
142
 
146
  // Unset processed files size
147
  unset( $params['processed_files_size'] );
148
 
149
+ // Unset total files size
150
+ unset( $params['total_files_size'] );
151
+
152
+ // Unset total files count
153
+ unset( $params['total_files_count'] );
154
+
155
  // Unset completed flag
156
  unset( $params['completed'] );
157
 
158
  } else {
159
 
160
+ // Set archive bytes offset
161
+ $params['archive_bytes_offset'] = $archive_bytes_offset;
162
+
163
  // Set file bytes offset
164
  $params['file_bytes_offset'] = $file_bytes_offset;
165
 
169
  // Set processed files size
170
  $params['processed_files_size'] = $processed_files_size;
171
 
172
+ // Set total files size
173
+ $params['total_files_size'] = $total_files_size;
174
+
175
+ // Set total files count
176
+ $params['total_files_count'] = $total_files_count;
177
+
178
  // Set completed flag
179
  $params['completed'] = $completed;
180
  }
lib/model/export/class-ai1wm-export-database-file.php CHANGED
@@ -34,6 +34,13 @@ class Ai1wm_Export_Database_File {
34
 
35
  $database_bytes_written = 0;
36
 
 
 
 
 
 
 
 
37
  // Set database bytes offset
38
  if ( isset( $params['database_bytes_offset'] ) ) {
39
  $database_bytes_offset = (int) $params['database_bytes_offset'];
@@ -45,7 +52,7 @@ class Ai1wm_Export_Database_File {
45
  if ( isset( $params['total_database_size'] ) ) {
46
  $total_database_size = (int) $params['total_database_size'];
47
  } else {
48
- $total_database_size = 1;
49
  }
50
 
51
  // What percent of database have we processed?
@@ -54,15 +61,21 @@ class Ai1wm_Export_Database_File {
54
  // Set progress
55
  Ai1wm_Status::info( sprintf( __( 'Archiving database...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
56
 
57
- // Get archive
58
  $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
59
 
60
- // Add file to archive
 
 
 
61
  if ( $archive->add_file( ai1wm_database_path( $params ), AI1WM_DATABASE_NAME, $database_bytes_written, $database_bytes_offset, 10 ) ) {
62
 
63
  // Set progress
64
  Ai1wm_Status::info( __( 'Done archiving database.', AI1WM_PLUGIN_NAME ) );
65
 
 
 
 
66
  // Unset database bytes offset
67
  unset( $params['database_bytes_offset'] );
68
 
@@ -74,8 +87,8 @@ class Ai1wm_Export_Database_File {
74
 
75
  } else {
76
 
77
- // Get total database size
78
- $total_database_size = ai1wm_database_bytes( $params );
79
 
80
  // What percent of database have we processed?
81
  $progress = (int) min( ( $database_bytes_offset / $total_database_size ) * 100, 100 );
@@ -83,6 +96,9 @@ class Ai1wm_Export_Database_File {
83
  // Set progress
84
  Ai1wm_Status::info( sprintf( __( 'Archiving database...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
85
 
 
 
 
86
  // Set database bytes offset
87
  $params['database_bytes_offset'] = $database_bytes_offset;
88
 
@@ -93,6 +109,9 @@ class Ai1wm_Export_Database_File {
93
  $params['completed'] = false;
94
  }
95
 
 
 
 
96
  // Close the archive file
97
  $archive->close();
98
 
34
 
35
  $database_bytes_written = 0;
36
 
37
+ // Set archive bytes offset
38
+ if ( isset( $params['archive_bytes_offset'] ) ) {
39
+ $archive_bytes_offset = (int) $params['archive_bytes_offset'];
40
+ } else {
41
+ $archive_bytes_offset = ai1wm_archive_bytes( $params );
42
+ }
43
+
44
  // Set database bytes offset
45
  if ( isset( $params['database_bytes_offset'] ) ) {
46
  $database_bytes_offset = (int) $params['database_bytes_offset'];
52
  if ( isset( $params['total_database_size'] ) ) {
53
  $total_database_size = (int) $params['total_database_size'];
54
  } else {
55
+ $total_database_size = ai1wm_database_bytes( $params );
56
  }
57
 
58
  // What percent of database have we processed?
61
  // Set progress
62
  Ai1wm_Status::info( sprintf( __( 'Archiving database...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
63
 
64
+ // Open the archive file for writing
65
  $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
66
 
67
+ // Set the file pointer to the one that we have saved
68
+ $archive->set_file_pointer( $archive_bytes_offset );
69
+
70
+ // Add database.sql to archive
71
  if ( $archive->add_file( ai1wm_database_path( $params ), AI1WM_DATABASE_NAME, $database_bytes_written, $database_bytes_offset, 10 ) ) {
72
 
73
  // Set progress
74
  Ai1wm_Status::info( __( 'Done archiving database.', AI1WM_PLUGIN_NAME ) );
75
 
76
+ // Unset archive bytes offset
77
+ unset( $params['archive_bytes_offset'] );
78
+
79
  // Unset database bytes offset
80
  unset( $params['database_bytes_offset'] );
81
 
87
 
88
  } else {
89
 
90
+ // Get archive bytes offset
91
+ $archive_bytes_offset = $archive->get_file_pointer();
92
 
93
  // What percent of database have we processed?
94
  $progress = (int) min( ( $database_bytes_offset / $total_database_size ) * 100, 100 );
96
  // Set progress
97
  Ai1wm_Status::info( sprintf( __( 'Archiving database...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
98
 
99
+ // Set archive bytes offset
100
+ $params['archive_bytes_offset'] = $archive_bytes_offset;
101
+
102
  // Set database bytes offset
103
  $params['database_bytes_offset'] = $database_bytes_offset;
104
 
109
  $params['completed'] = false;
110
  }
111
 
112
+ // Truncate the archive file
113
+ $archive->truncate();
114
+
115
  // Close the archive file
116
  $archive->close();
117
 
lib/model/export/class-ai1wm-export-download.php CHANGED
@@ -30,7 +30,7 @@ class Ai1wm_Export_Download {
30
  // Set progress
31
  Ai1wm_Status::info( __( 'Renaming exported file...', AI1WM_PLUGIN_NAME ) );
32
 
33
- // Close achive file
34
  $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
35
 
36
  // Append EOF block
30
  // Set progress
31
  Ai1wm_Status::info( __( 'Renaming exported file...', AI1WM_PLUGIN_NAME ) );
32
 
33
+ // Open the archive file for writing
34
  $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) );
35
 
36
  // Append EOF block
lib/model/export/class-ai1wm-export-enumerate.php CHANGED
@@ -27,6 +27,20 @@ class Ai1wm_Export_Enumerate {
27
 
28
  public static function execute( $params ) {
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  // Set progress
31
  Ai1wm_Status::info( __( 'Retrieving a list of all WordPress files...', AI1WM_PLUGIN_NAME ) );
32
 
@@ -88,20 +102,6 @@ class Ai1wm_Export_Enumerate {
88
  $exclude_filters = array_merge( $exclude_filters, array( 'uploads', 'blogs.dir' ) );
89
  }
90
 
91
- // Get total files count
92
- if ( isset( $params['total_files_count'] ) ) {
93
- $total_files_count = (int) $params['total_files_count'];
94
- } else {
95
- $total_files_count = 0;
96
- }
97
-
98
- // Get total files size
99
- if ( isset( $params['total_files_size'] ) ) {
100
- $total_files_size = (int) $params['total_files_size'];
101
- } else {
102
- $total_files_size = 0;
103
- }
104
-
105
  // Create map file
106
  $filemap = ai1wm_open( ai1wm_filemap_path( $params ), 'w' );
107
 
27
 
28
  public static function execute( $params ) {
29
 
30
+ // Get total files count
31
+ if ( isset( $params['total_files_count'] ) ) {
32
+ $total_files_count = (int) $params['total_files_count'];
33
+ } else {
34
+ $total_files_count = 0;
35
+ }
36
+
37
+ // Get total files size
38
+ if ( isset( $params['total_files_size'] ) ) {
39
+ $total_files_size = (int) $params['total_files_size'];
40
+ } else {
41
+ $total_files_size = 0;
42
+ }
43
+
44
  // Set progress
45
  Ai1wm_Status::info( __( 'Retrieving a list of all WordPress files...', AI1WM_PLUGIN_NAME ) );
46
 
102
  $exclude_filters = array_merge( $exclude_filters, array( 'uploads', 'blogs.dir' ) );
103
  }
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  // Create map file
106
  $filemap = ai1wm_open( ai1wm_filemap_path( $params ), 'w' );
107
 
lib/model/import/class-ai1wm-import-confirm.php CHANGED
@@ -26,6 +26,7 @@
26
  class Ai1wm_Import_Confirm {
27
 
28
  public static function execute( $params ) {
 
29
  $messages = array();
30
 
31
  // Read package.json file
26
  class Ai1wm_Import_Confirm {
27
 
28
  public static function execute( $params ) {
29
+
30
  $messages = array();
31
 
32
  // Read package.json file
lib/model/import/class-ai1wm-import-content.php CHANGED
@@ -27,15 +27,12 @@ class Ai1wm_Import_Content {
27
 
28
  public static function execute( $params ) {
29
 
30
- // Read blogs.json file
31
- $handle = ai1wm_open( ai1wm_blogs_path( $params ), 'r' );
32
-
33
- // Parse blogs.json file
34
- $blogs = ai1wm_read( $handle, filesize( ai1wm_blogs_path( $params ) ) );
35
- $blogs = json_decode( $blogs, true );
36
-
37
- // Close handle
38
- ai1wm_close( $handle );
39
 
40
  // Set file bytes offset
41
  if ( isset( $params['file_bytes_offset'] ) ) {
@@ -44,18 +41,11 @@ class Ai1wm_Import_Content {
44
  $file_bytes_offset = 0;
45
  }
46
 
47
- // Set archive bytes offset
48
- if ( isset( $params['archive_bytes_offset'] ) ) {
49
- $archive_bytes_offset = (int) $params['archive_bytes_offset'];
50
- } else {
51
- $archive_bytes_offset = 0;
52
- }
53
-
54
- // Get total files count
55
- if ( isset( $params['total_files_count'] ) ) {
56
- $total_files_count = (int) $params['total_files_count'];
57
  } else {
58
- $total_files_count = 1;
59
  }
60
 
61
  // Get total files size
@@ -65,13 +55,23 @@ class Ai1wm_Import_Content {
65
  $total_files_size = 1;
66
  }
67
 
68
- // Get processed files size
69
- if ( isset( $params['processed_files_size'] ) ) {
70
- $processed_files_size = (int) $params['processed_files_size'];
71
  } else {
72
- $processed_files_size = 0;
73
  }
74
 
 
 
 
 
 
 
 
 
 
 
75
  // What percent of files have we processed?
76
  $progress = (int) min( ( $processed_files_size / $total_files_size ) * 100, 100 );
77
 
@@ -158,7 +158,7 @@ class Ai1wm_Import_Content {
158
  $file_bytes_offset = 0;
159
  }
160
 
161
- // Set archive bytes offset
162
  $archive_bytes_offset = $archive->get_file_pointer();
163
 
164
  // Increment processed files size
@@ -180,29 +180,41 @@ class Ai1wm_Import_Content {
180
  // End of the archive?
181
  if ( $archive->has_reached_eof() ) {
182
 
183
- // Unset file bytes offset
184
- unset( $params['file_bytes_offset'] );
185
-
186
  // Unset archive bytes offset
187
  unset( $params['archive_bytes_offset'] );
188
 
 
 
 
189
  // Unset processed files size
190
  unset( $params['processed_files_size'] );
191
 
 
 
 
 
 
 
192
  // Unset completed flag
193
  unset( $params['completed'] );
194
 
195
  } else {
196
 
197
- // Set file bytes offset
198
- $params['file_bytes_offset'] = $file_bytes_offset;
199
-
200
  // Set archive bytes offset
201
  $params['archive_bytes_offset'] = $archive_bytes_offset;
202
 
 
 
 
203
  // Set processed files size
204
  $params['processed_files_size'] = $processed_files_size;
205
 
 
 
 
 
 
 
206
  // Set completed flag
207
  $params['completed'] = $completed;
208
  }
27
 
28
  public static function execute( $params ) {
29
 
30
+ // Set archive bytes offset
31
+ if ( isset( $params['archive_bytes_offset'] ) ) {
32
+ $archive_bytes_offset = (int) $params['archive_bytes_offset'];
33
+ } else {
34
+ $archive_bytes_offset = 0;
35
+ }
 
 
 
36
 
37
  // Set file bytes offset
38
  if ( isset( $params['file_bytes_offset'] ) ) {
41
  $file_bytes_offset = 0;
42
  }
43
 
44
+ // Get processed files size
45
+ if ( isset( $params['processed_files_size'] ) ) {
46
+ $processed_files_size = (int) $params['processed_files_size'];
 
 
 
 
 
 
 
47
  } else {
48
+ $processed_files_size = 0;
49
  }
50
 
51
  // Get total files size
55
  $total_files_size = 1;
56
  }
57
 
58
+ // Get total files count
59
+ if ( isset( $params['total_files_count'] ) ) {
60
+ $total_files_count = (int) $params['total_files_count'];
61
  } else {
62
+ $total_files_count = 1;
63
  }
64
 
65
+ // Read blogs.json file
66
+ $handle = ai1wm_open( ai1wm_blogs_path( $params ), 'r' );
67
+
68
+ // Parse blogs.json file
69
+ $blogs = ai1wm_read( $handle, filesize( ai1wm_blogs_path( $params ) ) );
70
+ $blogs = json_decode( $blogs, true );
71
+
72
+ // Close handle
73
+ ai1wm_close( $handle );
74
+
75
  // What percent of files have we processed?
76
  $progress = (int) min( ( $processed_files_size / $total_files_size ) * 100, 100 );
77
 
158
  $file_bytes_offset = 0;
159
  }
160
 
161
+ // Get archive bytes offset
162
  $archive_bytes_offset = $archive->get_file_pointer();
163
 
164
  // Increment processed files size
180
  // End of the archive?
181
  if ( $archive->has_reached_eof() ) {
182
 
 
 
 
183
  // Unset archive bytes offset
184
  unset( $params['archive_bytes_offset'] );
185
 
186
+ // Unset file bytes offset
187
+ unset( $params['file_bytes_offset'] );
188
+
189
  // Unset processed files size
190
  unset( $params['processed_files_size'] );
191
 
192
+ // Unset total files size
193
+ unset( $params['total_files_size'] );
194
+
195
+ // Unset total files count
196
+ unset( $params['total_files_count'] );
197
+
198
  // Unset completed flag
199
  unset( $params['completed'] );
200
 
201
  } else {
202
 
 
 
 
203
  // Set archive bytes offset
204
  $params['archive_bytes_offset'] = $archive_bytes_offset;
205
 
206
+ // Set file bytes offset
207
+ $params['file_bytes_offset'] = $file_bytes_offset;
208
+
209
  // Set processed files size
210
  $params['processed_files_size'] = $processed_files_size;
211
 
212
+ // Set total files size
213
+ $params['total_files_size'] = $total_files_size;
214
+
215
+ // Set total files count
216
+ $params['total_files_count'] = $total_files_count;
217
+
218
  // Set completed flag
219
  $params['completed'] = $completed;
220
  }
lib/model/import/class-ai1wm-import-database.php CHANGED
@@ -211,50 +211,77 @@ class Ai1wm_Import_Database {
211
  // Replace Site URL
212
  if ( $site_url !== $blog['New']['SiteURL'] ) {
213
 
214
- // Get domain
215
- $old_domain = parse_url( $site_url, PHP_URL_HOST );
216
- $new_domain = parse_url( $blog['New']['SiteURL'], PHP_URL_HOST );
 
 
 
217
 
218
- // Get path
219
- $old_path = parse_url( $site_url, PHP_URL_PATH );
220
- $new_path = parse_url( $blog['New']['SiteURL'], PHP_URL_PATH );
221
 
222
- // Get scheme
223
- $new_scheme = parse_url( $blog['New']['SiteURL'], PHP_URL_SCHEME );
 
224
 
225
- // Add domain and path
226
- if ( ! in_array( sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) ), $old_raw_values ) ) {
227
- $old_raw_values[] = sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) );
228
- $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
229
- }
230
 
231
- // Replace Site URL scheme
232
- foreach ( array( 'http', 'https' ) as $old_scheme ) {
233
 
234
- // Add plain Site URL
235
- if ( ! in_array( set_url_scheme( $site_url, $old_scheme ), $old_values ) ) {
236
- $old_values[] = set_url_scheme( $site_url, $old_scheme );
237
- $new_values[] = set_url_scheme( $blog['New']['SiteURL'], $new_scheme );
238
  }
239
 
240
- // Add URL encoded Site URL
241
- if ( ! in_array( urlencode( set_url_scheme( $site_url, $old_scheme ) ), $old_values ) ) {
242
- $old_values[] = urlencode( set_url_scheme( $site_url, $old_scheme ) );
243
- $new_values[] = urlencode( set_url_scheme( $blog['New']['SiteURL'], $new_scheme ) );
244
  }
245
 
246
- // Add JSON escaped Site URL
247
- if ( ! in_array( addcslashes( set_url_scheme( $site_url, $old_scheme ), '/' ), $old_values ) ) {
248
- $old_values[] = addcslashes( set_url_scheme( $site_url, $old_scheme ), '/' );
249
- $new_values[] = addcslashes( set_url_scheme( $blog['New']['SiteURL'], $new_scheme ), '/' );
250
  }
251
- }
252
 
253
- // Add email
254
- if ( ! isset( $config['NoEmailReplace'] ) ) {
255
- if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
256
- $old_values[] = sprintf( '@%s', $old_domain );
257
- $new_values[] = sprintf( '@%s', $new_domain );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  }
259
  }
260
  }
@@ -278,50 +305,77 @@ class Ai1wm_Import_Database {
278
  // Replace Home URL
279
  if ( $home_url !== $blog['New']['HomeURL'] ) {
280
 
281
- // Get domain
282
- $old_domain = parse_url( $home_url, PHP_URL_HOST );
283
- $new_domain = parse_url( $blog['New']['HomeURL'], PHP_URL_HOST );
 
 
 
284
 
285
- // Get path
286
- $old_path = parse_url( $home_url, PHP_URL_PATH );
287
- $new_path = parse_url( $blog['New']['HomeURL'], PHP_URL_PATH );
288
 
289
- // Get scheme
290
- $new_scheme = parse_url( $blog['New']['HomeURL'], PHP_URL_SCHEME );
 
291
 
292
- // Add domain and path
293
- if ( ! in_array( sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) ), $old_raw_values ) ) {
294
- $old_raw_values[] = sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) );
295
- $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
296
- }
297
 
298
- // Replace Home URL scheme
299
- foreach ( array( 'http', 'https' ) as $old_scheme ) {
300
 
301
- // Add plain Home URL
302
- if ( ! in_array( set_url_scheme( $home_url, $old_scheme ), $old_values ) ) {
303
- $old_values[] = set_url_scheme( $home_url, $old_scheme );
304
- $new_values[] = set_url_scheme( $blog['New']['HomeURL'], $new_scheme );
305
  }
306
 
307
- // Add URL encoded Home URL
308
- if ( ! in_array( urlencode( set_url_scheme( $home_url, $old_scheme ) ), $old_values ) ) {
309
- $old_values[] = urlencode( set_url_scheme( $home_url, $old_scheme ) );
310
- $new_values[] = urlencode( set_url_scheme( $blog['New']['HomeURL'], $new_scheme ) );
311
  }
312
 
313
- // Add JSON escaped Home URL
314
- if ( ! in_array( addcslashes( set_url_scheme( $home_url, $old_scheme ), '/' ), $old_values ) ) {
315
- $old_values[] = addcslashes( set_url_scheme( $home_url, $old_scheme ), '/' );
316
- $new_values[] = addcslashes( set_url_scheme( $blog['New']['HomeURL'], $new_scheme ), '/' );
317
  }
318
- }
319
 
320
- // Add email
321
- if ( ! isset( $config['NoEmailReplace'] ) ) {
322
- if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
323
- $old_values[] = sprintf( '@%s', $old_domain );
324
- $new_values[] = sprintf( '@%s', $new_domain );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  }
326
  }
327
  }
@@ -348,13 +402,13 @@ class Ai1wm_Import_Database {
348
 
349
  // Get www URL
350
  if ( stripos( $site_url, '//www.' ) !== false ) {
351
- $www_url = str_ireplace( '//www.', '//', $site_url );
352
  } else {
353
- $www_url = str_ireplace( '//', '//www.', $site_url );
354
  }
355
 
356
  // Replace Site URL
357
- foreach ( array( $site_url, $www_url ) as $url ) {
358
 
359
  // Get domain
360
  $old_domain = parse_url( $url, PHP_URL_HOST );
@@ -373,25 +427,41 @@ class Ai1wm_Import_Database {
373
  $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
374
  }
375
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  // Replace Site URL scheme
377
- foreach ( array( 'http', 'https' ) as $old_scheme ) {
378
 
379
  // Add plain Site URL
380
- if ( ! in_array( set_url_scheme( $url, $old_scheme ), $old_values ) ) {
381
- $old_values[] = set_url_scheme( $url, $old_scheme );
382
- $new_values[] = set_url_scheme( site_url(), $new_scheme );
383
  }
384
 
385
  // Add URL encoded Site URL
386
- if ( ! in_array( urlencode( set_url_scheme( $url, $old_scheme ) ), $old_values ) ) {
387
- $old_values[] = urlencode( set_url_scheme( $url, $old_scheme ) );
388
- $new_values[] = urlencode( set_url_scheme( site_url(), $new_scheme ) );
389
  }
390
 
391
  // Add JSON escaped Site URL
392
- if ( ! in_array( addcslashes( set_url_scheme( $url, $old_scheme ), '/' ), $old_values ) ) {
393
- $old_values[] = addcslashes( set_url_scheme( $url, $old_scheme ), '/' );
394
- $new_values[] = addcslashes( set_url_scheme( site_url(), $new_scheme ), '/' );
395
  }
396
  }
397
 
@@ -426,13 +496,13 @@ class Ai1wm_Import_Database {
426
 
427
  // Get www URL
428
  if ( stripos( $home_url, '//www.' ) !== false ) {
429
- $www_url = str_ireplace( '//www.', '//', $home_url );
430
  } else {
431
- $www_url = str_ireplace( '//', '//www.', $home_url );
432
  }
433
 
434
  // Replace Home URL
435
- foreach ( array( $home_url, $www_url ) as $url ) {
436
 
437
  // Get domain
438
  $old_domain = parse_url( $url, PHP_URL_HOST );
@@ -451,25 +521,41 @@ class Ai1wm_Import_Database {
451
  $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
452
  }
453
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  // Replace Home URL scheme
455
- foreach ( array( 'http', 'https' ) as $old_scheme ) {
456
 
457
  // Add plain Home URL
458
- if ( ! in_array( set_url_scheme( $url, $old_scheme ), $old_values ) ) {
459
- $old_values[] = set_url_scheme( $url, $old_scheme );
460
- $new_values[] = set_url_scheme( home_url(), $new_scheme );
461
  }
462
 
463
  // Add URL encoded Home URL
464
- if ( ! in_array( urlencode( set_url_scheme( $url, $old_scheme ) ), $old_values ) ) {
465
- $old_values[] = urlencode( set_url_scheme( $url, $old_scheme ) );
466
- $new_values[] = urlencode( set_url_scheme( home_url(), $new_scheme ) );
467
  }
468
 
469
  // Add JSON escaped Home URL
470
- if ( ! in_array( addcslashes( set_url_scheme( $url, $old_scheme ), '/' ), $old_values ) ) {
471
- $old_values[] = addcslashes( set_url_scheme( $url, $old_scheme ), '/' );
472
- $new_values[] = addcslashes( set_url_scheme( home_url(), $new_scheme ), '/' );
473
  }
474
  }
475
 
211
  // Replace Site URL
212
  if ( $site_url !== $blog['New']['SiteURL'] ) {
213
 
214
+ // Get www URL
215
+ if ( stripos( $site_url, '//www.' ) !== false ) {
216
+ $site_url_www_inversion = str_ireplace( '//www.', '//', $site_url );
217
+ } else {
218
+ $site_url_www_inversion = str_ireplace( '//', '//www.', $site_url );
219
+ }
220
 
221
+ // Replace Site URL
222
+ foreach ( array( $site_url, $site_url_www_inversion ) as $url ) {
 
223
 
224
+ // Get domain
225
+ $old_domain = parse_url( $url, PHP_URL_HOST );
226
+ $new_domain = parse_url( $blog['New']['SiteURL'], PHP_URL_HOST );
227
 
228
+ // Get path
229
+ $old_path = parse_url( $url, PHP_URL_PATH );
230
+ $new_path = parse_url( $blog['New']['SiteURL'], PHP_URL_PATH );
 
 
231
 
232
+ // Get scheme
233
+ $new_scheme = parse_url( $blog['New']['SiteURL'], PHP_URL_SCHEME );
234
 
235
+ // Add domain and path
236
+ if ( ! in_array( sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) ), $old_raw_values ) ) {
237
+ $old_raw_values[] = sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) );
238
+ $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
239
  }
240
 
241
+ // Add domain and path with single quote
242
+ if ( ! in_array( sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
243
+ $old_values[] = sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) );
244
+ $new_values[] = sprintf( "='%s%s", $new_domain, untrailingslashit( $new_path ) );
245
  }
246
 
247
+ // Add domain and path with double quote
248
+ if ( ! in_array( sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
249
+ $old_values[] = sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) );
250
+ $new_values[] = sprintf( '="%s%s', $new_domain, untrailingslashit( $new_path ) );
251
  }
 
252
 
253
+ // Add Site URL scheme
254
+ $old_schemes = array( 'http', 'https', '' );
255
+ $new_schemes = array( $new_scheme, $new_scheme, '' );
256
+
257
+ // Replace Site URL scheme
258
+ for ( $i = 0; $i < count( $old_schemes ); $i++ ) {
259
+
260
+ // Add plain Site URL
261
+ if ( ! in_array( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), $old_values ) ) {
262
+ $old_values[] = ai1wm_urlscheme( $url, $old_schemes[ $i ] );
263
+ $new_values[] = ai1wm_urlscheme( $blog['New']['SiteURL'], $new_schemes[ $i ] );
264
+ }
265
+
266
+ // Add URL encoded Site URL
267
+ if ( ! in_array( urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) ), $old_values ) ) {
268
+ $old_values[] = urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) );
269
+ $new_values[] = urlencode( ai1wm_urlscheme( $blog['New']['SiteURL'], $new_schemes[ $i ] ) );
270
+ }
271
+
272
+ // Add JSON escaped Site URL
273
+ if ( ! in_array( addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' ), $old_values ) ) {
274
+ $old_values[] = addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' );
275
+ $new_values[] = addcslashes( ai1wm_urlscheme( $blog['New']['SiteURL'], $new_schemes[ $i ] ), '/' );
276
+ }
277
+ }
278
+
279
+ // Add email
280
+ if ( ! isset( $config['NoEmailReplace'] ) ) {
281
+ if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
282
+ $old_values[] = sprintf( '@%s', $old_domain );
283
+ $new_values[] = sprintf( '@%s', $new_domain );
284
+ }
285
  }
286
  }
287
  }
305
  // Replace Home URL
306
  if ( $home_url !== $blog['New']['HomeURL'] ) {
307
 
308
+ // Get www URL
309
+ if ( stripos( $home_url, '//www.' ) !== false ) {
310
+ $home_url_www_inversion = str_ireplace( '//www.', '//', $home_url );
311
+ } else {
312
+ $home_url_www_inversion = str_ireplace( '//', '//www.', $home_url );
313
+ }
314
 
315
+ // Replace Home URL
316
+ foreach ( array( $home_url, $home_url_www_inversion ) as $url ) {
 
317
 
318
+ // Get domain
319
+ $old_domain = parse_url( $url, PHP_URL_HOST );
320
+ $new_domain = parse_url( $blog['New']['HomeURL'], PHP_URL_HOST );
321
 
322
+ // Get path
323
+ $old_path = parse_url( $url, PHP_URL_PATH );
324
+ $new_path = parse_url( $blog['New']['HomeURL'], PHP_URL_PATH );
 
 
325
 
326
+ // Get scheme
327
+ $new_scheme = parse_url( $blog['New']['HomeURL'], PHP_URL_SCHEME );
328
 
329
+ // Add domain and path
330
+ if ( ! in_array( sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) ), $old_raw_values ) ) {
331
+ $old_raw_values[] = sprintf( "'%s','%s'", $old_domain, trailingslashit( $old_path ) );
332
+ $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
333
  }
334
 
335
+ // Add domain and path with single quote
336
+ if ( ! in_array( sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
337
+ $old_values[] = sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) );
338
+ $new_values[] = sprintf( "='%s%s", $new_domain, untrailingslashit( $new_path ) );
339
  }
340
 
341
+ // Add domain and path with double quote
342
+ if ( ! in_array( sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
343
+ $old_values[] = sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) );
344
+ $new_values[] = sprintf( '="%s%s', $new_domain, untrailingslashit( $new_path ) );
345
  }
 
346
 
347
+ // Set Home URL scheme
348
+ $old_schemes = array( 'http', 'https', '' );
349
+ $new_schemes = array( $new_scheme, $new_scheme, '' );
350
+
351
+ // Replace Home URL scheme
352
+ for ( $i = 0; $i < count( $old_schemes ); $i++ ) {
353
+
354
+ // Add plain Home URL
355
+ if ( ! in_array( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), $old_values ) ) {
356
+ $old_values[] = ai1wm_urlscheme( $url, $old_schemes[ $i ] );
357
+ $new_values[] = ai1wm_urlscheme( $blog['New']['HomeURL'], $new_schemes[ $i ] );
358
+ }
359
+
360
+ // Add URL encoded Home URL
361
+ if ( ! in_array( urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) ), $old_values ) ) {
362
+ $old_values[] = urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) );
363
+ $new_values[] = urlencode( ai1wm_urlscheme( $blog['New']['HomeURL'], $new_schemes[ $i ] ) );
364
+ }
365
+
366
+ // Add JSON escaped Home URL
367
+ if ( ! in_array( addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' ), $old_values ) ) {
368
+ $old_values[] = addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' );
369
+ $new_values[] = addcslashes( ai1wm_urlscheme( $blog['New']['HomeURL'], $new_schemes[ $i ] ), '/' );
370
+ }
371
+ }
372
+
373
+ // Add email
374
+ if ( ! isset( $config['NoEmailReplace'] ) ) {
375
+ if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
376
+ $old_values[] = sprintf( '@%s', $old_domain );
377
+ $new_values[] = sprintf( '@%s', $new_domain );
378
+ }
379
  }
380
  }
381
  }
402
 
403
  // Get www URL
404
  if ( stripos( $site_url, '//www.' ) !== false ) {
405
+ $site_url_www_inversion = str_ireplace( '//www.', '//', $site_url );
406
  } else {
407
+ $site_url_www_inversion = str_ireplace( '//', '//www.', $site_url );
408
  }
409
 
410
  // Replace Site URL
411
+ foreach ( array( $site_url, $site_url_www_inversion ) as $url ) {
412
 
413
  // Get domain
414
  $old_domain = parse_url( $url, PHP_URL_HOST );
427
  $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
428
  }
429
 
430
+ // Add domain and path with single quote
431
+ if ( ! in_array( sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
432
+ $old_values[] = sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) );
433
+ $new_values[] = sprintf( "='%s%s", $new_domain, untrailingslashit( $new_path ) );
434
+ }
435
+
436
+ // Add domain and path with double quote
437
+ if ( ! in_array( sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
438
+ $old_values[] = sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) );
439
+ $new_values[] = sprintf( '="%s%s', $new_domain, untrailingslashit( $new_path ) );
440
+ }
441
+
442
+ // Set Site URL scheme
443
+ $old_schemes = array( 'http', 'https', '' );
444
+ $new_schemes = array( $new_scheme, $new_scheme, '' );
445
+
446
  // Replace Site URL scheme
447
+ for ( $i = 0; $i < count( $old_schemes ); $i++ ) {
448
 
449
  // Add plain Site URL
450
+ if ( ! in_array( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), $old_values ) ) {
451
+ $old_values[] = ai1wm_urlscheme( $url, $old_schemes[ $i ] );
452
+ $new_values[] = ai1wm_urlscheme( site_url(), $new_schemes[ $i ] );
453
  }
454
 
455
  // Add URL encoded Site URL
456
+ if ( ! in_array( urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) ), $old_values ) ) {
457
+ $old_values[] = urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) );
458
+ $new_values[] = urlencode( ai1wm_urlscheme( site_url(), $new_schemes[ $i ] ) );
459
  }
460
 
461
  // Add JSON escaped Site URL
462
+ if ( ! in_array( addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' ), $old_values ) ) {
463
+ $old_values[] = addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' );
464
+ $new_values[] = addcslashes( ai1wm_urlscheme( site_url(), $new_schemes[ $i ] ), '/' );
465
  }
466
  }
467
 
496
 
497
  // Get www URL
498
  if ( stripos( $home_url, '//www.' ) !== false ) {
499
+ $home_url_www_inversion = str_ireplace( '//www.', '//', $home_url );
500
  } else {
501
+ $home_url_www_inversion = str_ireplace( '//', '//www.', $home_url );
502
  }
503
 
504
  // Replace Home URL
505
+ foreach ( array( $home_url, $home_url_www_inversion ) as $url ) {
506
 
507
  // Get domain
508
  $old_domain = parse_url( $url, PHP_URL_HOST );
521
  $new_raw_values[] = sprintf( "'%s','%s'", $new_domain, trailingslashit( $new_path ) );
522
  }
523
 
524
+ // Add domain and path with single quote
525
+ if ( ! in_array( sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
526
+ $old_values[] = sprintf( "='%s%s", $old_domain, untrailingslashit( $old_path ) );
527
+ $new_values[] = sprintf( "='%s%s", $new_domain, untrailingslashit( $new_path ) );
528
+ }
529
+
530
+ // Add domain and path with double quote
531
+ if ( ! in_array( sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) ), $old_values ) ) {
532
+ $old_values[] = sprintf( '="%s%s', $old_domain, untrailingslashit( $old_path ) );
533
+ $new_values[] = sprintf( '="%s%s', $new_domain, untrailingslashit( $new_path ) );
534
+ }
535
+
536
+ // Add Home URL scheme
537
+ $old_schemes = array( 'http', 'https', '' );
538
+ $new_schemes = array( $new_scheme, $new_scheme, '' );
539
+
540
  // Replace Home URL scheme
541
+ for ( $i = 0; $i < count( $old_schemes ); $i++ ) {
542
 
543
  // Add plain Home URL
544
+ if ( ! in_array( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), $old_values ) ) {
545
+ $old_values[] = ai1wm_urlscheme( $url, $old_schemes[ $i ] );
546
+ $new_values[] = ai1wm_urlscheme( home_url(), $new_schemes[ $i ] );
547
  }
548
 
549
  // Add URL encoded Home URL
550
+ if ( ! in_array( urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) ), $old_values ) ) {
551
+ $old_values[] = urlencode( ai1wm_urlscheme( $url, $old_schemes[ $i ] ) );
552
+ $new_values[] = urlencode( ai1wm_urlscheme( home_url(), $new_schemes[ $i ] ) );
553
  }
554
 
555
  // Add JSON escaped Home URL
556
+ if ( ! in_array( addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' ), $old_values ) ) {
557
+ $old_values[] = addcslashes( ai1wm_urlscheme( $url, $old_schemes[ $i ] ), '/' );
558
+ $new_values[] = addcslashes( ai1wm_urlscheme( home_url(), $new_schemes[ $i ] ), '/' );
559
  }
560
  }
561
 
lib/model/import/class-ai1wm-import-done.php CHANGED
@@ -56,6 +56,8 @@ class Ai1wm_Import_Done {
56
  // Deactivate WordPress plugins
57
  ai1wm_deactivate_plugins( array(
58
  'invisible-recaptcha/invisible-recaptcha.php',
 
 
59
  ) );
60
 
61
  // Deactivate Jetpack modules
@@ -106,6 +108,8 @@ class Ai1wm_Import_Done {
106
  // Deactivate WordPress plugins
107
  ai1wm_deactivate_plugins( array(
108
  'invisible-recaptcha/invisible-recaptcha.php',
 
 
109
  ) );
110
 
111
  // Deactivate Jetpack modules
@@ -158,6 +162,8 @@ class Ai1wm_Import_Done {
158
  // Deactivate WordPress plugins
159
  ai1wm_deactivate_plugins( array(
160
  'invisible-recaptcha/invisible-recaptcha.php',
 
 
161
  ) );
162
 
163
  // Deactivate Jetpack modules
56
  // Deactivate WordPress plugins
57
  ai1wm_deactivate_plugins( array(
58
  'invisible-recaptcha/invisible-recaptcha.php',
59
+ 'wps-hide-login/wps-hide-login.php',
60
+ 'mycustomwidget/my_custom_widget.php',
61
  ) );
62
 
63
  // Deactivate Jetpack modules
108
  // Deactivate WordPress plugins
109
  ai1wm_deactivate_plugins( array(
110
  'invisible-recaptcha/invisible-recaptcha.php',
111
+ 'wps-hide-login/wps-hide-login.php',
112
+ 'mycustomwidget/my_custom_widget.php',
113
  ) );
114
 
115
  // Deactivate Jetpack modules
162
  // Deactivate WordPress plugins
163
  ai1wm_deactivate_plugins( array(
164
  'invisible-recaptcha/invisible-recaptcha.php',
165
+ 'wps-hide-login/wps-hide-login.php',
166
+ 'mycustomwidget/my_custom_widget.php',
167
  ) );
168
 
169
  // Deactivate Jetpack modules
lib/model/import/class-ai1wm-import-mu-plugins.php CHANGED
@@ -30,11 +30,17 @@ class Ai1wm_Import_Mu_Plugins {
30
  // Set progress
31
  Ai1wm_Status::info( __( 'Activating mu-plugins...', AI1WM_PLUGIN_NAME ) );
32
 
 
 
 
 
 
 
33
  // Open the archive file for reading
34
  $archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
35
 
36
  // Unpack mu-plugins files
37
- $archive->extract_by_files_array( WP_CONTENT_DIR, array( AI1WM_MUPLUGINS_NAME ) );
38
 
39
  // Close the archive file
40
  $archive->close();
30
  // Set progress
31
  Ai1wm_Status::info( __( 'Activating mu-plugins...', AI1WM_PLUGIN_NAME ) );
32
 
33
+ $exclude_files = array(
34
+ AI1WM_MUPLUGINS_NAME . DIRECTORY_SEPARATOR . AI1WM_ENDURANCE_PAGE_CACHE_NAME,
35
+ AI1WM_MUPLUGINS_NAME . DIRECTORY_SEPARATOR . AI1WM_ENDURANCE_PHP_EDGE_NAME,
36
+ AI1WM_MUPLUGINS_NAME . DIRECTORY_SEPARATOR . AI1WM_ENDURANCE_BROWSER_CACHE_NAME,
37
+ );
38
+
39
  // Open the archive file for reading
40
  $archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
41
 
42
  // Unpack mu-plugins files
43
+ $archive->extract_by_files_array( WP_CONTENT_DIR, array( AI1WM_MUPLUGINS_NAME ), $exclude_files );
44
 
45
  // Close the archive file
46
  $archive->close();
lib/model/import/class-ai1wm-import-validate.php CHANGED
@@ -38,6 +38,13 @@ class Ai1wm_Import_Validate {
38
  );
39
  }
40
 
 
 
 
 
 
 
 
41
  // Set file bytes offset
42
  if ( isset( $params['file_bytes_offset'] ) ) {
43
  $file_bytes_offset = (int) $params['file_bytes_offset'];
@@ -45,18 +52,15 @@ class Ai1wm_Import_Validate {
45
  $file_bytes_offset = 0;
46
  }
47
 
48
- // Set archive bytes offset
49
- if ( isset( $params['archive_bytes_offset'] ) ) {
50
- $archive_bytes_offset = (int) $params['archive_bytes_offset'];
51
  } else {
52
- $archive_bytes_offset = 0;
53
  }
54
 
55
- // Obtain the size of the archive
56
- $total_files_size = ai1wm_archive_bytes( $params );
57
-
58
- // What percent of files have we processed?
59
- $progress = (int) min( ( $archive_bytes_offset / $total_files_size ) * 100, 100 );
60
 
61
  // Set progress
62
  Ai1wm_Status::info( sprintf( __( 'Unpacking archive...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
@@ -81,7 +85,7 @@ class Ai1wm_Import_Validate {
81
  $allowed_size = apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE );
82
 
83
  // Let's check the size of the file to make sure it is less than the maximum allowed
84
- if ( ( $allowed_size > 0 ) && ( $total_files_size > $allowed_size ) ) {
85
  throw new Ai1wm_Import_Exception(
86
  sprintf(
87
  __(
@@ -102,11 +106,11 @@ class Ai1wm_Import_Validate {
102
  $file_bytes_written = 0;
103
 
104
  // Unpack package.json, multisite.json and database.sql files
105
- if ( ( $completed = $archive->extract_by_files_array( ai1wm_storage_path( $params ), array( AI1WM_PACKAGE_NAME, AI1WM_MULTISITE_NAME, AI1WM_DATABASE_NAME ), $file_bytes_written, $file_bytes_offset, 10 ) ) ) {
106
  $file_bytes_offset = 0;
107
  }
108
 
109
- // Set archive bytes offset
110
  $archive_bytes_offset = $archive->get_file_pointer();
111
  }
112
 
@@ -127,28 +131,34 @@ class Ai1wm_Import_Validate {
127
  // Set progress
128
  Ai1wm_Status::info( __( 'Done unpacking archive.', AI1WM_PLUGIN_NAME ) );
129
 
 
 
 
130
  // Unset file bytes offset
131
  unset( $params['file_bytes_offset'] );
132
 
133
- // Unset archive bytes offset
134
- unset( $params['archive_bytes_offset'] );
135
 
136
  // Unset completed flag
137
  unset( $params['completed'] );
138
 
139
  } else {
140
 
141
- // What percent of files have we processed?
142
- $progress = (int) min( ( $archive_bytes_offset / $total_files_size ) * 100, 100 );
143
 
144
  // Set progress
145
  Ai1wm_Status::info( sprintf( __( 'Unpacking archive...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
146
 
 
 
 
147
  // Set file bytes offset
148
  $params['file_bytes_offset'] = $file_bytes_offset;
149
 
150
- // Set archive bytes offset
151
- $params['archive_bytes_offset'] = $archive_bytes_offset;
152
 
153
  // Set completed flag
154
  $params['completed'] = $completed;
38
  );
39
  }
40
 
41
+ // Set archive bytes offset
42
+ if ( isset( $params['archive_bytes_offset'] ) ) {
43
+ $archive_bytes_offset = (int) $params['archive_bytes_offset'];
44
+ } else {
45
+ $archive_bytes_offset = 0;
46
+ }
47
+
48
  // Set file bytes offset
49
  if ( isset( $params['file_bytes_offset'] ) ) {
50
  $file_bytes_offset = (int) $params['file_bytes_offset'];
52
  $file_bytes_offset = 0;
53
  }
54
 
55
+ // Get total archive size
56
+ if ( isset( $params['total_archive_size'] ) ) {
57
+ $total_archive_size = (int) $params['total_archive_size'];
58
  } else {
59
+ $total_archive_size = ai1wm_archive_bytes( $params );
60
  }
61
 
62
+ // What percent of archive have we processed?
63
+ $progress = (int) min( ( $archive_bytes_offset / $total_archive_size ) * 100, 100 );
 
 
 
64
 
65
  // Set progress
66
  Ai1wm_Status::info( sprintf( __( 'Unpacking archive...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
85
  $allowed_size = apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE );
86
 
87
  // Let's check the size of the file to make sure it is less than the maximum allowed
88
+ if ( ( $allowed_size > 0 ) && ( $total_archive_size > $allowed_size ) ) {
89
  throw new Ai1wm_Import_Exception(
90
  sprintf(
91
  __(
106
  $file_bytes_written = 0;
107
 
108
  // Unpack package.json, multisite.json and database.sql files
109
+ if ( ( $completed = $archive->extract_by_files_array( ai1wm_storage_path( $params ), array( AI1WM_PACKAGE_NAME, AI1WM_MULTISITE_NAME, AI1WM_DATABASE_NAME ), array(), $file_bytes_written, $file_bytes_offset, 10 ) ) ) {
110
  $file_bytes_offset = 0;
111
  }
112
 
113
+ // Get archive bytes offset
114
  $archive_bytes_offset = $archive->get_file_pointer();
115
  }
116
 
131
  // Set progress
132
  Ai1wm_Status::info( __( 'Done unpacking archive.', AI1WM_PLUGIN_NAME ) );
133
 
134
+ // Unset archive bytes offset
135
+ unset( $params['archive_bytes_offset'] );
136
+
137
  // Unset file bytes offset
138
  unset( $params['file_bytes_offset'] );
139
 
140
+ // Unset total archive size
141
+ unset( $params['total_archive_size'] );
142
 
143
  // Unset completed flag
144
  unset( $params['completed'] );
145
 
146
  } else {
147
 
148
+ // What percent of archive have we processed?
149
+ $progress = (int) min( ( $archive_bytes_offset / $total_archive_size ) * 100, 100 );
150
 
151
  // Set progress
152
  Ai1wm_Status::info( sprintf( __( 'Unpacking archive...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $progress ) );
153
 
154
+ // Set archive bytes offset
155
+ $params['archive_bytes_offset'] = $archive_bytes_offset;
156
+
157
  // Set file bytes offset
158
  $params['file_bytes_offset'] = $file_bytes_offset;
159
 
160
+ // Set total archive size
161
+ $params['total_archive_size'] = $total_archive_size;
162
 
163
  // Set completed flag
164
  $params['completed'] = $completed;
lib/vendor/servmask/archiver/class-ai1wm-archiver.php CHANGED
@@ -107,8 +107,8 @@ abstract class Ai1wm_Archiver {
107
  * @return void
108
  */
109
  public function set_file_pointer( $offset ) {
110
- if ( @fseek( $this->file_handle, $offset, SEEK_CUR ) === -1 ) {
111
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $offset ) );
112
  }
113
  }
114
 
@@ -120,9 +120,8 @@ abstract class Ai1wm_Archiver {
120
  * @return int
121
  */
122
  public function get_file_pointer() {
123
- $offset = 0;
124
  if ( ( $offset = @ftell( $this->file_handle ) ) === false ) {
125
- throw new Ai1wm_Not_Tellable_Exception( sprintf( 'Unable to tell offset on file. File: %s', $this->file_name ) );
126
  }
127
 
128
  return $offset;
@@ -205,10 +204,25 @@ abstract class Ai1wm_Archiver {
205
  return false;
206
  }
207
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  /**
209
  * Closes the archive file
210
  *
211
- * We either close the file or append the end of file block if complete argument is set to tru
212
  *
213
  * @param bool $complete Flag to append end of file block
214
  *
@@ -220,7 +234,8 @@ abstract class Ai1wm_Archiver {
220
  $this->append_eof();
221
  }
222
 
223
- // Close the file
224
- @fclose( $this->file_handle );
 
225
  }
226
  }
107
  * @return void
108
  */
109
  public function set_file_pointer( $offset ) {
110
+ if ( @fseek( $this->file_handle, $offset, SEEK_SET ) === -1 ) {
111
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $offset ) );
112
  }
113
  }
114
 
120
  * @return int
121
  */
122
  public function get_file_pointer() {
 
123
  if ( ( $offset = @ftell( $this->file_handle ) ) === false ) {
124
+ throw new Ai1wm_Not_Tellable_Exception( sprintf( 'Unable to tell offset of file. File: %s', $this->file_name ) );
125
  }
126
 
127
  return $offset;
204
  return false;
205
  }
206
 
207
+ /**
208
+ * Truncates the archive file
209
+ *
210
+ * @return void
211
+ */
212
+ public function truncate() {
213
+ if ( ( $offset = @ftell( $this->file_handle ) ) === false ) {
214
+ throw new Ai1wm_Not_Tellable_Exception( sprintf( 'Unable to tell offset of file. File: %s', $this->file_name ) );
215
+ }
216
+
217
+ if ( @ftruncate( $this->file_handle, $offset ) === false ) {
218
+ throw new Ai1wm_Not_Truncatable_Exception( sprintf( 'Unable to truncate file. File: %s', $this->file_name ) );
219
+ }
220
+ }
221
+
222
  /**
223
  * Closes the archive file
224
  *
225
+ * We either close the file or append the end of file block if complete argument is set to true
226
  *
227
  * @param bool $complete Flag to append end of file block
228
  *
234
  $this->append_eof();
235
  }
236
 
237
+ if ( @fclose( $this->file_handle ) === false ) {
238
+ throw new Ai1wm_Not_Closable_Exception( sprintf( 'Unable to close file. File: %s', $this->file_name ) );
239
+ }
240
  }
241
  }
lib/vendor/servmask/archiver/class-ai1wm-extractor.php CHANGED
@@ -87,7 +87,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
87
 
88
  // Skip file content so we can move forward to the next file
89
  if ( @fseek( $this->file_handle, $data['size'], SEEK_CUR ) === -1 ) {
90
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $data['size'] ) );
91
  }
92
  }
93
  }
@@ -134,7 +134,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
134
 
135
  // Skip file content so we can move forward to the next file
136
  if ( @fseek( $this->file_handle, $data['size'], SEEK_CUR ) === -1 ) {
137
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $data['size'] ) );
138
  }
139
  }
140
  }
@@ -173,7 +173,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
173
  // Seek to file offset to archive file
174
  if ( $file_offset > 0 ) {
175
  if ( @fseek( $this->file_handle, - $file_offset - 4377, SEEK_CUR ) === -1 ) {
176
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, - $file_offset - 4377 ) );
177
  }
178
  }
179
 
@@ -250,7 +250,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
250
 
251
  // We don't have a match, skip file content
252
  if ( @fseek( $this->file_handle, $file_size, SEEK_CUR ) === -1 ) {
253
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $file_size ) );
254
  }
255
  }
256
  }
@@ -265,6 +265,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
265
  *
266
  * @param string $location Location where to extract files
267
  * @param array $files Files to extract
 
268
  * @param int $file_written File written (in bytes)
269
  * @param int $file_offset File offset (in bytes)
270
  * @param int $timeout Process timeout (in seconds)
@@ -274,7 +275,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
274
  *
275
  * @return bool
276
  */
277
- public function extract_by_files_array( $location, $files = array(), &$file_written = 0, &$file_offset = 0, $timeout = 0 ) {
278
  if ( false === is_dir( $location ) ) {
279
  throw new Ai1wm_Not_Directory_Exception( sprintf( 'Location is not a directory: %s', $location ) );
280
  }
@@ -291,7 +292,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
291
  // Seek to file offset to archive file
292
  if ( $file_offset > 0 ) {
293
  if ( @fseek( $this->file_handle, - $file_offset - 4377, SEEK_CUR ) === -1 ) {
294
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, - $file_offset - 4377 ) );
295
  }
296
  }
297
 
@@ -327,7 +328,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
327
  // Set should include file
328
  $should_include_file = false;
329
 
330
- // Should be extract this file?
331
  for ( $i = 0; $i < count( $files ); $i++ ) {
332
  if ( strpos( $file_name . DIRECTORY_SEPARATOR, $files[ $i ] . DIRECTORY_SEPARATOR ) === 0 ) {
333
  $should_include_file = true;
@@ -335,6 +336,14 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
335
  }
336
  }
337
 
 
 
 
 
 
 
 
 
338
  // Do we have a match?
339
  if ( $should_include_file === true ) {
340
 
@@ -359,7 +368,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
359
 
360
  // We don't have a match, skip file content
361
  if ( @fseek( $this->file_handle, $file_size, SEEK_CUR ) === -1 ) {
362
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $file_size ) );
363
  }
364
  }
365
 
@@ -405,7 +414,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
405
  // Seek to file offset to archive file
406
  if ( $file_offset > 0 ) {
407
  if ( @fseek( $this->file_handle, $file_offset, SEEK_CUR ) === -1 ) {
408
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $file_size ) );
409
  }
410
  }
411
 
@@ -470,7 +479,7 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
470
 
471
  // We don't have file permissions, skip file content
472
  if ( @fseek( $this->file_handle, $file_size, SEEK_CUR ) === -1 ) {
473
- throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset on file. File: %s Offset: %d', $this->file_name, $file_size ) );
474
  }
475
  }
476
 
87
 
88
  // Skip file content so we can move forward to the next file
89
  if ( @fseek( $this->file_handle, $data['size'], SEEK_CUR ) === -1 ) {
90
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $data['size'] ) );
91
  }
92
  }
93
  }
134
 
135
  // Skip file content so we can move forward to the next file
136
  if ( @fseek( $this->file_handle, $data['size'], SEEK_CUR ) === -1 ) {
137
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $data['size'] ) );
138
  }
139
  }
140
  }
173
  // Seek to file offset to archive file
174
  if ( $file_offset > 0 ) {
175
  if ( @fseek( $this->file_handle, - $file_offset - 4377, SEEK_CUR ) === -1 ) {
176
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, - $file_offset - 4377 ) );
177
  }
178
  }
179
 
250
 
251
  // We don't have a match, skip file content
252
  if ( @fseek( $this->file_handle, $file_size, SEEK_CUR ) === -1 ) {
253
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $file_size ) );
254
  }
255
  }
256
  }
265
  *
266
  * @param string $location Location where to extract files
267
  * @param array $files Files to extract
268
+ * @param array $exclude Files to exclude
269
  * @param int $file_written File written (in bytes)
270
  * @param int $file_offset File offset (in bytes)
271
  * @param int $timeout Process timeout (in seconds)
275
  *
276
  * @return bool
277
  */
278
+ public function extract_by_files_array( $location, $files = array(), $exclude = array(), &$file_written = 0, &$file_offset = 0, $timeout = 0 ) {
279
  if ( false === is_dir( $location ) ) {
280
  throw new Ai1wm_Not_Directory_Exception( sprintf( 'Location is not a directory: %s', $location ) );
281
  }
292
  // Seek to file offset to archive file
293
  if ( $file_offset > 0 ) {
294
  if ( @fseek( $this->file_handle, - $file_offset - 4377, SEEK_CUR ) === -1 ) {
295
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, - $file_offset - 4377 ) );
296
  }
297
  }
298
 
328
  // Set should include file
329
  $should_include_file = false;
330
 
331
+ // Should we extract this file?
332
  for ( $i = 0; $i < count( $files ); $i++ ) {
333
  if ( strpos( $file_name . DIRECTORY_SEPARATOR, $files[ $i ] . DIRECTORY_SEPARATOR ) === 0 ) {
334
  $should_include_file = true;
336
  }
337
  }
338
 
339
+ // Should we skip this file?
340
+ for ( $i = 0; $i < count( $exclude ); $i++ ) {
341
+ if ( strpos( $file_name . DIRECTORY_SEPARATOR, $exclude[ $i ] . DIRECTORY_SEPARATOR ) === 0 ) {
342
+ $should_include_file = false;
343
+ break;
344
+ }
345
+ }
346
+
347
  // Do we have a match?
348
  if ( $should_include_file === true ) {
349
 
368
 
369
  // We don't have a match, skip file content
370
  if ( @fseek( $this->file_handle, $file_size, SEEK_CUR ) === -1 ) {
371
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $file_size ) );
372
  }
373
  }
374
 
414
  // Seek to file offset to archive file
415
  if ( $file_offset > 0 ) {
416
  if ( @fseek( $this->file_handle, $file_offset, SEEK_CUR ) === -1 ) {
417
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $file_size ) );
418
  }
419
  }
420
 
479
 
480
  // We don't have file permissions, skip file content
481
  if ( @fseek( $this->file_handle, $file_size, SEEK_CUR ) === -1 ) {
482
+ throw new Ai1wm_Not_Seekable_Exception( sprintf( 'Unable to seek to offset of file. File: %s Offset: %d', $this->file_name, $file_size ) );
483
  }
484
  }
485
 
lib/vendor/servmask/command/class-ai1wm-wp-cli-command.php CHANGED
@@ -211,7 +211,7 @@ if ( class_exists( 'WP_CLI_Command' ) ) {
211
  WP_CLI::error_multi_line( array(
212
  __( 'A valid backup name must be provided in order to proceed with the restore process.', AI1WM_PLUGIN_NAME ),
213
  __( 'Example: wp ai1wm restore migration-wp-20170913-095743-931.wpress', AI1WM_PLUGIN_NAME ),
214
- ));
215
  exit;
216
  }
217
 
211
  WP_CLI::error_multi_line( array(
212
  __( 'A valid backup name must be provided in order to proceed with the restore process.', AI1WM_PLUGIN_NAME ),
213
  __( 'Example: wp ai1wm restore migration-wp-20170913-095743-931.wpress', AI1WM_PLUGIN_NAME ),
214
+ ) );
215
  exit;
216
  }
217
 
lib/vendor/servmask/cron/class-ai1wm-cron.php CHANGED
@@ -25,7 +25,7 @@
25
 
26
  class Ai1wm_Cron {
27
 
28
- /*
29
  * Schedules a hook which will be executed by the WordPress
30
  * actions core on a specific interval
31
  *
@@ -43,30 +43,30 @@ class Ai1wm_Cron {
43
  }
44
  }
45
 
46
- /*
47
  * Un-schedules all previously-scheduled cron jobs using a particular
48
  * hook name or a specific combination of hook name and arguments.
49
  *
50
- * @param string $hook Event hook
51
- * @return void
52
  */
53
  public static function clear( $hook ) {
54
- $crons = _get_cron_array();
55
- if ( empty( $crons ) ) {
56
- return;
57
  }
58
 
59
- foreach ( $crons as $timestamp => $cron ) {
60
- if ( ! empty( $cron[ $hook ] ) ) {
61
- unset( $crons[ $timestamp ][ $hook ] );
62
 
63
  // Unset empty timestamps
64
- if ( empty( $crons[ $timestamp ] ) ) {
65
- unset( $crons[ $timestamp ] );
66
  }
67
  }
68
  }
69
 
70
- return _set_cron_array( $crons );
71
  }
72
  }
25
 
26
  class Ai1wm_Cron {
27
 
28
+ /**
29
  * Schedules a hook which will be executed by the WordPress
30
  * actions core on a specific interval
31
  *
43
  }
44
  }
45
 
46
+ /**
47
  * Un-schedules all previously-scheduled cron jobs using a particular
48
  * hook name or a specific combination of hook name and arguments.
49
  *
50
+ * @param string $hook Event hook
51
+ * @return boolean
52
  */
53
  public static function clear( $hook ) {
54
+ $cron = get_option( AI1WM_CRON, array() );
55
+ if ( empty( $cron ) ) {
56
+ return false;
57
  }
58
 
59
+ foreach ( $cron as $timestamp => $hooks ) {
60
+ if ( isset( $hooks[ $hook ] ) ) {
61
+ unset( $cron[ $timestamp ][ $hook ] );
62
 
63
  // Unset empty timestamps
64
+ if ( empty( $cron[ $timestamp ] ) ) {
65
+ unset( $cron[ $timestamp ] );
66
  }
67
  }
68
  }
69
 
70
+ return update_option( AI1WM_CRON, $cron );
71
  }
72
  }
lib/vendor/servmask/database/class-ai1wm-database.php CHANGED
@@ -35,15 +35,13 @@ abstract class Ai1wm_Database {
35
  /**
36
  * WordPress database handler
37
  *
38
- * @access protected
39
- * @var mixed
40
  */
41
  protected $wpdb = null;
42
 
43
  /**
44
  * Old table prefixes
45
  *
46
- * @access protected
47
  * @var array
48
  */
49
  protected $old_table_prefixes = array();
@@ -51,7 +49,6 @@ abstract class Ai1wm_Database {
51
  /**
52
  * New table prefixes
53
  *
54
- * @access protected
55
  * @var array
56
  */
57
  protected $new_table_prefixes = array();
@@ -59,7 +56,6 @@ abstract class Ai1wm_Database {
59
  /**
60
  * Old replace values
61
  *
62
- * @access protected
63
  * @var array
64
  */
65
  protected $old_replace_values = array();
@@ -67,7 +63,6 @@ abstract class Ai1wm_Database {
67
  /**
68
  * New replace values
69
  *
70
- * @access protected
71
  * @var array
72
  */
73
  protected $new_replace_values = array();
@@ -75,7 +70,6 @@ abstract class Ai1wm_Database {
75
  /**
76
  * Table where clauses
77
  *
78
- * @access protected
79
  * @var array
80
  */
81
  protected $table_where_clauses = array();
@@ -83,7 +77,6 @@ abstract class Ai1wm_Database {
83
  /**
84
  * Table prefix columns
85
  *
86
- * @access protected
87
  * @var array
88
  */
89
  protected $table_prefix_columns = array();
@@ -91,7 +84,6 @@ abstract class Ai1wm_Database {
91
  /**
92
  * Include table prefixes
93
  *
94
- * @access protected
95
  * @var array
96
  */
97
  protected $include_table_prefixes = array();
@@ -99,7 +91,6 @@ abstract class Ai1wm_Database {
99
  /**
100
  * Exclude table prefixes
101
  *
102
- * @access protected
103
  * @var array
104
  */
105
  protected $exclude_table_prefixes = array();
@@ -107,7 +98,6 @@ abstract class Ai1wm_Database {
107
  /**
108
  * List all tables that should not be affected by the timeout of the current request
109
  *
110
- * @access protected
111
  * @var array
112
  */
113
  protected $atomic_tables = array();
@@ -115,7 +105,6 @@ abstract class Ai1wm_Database {
115
  /**
116
  * Visual Composer
117
  *
118
- * @access protected
119
  * @var bool
120
  */
121
  protected $visual_composer = false;
@@ -123,8 +112,7 @@ abstract class Ai1wm_Database {
123
  /**
124
  * Constructor
125
  *
126
- * @param object $wpdb WPDB instance
127
- * @return Ai1wm_Database
128
  */
129
  public function __construct( $wpdb ) {
130
  $this->wpdb = $wpdb;
35
  /**
36
  * WordPress database handler
37
  *
38
+ * @var object
 
39
  */
40
  protected $wpdb = null;
41
 
42
  /**
43
  * Old table prefixes
44
  *
 
45
  * @var array
46
  */
47
  protected $old_table_prefixes = array();
49
  /**
50
  * New table prefixes
51
  *
 
52
  * @var array
53
  */
54
  protected $new_table_prefixes = array();
56
  /**
57
  * Old replace values
58
  *
 
59
  * @var array
60
  */
61
  protected $old_replace_values = array();
63
  /**
64
  * New replace values
65
  *
 
66
  * @var array
67
  */
68
  protected $new_replace_values = array();
70
  /**
71
  * Table where clauses
72
  *
 
73
  * @var array
74
  */
75
  protected $table_where_clauses = array();
77
  /**
78
  * Table prefix columns
79
  *
 
80
  * @var array
81
  */
82
  protected $table_prefix_columns = array();
84
  /**
85
  * Include table prefixes
86
  *
 
87
  * @var array
88
  */
89
  protected $include_table_prefixes = array();
91
  /**
92
  * Exclude table prefixes
93
  *
 
94
  * @var array
95
  */
96
  protected $exclude_table_prefixes = array();
98
  /**
99
  * List all tables that should not be affected by the timeout of the current request
100
  *
 
101
  * @var array
102
  */
103
  protected $atomic_tables = array();
105
  /**
106
  * Visual Composer
107
  *
 
108
  * @var bool
109
  */
110
  protected $visual_composer = false;
112
  /**
113
  * Constructor
114
  *
115
+ * @param object $wpdb WPDB instance
 
116
  */
117
  public function __construct( $wpdb ) {
118
  $this->wpdb = $wpdb;
lib/view/assets/css/backups.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:260px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:288px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;margin:10px 0;padding:0 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{display:inline-block;position:absolute}.ai1mw-lines{top:9px;right:20px;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}#ai1wm-backup-progress,#ai1wm-backup-progress-bar{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;line-height:20px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:1em 0 2em;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:left}.ai1wm-backups .ai1wm-column-info{text-align:right}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:right}.ai1wm-backups thead th{padding:4px 6px;text-align:left;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:8px 6px;box-sizing:border-box;line-height:24px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:right;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions a{margin-left:4px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;white-space:nowrap;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}.ai1wm-backups-empty{line-height:2em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;right:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}#ai1wm-backup-progress,#ai1wm-backup-progress-bar{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;line-height:20px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:1em 0 2em;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:left}.ai1wm-backups .ai1wm-column-info{text-align:right}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:right}.ai1wm-backups thead th{padding:4px 6px;text-align:left;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:4px 6px;box-sizing:border-box;line-height:24px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:right;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;white-space:nowrap;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-backup-delete,.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-backup-download,.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-backup-restore{border-radius:50px;margin:0 2px;padding:4px 8px}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}.ai1wm-backups-empty{line-height:2em}
lib/view/assets/css/backups.min.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:right}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 25px 6px 50px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:right;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;left:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;right:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;right:0}.ai1wm-line-third{top:100%;right:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 26px 5px 25px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:100% 0}.ai1wm-message-close-button{position:absolute;left:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:right;width:25px;height:25px;border-radius:50%;background:100% 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:left}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;left:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:left}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 8px 6px 0}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:right;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-left:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:right;width:100%}.ai1wm-right{float:left;width:377px;margin-left:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:right;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-right:10px!important}.ai1wm-right,.ai1wm-row{margin-left:0!important}.ai1wm-right{float:right!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 2px 0 20px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-right:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;right:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(240px,-94px);transform:translate(240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:right}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:right}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-left:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}#ai1wm-backup-progress,#ai1wm-backup-progress-bar{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;line-height:20px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:1em 0 2em;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:right}.ai1wm-backups .ai1wm-column-info{text-align:left}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:left}.ai1wm-backups thead th{padding:4px 6px;text-align:right;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:4px 6px;box-sizing:border-box;line-height:24px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:left;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;white-space:nowrap;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-backup-delete,.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-backup-download,.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-backup-restore{border-radius:50px;margin:0 2px;padding:4px 8px}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}.ai1wm-backups-empty{line-height:2em}
lib/view/assets/css/common.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:260px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:288px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;margin:10px 0;padding:0 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{display:inline-block;position:absolute}.ai1mw-lines{top:9px;right:20px;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}
lib/view/assets/css/export.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:260px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:288px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;margin:10px 0;padding:0 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{display:inline-block;position:absolute}.ai1mw-lines{top:9px;right:20px;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-query div input,.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}.ai1wm-accordion ul{margin:0;padding:0;list-style:none}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(90deg);transform:rotate(90deg);display:inline-block}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-query-arrow{position:relative;top:4px;float:right}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:82px!important;margin-top:8px}.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:0 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-accordion ul,.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}.ai1wm-export-stats{margin-bottom:1em}#ai1wm-export-download{display:none;margin:0 0 2em}#ai1wm-export-download-stop{display:inline-block;margin:0 0 2em}#ai1wm-export-download.ai1wm-active{display:inline-block;-webkit-animation:ai1wm-fadein .5s;animation:ai1wm-fadein .5s}#ai1wm-export-download.ai1wm-emphasize{display:inline-block;-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}#ai1wm-export-download-size{display:block;color:#34495e}#ai1wm-queries{padding:0}
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion h4 small:after,.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out;display:inline-block}.ai1wm-accordion ul{margin:0;padding:0;list-style:none;visibility:hidden;height:0;transition:height .2s cubic-bezier(.19,1,.22,1)}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;right:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea,.ai1wm-query div input{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-query-arrow{position:relative;top:4px;float:right}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:5rem!important;margin-top:8px}.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:0 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out;border-radius:5px}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}#ai1wm-queries{padding:0}
lib/view/assets/css/export.min.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion h4 small:after,.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out;display:inline-block}.ai1wm-accordion ul{margin:0;padding:0;list-style:none;visibility:hidden;height:0;transition:height .2s cubic-bezier(.19,1,.22,1)}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 2em 0 0;visibility:visible}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:right}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 25px 6px 50px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:right;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;left:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;right:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;right:0}.ai1wm-line-third{top:100%;right:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 26px 5px 25px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:100% 0}.ai1wm-message-close-button{position:absolute;left:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:right;width:25px;height:25px;border-radius:50%;background:100% 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:left}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;left:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:left}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 8px 6px 0}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:right;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-left:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:right;width:100%}.ai1wm-right{float:left;width:377px;margin-left:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:right;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-right:10px!important}.ai1wm-right,.ai1wm-row{margin-left:0!important}.ai1wm-right{float:right!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 2px 0 20px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea,.ai1wm-query div input{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-right:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;right:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(240px,-94px);transform:translate(240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:right}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:right}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-left:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-query-arrow{position:relative;top:4px;float:left}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:5rem!important;margin-top:8px}.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:100% 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out;border-radius:5px}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}#ai1wm-queries{padding:0}
lib/view/assets/css/import.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:260px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:288px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;margin:10px 0;padding:0 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{display:inline-block;position:absolute}.ai1mw-lines{top:9px;right:20px;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline,.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide,div.ai1wm-expandable input{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area>*{pointer-events:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file>input{position:absolute;-webkit-transform:translate(-51px,-6px);transform:translate(-51px,-6px);width:158px;height:29px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0}#ai1wm-import-file>input::-webkit-file-upload-button{cursor:pointer}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over.ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-import-form{position:relative}#ai1wm-import-init{position:absolute;top:10px;left:10%;width:80%;text-align:center}#ai1wm-import-init p{font-size:18px;color:#9e9e9e}#ai1wm-import-init p i{font-size:46px}#ai1wm-import-init div.ai1wm-button-import{pointer-events:all}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:left;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;text-align:center;width:0}.ai1wm-progress-bar-percent{position:absolute;width:50px;left:50%;-webkit-transform:translate(-24px,0);transform:translate(-24px,0);font-size:.5em;background:0 0}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;right:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline,.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide,div.ai1wm-expandable input{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area>*{pointer-events:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file,.ai1wm-import-form{position:relative}#ai1wm-import-file input[type=file]{position:absolute;width:100%;height:21px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0;top:0;left:0}#ai1wm-import-file input[type=file]::-webkit-file-upload-button{cursor:pointer}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over.ai1wm-drag-drop-area{border-color:#83b4d8}#ai1wm-import-init{position:absolute;top:10px;left:10%;width:80%;text-align:center}#ai1wm-import-init p{font-size:18px;color:#9e9e9e}#ai1wm-import-init p i{font-size:46px}#ai1wm-import-init div.ai1wm-button-import{pointer-events:all}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:left;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;text-align:center;width:0}.ai1wm-progress-bar-percent{position:absolute;width:50px;left:50%;-webkit-transform:translate(-24px,0);transform:translate(-24px,0);font-size:.5em;background:0 0}
lib/view/assets/css/import.min.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:right}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 25px 6px 50px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:right;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;left:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;right:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;right:0}.ai1wm-line-third{top:100%;right:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 26px 5px 25px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:100% 0}.ai1wm-message-close-button{position:absolute;left:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:right;width:25px;height:25px;border-radius:50%;background:100% 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:left}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;left:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:left}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline,.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 8px 6px 0}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide,div.ai1wm-expandable input{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:right;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-left:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:right;width:100%}.ai1wm-right{float:left;width:377px;margin-left:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:right;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-right:10px!important}.ai1wm-right,.ai1wm-row{margin-left:0!important}.ai1wm-right{float:right!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 2px 0 20px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-right:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;right:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(240px,-94px);transform:translate(240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:right}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:right}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-left:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area>*{pointer-events:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file,.ai1wm-import-form{position:relative}#ai1wm-import-file input[type=file]{position:absolute;width:100%;height:21px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0;top:0;right:0}#ai1wm-import-file input[type=file]::-webkit-file-upload-button{cursor:pointer}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over.ai1wm-drag-drop-area{border-color:#83b4d8}#ai1wm-import-init{position:absolute;top:10px;right:10%;width:80%;text-align:center}#ai1wm-import-init p{font-size:18px;color:#9e9e9e}#ai1wm-import-init p i{font-size:46px}#ai1wm-import-init div.ai1wm-button-import{pointer-events:all}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:right;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;text-align:center;width:0}.ai1wm-progress-bar-percent{position:absolute;width:50px;right:50%;-webkit-transform:translate(24px,0);transform:translate(24px,0);font-size:.5em;background:100% 0}
lib/view/assets/css/servmask.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion h4 small:after,.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out;display:inline-block}.ai1wm-accordion ul{margin:0;padding:0;list-style:none;visibility:hidden;height:0;transition:height .2s cubic-bezier(.19,1,.22,1)}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;right:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}
lib/view/assets/css/servmask.min.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion h4 small:after,.ai1wm-container .ai1wm-row label:after{content:"\200E"}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out;display:inline-block}.ai1wm-accordion ul{margin:0;padding:0;list-style:none;visibility:hidden;height:0;transition:height .2s cubic-bezier(.19,1,.22,1)}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 2em 0 0;visibility:visible}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:right}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 25px 6px 50px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:right;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;left:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;right:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;right:0}.ai1wm-line-third{top:100%;right:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 26px 5px 25px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:100% 0}.ai1wm-message-close-button{position:absolute;left:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:right;width:25px;height:25px;border-radius:50%;background:100% 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:left}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;left:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:left}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 8px 6px 0}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:right;line-height:1.5em}.ai1wm-import-info{display:inline-block;font-size:12px;font-weight:700;margin-top:16px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}@media (min-width:855px){.ai1wm-row{margin-left:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:right;width:100%}.ai1wm-right{float:left;width:377px;margin-left:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:right;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-right:10px!important}.ai1wm-right,.ai1wm-row{margin-left:0!important}.ai1wm-right{float:right!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 2px 0 20px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-right:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;right:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(240px,-94px);transform:translate(240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:right}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:right}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-left:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}
lib/view/assets/css/updater.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:260px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:288px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;margin:10px 0;padding:0 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{display:inline-block;position:absolute}.ai1mw-lines{top:9px;right:20px;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-icon-update{font-size:13px;padding:0;margin:0;font-weight:400}.ai1wm-icon-update:before{color:#d54e21;content:'\f463';display:inline-block;font:20px/1 'dashicons';speak:none;padding:0;margin:0;vertical-align:top}.ai1wm-modal-dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.7);z-index:99999;opacity:0;transition:opacity 400ms ease-in;pointer-events:none}.ai1wm-modal-dialog:target{opacity:1;pointer-events:auto}.ai1wm-modal-dialog .ai1wm-modal-container{position:fixed;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:6px 16px 10px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-error{color:red}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-buttons{text-align:left}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-id{width:100%;padding:6px}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-help-link{font-weight:700}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-discard{margin-left:1em}
1
+ @charset "UTF-8";.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:left}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 50px 6px 25px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;right:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;left:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;left:0}.ai1wm-line-third{top:100%;left:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-icon-update{font-size:13px;padding:0;margin:0;font-weight:400}.ai1wm-icon-update:before{color:#d54e21;content:'\f463';display:inline-block;font:20px/1 'dashicons';speak:none;padding:0;margin:0;vertical-align:top}.ai1wm-modal-dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.7);z-index:99999;opacity:0;transition:opacity 400ms ease-in;pointer-events:none}.ai1wm-modal-dialog:target{opacity:1;pointer-events:auto}.ai1wm-modal-dialog .ai1wm-modal-container{position:fixed;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:6px 16px 10px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-error{color:red}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-buttons{text-align:left}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-id{width:100%;padding:6px}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-help-link{font-weight:700}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-discard{margin-left:1em}
lib/view/assets/css/updater.min.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:right}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:252px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:280px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 25px 6px 50px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:right;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;left:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;right:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;right:0}.ai1wm-line-third{top:100%;right:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 26px 5px 25px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:100% 0}.ai1wm-message-close-button{position:absolute;left:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:right;width:25px;height:25px;border-radius:50%;background:100% 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-icon-update{font-size:13px;padding:0;margin:0;font-weight:400}.ai1wm-icon-update:before{color:#d54e21;content:'\f463';display:inline-block;font:20px/1 'dashicons';speak:none;padding:0;margin:0;vertical-align:top}.ai1wm-modal-dialog{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.7);z-index:99999;opacity:0;transition:opacity 400ms ease-in;pointer-events:none}.ai1wm-modal-dialog:target{opacity:1;pointer-events:auto}.ai1wm-modal-dialog .ai1wm-modal-container{position:fixed;top:50%;right:50%;z-index:100002;width:480px;height:auto;padding:6px 16px 10px;-webkit-transform:translate(240px,-94px);transform:translate(240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-error{color:red}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-buttons{text-align:right}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-id{width:100%;padding:6px}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-help-link{font-weight:700}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-discard{margin-right:1em}
lib/view/assets/javascript/backups.min.js CHANGED
@@ -60,94 +60,40 @@
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
- /******/ return __webpack_require__(__webpack_require__.s = 42);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ({
67
 
68
  /***/ 0:
69
- /***/ (function(module, exports, __webpack_require__) {
70
 
71
- "use strict";
72
 
 
 
 
 
73
 
74
- /**
75
- * Copyright (C) 2014-2018 ServMask Inc.
76
- *
77
- * This program is free software: you can redistribute it and/or modify
78
- * it under the terms of the GNU General Public License as published by
79
- * the Free Software Foundation, either version 3 of the License, or
80
- * (at your option) any later version.
81
- *
82
- * This program is distributed in the hope that it will be useful,
83
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
84
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85
- * GNU General Public License for more details.
86
- *
87
- * You should have received a copy of the GNU General Public License
88
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
89
- *
90
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
91
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
92
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
93
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
94
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
95
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
96
- */
97
 
98
- var $ = jQuery;
99
-
100
- module.exports = {
101
- random: function random(len) {
102
- var text = '';
103
- var possible = 'abcdefghijklmnopqrstuvwxyz0123456789';
104
-
105
- for (var i = 0; i < len; i++) {
106
- text += possible.charAt(Math.floor(Math.random() * possible.length));
107
- }
108
-
109
- return text;
110
- },
111
- form: function form(id) {
112
- return $(id).serializeArray();
113
- },
114
- ucfirst: function ucfirst(text) {
115
- return text.charAt(0).toUpperCase() + text.slice(1);
116
- },
117
- list: function list(input) {
118
- // Convert object to list
119
- if ($.isPlainObject(input)) {
120
- var result = [];
121
- var params = decodeURIComponent($.param(input)).split('&');
122
-
123
- // Loop over params
124
- $.each(params, function (index, item) {
125
- var value = item.split('=');
126
-
127
- // Add item
128
- result.push({ name: value[0], value: value[1] });
129
- });
130
-
131
- return result;
132
- }
133
 
134
- return input;
135
- },
136
- json: function json(input) {
137
- if ($.type(input) === 'string') {
138
- var result = input.match(/{[\s\S]+}/);
139
- if (result !== null) {
140
- return result[0];
141
- }
142
- }
143
 
144
- return false;
145
- }
146
- };
147
 
148
  /***/ }),
149
 
150
- /***/ 18:
151
  /***/ (function(module, exports, __webpack_require__) {
152
 
153
  "use strict";
@@ -177,8 +123,7 @@ module.exports = {
177
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
178
  */
179
 
180
- var Util = __webpack_require__(0),
181
- Modal = __webpack_require__(19),
182
  $ = jQuery;
183
 
184
  var Import = function Import() {
@@ -210,7 +155,7 @@ var Import = function Import() {
210
  };
211
 
212
  Import.prototype.setParams = function (params) {
213
- this.params = Util.list(params);
214
  };
215
 
216
  Import.prototype.start = function (options, retries) {
@@ -240,7 +185,7 @@ Import.prototype.start = function (options, retries) {
240
 
241
  // Set additional params
242
  if (options) {
243
- params = params.concat(Util.list(options));
244
  }
245
 
246
  // Import
@@ -250,7 +195,7 @@ Import.prototype.start = function (options, retries) {
250
  dataType: 'json',
251
  data: params,
252
  dataFilter: function dataFilter(data, type) {
253
- return Util.json(data);
254
  }
255
  }).done(function () {
256
  self.getStatus();
@@ -290,7 +235,7 @@ Import.prototype.run = function (params, retries) {
290
  dataType: 'json',
291
  data: params,
292
  dataFilter: function dataFilter(data, type) {
293
- return Util.json(data);
294
  }
295
  }).done(function (params) {
296
  if (params) {
@@ -319,7 +264,7 @@ Import.prototype.confirm = function (options, retries) {
319
 
320
  // Set additional params
321
  if (options) {
322
- params = params.concat(Util.list(options));
323
  }
324
 
325
  // Confirm
@@ -329,7 +274,7 @@ Import.prototype.confirm = function (options, retries) {
329
  dataType: 'json',
330
  data: params,
331
  dataFilter: function dataFilter(data, type) {
332
- return Util.json(data);
333
  }
334
  }).done(function () {
335
  self.getStatus();
@@ -367,7 +312,7 @@ Import.prototype.blogs = function (options, retries) {
367
 
368
  // Set additional params
369
  if (options) {
370
- params = params.concat(Util.list(options));
371
  }
372
 
373
  // Blogs
@@ -377,7 +322,7 @@ Import.prototype.blogs = function (options, retries) {
377
  dataType: 'json',
378
  data: params,
379
  dataFilter: function dataFilter(data, type) {
380
- return Util.json(data);
381
  }
382
  }).done(function () {
383
  self.getStatus();
@@ -416,7 +361,7 @@ Import.prototype.clean = function (options, retries) {
416
 
417
  // Set additional params
418
  if (options) {
419
- params = params.concat(Util.list(options));
420
  }
421
 
422
  // Clean
@@ -426,7 +371,7 @@ Import.prototype.clean = function (options, retries) {
426
  dataType: 'json',
427
  data: params,
428
  dataFilter: function dataFilter(data, type) {
429
- return Util.json(data);
430
  }
431
  }).done(function () {
432
  // Unbinding the beforeunload event when we stop importing
@@ -464,7 +409,7 @@ Import.prototype.getStatus = function () {
464
  dataType: 'json',
465
  cache: false,
466
  dataFilter: function dataFilter(data, type) {
467
- return Util.json(data);
468
  }
469
  }).done(function (params) {
470
  if (params) {
@@ -512,7 +457,7 @@ module.exports = Import;
512
 
513
  /***/ }),
514
 
515
- /***/ 19:
516
  /***/ (function(module, exports, __webpack_require__) {
517
 
518
  "use strict";
@@ -672,7 +617,7 @@ var Modal = function Modal() {
672
  var action = $('<div class="ai1wm-import-modal-actions"></div>');
673
 
674
  // Create warning
675
- var warning = $('<span class="ai1wm-icon-notification"></span>');
676
 
677
  // Create cancel button
678
  var cancelButton = $('<button type="button" class="ai1wm-button-gray">Cancel</button>').on('click', function () {
@@ -885,7 +830,7 @@ module.exports = Modal;
885
 
886
  /***/ }),
887
 
888
- /***/ 42:
889
  /***/ (function(module, exports, __webpack_require__) {
890
 
891
  "use strict";
@@ -915,64 +860,104 @@ module.exports = Modal;
915
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
916
  */
917
 
918
- var Report = __webpack_require__(5),
919
- Feedback = __webpack_require__(6),
920
- Util = __webpack_require__(0),
921
- Import = __webpack_require__(18);
922
-
923
  jQuery(document).ready(function ($) {
924
  'use strict';
925
 
926
- $('.ai1wm-backup-actions > a').hover(function () {
927
- $(this).addClass('ai1wm-button-on');
928
- }, function () {
929
- $(this).removeClass('ai1wm-button-on');
930
- });
931
 
932
- // Delete file
933
- $('.ai1wm-backup-delete').click(function (e) {
934
- var self = $(this);
935
 
936
- // Delete file
937
- if (confirm('Are you sure you want to delete this file?')) {
938
- $.ajax({
939
- url: ai1wm_backups.ajax.url,
940
- type: 'POST',
941
- dataType: 'json',
942
- data: {
943
- 'secret_key': ai1wm_backups.secret_key,
944
- 'archive': self.data('archive')
945
- },
946
- dataFilter: function dataFilter(data, type) {
947
- return Util.json(data);
948
- },
949
- success: function success(data) {
950
- if (data.errors.length === 0) {
951
- self.closest('tr').remove();
952
- if ($('.ai1wm-backups tbody tr').length === 0) {
953
- $('.ai1wm-backups').addClass('ai1wm-hide');
954
- $('.ai1wm-backups-empty').removeClass('ai1wm-hide');
955
- }
956
- }
957
- }
958
- });
959
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
960
 
961
  e.preventDefault();
962
  });
963
 
964
- var model = new Import();
 
 
965
 
966
- // Restore from file
967
- $('.ai1wm-backup-restore').click(function (e) {
968
- var storage = Util.random(12);
969
- var options = Util.form('#ai1wm-backups-form').concat({ name: 'storage', value: storage }).concat({ name: 'archive', value: $(this).data('archive') });
 
970
 
971
- // Set global params
972
- model.setParams(options);
973
 
974
- // Start import
975
- model.start();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
976
 
977
  e.preventDefault();
978
  });
@@ -980,11 +965,11 @@ jQuery(document).ready(function ($) {
980
 
981
  /***/ }),
982
 
983
- /***/ 5:
984
  /***/ (function(module, exports, __webpack_require__) {
985
 
986
  "use strict";
987
-
988
 
989
  /**
990
  * Copyright (C) 2014-2018 ServMask Inc.
@@ -1010,80 +995,73 @@ jQuery(document).ready(function ($) {
1010
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1011
  */
1012
 
1013
- var Util = __webpack_require__(0);
 
 
1014
 
1015
  jQuery(document).ready(function ($) {
1016
  'use strict';
1017
 
1018
- $('#ai1wm-report-problem-button').click(function (e) {
1019
- $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
1020
-
1021
- e.preventDefault();
1022
  });
1023
 
1024
- $('#ai1wm-report-cancel').click(function (e) {
1025
- $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1026
 
1027
  e.preventDefault();
1028
  });
1029
 
1030
- $('#ai1wm-report-submit').click(function (event) {
1031
- event.preventDefault();
1032
 
1033
- var submit_button = $(this);
1034
- var spinner = $(submit_button).next();
1035
- var email = $('.ai1wm-report-email').val();
1036
- var message = $('.ai1wm-report-message').val();
1037
- var terms = $('.ai1wm-report-terms').is(':checked');
1038
 
1039
- $(submit_button).attr('disabled', true);
1040
- $(spinner).css('visibility', 'visible');
1041
 
1042
- $.ajax({
1043
- url: ai1wm_report.ajax.url,
1044
- type: 'POST',
1045
- dataType: 'json',
1046
- async: true,
1047
- data: {
1048
- 'secret_key': ai1wm_report.secret_key,
1049
- 'ai1wm_email': email,
1050
- 'ai1wm_message': message,
1051
- 'ai1wm_terms': +terms
1052
- },
1053
- dataFilter: function dataFilter(data, type) {
1054
- return Util.json(data);
1055
- },
1056
- success: function success(data) {
1057
- $(submit_button).attr('disabled', false);
1058
- $(spinner).css('visibility', 'hidden');
1059
-
1060
- if (data.errors.length > 0) {
1061
- // Reset previous messages
1062
- $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
1063
-
1064
- var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
1065
- $.each(data.errors, function (key, value) {
1066
- errorMessage.append('<p>' + value + '</p>');
1067
- });
1068
-
1069
- $('.ai1wm-report-problem-dialog').prepend(errorMessage);
1070
- } else {
1071
- var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
1072
- $('.ai1wm-report-problem-dialog').html(successMessage);
1073
-
1074
- // Hide message
1075
- setTimeout(function () {
1076
- $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
1077
- }, 2000);
1078
- }
1079
- }
1080
- });
1081
  });
1082
  });
1083
 
 
 
 
1084
  /***/ }),
1085
 
1086
- /***/ 6:
1087
  /***/ (function(module, exports, __webpack_require__) {
1088
 
1089
  "use strict";
@@ -1113,107 +1091,73 @@ jQuery(document).ready(function ($) {
1113
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1114
  */
1115
 
1116
- var Util = __webpack_require__(0);
1117
-
1118
  jQuery(document).ready(function ($) {
1119
  'use strict';
1120
 
1121
- // Reset feedback form
1122
-
1123
- $('.ai1wm-feedback-type').attr('checked', false);
1124
-
1125
- // Review
1126
- $('#ai1wm-feedback-type-link-1').click(function (e) {
1127
- var radio = $('#ai1wm-feedback-type-1');
1128
- if (radio.is(':checked')) {
1129
- radio.attr('checked', false);
1130
- e.preventDefault();
1131
- } else {
1132
- radio.attr('checked', true);
1133
- }
1134
- });
1135
-
1136
- // Improvement
1137
- $('#ai1wm-feedback-type-2').click(function () {
1138
- // Hide other options
1139
- $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
1140
-
1141
- // change placeholder message
1142
- $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
1143
 
1144
- // Show feedback form
1145
- $('.ai1wm-feedback-form').fadeIn();
1146
  });
1147
 
1148
- // Help
1149
- $('#ai1wm-feedback-type-3').click(function () {
1150
- // Hide other options
1151
- $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
1152
-
1153
- // change placeholder message
1154
- $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
1155
-
1156
- // Show feedback form
1157
- $('.ai1wm-feedback-form').fadeIn();
1158
- });
1159
 
1160
- // Cancel feedback form
1161
- $('#ai1wm-feedback-cancel').click(function (e) {
1162
- $('.ai1wm-feedback-form').fadeOut(function () {
1163
- $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
1164
- });
1165
  e.preventDefault();
1166
  });
1167
 
1168
- // Send feedback form
1169
- $('#ai1wm-feedback-submit').click(function (event) {
1170
- event.preventDefault();
1171
 
1172
- var submit_button = $(this);
1173
- var spinner = $(submit_button).next();
1174
- var type = $('.ai1wm-feedback-type:checked').val();
1175
- var email = $('.ai1wm-feedback-email').val();
1176
- var message = $('.ai1wm-feedback-message').val();
1177
- var terms = $('.ai1wm-feedback-terms').is(':checked');
1178
 
1179
- $(submit_button).attr('disabled', true);
1180
- $(spinner).css('visibility', 'visible');
1181
 
1182
  $.ajax({
1183
- url: ai1wm_feedback.ajax.url,
1184
  type: 'POST',
1185
  dataType: 'json',
1186
  async: true,
1187
  data: {
1188
- 'secret_key': ai1wm_feedback.secret_key,
1189
- 'ai1wm_type': type,
1190
  'ai1wm_email': email,
1191
  'ai1wm_message': message,
1192
  'ai1wm_terms': +terms
1193
  },
1194
  dataFilter: function dataFilter(data, type) {
1195
- return Util.json(data);
1196
- },
1197
- success: function success(data) {
1198
- $(submit_button).attr('disabled', false);
1199
- $(spinner).css('visibility', 'hidden');
1200
-
1201
- if (data.errors.length > 0) {
1202
- // Reset previous messages
1203
- $('.ai1wm-feedback .ai1wm-message').remove();
1204
-
1205
- var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
1206
- $.each(data.errors, function (key, value) {
1207
- errorMessage.append('<p>' + value + '</p>');
1208
- });
1209
-
1210
- $('.ai1wm-feedback').prepend(errorMessage);
1211
- } else {
1212
- var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
1213
- $('.ai1wm-feedback').html(successMessage);
1214
- }
 
 
 
 
 
1215
  }
1216
  });
 
 
1217
  });
1218
  });
1219
 
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 39);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ({
67
 
68
  /***/ 0:
69
+ /***/ (function(module, exports) {
70
 
71
+ var g;
72
 
73
+ // This works in non-strict mode
74
+ g = (function() {
75
+ return this;
76
+ })();
77
 
78
+ try {
79
+ // This works if eval is allowed (see CSP)
80
+ g = g || Function("return this")() || (1,eval)("this");
81
+ } catch(e) {
82
+ // This works if the window reference is available
83
+ if(typeof window === "object")
84
+ g = window;
85
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
+ // g can still be undefined, but nothing to do about it...
88
+ // We return undefined, instead of nothing here, so it's
89
+ // easier to handle this case. if(!global) { ...}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
+ module.exports = g;
 
 
 
 
 
 
 
 
92
 
 
 
 
93
 
94
  /***/ }),
95
 
96
+ /***/ 13:
97
  /***/ (function(module, exports, __webpack_require__) {
98
 
99
  "use strict";
123
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
124
  */
125
 
126
+ var Modal = __webpack_require__(18),
 
127
  $ = jQuery;
128
 
129
  var Import = function Import() {
155
  };
156
 
157
  Import.prototype.setParams = function (params) {
158
+ this.params = Ai1wm.Util.list(params);
159
  };
160
 
161
  Import.prototype.start = function (options, retries) {
185
 
186
  // Set additional params
187
  if (options) {
188
+ params = params.concat(Ai1wm.Util.list(options));
189
  }
190
 
191
  // Import
195
  dataType: 'json',
196
  data: params,
197
  dataFilter: function dataFilter(data, type) {
198
+ return Ai1wm.Util.json(data);
199
  }
200
  }).done(function () {
201
  self.getStatus();
235
  dataType: 'json',
236
  data: params,
237
  dataFilter: function dataFilter(data, type) {
238
+ return Ai1wm.Util.json(data);
239
  }
240
  }).done(function (params) {
241
  if (params) {
264
 
265
  // Set additional params
266
  if (options) {
267
+ params = params.concat(Ai1wm.Util.list(options));
268
  }
269
 
270
  // Confirm
274
  dataType: 'json',
275
  data: params,
276
  dataFilter: function dataFilter(data, type) {
277
+ return Ai1wm.Util.json(data);
278
  }
279
  }).done(function () {
280
  self.getStatus();
312
 
313
  // Set additional params
314
  if (options) {
315
+ params = params.concat(Ai1wm.Util.list(options));
316
  }
317
 
318
  // Blogs
322
  dataType: 'json',
323
  data: params,
324
  dataFilter: function dataFilter(data, type) {
325
+ return Ai1wm.Util.json(data);
326
  }
327
  }).done(function () {
328
  self.getStatus();
361
 
362
  // Set additional params
363
  if (options) {
364
+ params = params.concat(Ai1wm.Util.list(options));
365
  }
366
 
367
  // Clean
371
  dataType: 'json',
372
  data: params,
373
  dataFilter: function dataFilter(data, type) {
374
+ return Ai1wm.Util.json(data);
375
  }
376
  }).done(function () {
377
  // Unbinding the beforeunload event when we stop importing
409
  dataType: 'json',
410
  cache: false,
411
  dataFilter: function dataFilter(data, type) {
412
+ return Ai1wm.Util.json(data);
413
  }
414
  }).done(function (params) {
415
  if (params) {
457
 
458
  /***/ }),
459
 
460
+ /***/ 18:
461
  /***/ (function(module, exports, __webpack_require__) {
462
 
463
  "use strict";
617
  var action = $('<div class="ai1wm-import-modal-actions"></div>');
618
 
619
  // Create warning
620
+ var warning = $('<i class="ai1wm-icon-notification"></i>');
621
 
622
  // Create cancel button
623
  var cancelButton = $('<button type="button" class="ai1wm-button-gray">Cancel</button>').on('click', function () {
830
 
831
  /***/ }),
832
 
833
+ /***/ 3:
834
  /***/ (function(module, exports, __webpack_require__) {
835
 
836
  "use strict";
860
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
861
  */
862
 
 
 
 
 
 
863
  jQuery(document).ready(function ($) {
864
  'use strict';
865
 
866
+ // Reset feedback form
 
 
 
 
867
 
868
+ $('.ai1wm-feedback-type').attr('checked', false);
 
 
869
 
870
+ // Review
871
+ $('#ai1wm-feedback-type-link-1').click(function (e) {
872
+ var radio = $('#ai1wm-feedback-type-1');
873
+ if (radio.is(':checked')) {
874
+ radio.attr('checked', false);
875
+ } else {
876
+ radio.attr('checked', true);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
877
  }
878
+ });
879
+
880
+ // Improvement
881
+ $('#ai1wm-feedback-type-2').click(function () {
882
+ // Hide other options
883
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
884
+
885
+ // Change placeholder message
886
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
887
+
888
+ // Show feedback form
889
+ $('.ai1wm-feedback-form').fadeIn();
890
+ });
891
+
892
+ // Help
893
+ $('#ai1wm-feedback-type-3').click(function () {
894
+ // Hide other options
895
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
896
+
897
+ // Change placeholder message
898
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
899
+
900
+ // Show feedback form
901
+ $('.ai1wm-feedback-form').fadeIn();
902
+ });
903
+
904
+ // Cancel feedback form
905
+ $('#ai1wm-feedback-cancel').click(function (e) {
906
+ $('.ai1wm-feedback-form').fadeOut(function () {
907
+ $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
908
+ });
909
 
910
  e.preventDefault();
911
  });
912
 
913
+ // Send feedback form
914
+ $('#ai1wm-feedback-submit').click(function (e) {
915
+ var self = $(this);
916
 
917
+ var spinner = self.next();
918
+ var type = $('.ai1wm-feedback-type:checked').val();
919
+ var email = $('.ai1wm-feedback-email').val();
920
+ var message = $('.ai1wm-feedback-message').val();
921
+ var terms = $('.ai1wm-feedback-terms').is(':checked');
922
 
923
+ self.attr('disabled', true);
924
+ spinner.css('visibility', 'visible');
925
 
926
+ $.ajax({
927
+ url: ai1wm_feedback.ajax.url,
928
+ type: 'POST',
929
+ dataType: 'json',
930
+ async: true,
931
+ data: {
932
+ 'secret_key': ai1wm_feedback.secret_key,
933
+ 'ai1wm_type': type,
934
+ 'ai1wm_email': email,
935
+ 'ai1wm_message': message,
936
+ 'ai1wm_terms': +terms
937
+ },
938
+ dataFilter: function dataFilter(data, type) {
939
+ return Ai1wm.Util.json(data);
940
+ }
941
+ }).done(function (data) {
942
+ self.attr('disabled', false);
943
+ spinner.css('visibility', 'hidden');
944
+
945
+ if (data.errors.length > 0) {
946
+ $('.ai1wm-feedback .ai1wm-message').remove();
947
+
948
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
949
+ $.each(data.errors, function (key, value) {
950
+ errorMessage.append('<p>' + value + '</p>');
951
+ });
952
+
953
+ $('.ai1wm-feedback').prepend(errorMessage);
954
+ } else {
955
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
956
+ successMessage.append('<p>Thanks for submitting your feedback!</p>');
957
+
958
+ $('.ai1wm-feedback').html(successMessage);
959
+ }
960
+ });
961
 
962
  e.preventDefault();
963
  });
965
 
966
  /***/ }),
967
 
968
+ /***/ 39:
969
  /***/ (function(module, exports, __webpack_require__) {
970
 
971
  "use strict";
972
+ /* WEBPACK VAR INJECTION */(function(global) {
973
 
974
  /**
975
  * Copyright (C) 2014-2018 ServMask Inc.
995
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
996
  */
997
 
998
+ var Feedback = __webpack_require__(3),
999
+ Report = __webpack_require__(4),
1000
+ Import = __webpack_require__(13);
1001
 
1002
  jQuery(document).ready(function ($) {
1003
  'use strict';
1004
 
1005
+ $('.ai1wm-backup-actions > a').hover(function () {
1006
+ $(this).addClass('ai1wm-button-on');
1007
+ }, function () {
1008
+ $(this).removeClass('ai1wm-button-on');
1009
  });
1010
 
1011
+ // Delete file
1012
+ $('.ai1wm-backup-delete').click(function (e) {
1013
+ var self = $(this);
1014
+
1015
+ // Delete file
1016
+ if (confirm('Are you sure you want to delete this file?')) {
1017
+ $.ajax({
1018
+ url: ai1wm_backups.ajax.url,
1019
+ type: 'POST',
1020
+ dataType: 'json',
1021
+ data: {
1022
+ 'secret_key': ai1wm_backups.secret_key,
1023
+ 'archive': self.data('archive')
1024
+ },
1025
+ dataFilter: function dataFilter(data, type) {
1026
+ return Ai1wm.Util.json(data);
1027
+ }
1028
+ }).done(function (data) {
1029
+ if (data.errors.length === 0) {
1030
+ self.closest('tr').remove();
1031
+ if ($('.ai1wm-backups tbody tr').length === 0) {
1032
+ $('.ai1wm-backups').addClass('ai1wm-hide');
1033
+ $('.ai1wm-backups-empty').removeClass('ai1wm-hide');
1034
+ }
1035
+ }
1036
+ });
1037
+ }
1038
 
1039
  e.preventDefault();
1040
  });
1041
 
1042
+ var model = new Import();
 
1043
 
1044
+ // Restore from file
1045
+ $('.ai1wm-backup-restore').click(function (e) {
1046
+ var storage = Ai1wm.Util.random(12);
1047
+ var options = Ai1wm.Util.form('#ai1wm-backups-form').concat({ name: 'storage', value: storage }).concat({ name: 'archive', value: $(this).data('archive') });
 
1048
 
1049
+ // Set global params
1050
+ model.setParams(options);
1051
 
1052
+ // Start import
1053
+ model.start();
1054
+
1055
+ e.preventDefault();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1056
  });
1057
  });
1058
 
1059
+ global.Ai1wm = jQuery.extend({}, global.Ai1wm, { Feedback: Feedback, Report: Report, Import: Import });
1060
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
1061
+
1062
  /***/ }),
1063
 
1064
+ /***/ 4:
1065
  /***/ (function(module, exports, __webpack_require__) {
1066
 
1067
  "use strict";
1091
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1092
  */
1093
 
 
 
1094
  jQuery(document).ready(function ($) {
1095
  'use strict';
1096
 
1097
+ $('#ai1wm-report-problem-button').click(function (e) {
1098
+ $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1099
 
1100
+ e.preventDefault();
 
1101
  });
1102
 
1103
+ $('#ai1wm-report-cancel').click(function (e) {
1104
+ $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
 
 
 
 
 
 
 
 
 
1105
 
 
 
 
 
 
1106
  e.preventDefault();
1107
  });
1108
 
1109
+ $('#ai1wm-report-submit').click(function (r) {
1110
+ var self = $(this);
 
1111
 
1112
+ var spinner = self.next();
1113
+ var email = $('.ai1wm-report-email').val();
1114
+ var message = $('.ai1wm-report-message').val();
1115
+ var terms = $('.ai1wm-report-terms').is(':checked');
 
 
1116
 
1117
+ self.attr('disabled', true);
1118
+ spinner.css('visibility', 'visible');
1119
 
1120
  $.ajax({
1121
+ url: ai1wm_report.ajax.url,
1122
  type: 'POST',
1123
  dataType: 'json',
1124
  async: true,
1125
  data: {
1126
+ 'secret_key': ai1wm_report.secret_key,
 
1127
  'ai1wm_email': email,
1128
  'ai1wm_message': message,
1129
  'ai1wm_terms': +terms
1130
  },
1131
  dataFilter: function dataFilter(data, type) {
1132
+ return Ai1wm.Util.json(data);
1133
+ }
1134
+ }).done(function (data) {
1135
+ self.attr('disabled', false);
1136
+ spinner.css('visibility', 'hidden');
1137
+
1138
+ if (data.errors.length > 0) {
1139
+ $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
1140
+
1141
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
1142
+ $.each(data.errors, function (key, value) {
1143
+ errorMessage.append('<p>' + value + '</p>');
1144
+ });
1145
+
1146
+ $('.ai1wm-report-problem-dialog').prepend(errorMessage);
1147
+ } else {
1148
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
1149
+ successMessage.append('<p>Thanks for submitting your request!</p>');
1150
+
1151
+ $('.ai1wm-report-problem-dialog').html(successMessage);
1152
+
1153
+ // Hide message
1154
+ setTimeout(function () {
1155
+ $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
1156
+ }, 2000);
1157
  }
1158
  });
1159
+
1160
+ e.preventDefault();
1161
  });
1162
  });
1163
 
lib/view/assets/javascript/export.min.js CHANGED
@@ -60,94 +60,40 @@
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
- /******/ return __webpack_require__(__webpack_require__.s = 43);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ({
67
 
68
  /***/ 0:
69
- /***/ (function(module, exports, __webpack_require__) {
70
-
71
- "use strict";
72
-
73
-
74
- /**
75
- * Copyright (C) 2014-2018 ServMask Inc.
76
- *
77
- * This program is free software: you can redistribute it and/or modify
78
- * it under the terms of the GNU General Public License as published by
79
- * the Free Software Foundation, either version 3 of the License, or
80
- * (at your option) any later version.
81
- *
82
- * This program is distributed in the hope that it will be useful,
83
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
84
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85
- * GNU General Public License for more details.
86
- *
87
- * You should have received a copy of the GNU General Public License
88
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
89
- *
90
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
91
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
92
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
93
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
94
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
95
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
96
- */
97
-
98
- var $ = jQuery;
99
 
100
- module.exports = {
101
- random: function random(len) {
102
- var text = '';
103
- var possible = 'abcdefghijklmnopqrstuvwxyz0123456789';
104
 
105
- for (var i = 0; i < len; i++) {
106
- text += possible.charAt(Math.floor(Math.random() * possible.length));
107
- }
 
108
 
109
- return text;
110
- },
111
- form: function form(id) {
112
- return $(id).serializeArray();
113
- },
114
- ucfirst: function ucfirst(text) {
115
- return text.charAt(0).toUpperCase() + text.slice(1);
116
- },
117
- list: function list(input) {
118
- // Convert object to list
119
- if ($.isPlainObject(input)) {
120
- var result = [];
121
- var params = decodeURIComponent($.param(input)).split('&');
122
-
123
- // Loop over params
124
- $.each(params, function (index, item) {
125
- var value = item.split('=');
126
-
127
- // Add item
128
- result.push({ name: value[0], value: value[1] });
129
- });
130
 
131
- return result;
132
- }
 
133
 
134
- return input;
135
- },
136
- json: function json(input) {
137
- if ($.type(input) === 'string') {
138
- var result = input.match(/{[\s\S]+}/);
139
- if (result !== null) {
140
- return result[0];
141
- }
142
- }
143
 
144
- return false;
145
- }
146
- };
147
 
148
  /***/ }),
149
 
150
- /***/ 20:
151
  /***/ (function(module, exports, __webpack_require__) {
152
 
153
  "use strict";
@@ -177,73 +123,112 @@ module.exports = {
177
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
178
  */
179
 
180
- var Util = __webpack_require__(0),
181
- Dialog = __webpack_require__(21);
182
 
183
- var Extensions = {
184
- 's3': 'Amazon S3 Extension',
185
- 'url': 'URL Extension',
186
- 'ftp': 'FTP Extension',
187
- 'gdrive': 'Google Drive Extension',
188
- 'dropbox': 'Dropbox Extension'
189
- };
190
 
191
- window.Ai1wmExportController = function (provider) {
192
- this._export = {};
193
- this._provider = provider;
194
- };
195
 
196
- window.Ai1wmExportController.prototype.start = function () {
197
- new Dialog('<strong>All in One WP Migration</strong> is not compatible with current version of ' + '<strong>' + Extensions[this._provider] + '</strong>. Please contact ' + '<a href="mailto:support@servmask.com">support@servmask.com</a> for more details.');
198
- };
 
 
 
 
 
 
199
 
200
- window.Ai1wmImportController = function (provider) {
201
- this._import = {};
202
- this._provider = provider;
203
- };
204
 
205
- window.Ai1wmImportController.prototype.init = function () {};
 
206
 
207
- window.Ai1wmImportController.prototype.download = function () {
208
- new Dialog('<strong>All in One WP Migration</strong> is not compatible with current version of ' + '<strong>' + Extensions[this._provider] + '</strong>. Please contact ' + '<a href="mailto:support@servmask.com">support@servmask.com</a> for more details.');
209
- };
210
 
211
- jQuery(document).ready(function ($) {
212
- 'use strict';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
 
214
- // Box extension
 
215
 
216
- $('#ai1wmbe-import-file-cancel').attr('type', 'button');
217
- $('#ai1wmbe-import-file').attr('type', 'button');
 
218
 
219
- // Dropbox extension
220
- $('#ai1wmde-import-file-cancel').attr('type', 'button');
221
- $('#ai1wmde-import-file').attr('type', 'button');
 
 
222
 
223
- // FTP extension
224
- $('#ai1wmfe-import-file-cancel').attr('type', 'button');
225
- $('#ai1wmfe-import-file').attr('type', 'button');
226
 
227
- // Google Drive extension
228
- $('#ai1wmge-import-file-cancel').attr('type', 'button');
229
- $('#ai1wmge-import-file').attr('type', 'button');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
 
231
- // OneDrive extension
232
- $('#ai1wmoe-import-file-cancel').attr('type', 'button');
233
- $('#ai1wmoe-import-file').attr('type', 'button');
 
234
 
235
- // Amazon S3 extension
236
- $('#ai1wmse-import-file-cancel').attr('type', 'button');
237
- $('#ai1wmse-import-file').attr('type', 'button');
 
 
 
 
 
238
 
239
- // URL extension
240
- $('#ai1wmle-import-file-cancel').attr('type', 'button');
241
- $('#ai1wmle-import-file').attr('type', 'button');
242
  });
243
 
244
  /***/ }),
245
 
246
- /***/ 21:
247
  /***/ (function(module, exports, __webpack_require__) {
248
 
249
  "use strict";
@@ -273,56 +258,79 @@ jQuery(document).ready(function ($) {
273
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
274
  */
275
 
276
- var $ = jQuery;
 
277
 
278
- var Dialog = function Dialog(text) {
279
- var self = this;
280
 
281
- // Create the overlay
282
- this.overlay = $('<div class="ai1wm-overlay"></div>');
283
 
284
- // Create the modal container
285
- this.container = $('<div></div>');
286
 
287
- // Create the modal container
288
- this.modal = $('<div class="ai1wm-modal-container"></div>');
289
 
290
- // Create section to hold title, message and action
291
- this.section = $('<section></section>');
292
 
293
- // Create paragraph to hold mesage
294
- this.message = $('<p></p>').addClass('ai1wm-dialog-message').html(text);
 
 
295
 
296
- // Create action section
297
- this.action = $('<div></div>');
298
 
299
- // Create close button
300
- this.closeButton = $('<button type="button" class="ai1wm-button-red">Close</button>').on('click', function () {
301
- self.modal.hide();
302
- self.overlay.hide();
303
- });
 
 
 
 
 
 
 
 
 
 
 
 
304
 
305
- // Append close button
306
- this.action.append(this.closeButton);
307
 
308
- // Append message to section
309
- this.section.append(this.message);
 
 
310
 
311
- // Append section and action to container
312
- this.container.append(this.section).append(this.action);
 
 
313
 
314
- // Render modal
315
- this.modal.html(this.container).show();
316
- this.overlay.show();
317
 
318
- $('body').append(this.overlay).append(this.modal);
319
- };
 
 
 
 
320
 
321
- module.exports = Dialog;
 
 
322
 
323
  /***/ }),
324
 
325
- /***/ 43:
326
  /***/ (function(module, exports, __webpack_require__) {
327
 
328
  "use strict";
@@ -352,13 +360,11 @@ module.exports = Dialog;
352
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
353
  */
354
 
355
- var Query = __webpack_require__(44),
356
- FindReplace = __webpack_require__(45),
357
- Report = __webpack_require__(5),
358
- Feedback = __webpack_require__(6),
359
- Util = __webpack_require__(0),
360
- Deprecated = __webpack_require__(20),
361
- Export = __webpack_require__(46);
362
 
363
  jQuery(document).ready(function ($) {
364
  'use strict';
@@ -367,8 +373,8 @@ jQuery(document).ready(function ($) {
367
 
368
  // Export to file
369
  $('#ai1wm-export-file').click(function (e) {
370
- var storage = Util.random(12);
371
- var options = Util.form('#ai1wm-export-form').concat({ name: 'storage', value: storage });
372
 
373
  // Set global params
374
  model.setParams(options);
@@ -392,12 +398,12 @@ jQuery(document).ready(function ($) {
392
  $('.ai1wm-query').ai1wm_query();
393
  });
394
 
395
- global.Ai1wm = { Util: Util, Export: Export };
396
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7)))
397
 
398
  /***/ }),
399
 
400
- /***/ 44:
401
  /***/ (function(module, exports, __webpack_require__) {
402
 
403
  "use strict";
@@ -444,13 +450,14 @@ global.Ai1wm = { Util: Util, Export: Export };
444
  var _inputValue = $(this).val().length > 0 ? $(this).val() : '<another-text>';
445
  replaceText.text(_inputValue);
446
  });
 
447
  return this;
448
  };
449
  })(jQuery);
450
 
451
  /***/ }),
452
 
453
- /***/ 45:
454
  /***/ (function(module, exports, __webpack_require__) {
455
 
456
  "use strict";
@@ -515,7 +522,7 @@ global.Ai1wm = { Util: Util, Export: Export };
515
 
516
  /***/ }),
517
 
518
- /***/ 46:
519
  /***/ (function(module, exports, __webpack_require__) {
520
 
521
  "use strict";
@@ -545,8 +552,7 @@ global.Ai1wm = { Util: Util, Export: Export };
545
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
546
  */
547
 
548
- var Util = __webpack_require__(0),
549
- Modal = __webpack_require__(47),
550
  $ = jQuery;
551
 
552
  var Export = function Export() {
@@ -568,7 +574,7 @@ var Export = function Export() {
568
  };
569
 
570
  Export.prototype.setParams = function (params) {
571
- this.params = Util.list(params);
572
  };
573
 
574
  Export.prototype.start = function (options, retries) {
@@ -598,7 +604,7 @@ Export.prototype.start = function (options, retries) {
598
 
599
  // Set additional params
600
  if (options) {
601
- params = params.concat(Util.list(options));
602
  }
603
 
604
  // Export
@@ -608,7 +614,7 @@ Export.prototype.start = function (options, retries) {
608
  dataType: 'json',
609
  data: params,
610
  dataFilter: function dataFilter(data, type) {
611
- return Util.json(data);
612
  }
613
  }).done(function () {
614
  self.getStatus();
@@ -648,7 +654,7 @@ Export.prototype.run = function (params, retries) {
648
  dataType: 'json',
649
  data: params,
650
  dataFilter: function dataFilter(data, type) {
651
- return Util.json(data);
652
  }
653
  }).done(function (params) {
654
  if (params) {
@@ -685,7 +691,7 @@ Export.prototype.clean = function (options, retries) {
685
 
686
  // Set additional params
687
  if (options) {
688
- params = params.concat(Util.list(options));
689
  }
690
 
691
  // Clean
@@ -695,7 +701,7 @@ Export.prototype.clean = function (options, retries) {
695
  dataType: 'json',
696
  data: params,
697
  dataFilter: function dataFilter(data, type) {
698
- return Util.json(data);
699
  }
700
  }).done(function () {
701
  // Unbinding the beforeunload event when we stop exporting
@@ -733,7 +739,7 @@ Export.prototype.getStatus = function () {
733
  dataType: 'json',
734
  cache: false,
735
  dataFilter: function dataFilter(data, type) {
736
- return Util.json(data);
737
  }
738
  }).done(function (params) {
739
  if (params) {
@@ -770,7 +776,7 @@ module.exports = Export;
770
 
771
  /***/ }),
772
 
773
- /***/ 47:
774
  /***/ (function(module, exports, __webpack_require__) {
775
 
776
  "use strict";
@@ -1011,273 +1017,6 @@ Modal.prototype.destroy = function () {
1011
 
1012
  module.exports = Modal;
1013
 
1014
- /***/ }),
1015
-
1016
- /***/ 5:
1017
- /***/ (function(module, exports, __webpack_require__) {
1018
-
1019
- "use strict";
1020
-
1021
-
1022
- /**
1023
- * Copyright (C) 2014-2018 ServMask Inc.
1024
- *
1025
- * This program is free software: you can redistribute it and/or modify
1026
- * it under the terms of the GNU General Public License as published by
1027
- * the Free Software Foundation, either version 3 of the License, or
1028
- * (at your option) any later version.
1029
- *
1030
- * This program is distributed in the hope that it will be useful,
1031
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1032
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1033
- * GNU General Public License for more details.
1034
- *
1035
- * You should have received a copy of the GNU General Public License
1036
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
1037
- *
1038
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
1039
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
1040
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
1041
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
1042
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
1043
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1044
- */
1045
-
1046
- var Util = __webpack_require__(0);
1047
-
1048
- jQuery(document).ready(function ($) {
1049
- 'use strict';
1050
-
1051
- $('#ai1wm-report-problem-button').click(function (e) {
1052
- $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
1053
-
1054
- e.preventDefault();
1055
- });
1056
-
1057
- $('#ai1wm-report-cancel').click(function (e) {
1058
- $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
1059
-
1060
- e.preventDefault();
1061
- });
1062
-
1063
- $('#ai1wm-report-submit').click(function (event) {
1064
- event.preventDefault();
1065
-
1066
- var submit_button = $(this);
1067
- var spinner = $(submit_button).next();
1068
- var email = $('.ai1wm-report-email').val();
1069
- var message = $('.ai1wm-report-message').val();
1070
- var terms = $('.ai1wm-report-terms').is(':checked');
1071
-
1072
- $(submit_button).attr('disabled', true);
1073
- $(spinner).css('visibility', 'visible');
1074
-
1075
- $.ajax({
1076
- url: ai1wm_report.ajax.url,
1077
- type: 'POST',
1078
- dataType: 'json',
1079
- async: true,
1080
- data: {
1081
- 'secret_key': ai1wm_report.secret_key,
1082
- 'ai1wm_email': email,
1083
- 'ai1wm_message': message,
1084
- 'ai1wm_terms': +terms
1085
- },
1086
- dataFilter: function dataFilter(data, type) {
1087
- return Util.json(data);
1088
- },
1089
- success: function success(data) {
1090
- $(submit_button).attr('disabled', false);
1091
- $(spinner).css('visibility', 'hidden');
1092
-
1093
- if (data.errors.length > 0) {
1094
- // Reset previous messages
1095
- $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
1096
-
1097
- var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
1098
- $.each(data.errors, function (key, value) {
1099
- errorMessage.append('<p>' + value + '</p>');
1100
- });
1101
-
1102
- $('.ai1wm-report-problem-dialog').prepend(errorMessage);
1103
- } else {
1104
- var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
1105
- $('.ai1wm-report-problem-dialog').html(successMessage);
1106
-
1107
- // Hide message
1108
- setTimeout(function () {
1109
- $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
1110
- }, 2000);
1111
- }
1112
- }
1113
- });
1114
- });
1115
- });
1116
-
1117
- /***/ }),
1118
-
1119
- /***/ 6:
1120
- /***/ (function(module, exports, __webpack_require__) {
1121
-
1122
- "use strict";
1123
-
1124
-
1125
- /**
1126
- * Copyright (C) 2014-2018 ServMask Inc.
1127
- *
1128
- * This program is free software: you can redistribute it and/or modify
1129
- * it under the terms of the GNU General Public License as published by
1130
- * the Free Software Foundation, either version 3 of the License, or
1131
- * (at your option) any later version.
1132
- *
1133
- * This program is distributed in the hope that it will be useful,
1134
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1135
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1136
- * GNU General Public License for more details.
1137
- *
1138
- * You should have received a copy of the GNU General Public License
1139
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
1140
- *
1141
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
1142
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
1143
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
1144
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
1145
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
1146
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1147
- */
1148
-
1149
- var Util = __webpack_require__(0);
1150
-
1151
- jQuery(document).ready(function ($) {
1152
- 'use strict';
1153
-
1154
- // Reset feedback form
1155
-
1156
- $('.ai1wm-feedback-type').attr('checked', false);
1157
-
1158
- // Review
1159
- $('#ai1wm-feedback-type-link-1').click(function (e) {
1160
- var radio = $('#ai1wm-feedback-type-1');
1161
- if (radio.is(':checked')) {
1162
- radio.attr('checked', false);
1163
- e.preventDefault();
1164
- } else {
1165
- radio.attr('checked', true);
1166
- }
1167
- });
1168
-
1169
- // Improvement
1170
- $('#ai1wm-feedback-type-2').click(function () {
1171
- // Hide other options
1172
- $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
1173
-
1174
- // change placeholder message
1175
- $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
1176
-
1177
- // Show feedback form
1178
- $('.ai1wm-feedback-form').fadeIn();
1179
- });
1180
-
1181
- // Help
1182
- $('#ai1wm-feedback-type-3').click(function () {
1183
- // Hide other options
1184
- $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
1185
-
1186
- // change placeholder message
1187
- $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
1188
-
1189
- // Show feedback form
1190
- $('.ai1wm-feedback-form').fadeIn();
1191
- });
1192
-
1193
- // Cancel feedback form
1194
- $('#ai1wm-feedback-cancel').click(function (e) {
1195
- $('.ai1wm-feedback-form').fadeOut(function () {
1196
- $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
1197
- });
1198
- e.preventDefault();
1199
- });
1200
-
1201
- // Send feedback form
1202
- $('#ai1wm-feedback-submit').click(function (event) {
1203
- event.preventDefault();
1204
-
1205
- var submit_button = $(this);
1206
- var spinner = $(submit_button).next();
1207
- var type = $('.ai1wm-feedback-type:checked').val();
1208
- var email = $('.ai1wm-feedback-email').val();
1209
- var message = $('.ai1wm-feedback-message').val();
1210
- var terms = $('.ai1wm-feedback-terms').is(':checked');
1211
-
1212
- $(submit_button).attr('disabled', true);
1213
- $(spinner).css('visibility', 'visible');
1214
-
1215
- $.ajax({
1216
- url: ai1wm_feedback.ajax.url,
1217
- type: 'POST',
1218
- dataType: 'json',
1219
- async: true,
1220
- data: {
1221
- 'secret_key': ai1wm_feedback.secret_key,
1222
- 'ai1wm_type': type,
1223
- 'ai1wm_email': email,
1224
- 'ai1wm_message': message,
1225
- 'ai1wm_terms': +terms
1226
- },
1227
- dataFilter: function dataFilter(data, type) {
1228
- return Util.json(data);
1229
- },
1230
- success: function success(data) {
1231
- $(submit_button).attr('disabled', false);
1232
- $(spinner).css('visibility', 'hidden');
1233
-
1234
- if (data.errors.length > 0) {
1235
- // Reset previous messages
1236
- $('.ai1wm-feedback .ai1wm-message').remove();
1237
-
1238
- var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
1239
- $.each(data.errors, function (key, value) {
1240
- errorMessage.append('<p>' + value + '</p>');
1241
- });
1242
-
1243
- $('.ai1wm-feedback').prepend(errorMessage);
1244
- } else {
1245
- var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
1246
- $('.ai1wm-feedback').html(successMessage);
1247
- }
1248
- }
1249
- });
1250
- });
1251
- });
1252
-
1253
- /***/ }),
1254
-
1255
- /***/ 7:
1256
- /***/ (function(module, exports) {
1257
-
1258
- var g;
1259
-
1260
- // This works in non-strict mode
1261
- g = (function() {
1262
- return this;
1263
- })();
1264
-
1265
- try {
1266
- // This works if eval is allowed (see CSP)
1267
- g = g || Function("return this")() || (1,eval)("this");
1268
- } catch(e) {
1269
- // This works if the window reference is available
1270
- if(typeof window === "object")
1271
- g = window;
1272
- }
1273
-
1274
- // g can still be undefined, but nothing to do about it...
1275
- // We return undefined, instead of nothing here, so it's
1276
- // easier to handle this case. if(!global) { ...}
1277
-
1278
- module.exports = g;
1279
-
1280
-
1281
  /***/ })
1282
 
1283
  /******/ });
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 40);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ({
67
 
68
  /***/ 0:
69
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
+ var g;
 
 
 
72
 
73
+ // This works in non-strict mode
74
+ g = (function() {
75
+ return this;
76
+ })();
77
 
78
+ try {
79
+ // This works if eval is allowed (see CSP)
80
+ g = g || Function("return this")() || (1,eval)("this");
81
+ } catch(e) {
82
+ // This works if the window reference is available
83
+ if(typeof window === "object")
84
+ g = window;
85
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
+ // g can still be undefined, but nothing to do about it...
88
+ // We return undefined, instead of nothing here, so it's
89
+ // easier to handle this case. if(!global) { ...}
90
 
91
+ module.exports = g;
 
 
 
 
 
 
 
 
92
 
 
 
 
93
 
94
  /***/ }),
95
 
96
+ /***/ 3:
97
  /***/ (function(module, exports, __webpack_require__) {
98
 
99
  "use strict";
123
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
124
  */
125
 
126
+ jQuery(document).ready(function ($) {
127
+ 'use strict';
128
 
129
+ // Reset feedback form
 
 
 
 
 
 
130
 
131
+ $('.ai1wm-feedback-type').attr('checked', false);
 
 
 
132
 
133
+ // Review
134
+ $('#ai1wm-feedback-type-link-1').click(function (e) {
135
+ var radio = $('#ai1wm-feedback-type-1');
136
+ if (radio.is(':checked')) {
137
+ radio.attr('checked', false);
138
+ } else {
139
+ radio.attr('checked', true);
140
+ }
141
+ });
142
 
143
+ // Improvement
144
+ $('#ai1wm-feedback-type-2').click(function () {
145
+ // Hide other options
146
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
147
 
148
+ // Change placeholder message
149
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
150
 
151
+ // Show feedback form
152
+ $('.ai1wm-feedback-form').fadeIn();
153
+ });
154
 
155
+ // Help
156
+ $('#ai1wm-feedback-type-3').click(function () {
157
+ // Hide other options
158
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
159
+
160
+ // Change placeholder message
161
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
162
+
163
+ // Show feedback form
164
+ $('.ai1wm-feedback-form').fadeIn();
165
+ });
166
+
167
+ // Cancel feedback form
168
+ $('#ai1wm-feedback-cancel').click(function (e) {
169
+ $('.ai1wm-feedback-form').fadeOut(function () {
170
+ $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
171
+ });
172
 
173
+ e.preventDefault();
174
+ });
175
 
176
+ // Send feedback form
177
+ $('#ai1wm-feedback-submit').click(function (e) {
178
+ var self = $(this);
179
 
180
+ var spinner = self.next();
181
+ var type = $('.ai1wm-feedback-type:checked').val();
182
+ var email = $('.ai1wm-feedback-email').val();
183
+ var message = $('.ai1wm-feedback-message').val();
184
+ var terms = $('.ai1wm-feedback-terms').is(':checked');
185
 
186
+ self.attr('disabled', true);
187
+ spinner.css('visibility', 'visible');
 
188
 
189
+ $.ajax({
190
+ url: ai1wm_feedback.ajax.url,
191
+ type: 'POST',
192
+ dataType: 'json',
193
+ async: true,
194
+ data: {
195
+ 'secret_key': ai1wm_feedback.secret_key,
196
+ 'ai1wm_type': type,
197
+ 'ai1wm_email': email,
198
+ 'ai1wm_message': message,
199
+ 'ai1wm_terms': +terms
200
+ },
201
+ dataFilter: function dataFilter(data, type) {
202
+ return Ai1wm.Util.json(data);
203
+ }
204
+ }).done(function (data) {
205
+ self.attr('disabled', false);
206
+ spinner.css('visibility', 'hidden');
207
+
208
+ if (data.errors.length > 0) {
209
+ $('.ai1wm-feedback .ai1wm-message').remove();
210
 
211
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
212
+ $.each(data.errors, function (key, value) {
213
+ errorMessage.append('<p>' + value + '</p>');
214
+ });
215
 
216
+ $('.ai1wm-feedback').prepend(errorMessage);
217
+ } else {
218
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
219
+ successMessage.append('<p>Thanks for submitting your feedback!</p>');
220
+
221
+ $('.ai1wm-feedback').html(successMessage);
222
+ }
223
+ });
224
 
225
+ e.preventDefault();
226
+ });
 
227
  });
228
 
229
  /***/ }),
230
 
231
+ /***/ 4:
232
  /***/ (function(module, exports, __webpack_require__) {
233
 
234
  "use strict";
258
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
259
  */
260
 
261
+ jQuery(document).ready(function ($) {
262
+ 'use strict';
263
 
264
+ $('#ai1wm-report-problem-button').click(function (e) {
265
+ $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
266
 
267
+ e.preventDefault();
268
+ });
269
 
270
+ $('#ai1wm-report-cancel').click(function (e) {
271
+ $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
272
 
273
+ e.preventDefault();
274
+ });
275
 
276
+ $('#ai1wm-report-submit').click(function (r) {
277
+ var self = $(this);
278
 
279
+ var spinner = self.next();
280
+ var email = $('.ai1wm-report-email').val();
281
+ var message = $('.ai1wm-report-message').val();
282
+ var terms = $('.ai1wm-report-terms').is(':checked');
283
 
284
+ self.attr('disabled', true);
285
+ spinner.css('visibility', 'visible');
286
 
287
+ $.ajax({
288
+ url: ai1wm_report.ajax.url,
289
+ type: 'POST',
290
+ dataType: 'json',
291
+ async: true,
292
+ data: {
293
+ 'secret_key': ai1wm_report.secret_key,
294
+ 'ai1wm_email': email,
295
+ 'ai1wm_message': message,
296
+ 'ai1wm_terms': +terms
297
+ },
298
+ dataFilter: function dataFilter(data, type) {
299
+ return Ai1wm.Util.json(data);
300
+ }
301
+ }).done(function (data) {
302
+ self.attr('disabled', false);
303
+ spinner.css('visibility', 'hidden');
304
 
305
+ if (data.errors.length > 0) {
306
+ $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
307
 
308
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
309
+ $.each(data.errors, function (key, value) {
310
+ errorMessage.append('<p>' + value + '</p>');
311
+ });
312
 
313
+ $('.ai1wm-report-problem-dialog').prepend(errorMessage);
314
+ } else {
315
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
316
+ successMessage.append('<p>Thanks for submitting your request!</p>');
317
 
318
+ $('.ai1wm-report-problem-dialog').html(successMessage);
 
 
319
 
320
+ // Hide message
321
+ setTimeout(function () {
322
+ $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
323
+ }, 2000);
324
+ }
325
+ });
326
 
327
+ e.preventDefault();
328
+ });
329
+ });
330
 
331
  /***/ }),
332
 
333
+ /***/ 40:
334
  /***/ (function(module, exports, __webpack_require__) {
335
 
336
  "use strict";
360
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
361
  */
362
 
363
+ var Query = __webpack_require__(41),
364
+ FindReplace = __webpack_require__(42),
365
+ Feedback = __webpack_require__(3),
366
+ Report = __webpack_require__(4),
367
+ Export = __webpack_require__(43);
 
 
368
 
369
  jQuery(document).ready(function ($) {
370
  'use strict';
373
 
374
  // Export to file
375
  $('#ai1wm-export-file').click(function (e) {
376
+ var storage = Ai1wm.Util.random(12);
377
+ var options = Ai1wm.Util.form('#ai1wm-export-form').concat({ name: 'storage', value: storage });
378
 
379
  // Set global params
380
  model.setParams(options);
398
  $('.ai1wm-query').ai1wm_query();
399
  });
400
 
401
+ global.Ai1wm = jQuery.extend({}, global.Ai1wm, { Query: Query, FindReplace: FindReplace, Feedback: Feedback, Report: Report, Export: Export });
402
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
403
 
404
  /***/ }),
405
 
406
+ /***/ 41:
407
  /***/ (function(module, exports, __webpack_require__) {
408
 
409
  "use strict";
450
  var _inputValue = $(this).val().length > 0 ? $(this).val() : '<another-text>';
451
  replaceText.text(_inputValue);
452
  });
453
+
454
  return this;
455
  };
456
  })(jQuery);
457
 
458
  /***/ }),
459
 
460
+ /***/ 42:
461
  /***/ (function(module, exports, __webpack_require__) {
462
 
463
  "use strict";
522
 
523
  /***/ }),
524
 
525
+ /***/ 43:
526
  /***/ (function(module, exports, __webpack_require__) {
527
 
528
  "use strict";
552
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
553
  */
554
 
555
+ var Modal = __webpack_require__(44),
 
556
  $ = jQuery;
557
 
558
  var Export = function Export() {
574
  };
575
 
576
  Export.prototype.setParams = function (params) {
577
+ this.params = Ai1wm.Util.list(params);
578
  };
579
 
580
  Export.prototype.start = function (options, retries) {
604
 
605
  // Set additional params
606
  if (options) {
607
+ params = params.concat(Ai1wm.Util.list(options));
608
  }
609
 
610
  // Export
614
  dataType: 'json',
615
  data: params,
616
  dataFilter: function dataFilter(data, type) {
617
+ return Ai1wm.Util.json(data);
618
  }
619
  }).done(function () {
620
  self.getStatus();
654
  dataType: 'json',
655
  data: params,
656
  dataFilter: function dataFilter(data, type) {
657
+ return Ai1wm.Util.json(data);
658
  }
659
  }).done(function (params) {
660
  if (params) {
691
 
692
  // Set additional params
693
  if (options) {
694
+ params = params.concat(Ai1wm.Util.list(options));
695
  }
696
 
697
  // Clean
701
  dataType: 'json',
702
  data: params,
703
  dataFilter: function dataFilter(data, type) {
704
+ return Ai1wm.Util.json(data);
705
  }
706
  }).done(function () {
707
  // Unbinding the beforeunload event when we stop exporting
739
  dataType: 'json',
740
  cache: false,
741
  dataFilter: function dataFilter(data, type) {
742
+ return Ai1wm.Util.json(data);
743
  }
744
  }).done(function (params) {
745
  if (params) {
776
 
777
  /***/ }),
778
 
779
+ /***/ 44:
780
  /***/ (function(module, exports, __webpack_require__) {
781
 
782
  "use strict";
1017
 
1018
  module.exports = Modal;
1019
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1020
  /***/ })
1021
 
1022
  /******/ });
lib/view/assets/javascript/feedback.min.js ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 45);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ({
67
+
68
+ /***/ 0:
69
+ /***/ (function(module, exports) {
70
+
71
+ var g;
72
+
73
+ // This works in non-strict mode
74
+ g = (function() {
75
+ return this;
76
+ })();
77
+
78
+ try {
79
+ // This works if eval is allowed (see CSP)
80
+ g = g || Function("return this")() || (1,eval)("this");
81
+ } catch(e) {
82
+ // This works if the window reference is available
83
+ if(typeof window === "object")
84
+ g = window;
85
+ }
86
+
87
+ // g can still be undefined, but nothing to do about it...
88
+ // We return undefined, instead of nothing here, so it's
89
+ // easier to handle this case. if(!global) { ...}
90
+
91
+ module.exports = g;
92
+
93
+
94
+ /***/ }),
95
+
96
+ /***/ 3:
97
+ /***/ (function(module, exports, __webpack_require__) {
98
+
99
+ "use strict";
100
+
101
+
102
+ /**
103
+ * Copyright (C) 2014-2018 ServMask Inc.
104
+ *
105
+ * This program is free software: you can redistribute it and/or modify
106
+ * it under the terms of the GNU General Public License as published by
107
+ * the Free Software Foundation, either version 3 of the License, or
108
+ * (at your option) any later version.
109
+ *
110
+ * This program is distributed in the hope that it will be useful,
111
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
112
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
113
+ * GNU General Public License for more details.
114
+ *
115
+ * You should have received a copy of the GNU General Public License
116
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
117
+ *
118
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
119
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
120
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
121
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
122
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
123
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
124
+ */
125
+
126
+ jQuery(document).ready(function ($) {
127
+ 'use strict';
128
+
129
+ // Reset feedback form
130
+
131
+ $('.ai1wm-feedback-type').attr('checked', false);
132
+
133
+ // Review
134
+ $('#ai1wm-feedback-type-link-1').click(function (e) {
135
+ var radio = $('#ai1wm-feedback-type-1');
136
+ if (radio.is(':checked')) {
137
+ radio.attr('checked', false);
138
+ } else {
139
+ radio.attr('checked', true);
140
+ }
141
+ });
142
+
143
+ // Improvement
144
+ $('#ai1wm-feedback-type-2').click(function () {
145
+ // Hide other options
146
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
147
+
148
+ // Change placeholder message
149
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
150
+
151
+ // Show feedback form
152
+ $('.ai1wm-feedback-form').fadeIn();
153
+ });
154
+
155
+ // Help
156
+ $('#ai1wm-feedback-type-3').click(function () {
157
+ // Hide other options
158
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
159
+
160
+ // Change placeholder message
161
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
162
+
163
+ // Show feedback form
164
+ $('.ai1wm-feedback-form').fadeIn();
165
+ });
166
+
167
+ // Cancel feedback form
168
+ $('#ai1wm-feedback-cancel').click(function (e) {
169
+ $('.ai1wm-feedback-form').fadeOut(function () {
170
+ $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
171
+ });
172
+
173
+ e.preventDefault();
174
+ });
175
+
176
+ // Send feedback form
177
+ $('#ai1wm-feedback-submit').click(function (e) {
178
+ var self = $(this);
179
+
180
+ var spinner = self.next();
181
+ var type = $('.ai1wm-feedback-type:checked').val();
182
+ var email = $('.ai1wm-feedback-email').val();
183
+ var message = $('.ai1wm-feedback-message').val();
184
+ var terms = $('.ai1wm-feedback-terms').is(':checked');
185
+
186
+ self.attr('disabled', true);
187
+ spinner.css('visibility', 'visible');
188
+
189
+ $.ajax({
190
+ url: ai1wm_feedback.ajax.url,
191
+ type: 'POST',
192
+ dataType: 'json',
193
+ async: true,
194
+ data: {
195
+ 'secret_key': ai1wm_feedback.secret_key,
196
+ 'ai1wm_type': type,
197
+ 'ai1wm_email': email,
198
+ 'ai1wm_message': message,
199
+ 'ai1wm_terms': +terms
200
+ },
201
+ dataFilter: function dataFilter(data, type) {
202
+ return Ai1wm.Util.json(data);
203
+ }
204
+ }).done(function (data) {
205
+ self.attr('disabled', false);
206
+ spinner.css('visibility', 'hidden');
207
+
208
+ if (data.errors.length > 0) {
209
+ $('.ai1wm-feedback .ai1wm-message').remove();
210
+
211
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
212
+ $.each(data.errors, function (key, value) {
213
+ errorMessage.append('<p>' + value + '</p>');
214
+ });
215
+
216
+ $('.ai1wm-feedback').prepend(errorMessage);
217
+ } else {
218
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
219
+ successMessage.append('<p>Thanks for submitting your feedback!</p>');
220
+
221
+ $('.ai1wm-feedback').html(successMessage);
222
+ }
223
+ });
224
+
225
+ e.preventDefault();
226
+ });
227
+ });
228
+
229
+ /***/ }),
230
+
231
+ /***/ 45:
232
+ /***/ (function(module, exports, __webpack_require__) {
233
+
234
+ "use strict";
235
+ /* WEBPACK VAR INJECTION */(function(global) {
236
+
237
+ /**
238
+ * Copyright (C) 2014-2018 ServMask Inc.
239
+ *
240
+ * This program is free software: you can redistribute it and/or modify
241
+ * it under the terms of the GNU General Public License as published by
242
+ * the Free Software Foundation, either version 3 of the License, or
243
+ * (at your option) any later version.
244
+ *
245
+ * This program is distributed in the hope that it will be useful,
246
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
247
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
248
+ * GNU General Public License for more details.
249
+ *
250
+ * You should have received a copy of the GNU General Public License
251
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
252
+ *
253
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
254
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
255
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
256
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
257
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
258
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
259
+ */
260
+
261
+ var Feedback = __webpack_require__(3);
262
+
263
+ global.Ai1wm = jQuery.extend({}, global.Ai1wm, { Feedback: Feedback });
264
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
265
+
266
+ /***/ })
267
+
268
+ /******/ });
lib/view/assets/javascript/import.min.js CHANGED
@@ -60,96 +60,42 @@
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
- /******/ return __webpack_require__(__webpack_require__.s = 48);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ([
67
  /* 0 */
68
- /***/ (function(module, exports, __webpack_require__) {
69
-
70
- "use strict";
71
-
72
-
73
- /**
74
- * Copyright (C) 2014-2018 ServMask Inc.
75
- *
76
- * This program is free software: you can redistribute it and/or modify
77
- * it under the terms of the GNU General Public License as published by
78
- * the Free Software Foundation, either version 3 of the License, or
79
- * (at your option) any later version.
80
- *
81
- * This program is distributed in the hope that it will be useful,
82
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
83
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84
- * GNU General Public License for more details.
85
- *
86
- * You should have received a copy of the GNU General Public License
87
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
88
- *
89
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
90
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
91
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
92
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
93
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
94
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
95
- */
96
-
97
- var $ = jQuery;
98
 
99
- module.exports = {
100
- random: function random(len) {
101
- var text = '';
102
- var possible = 'abcdefghijklmnopqrstuvwxyz0123456789';
103
 
104
- for (var i = 0; i < len; i++) {
105
- text += possible.charAt(Math.floor(Math.random() * possible.length));
106
- }
 
107
 
108
- return text;
109
- },
110
- form: function form(id) {
111
- return $(id).serializeArray();
112
- },
113
- ucfirst: function ucfirst(text) {
114
- return text.charAt(0).toUpperCase() + text.slice(1);
115
- },
116
- list: function list(input) {
117
- // Convert object to list
118
- if ($.isPlainObject(input)) {
119
- var result = [];
120
- var params = decodeURIComponent($.param(input)).split('&');
121
-
122
- // Loop over params
123
- $.each(params, function (index, item) {
124
- var value = item.split('=');
125
-
126
- // Add item
127
- result.push({ name: value[0], value: value[1] });
128
- });
129
 
130
- return result;
131
- }
 
132
 
133
- return input;
134
- },
135
- json: function json(input) {
136
- if ($.type(input) === 'string') {
137
- var result = input.match(/{[\s\S]+}/);
138
- if (result !== null) {
139
- return result[0];
140
- }
141
- }
142
 
143
- return false;
144
- }
145
- };
146
 
147
  /***/ }),
148
  /* 1 */
149
  /***/ (function(module, exports, __webpack_require__) {
150
 
151
- var store = __webpack_require__(30)('wks');
152
- var uid = __webpack_require__(23);
153
  var Symbol = __webpack_require__(2).Symbol;
154
  var USE_SYMBOL = typeof Symbol == 'function';
155
 
@@ -177,31 +123,6 @@ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
177
  /* 3 */
178
  /***/ (function(module, exports, __webpack_require__) {
179
 
180
- var isObject = __webpack_require__(9);
181
- module.exports = function (it) {
182
- if (!isObject(it)) throw TypeError(it + ' is not an object!');
183
- return it;
184
- };
185
-
186
-
187
- /***/ }),
188
- /* 4 */
189
- /***/ (function(module, exports, __webpack_require__) {
190
-
191
- var dP = __webpack_require__(15);
192
- var createDesc = __webpack_require__(32);
193
- module.exports = __webpack_require__(10) ? function (object, key, value) {
194
- return dP.f(object, key, createDesc(1, value));
195
- } : function (object, key, value) {
196
- object[key] = value;
197
- return object;
198
- };
199
-
200
-
201
- /***/ }),
202
- /* 5 */
203
- /***/ (function(module, exports, __webpack_require__) {
204
-
205
  "use strict";
206
 
207
 
@@ -229,79 +150,111 @@ module.exports = __webpack_require__(10) ? function (object, key, value) {
229
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
230
  */
231
 
232
- var Util = __webpack_require__(0);
233
-
234
  jQuery(document).ready(function ($) {
235
  'use strict';
236
 
237
- $('#ai1wm-report-problem-button').click(function (e) {
238
- $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
239
 
240
- e.preventDefault();
 
 
 
 
 
 
 
 
 
241
  });
242
 
243
- $('#ai1wm-report-cancel').click(function (e) {
244
- $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
 
246
  e.preventDefault();
247
  });
248
 
249
- $('#ai1wm-report-submit').click(function (event) {
250
- event.preventDefault();
 
251
 
252
- var submit_button = $(this);
253
- var spinner = $(submit_button).next();
254
- var email = $('.ai1wm-report-email').val();
255
- var message = $('.ai1wm-report-message').val();
256
- var terms = $('.ai1wm-report-terms').is(':checked');
257
 
258
- $(submit_button).attr('disabled', true);
259
- $(spinner).css('visibility', 'visible');
260
 
261
  $.ajax({
262
- url: ai1wm_report.ajax.url,
263
  type: 'POST',
264
  dataType: 'json',
265
  async: true,
266
  data: {
267
- 'secret_key': ai1wm_report.secret_key,
 
268
  'ai1wm_email': email,
269
  'ai1wm_message': message,
270
  'ai1wm_terms': +terms
271
  },
272
  dataFilter: function dataFilter(data, type) {
273
- return Util.json(data);
274
- },
275
- success: function success(data) {
276
- $(submit_button).attr('disabled', false);
277
- $(spinner).css('visibility', 'hidden');
278
-
279
- if (data.errors.length > 0) {
280
- // Reset previous messages
281
- $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
282
-
283
- var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
284
- $.each(data.errors, function (key, value) {
285
- errorMessage.append('<p>' + value + '</p>');
286
- });
287
-
288
- $('.ai1wm-report-problem-dialog').prepend(errorMessage);
289
- } else {
290
- var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
291
- $('.ai1wm-report-problem-dialog').html(successMessage);
292
-
293
- // Hide message
294
- setTimeout(function () {
295
- $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
296
- }, 2000);
297
- }
298
  }
299
  });
 
 
300
  });
301
  });
302
 
303
  /***/ }),
304
- /* 6 */
305
  /***/ (function(module, exports, __webpack_require__) {
306
 
307
  "use strict";
@@ -331,150 +284,114 @@ jQuery(document).ready(function ($) {
331
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
332
  */
333
 
334
- var Util = __webpack_require__(0);
335
-
336
  jQuery(document).ready(function ($) {
337
  'use strict';
338
 
339
- // Reset feedback form
340
-
341
- $('.ai1wm-feedback-type').attr('checked', false);
342
-
343
- // Review
344
- $('#ai1wm-feedback-type-link-1').click(function (e) {
345
- var radio = $('#ai1wm-feedback-type-1');
346
- if (radio.is(':checked')) {
347
- radio.attr('checked', false);
348
- e.preventDefault();
349
- } else {
350
- radio.attr('checked', true);
351
- }
352
- });
353
-
354
- // Improvement
355
- $('#ai1wm-feedback-type-2').click(function () {
356
- // Hide other options
357
- $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
358
-
359
- // change placeholder message
360
- $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
361
 
362
- // Show feedback form
363
- $('.ai1wm-feedback-form').fadeIn();
364
  });
365
 
366
- // Help
367
- $('#ai1wm-feedback-type-3').click(function () {
368
- // Hide other options
369
- $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
370
-
371
- // change placeholder message
372
- $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
373
-
374
- // Show feedback form
375
- $('.ai1wm-feedback-form').fadeIn();
376
- });
377
 
378
- // Cancel feedback form
379
- $('#ai1wm-feedback-cancel').click(function (e) {
380
- $('.ai1wm-feedback-form').fadeOut(function () {
381
- $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
382
- });
383
  e.preventDefault();
384
  });
385
 
386
- // Send feedback form
387
- $('#ai1wm-feedback-submit').click(function (event) {
388
- event.preventDefault();
389
 
390
- var submit_button = $(this);
391
- var spinner = $(submit_button).next();
392
- var type = $('.ai1wm-feedback-type:checked').val();
393
- var email = $('.ai1wm-feedback-email').val();
394
- var message = $('.ai1wm-feedback-message').val();
395
- var terms = $('.ai1wm-feedback-terms').is(':checked');
396
 
397
- $(submit_button).attr('disabled', true);
398
- $(spinner).css('visibility', 'visible');
399
 
400
  $.ajax({
401
- url: ai1wm_feedback.ajax.url,
402
  type: 'POST',
403
  dataType: 'json',
404
  async: true,
405
  data: {
406
- 'secret_key': ai1wm_feedback.secret_key,
407
- 'ai1wm_type': type,
408
  'ai1wm_email': email,
409
  'ai1wm_message': message,
410
  'ai1wm_terms': +terms
411
  },
412
  dataFilter: function dataFilter(data, type) {
413
- return Util.json(data);
414
- },
415
- success: function success(data) {
416
- $(submit_button).attr('disabled', false);
417
- $(spinner).css('visibility', 'hidden');
418
-
419
- if (data.errors.length > 0) {
420
- // Reset previous messages
421
- $('.ai1wm-feedback .ai1wm-message').remove();
422
-
423
- var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
424
- $.each(data.errors, function (key, value) {
425
- errorMessage.append('<p>' + value + '</p>');
426
- });
427
-
428
- $('.ai1wm-feedback').prepend(errorMessage);
429
- } else {
430
- var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
431
- $('.ai1wm-feedback').html(successMessage);
432
- }
 
 
 
 
 
433
  }
434
  });
 
 
435
  });
436
  });
437
 
438
  /***/ }),
439
- /* 7 */
440
- /***/ (function(module, exports) {
441
-
442
- var g;
443
 
444
- // This works in non-strict mode
445
- g = (function() {
446
- return this;
447
- })();
 
448
 
449
- try {
450
- // This works if eval is allowed (see CSP)
451
- g = g || Function("return this")() || (1,eval)("this");
452
- } catch(e) {
453
- // This works if the window reference is available
454
- if(typeof window === "object")
455
- g = window;
456
- }
457
 
458
- // g can still be undefined, but nothing to do about it...
459
- // We return undefined, instead of nothing here, so it's
460
- // easier to handle this case. if(!global) { ...}
461
 
462
- module.exports = g;
 
 
 
 
 
 
 
463
 
464
 
465
  /***/ }),
466
- /* 8 */
467
  /***/ (function(module, exports, __webpack_require__) {
468
 
469
  var global = __webpack_require__(2);
470
- var hide = __webpack_require__(4);
471
- var has = __webpack_require__(11);
472
- var SRC = __webpack_require__(23)('src');
473
  var TO_STRING = 'toString';
474
  var $toString = Function[TO_STRING];
475
  var TPL = ('' + $toString).split(TO_STRING);
476
 
477
- __webpack_require__(12).inspectSource = function (it) {
478
  return $toString.call(it);
479
  };
480
 
@@ -500,7 +417,7 @@ __webpack_require__(12).inspectSource = function (it) {
500
 
501
 
502
  /***/ }),
503
- /* 9 */
504
  /***/ (function(module, exports) {
505
 
506
  module.exports = function (it) {
@@ -509,17 +426,17 @@ module.exports = function (it) {
509
 
510
 
511
  /***/ }),
512
- /* 10 */
513
  /***/ (function(module, exports, __webpack_require__) {
514
 
515
  // Thank's IE8 for his funny defineProperty
516
- module.exports = !__webpack_require__(31)(function () {
517
  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
518
  });
519
 
520
 
521
  /***/ }),
522
- /* 11 */
523
  /***/ (function(module, exports) {
524
 
525
  var hasOwnProperty = {}.hasOwnProperty;
@@ -529,7 +446,7 @@ module.exports = function (it, key) {
529
 
530
 
531
  /***/ }),
532
- /* 12 */
533
  /***/ (function(module, exports) {
534
 
535
  var core = module.exports = { version: '2.5.1' };
@@ -537,83 +454,14 @@ if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
537
 
538
 
539
  /***/ }),
540
- /* 13 */
541
  /***/ (function(module, exports) {
542
 
543
  module.exports = {};
544
 
545
 
546
  /***/ }),
547
- /* 14 */
548
- /***/ (function(module, exports) {
549
-
550
- var toString = {}.toString;
551
-
552
- module.exports = function (it) {
553
- return toString.call(it).slice(8, -1);
554
- };
555
-
556
-
557
- /***/ }),
558
- /* 15 */
559
- /***/ (function(module, exports, __webpack_require__) {
560
-
561
- var anObject = __webpack_require__(3);
562
- var IE8_DOM_DEFINE = __webpack_require__(53);
563
- var toPrimitive = __webpack_require__(54);
564
- var dP = Object.defineProperty;
565
-
566
- exports.f = __webpack_require__(10) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
567
- anObject(O);
568
- P = toPrimitive(P, true);
569
- anObject(Attributes);
570
- if (IE8_DOM_DEFINE) try {
571
- return dP(O, P, Attributes);
572
- } catch (e) { /* empty */ }
573
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
574
- if ('value' in Attributes) O[P] = Attributes.value;
575
- return O;
576
- };
577
-
578
-
579
- /***/ }),
580
- /* 16 */
581
- /***/ (function(module, exports, __webpack_require__) {
582
-
583
- // optional / simple context binding
584
- var aFunction = __webpack_require__(17);
585
- module.exports = function (fn, that, length) {
586
- aFunction(fn);
587
- if (that === undefined) return fn;
588
- switch (length) {
589
- case 1: return function (a) {
590
- return fn.call(that, a);
591
- };
592
- case 2: return function (a, b) {
593
- return fn.call(that, a, b);
594
- };
595
- case 3: return function (a, b, c) {
596
- return fn.call(that, a, b, c);
597
- };
598
- }
599
- return function (/* ...args */) {
600
- return fn.apply(that, arguments);
601
- };
602
- };
603
-
604
-
605
- /***/ }),
606
- /* 17 */
607
- /***/ (function(module, exports) {
608
-
609
- module.exports = function (it) {
610
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
611
- return it;
612
- };
613
-
614
-
615
- /***/ }),
616
- /* 18 */
617
  /***/ (function(module, exports, __webpack_require__) {
618
 
619
  "use strict";
@@ -643,8 +491,7 @@ module.exports = function (it) {
643
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
644
  */
645
 
646
- var Util = __webpack_require__(0),
647
- Modal = __webpack_require__(19),
648
  $ = jQuery;
649
 
650
  var Import = function Import() {
@@ -676,7 +523,7 @@ var Import = function Import() {
676
  };
677
 
678
  Import.prototype.setParams = function (params) {
679
- this.params = Util.list(params);
680
  };
681
 
682
  Import.prototype.start = function (options, retries) {
@@ -706,7 +553,7 @@ Import.prototype.start = function (options, retries) {
706
 
707
  // Set additional params
708
  if (options) {
709
- params = params.concat(Util.list(options));
710
  }
711
 
712
  // Import
@@ -716,7 +563,7 @@ Import.prototype.start = function (options, retries) {
716
  dataType: 'json',
717
  data: params,
718
  dataFilter: function dataFilter(data, type) {
719
- return Util.json(data);
720
  }
721
  }).done(function () {
722
  self.getStatus();
@@ -756,7 +603,7 @@ Import.prototype.run = function (params, retries) {
756
  dataType: 'json',
757
  data: params,
758
  dataFilter: function dataFilter(data, type) {
759
- return Util.json(data);
760
  }
761
  }).done(function (params) {
762
  if (params) {
@@ -785,7 +632,7 @@ Import.prototype.confirm = function (options, retries) {
785
 
786
  // Set additional params
787
  if (options) {
788
- params = params.concat(Util.list(options));
789
  }
790
 
791
  // Confirm
@@ -795,7 +642,7 @@ Import.prototype.confirm = function (options, retries) {
795
  dataType: 'json',
796
  data: params,
797
  dataFilter: function dataFilter(data, type) {
798
- return Util.json(data);
799
  }
800
  }).done(function () {
801
  self.getStatus();
@@ -833,7 +680,7 @@ Import.prototype.blogs = function (options, retries) {
833
 
834
  // Set additional params
835
  if (options) {
836
- params = params.concat(Util.list(options));
837
  }
838
 
839
  // Blogs
@@ -843,7 +690,7 @@ Import.prototype.blogs = function (options, retries) {
843
  dataType: 'json',
844
  data: params,
845
  dataFilter: function dataFilter(data, type) {
846
- return Util.json(data);
847
  }
848
  }).done(function () {
849
  self.getStatus();
@@ -882,7 +729,7 @@ Import.prototype.clean = function (options, retries) {
882
 
883
  // Set additional params
884
  if (options) {
885
- params = params.concat(Util.list(options));
886
  }
887
 
888
  // Clean
@@ -892,7 +739,7 @@ Import.prototype.clean = function (options, retries) {
892
  dataType: 'json',
893
  data: params,
894
  dataFilter: function dataFilter(data, type) {
895
- return Util.json(data);
896
  }
897
  }).done(function () {
898
  // Unbinding the beforeunload event when we stop importing
@@ -930,7 +777,7 @@ Import.prototype.getStatus = function () {
930
  dataType: 'json',
931
  cache: false,
932
  dataFilter: function dataFilter(data, type) {
933
- return Util.json(data);
934
  }
935
  }).done(function (params) {
936
  if (params) {
@@ -962,22 +809,91 @@ Import.prototype.setStatus = function (params) {
962
  this.modal.render(params);
963
  };
964
 
965
- Import.prototype.onConfirm = function (options) {
966
- this.confirm(options);
967
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
968
 
969
- Import.prototype.onBlogs = function (options) {
970
- this.blogs(options);
971
- };
972
 
973
- Import.prototype.onStop = function (options) {
974
- this.clean(options);
 
975
  };
976
 
977
- module.exports = Import;
978
 
979
  /***/ }),
980
- /* 19 */
981
  /***/ (function(module, exports, __webpack_require__) {
982
 
983
  "use strict";
@@ -1137,7 +1053,7 @@ var Modal = function Modal() {
1137
  var action = $('<div class="ai1wm-import-modal-actions"></div>');
1138
 
1139
  // Create warning
1140
- var warning = $('<span class="ai1wm-icon-notification"></span>');
1141
 
1142
  // Create cancel button
1143
  var cancelButton = $('<button type="button" class="ai1wm-button-gray">Cancel</button>').on('click', function () {
@@ -1349,180 +1265,7 @@ Modal.prototype.destroy = function () {
1349
  module.exports = Modal;
1350
 
1351
  /***/ }),
1352
- /* 20 */
1353
- /***/ (function(module, exports, __webpack_require__) {
1354
-
1355
- "use strict";
1356
-
1357
-
1358
- /**
1359
- * Copyright (C) 2014-2018 ServMask Inc.
1360
- *
1361
- * This program is free software: you can redistribute it and/or modify
1362
- * it under the terms of the GNU General Public License as published by
1363
- * the Free Software Foundation, either version 3 of the License, or
1364
- * (at your option) any later version.
1365
- *
1366
- * This program is distributed in the hope that it will be useful,
1367
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1368
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1369
- * GNU General Public License for more details.
1370
- *
1371
- * You should have received a copy of the GNU General Public License
1372
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
1373
- *
1374
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
1375
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
1376
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
1377
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
1378
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
1379
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1380
- */
1381
-
1382
- var Util = __webpack_require__(0),
1383
- Dialog = __webpack_require__(21);
1384
-
1385
- var Extensions = {
1386
- 's3': 'Amazon S3 Extension',
1387
- 'url': 'URL Extension',
1388
- 'ftp': 'FTP Extension',
1389
- 'gdrive': 'Google Drive Extension',
1390
- 'dropbox': 'Dropbox Extension'
1391
- };
1392
-
1393
- window.Ai1wmExportController = function (provider) {
1394
- this._export = {};
1395
- this._provider = provider;
1396
- };
1397
-
1398
- window.Ai1wmExportController.prototype.start = function () {
1399
- new Dialog('<strong>All in One WP Migration</strong> is not compatible with current version of ' + '<strong>' + Extensions[this._provider] + '</strong>. Please contact ' + '<a href="mailto:support@servmask.com">support@servmask.com</a> for more details.');
1400
- };
1401
-
1402
- window.Ai1wmImportController = function (provider) {
1403
- this._import = {};
1404
- this._provider = provider;
1405
- };
1406
-
1407
- window.Ai1wmImportController.prototype.init = function () {};
1408
-
1409
- window.Ai1wmImportController.prototype.download = function () {
1410
- new Dialog('<strong>All in One WP Migration</strong> is not compatible with current version of ' + '<strong>' + Extensions[this._provider] + '</strong>. Please contact ' + '<a href="mailto:support@servmask.com">support@servmask.com</a> for more details.');
1411
- };
1412
-
1413
- jQuery(document).ready(function ($) {
1414
- 'use strict';
1415
-
1416
- // Box extension
1417
-
1418
- $('#ai1wmbe-import-file-cancel').attr('type', 'button');
1419
- $('#ai1wmbe-import-file').attr('type', 'button');
1420
-
1421
- // Dropbox extension
1422
- $('#ai1wmde-import-file-cancel').attr('type', 'button');
1423
- $('#ai1wmde-import-file').attr('type', 'button');
1424
-
1425
- // FTP extension
1426
- $('#ai1wmfe-import-file-cancel').attr('type', 'button');
1427
- $('#ai1wmfe-import-file').attr('type', 'button');
1428
-
1429
- // Google Drive extension
1430
- $('#ai1wmge-import-file-cancel').attr('type', 'button');
1431
- $('#ai1wmge-import-file').attr('type', 'button');
1432
-
1433
- // OneDrive extension
1434
- $('#ai1wmoe-import-file-cancel').attr('type', 'button');
1435
- $('#ai1wmoe-import-file').attr('type', 'button');
1436
-
1437
- // Amazon S3 extension
1438
- $('#ai1wmse-import-file-cancel').attr('type', 'button');
1439
- $('#ai1wmse-import-file').attr('type', 'button');
1440
-
1441
- // URL extension
1442
- $('#ai1wmle-import-file-cancel').attr('type', 'button');
1443
- $('#ai1wmle-import-file').attr('type', 'button');
1444
- });
1445
-
1446
- /***/ }),
1447
- /* 21 */
1448
- /***/ (function(module, exports, __webpack_require__) {
1449
-
1450
- "use strict";
1451
-
1452
-
1453
- /**
1454
- * Copyright (C) 2014-2018 ServMask Inc.
1455
- *
1456
- * This program is free software: you can redistribute it and/or modify
1457
- * it under the terms of the GNU General Public License as published by
1458
- * the Free Software Foundation, either version 3 of the License, or
1459
- * (at your option) any later version.
1460
- *
1461
- * This program is distributed in the hope that it will be useful,
1462
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1463
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1464
- * GNU General Public License for more details.
1465
- *
1466
- * You should have received a copy of the GNU General Public License
1467
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
1468
- *
1469
- * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
1470
- * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
1471
- * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
1472
- * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
1473
- * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
1474
- * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1475
- */
1476
-
1477
- var $ = jQuery;
1478
-
1479
- var Dialog = function Dialog(text) {
1480
- var self = this;
1481
-
1482
- // Create the overlay
1483
- this.overlay = $('<div class="ai1wm-overlay"></div>');
1484
-
1485
- // Create the modal container
1486
- this.container = $('<div></div>');
1487
-
1488
- // Create the modal container
1489
- this.modal = $('<div class="ai1wm-modal-container"></div>');
1490
-
1491
- // Create section to hold title, message and action
1492
- this.section = $('<section></section>');
1493
-
1494
- // Create paragraph to hold mesage
1495
- this.message = $('<p></p>').addClass('ai1wm-dialog-message').html(text);
1496
-
1497
- // Create action section
1498
- this.action = $('<div></div>');
1499
-
1500
- // Create close button
1501
- this.closeButton = $('<button type="button" class="ai1wm-button-red">Close</button>').on('click', function () {
1502
- self.modal.hide();
1503
- self.overlay.hide();
1504
- });
1505
-
1506
- // Append close button
1507
- this.action.append(this.closeButton);
1508
-
1509
- // Append message to section
1510
- this.section.append(this.message);
1511
-
1512
- // Append section and action to container
1513
- this.container.append(this.section).append(this.action);
1514
-
1515
- // Render modal
1516
- this.modal.html(this.container).show();
1517
- this.overlay.show();
1518
-
1519
- $('body').append(this.overlay).append(this.modal);
1520
- };
1521
-
1522
- module.exports = Dialog;
1523
-
1524
- /***/ }),
1525
- /* 22 */
1526
  /***/ (function(module, exports, __webpack_require__) {
1527
 
1528
  // getting tag from 19.1.3.6 Object.prototype.toString()
@@ -1551,7 +1294,7 @@ module.exports = function (it) {
1551
 
1552
 
1553
  /***/ }),
1554
- /* 23 */
1555
  /***/ (function(module, exports) {
1556
 
1557
  var id = 0;
@@ -1562,10 +1305,10 @@ module.exports = function (key) {
1562
 
1563
 
1564
  /***/ }),
1565
- /* 24 */
1566
  /***/ (function(module, exports, __webpack_require__) {
1567
 
1568
- var isObject = __webpack_require__(9);
1569
  var document = __webpack_require__(2).document;
1570
  // typeof document.createElement is 'object' in old IE
1571
  var is = isObject(document) && isObject(document.createElement);
@@ -1575,7 +1318,7 @@ module.exports = function (it) {
1575
 
1576
 
1577
  /***/ }),
1578
- /* 25 */
1579
  /***/ (function(module, exports) {
1580
 
1581
  // 7.1.4 ToInteger
@@ -1587,7 +1330,7 @@ module.exports = function (it) {
1587
 
1588
 
1589
  /***/ }),
1590
- /* 26 */
1591
  /***/ (function(module, exports) {
1592
 
1593
  // 7.2.1 RequireObjectCoercible(argument)
@@ -1598,34 +1341,34 @@ module.exports = function (it) {
1598
 
1599
 
1600
  /***/ }),
1601
- /* 27 */
1602
  /***/ (function(module, exports, __webpack_require__) {
1603
 
1604
  // to indexed object, toObject with fallback for non-array-like ES3 strings
1605
- var IObject = __webpack_require__(61);
1606
- var defined = __webpack_require__(26);
1607
  module.exports = function (it) {
1608
  return IObject(defined(it));
1609
  };
1610
 
1611
 
1612
  /***/ }),
1613
- /* 28 */
1614
  /***/ (function(module, exports, __webpack_require__) {
1615
 
1616
- var shared = __webpack_require__(30)('keys');
1617
- var uid = __webpack_require__(23);
1618
  module.exports = function (key) {
1619
  return shared[key] || (shared[key] = uid(key));
1620
  };
1621
 
1622
 
1623
  /***/ }),
1624
- /* 29 */
1625
  /***/ (function(module, exports, __webpack_require__) {
1626
 
1627
  var def = __webpack_require__(15).f;
1628
- var has = __webpack_require__(11);
1629
  var TAG = __webpack_require__(1)('toStringTag');
1630
 
1631
  module.exports = function (it, tag, stat) {
@@ -1634,7 +1377,7 @@ module.exports = function (it, tag, stat) {
1634
 
1635
 
1636
  /***/ }),
1637
- /* 30 */
1638
  /***/ (function(module, exports, __webpack_require__) {
1639
 
1640
  var global = __webpack_require__(2);
@@ -1646,7 +1389,7 @@ module.exports = function (key) {
1646
 
1647
 
1648
  /***/ }),
1649
- /* 31 */
1650
  /***/ (function(module, exports) {
1651
 
1652
  module.exports = function (exec) {
@@ -1659,7 +1402,7 @@ module.exports = function (exec) {
1659
 
1660
 
1661
  /***/ }),
1662
- /* 32 */
1663
  /***/ (function(module, exports) {
1664
 
1665
  module.exports = function (bitmap, value) {
@@ -1673,20 +1416,20 @@ module.exports = function (bitmap, value) {
1673
 
1674
 
1675
  /***/ }),
1676
- /* 33 */
1677
  /***/ (function(module, exports, __webpack_require__) {
1678
 
1679
  "use strict";
1680
 
1681
- var LIBRARY = __webpack_require__(34);
1682
- var $export = __webpack_require__(35);
1683
- var redefine = __webpack_require__(8);
1684
- var hide = __webpack_require__(4);
1685
- var has = __webpack_require__(11);
1686
- var Iterators = __webpack_require__(13);
1687
- var $iterCreate = __webpack_require__(57);
1688
- var setToStringTag = __webpack_require__(29);
1689
- var getPrototypeOf = __webpack_require__(64);
1690
  var ITERATOR = __webpack_require__(1)('iterator');
1691
  var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
1692
  var FF_ITERATOR = '@@iterator';
@@ -1750,20 +1493,20 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
1750
 
1751
 
1752
  /***/ }),
1753
- /* 34 */
1754
  /***/ (function(module, exports) {
1755
 
1756
  module.exports = false;
1757
 
1758
 
1759
  /***/ }),
1760
- /* 35 */
1761
  /***/ (function(module, exports, __webpack_require__) {
1762
 
1763
  var global = __webpack_require__(2);
1764
- var core = __webpack_require__(12);
1765
- var hide = __webpack_require__(4);
1766
- var redefine = __webpack_require__(8);
1767
  var ctx = __webpack_require__(16);
1768
  var PROTOTYPE = 'prototype';
1769
 
@@ -1806,12 +1549,12 @@ module.exports = $export;
1806
 
1807
 
1808
  /***/ }),
1809
- /* 36 */
1810
  /***/ (function(module, exports, __webpack_require__) {
1811
 
1812
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
1813
- var $keys = __webpack_require__(60);
1814
- var enumBugKeys = __webpack_require__(38);
1815
 
1816
  module.exports = Object.keys || function keys(O) {
1817
  return $keys(O, enumBugKeys);
@@ -1819,11 +1562,11 @@ module.exports = Object.keys || function keys(O) {
1819
 
1820
 
1821
  /***/ }),
1822
- /* 37 */
1823
  /***/ (function(module, exports, __webpack_require__) {
1824
 
1825
  // 7.1.15 ToLength
1826
- var toInteger = __webpack_require__(25);
1827
  var min = Math.min;
1828
  module.exports = function (it) {
1829
  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
@@ -1831,7 +1574,7 @@ module.exports = function (it) {
1831
 
1832
 
1833
  /***/ }),
1834
- /* 38 */
1835
  /***/ (function(module, exports) {
1836
 
1837
  // IE 8- don't enum bug keys
@@ -1841,7 +1584,7 @@ module.exports = (
1841
 
1842
 
1843
  /***/ }),
1844
- /* 39 */
1845
  /***/ (function(module, exports, __webpack_require__) {
1846
 
1847
  var document = __webpack_require__(2).document;
@@ -1849,13 +1592,13 @@ module.exports = document && document.documentElement;
1849
 
1850
 
1851
  /***/ }),
1852
- /* 40 */
1853
  /***/ (function(module, exports, __webpack_require__) {
1854
 
1855
  var ctx = __webpack_require__(16);
1856
- var invoke = __webpack_require__(77);
1857
- var html = __webpack_require__(39);
1858
- var cel = __webpack_require__(24);
1859
  var global = __webpack_require__(2);
1860
  var process = global.process;
1861
  var setTask = global.setImmediate;
@@ -1939,7 +1682,7 @@ module.exports = {
1939
 
1940
 
1941
  /***/ }),
1942
- /* 41 */
1943
  /***/ (function(module, exports, __webpack_require__) {
1944
 
1945
  "use strict";
@@ -1964,17 +1707,18 @@ module.exports.f = function (C) {
1964
 
1965
 
1966
  /***/ }),
 
 
 
1967
  /* 42 */,
1968
  /* 43 */,
1969
  /* 44 */,
1970
  /* 45 */,
1971
- /* 46 */,
1972
- /* 47 */,
1973
- /* 48 */
1974
  /***/ (function(module, exports, __webpack_require__) {
1975
 
1976
  "use strict";
1977
-
1978
 
1979
  /**
1980
  * Copyright (C) 2014-2018 ServMask Inc.
@@ -2000,10 +1744,10 @@ module.exports.f = function (C) {
2000
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
2001
  */
2002
 
2003
- var Report = __webpack_require__(5),
2004
- Feedback = __webpack_require__(6),
2005
- Deprecated = __webpack_require__(20),
2006
- FileUploader = __webpack_require__(49);
2007
 
2008
  jQuery(document).ready(function ($) {
2009
  'use strict';
@@ -2017,12 +1761,15 @@ jQuery(document).ready(function ($) {
2017
  });
2018
  });
2019
 
 
 
 
2020
  /***/ }),
2021
- /* 49 */
2022
  /***/ (function(module, exports, __webpack_require__) {
2023
 
2024
  "use strict";
2025
- /* WEBPACK VAR INJECTION */(function(fetch, global) {
2026
 
2027
  /**
2028
  * Copyright (C) 2014-2018 ServMask Inc.
@@ -2048,8 +1795,7 @@ jQuery(document).ready(function ($) {
2048
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
2049
  */
2050
 
2051
- var Util = __webpack_require__(0),
2052
- Import = __webpack_require__(18),
2053
  $ = jQuery;
2054
 
2055
  var FileUploader = function FileUploader() {};
@@ -2062,49 +1808,64 @@ FileUploader.prototype.setDefaultValues = function () {
2062
  FileUploader.prototype.init = function () {
2063
  var _this = this;
2064
 
 
2065
  var selectElement = $('#ai1wm-import-file');
2066
  var dropElement = $('#ai1wm-drag-drop-area');
2067
 
2068
- selectElement.on('change', function (event) {
2069
- event.preventDefault();
2070
- _this.setDefaultValues();
2071
- var file = event.target.files.item(0);
2072
  _this.setDefaultValues();
2073
- _this.fileSize = file.size;
2074
- try {
2075
- _this.onFilesAdded(file);
2076
- _this.onBeforeUpload(file);
2077
- _this.upload(file);
2078
- } catch (exception) {
2079
- _this.onError(exception);
 
 
 
 
 
2080
  }
 
 
 
2081
  });
2082
 
2083
- dropElement.on('dragenter', function (event) {
2084
- event.preventDefault();
2085
  dropElement.addClass('ai1wm-drag-over');
 
2086
  });
2087
- dropElement.on('dragover', function (event) {
2088
- event.preventDefault();
2089
  dropElement.addClass('ai1wm-drag-over');
 
2090
  });
2091
- dropElement.on('dragleave', function (event) {
2092
- event.preventDefault();
2093
  dropElement.removeClass('ai1wm-drag-over');
 
2094
  });
2095
- dropElement.on('drop', function (event) {
2096
- event.preventDefault();
2097
  _this.setDefaultValues();
2098
  dropElement.removeClass('ai1wm-drag-over');
2099
- var file = event.originalEvent.dataTransfer.files.item(0);
2100
- _this.fileSize = file.size;
2101
- try {
2102
- _this.onFilesAdded(file);
2103
- _this.onBeforeUpload(file);
2104
- _this.upload(file);
2105
- } catch (exception) {
2106
- _this.onError(exception);
 
 
 
 
2107
  }
 
 
 
2108
  });
2109
  };
2110
 
@@ -2131,7 +1892,7 @@ FileUploader.prototype.upload = function (file, retries) {
2131
  return _this2.upload(file);
2132
  case 200:
2133
  return response.text().then(function (text) {
2134
- var extractedJsonText = Util.json(text);
2135
  if (extractedJsonText) {
2136
  var json = JSON.parse(extractedJsonText);
2137
  if (json.errors.length === 0) {
@@ -2162,6 +1923,7 @@ FileUploader.prototype.upload = function (file, retries) {
2162
 
2163
  FileUploader.prototype.getFormData = function (file, chunkSize) {
2164
  var params = ai1wm_uploader.params;
 
2165
  var formData = new FormData();
2166
  formData.append('upload-file', file.slice(0, chunkSize, 'application/octet-binary'));
2167
 
@@ -2205,8 +1967,8 @@ FileUploader.prototype.onFilesAdded = function (file) {
2205
  FileUploader.prototype.onBeforeUpload = function (file) {
2206
  var self = this;
2207
 
2208
- var storage = Util.random(12);
2209
- var options = Util.form('#ai1wm-import-form').concat({ name: 'storage', value: storage }).concat({ name: 'archive', value: file.name });
2210
 
2211
  // Set global params
2212
  this.model.setParams(options);
@@ -2242,12 +2004,10 @@ FileUploader.prototype.onError = function (error) {
2242
  };
2243
 
2244
  module.exports = FileUploader;
2245
-
2246
- global.Ai1wm = { Util: Util, Import: Import };
2247
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(50), __webpack_require__(7)))
2248
 
2249
  /***/ }),
2250
- /* 50 */
2251
  /***/ (function(module, exports, __webpack_require__) {
2252
 
2253
  /* WEBPACK VAR INJECTION */(function(global, Promise) {/*** IMPORTS FROM imports-loader ***/
@@ -2719,59 +2479,59 @@ global.Ai1wm = { Util: Util, Import: Import };
2719
  /*** EXPORTS FROM exports-loader ***/
2720
  module.exports = global.fetch;
2721
  }.call(global));
2722
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7), __webpack_require__(51)))
2723
 
2724
  /***/ }),
2725
- /* 51 */
2726
  /***/ (function(module, exports, __webpack_require__) {
2727
 
2728
  /* WEBPACK VAR INJECTION */(function(global) {/*** IMPORTS FROM imports-loader ***/
2729
  (function() {
2730
 
2731
- __webpack_require__(52);
2732
- __webpack_require__(55);
2733
- __webpack_require__(66);
2734
- __webpack_require__(70);
2735
- module.exports = __webpack_require__(12).Promise;
2736
 
2737
 
2738
  /*** EXPORTS FROM exports-loader ***/
2739
  module.exports = global.Promise;
2740
  }.call(global));
2741
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7)))
2742
 
2743
  /***/ }),
2744
- /* 52 */
2745
  /***/ (function(module, exports, __webpack_require__) {
2746
 
2747
  "use strict";
2748
 
2749
  // 19.1.3.6 Object.prototype.toString()
2750
- var classof = __webpack_require__(22);
2751
  var test = {};
2752
  test[__webpack_require__(1)('toStringTag')] = 'z';
2753
  if (test + '' != '[object z]') {
2754
- __webpack_require__(8)(Object.prototype, 'toString', function toString() {
2755
  return '[object ' + classof(this) + ']';
2756
  }, true);
2757
  }
2758
 
2759
 
2760
  /***/ }),
2761
- /* 53 */
2762
  /***/ (function(module, exports, __webpack_require__) {
2763
 
2764
- module.exports = !__webpack_require__(10) && !__webpack_require__(31)(function () {
2765
- return Object.defineProperty(__webpack_require__(24)('div'), 'a', { get: function () { return 7; } }).a != 7;
2766
  });
2767
 
2768
 
2769
  /***/ }),
2770
- /* 54 */
2771
  /***/ (function(module, exports, __webpack_require__) {
2772
 
2773
  // 7.1.1 ToPrimitive(input [, PreferredType])
2774
- var isObject = __webpack_require__(9);
2775
  // instead of the ES6 spec version, we didn't implement @@toPrimitive case
2776
  // and the second argument - flag - preferred type is a string
2777
  module.exports = function (it, S) {
@@ -2785,15 +2545,15 @@ module.exports = function (it, S) {
2785
 
2786
 
2787
  /***/ }),
2788
- /* 55 */
2789
  /***/ (function(module, exports, __webpack_require__) {
2790
 
2791
  "use strict";
2792
 
2793
- var $at = __webpack_require__(56)(true);
2794
 
2795
  // 21.1.3.27 String.prototype[@@iterator]()
2796
- __webpack_require__(33)(String, 'String', function (iterated) {
2797
  this._t = String(iterated); // target
2798
  this._i = 0; // next index
2799
  // 21.1.5.2.1 %StringIteratorPrototype%.next()
@@ -2809,11 +2569,11 @@ __webpack_require__(33)(String, 'String', function (iterated) {
2809
 
2810
 
2811
  /***/ }),
2812
- /* 56 */
2813
  /***/ (function(module, exports, __webpack_require__) {
2814
 
2815
- var toInteger = __webpack_require__(25);
2816
- var defined = __webpack_require__(26);
2817
  // true -> String#at
2818
  // false -> String#codePointAt
2819
  module.exports = function (TO_STRING) {
@@ -2832,18 +2592,18 @@ module.exports = function (TO_STRING) {
2832
 
2833
 
2834
  /***/ }),
2835
- /* 57 */
2836
  /***/ (function(module, exports, __webpack_require__) {
2837
 
2838
  "use strict";
2839
 
2840
- var create = __webpack_require__(58);
2841
- var descriptor = __webpack_require__(32);
2842
- var setToStringTag = __webpack_require__(29);
2843
  var IteratorPrototype = {};
2844
 
2845
  // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
2846
- __webpack_require__(4)(IteratorPrototype, __webpack_require__(1)('iterator'), function () { return this; });
2847
 
2848
  module.exports = function (Constructor, NAME, next) {
2849
  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
@@ -2852,27 +2612,27 @@ module.exports = function (Constructor, NAME, next) {
2852
 
2853
 
2854
  /***/ }),
2855
- /* 58 */
2856
  /***/ (function(module, exports, __webpack_require__) {
2857
 
2858
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
2859
- var anObject = __webpack_require__(3);
2860
- var dPs = __webpack_require__(59);
2861
- var enumBugKeys = __webpack_require__(38);
2862
- var IE_PROTO = __webpack_require__(28)('IE_PROTO');
2863
  var Empty = function () { /* empty */ };
2864
  var PROTOTYPE = 'prototype';
2865
 
2866
  // Create object with fake `null` prototype: use iframe Object with cleared prototype
2867
  var createDict = function () {
2868
  // Thrash, waste and sodomy: IE GC bug
2869
- var iframe = __webpack_require__(24)('iframe');
2870
  var i = enumBugKeys.length;
2871
  var lt = '<';
2872
  var gt = '>';
2873
  var iframeDocument;
2874
  iframe.style.display = 'none';
2875
- __webpack_require__(39).appendChild(iframe);
2876
  iframe.src = 'javascript:'; // eslint-disable-line no-script-url
2877
  // createDict = iframe.contentWindow.Object;
2878
  // html.removeChild(iframe);
@@ -2899,14 +2659,14 @@ module.exports = Object.create || function create(O, Properties) {
2899
 
2900
 
2901
  /***/ }),
2902
- /* 59 */
2903
  /***/ (function(module, exports, __webpack_require__) {
2904
 
2905
  var dP = __webpack_require__(15);
2906
- var anObject = __webpack_require__(3);
2907
- var getKeys = __webpack_require__(36);
2908
 
2909
- module.exports = __webpack_require__(10) ? Object.defineProperties : function defineProperties(O, Properties) {
2910
  anObject(O);
2911
  var keys = getKeys(Properties);
2912
  var length = keys.length;
@@ -2918,13 +2678,13 @@ module.exports = __webpack_require__(10) ? Object.defineProperties : function de
2918
 
2919
 
2920
  /***/ }),
2921
- /* 60 */
2922
  /***/ (function(module, exports, __webpack_require__) {
2923
 
2924
- var has = __webpack_require__(11);
2925
- var toIObject = __webpack_require__(27);
2926
- var arrayIndexOf = __webpack_require__(62)(false);
2927
- var IE_PROTO = __webpack_require__(28)('IE_PROTO');
2928
 
2929
  module.exports = function (object, names) {
2930
  var O = toIObject(object);
@@ -2941,7 +2701,7 @@ module.exports = function (object, names) {
2941
 
2942
 
2943
  /***/ }),
2944
- /* 61 */
2945
  /***/ (function(module, exports, __webpack_require__) {
2946
 
2947
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
@@ -2953,14 +2713,14 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
2953
 
2954
 
2955
  /***/ }),
2956
- /* 62 */
2957
  /***/ (function(module, exports, __webpack_require__) {
2958
 
2959
  // false -> Array#indexOf
2960
  // true -> Array#includes
2961
- var toIObject = __webpack_require__(27);
2962
- var toLength = __webpack_require__(37);
2963
- var toAbsoluteIndex = __webpack_require__(63);
2964
  module.exports = function (IS_INCLUDES) {
2965
  return function ($this, el, fromIndex) {
2966
  var O = toIObject($this);
@@ -2982,10 +2742,10 @@ module.exports = function (IS_INCLUDES) {
2982
 
2983
 
2984
  /***/ }),
2985
- /* 63 */
2986
  /***/ (function(module, exports, __webpack_require__) {
2987
 
2988
- var toInteger = __webpack_require__(25);
2989
  var max = Math.max;
2990
  var min = Math.min;
2991
  module.exports = function (index, length) {
@@ -2995,13 +2755,13 @@ module.exports = function (index, length) {
2995
 
2996
 
2997
  /***/ }),
2998
- /* 64 */
2999
  /***/ (function(module, exports, __webpack_require__) {
3000
 
3001
  // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
3002
- var has = __webpack_require__(11);
3003
- var toObject = __webpack_require__(65);
3004
- var IE_PROTO = __webpack_require__(28)('IE_PROTO');
3005
  var ObjectProto = Object.prototype;
3006
 
3007
  module.exports = Object.getPrototypeOf || function (O) {
@@ -3014,26 +2774,26 @@ module.exports = Object.getPrototypeOf || function (O) {
3014
 
3015
 
3016
  /***/ }),
3017
- /* 65 */
3018
  /***/ (function(module, exports, __webpack_require__) {
3019
 
3020
  // 7.1.13 ToObject(argument)
3021
- var defined = __webpack_require__(26);
3022
  module.exports = function (it) {
3023
  return Object(defined(it));
3024
  };
3025
 
3026
 
3027
  /***/ }),
3028
- /* 66 */
3029
  /***/ (function(module, exports, __webpack_require__) {
3030
 
3031
- var $iterators = __webpack_require__(67);
3032
- var getKeys = __webpack_require__(36);
3033
- var redefine = __webpack_require__(8);
3034
  var global = __webpack_require__(2);
3035
- var hide = __webpack_require__(4);
3036
- var Iterators = __webpack_require__(13);
3037
  var wks = __webpack_require__(1);
3038
  var ITERATOR = wks('iterator');
3039
  var TO_STRING_TAG = wks('toStringTag');
@@ -3089,21 +2849,21 @@ for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++
3089
 
3090
 
3091
  /***/ }),
3092
- /* 67 */
3093
  /***/ (function(module, exports, __webpack_require__) {
3094
 
3095
  "use strict";
3096
 
3097
- var addToUnscopables = __webpack_require__(68);
3098
- var step = __webpack_require__(69);
3099
- var Iterators = __webpack_require__(13);
3100
- var toIObject = __webpack_require__(27);
3101
 
3102
  // 22.1.3.4 Array.prototype.entries()
3103
  // 22.1.3.13 Array.prototype.keys()
3104
  // 22.1.3.29 Array.prototype.values()
3105
  // 22.1.3.30 Array.prototype[@@iterator]()
3106
- module.exports = __webpack_require__(33)(Array, 'Array', function (iterated, kind) {
3107
  this._t = toIObject(iterated); // target
3108
  this._i = 0; // next index
3109
  this._k = kind; // kind
@@ -3130,20 +2890,20 @@ addToUnscopables('entries');
3130
 
3131
 
3132
  /***/ }),
3133
- /* 68 */
3134
  /***/ (function(module, exports, __webpack_require__) {
3135
 
3136
  // 22.1.3.31 Array.prototype[@@unscopables]
3137
  var UNSCOPABLES = __webpack_require__(1)('unscopables');
3138
  var ArrayProto = Array.prototype;
3139
- if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(4)(ArrayProto, UNSCOPABLES, {});
3140
  module.exports = function (key) {
3141
  ArrayProto[UNSCOPABLES][key] = true;
3142
  };
3143
 
3144
 
3145
  /***/ }),
3146
- /* 69 */
3147
  /***/ (function(module, exports) {
3148
 
3149
  module.exports = function (done, value) {
@@ -3152,26 +2912,26 @@ module.exports = function (done, value) {
3152
 
3153
 
3154
  /***/ }),
3155
- /* 70 */
3156
  /***/ (function(module, exports, __webpack_require__) {
3157
 
3158
  "use strict";
3159
 
3160
- var LIBRARY = __webpack_require__(34);
3161
  var global = __webpack_require__(2);
3162
  var ctx = __webpack_require__(16);
3163
- var classof = __webpack_require__(22);
3164
- var $export = __webpack_require__(35);
3165
- var isObject = __webpack_require__(9);
3166
  var aFunction = __webpack_require__(17);
3167
- var anInstance = __webpack_require__(71);
3168
- var forOf = __webpack_require__(72);
3169
- var speciesConstructor = __webpack_require__(76);
3170
- var task = __webpack_require__(40).set;
3171
- var microtask = __webpack_require__(78)();
3172
- var newPromiseCapabilityModule = __webpack_require__(41);
3173
- var perform = __webpack_require__(79);
3174
- var promiseResolve = __webpack_require__(80);
3175
  var PROMISE = 'Promise';
3176
  var TypeError = global.TypeError;
3177
  var process = global.process;
@@ -3341,7 +3101,7 @@ if (!USE_NATIVE) {
3341
  this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
3342
  this._n = false; // <- notify
3343
  };
3344
- Internal.prototype = __webpack_require__(81)($Promise.prototype, {
3345
  // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
3346
  then: function then(onFulfilled, onRejected) {
3347
  var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
@@ -3372,9 +3132,9 @@ if (!USE_NATIVE) {
3372
  }
3373
 
3374
  $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
3375
- __webpack_require__(29)($Promise, PROMISE);
3376
- __webpack_require__(82)(PROMISE);
3377
- Wrapper = __webpack_require__(12)[PROMISE];
3378
 
3379
  // statics
3380
  $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
@@ -3392,7 +3152,7 @@ $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
3392
  return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
3393
  }
3394
  });
3395
- $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(83)(function (iter) {
3396
  $Promise.all(iter)['catch'](empty);
3397
  })), PROMISE, {
3398
  // 25.4.4.1 Promise.all(iterable)
@@ -3439,7 +3199,7 @@ $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(83)(function
3439
 
3440
 
3441
  /***/ }),
3442
- /* 71 */
3443
  /***/ (function(module, exports) {
3444
 
3445
  module.exports = function (it, Constructor, name, forbiddenField) {
@@ -3450,15 +3210,15 @@ module.exports = function (it, Constructor, name, forbiddenField) {
3450
 
3451
 
3452
  /***/ }),
3453
- /* 72 */
3454
  /***/ (function(module, exports, __webpack_require__) {
3455
 
3456
  var ctx = __webpack_require__(16);
3457
- var call = __webpack_require__(73);
3458
- var isArrayIter = __webpack_require__(74);
3459
- var anObject = __webpack_require__(3);
3460
- var toLength = __webpack_require__(37);
3461
- var getIterFn = __webpack_require__(75);
3462
  var BREAK = {};
3463
  var RETURN = {};
3464
  var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
@@ -3481,11 +3241,11 @@ exports.RETURN = RETURN;
3481
 
3482
 
3483
  /***/ }),
3484
- /* 73 */
3485
  /***/ (function(module, exports, __webpack_require__) {
3486
 
3487
  // call something on iterator step with safe closing on error
3488
- var anObject = __webpack_require__(3);
3489
  module.exports = function (iterator, fn, value, entries) {
3490
  try {
3491
  return entries ? fn(anObject(value)[0], value[1]) : fn(value);
@@ -3499,11 +3259,11 @@ module.exports = function (iterator, fn, value, entries) {
3499
 
3500
 
3501
  /***/ }),
3502
- /* 74 */
3503
  /***/ (function(module, exports, __webpack_require__) {
3504
 
3505
  // check on default Array iterator
3506
- var Iterators = __webpack_require__(13);
3507
  var ITERATOR = __webpack_require__(1)('iterator');
3508
  var ArrayProto = Array.prototype;
3509
 
@@ -3513,13 +3273,13 @@ module.exports = function (it) {
3513
 
3514
 
3515
  /***/ }),
3516
- /* 75 */
3517
  /***/ (function(module, exports, __webpack_require__) {
3518
 
3519
- var classof = __webpack_require__(22);
3520
  var ITERATOR = __webpack_require__(1)('iterator');
3521
- var Iterators = __webpack_require__(13);
3522
- module.exports = __webpack_require__(12).getIteratorMethod = function (it) {
3523
  if (it != undefined) return it[ITERATOR]
3524
  || it['@@iterator']
3525
  || Iterators[classof(it)];
@@ -3527,11 +3287,11 @@ module.exports = __webpack_require__(12).getIteratorMethod = function (it) {
3527
 
3528
 
3529
  /***/ }),
3530
- /* 76 */
3531
  /***/ (function(module, exports, __webpack_require__) {
3532
 
3533
  // 7.3.20 SpeciesConstructor(O, defaultConstructor)
3534
- var anObject = __webpack_require__(3);
3535
  var aFunction = __webpack_require__(17);
3536
  var SPECIES = __webpack_require__(1)('species');
3537
  module.exports = function (O, D) {
@@ -3542,7 +3302,7 @@ module.exports = function (O, D) {
3542
 
3543
 
3544
  /***/ }),
3545
- /* 77 */
3546
  /***/ (function(module, exports) {
3547
 
3548
  // fast apply, http://jsperf.lnkit.com/fast-apply/5
@@ -3564,11 +3324,11 @@ module.exports = function (fn, args, that) {
3564
 
3565
 
3566
  /***/ }),
3567
- /* 78 */
3568
  /***/ (function(module, exports, __webpack_require__) {
3569
 
3570
  var global = __webpack_require__(2);
3571
- var macrotask = __webpack_require__(40).set;
3572
  var Observer = global.MutationObserver || global.WebKitMutationObserver;
3573
  var process = global.process;
3574
  var Promise = global.Promise;
@@ -3638,7 +3398,7 @@ module.exports = function () {
3638
 
3639
 
3640
  /***/ }),
3641
- /* 79 */
3642
  /***/ (function(module, exports) {
3643
 
3644
  module.exports = function (exec) {
@@ -3651,12 +3411,12 @@ module.exports = function (exec) {
3651
 
3652
 
3653
  /***/ }),
3654
- /* 80 */
3655
  /***/ (function(module, exports, __webpack_require__) {
3656
 
3657
- var anObject = __webpack_require__(3);
3658
- var isObject = __webpack_require__(9);
3659
- var newPromiseCapability = __webpack_require__(41);
3660
 
3661
  module.exports = function (C, x) {
3662
  anObject(C);
@@ -3669,10 +3429,10 @@ module.exports = function (C, x) {
3669
 
3670
 
3671
  /***/ }),
3672
- /* 81 */
3673
  /***/ (function(module, exports, __webpack_require__) {
3674
 
3675
- var redefine = __webpack_require__(8);
3676
  module.exports = function (target, src, safe) {
3677
  for (var key in src) redefine(target, key, src[key], safe);
3678
  return target;
@@ -3680,14 +3440,14 @@ module.exports = function (target, src, safe) {
3680
 
3681
 
3682
  /***/ }),
3683
- /* 82 */
3684
  /***/ (function(module, exports, __webpack_require__) {
3685
 
3686
  "use strict";
3687
 
3688
  var global = __webpack_require__(2);
3689
  var dP = __webpack_require__(15);
3690
- var DESCRIPTORS = __webpack_require__(10);
3691
  var SPECIES = __webpack_require__(1)('species');
3692
 
3693
  module.exports = function (KEY) {
@@ -3700,7 +3460,7 @@ module.exports = function (KEY) {
3700
 
3701
 
3702
  /***/ }),
3703
- /* 83 */
3704
  /***/ (function(module, exports, __webpack_require__) {
3705
 
3706
  var ITERATOR = __webpack_require__(1)('iterator');
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 46);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ([
67
  /* 0 */
68
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
+ var g;
 
 
 
71
 
72
+ // This works in non-strict mode
73
+ g = (function() {
74
+ return this;
75
+ })();
76
 
77
+ try {
78
+ // This works if eval is allowed (see CSP)
79
+ g = g || Function("return this")() || (1,eval)("this");
80
+ } catch(e) {
81
+ // This works if the window reference is available
82
+ if(typeof window === "object")
83
+ g = window;
84
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
+ // g can still be undefined, but nothing to do about it...
87
+ // We return undefined, instead of nothing here, so it's
88
+ // easier to handle this case. if(!global) { ...}
89
 
90
+ module.exports = g;
 
 
 
 
 
 
 
 
91
 
 
 
 
92
 
93
  /***/ }),
94
  /* 1 */
95
  /***/ (function(module, exports, __webpack_require__) {
96
 
97
+ var store = __webpack_require__(27)('wks');
98
+ var uid = __webpack_require__(20);
99
  var Symbol = __webpack_require__(2).Symbol;
100
  var USE_SYMBOL = typeof Symbol == 'function';
101
 
123
  /* 3 */
124
  /***/ (function(module, exports, __webpack_require__) {
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  "use strict";
127
 
128
 
150
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
151
  */
152
 
 
 
153
  jQuery(document).ready(function ($) {
154
  'use strict';
155
 
156
+ // Reset feedback form
 
157
 
158
+ $('.ai1wm-feedback-type').attr('checked', false);
159
+
160
+ // Review
161
+ $('#ai1wm-feedback-type-link-1').click(function (e) {
162
+ var radio = $('#ai1wm-feedback-type-1');
163
+ if (radio.is(':checked')) {
164
+ radio.attr('checked', false);
165
+ } else {
166
+ radio.attr('checked', true);
167
+ }
168
  });
169
 
170
+ // Improvement
171
+ $('#ai1wm-feedback-type-2').click(function () {
172
+ // Hide other options
173
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
174
+
175
+ // Change placeholder message
176
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
177
+
178
+ // Show feedback form
179
+ $('.ai1wm-feedback-form').fadeIn();
180
+ });
181
+
182
+ // Help
183
+ $('#ai1wm-feedback-type-3').click(function () {
184
+ // Hide other options
185
+ $('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
186
+
187
+ // Change placeholder message
188
+ $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
189
+
190
+ // Show feedback form
191
+ $('.ai1wm-feedback-form').fadeIn();
192
+ });
193
+
194
+ // Cancel feedback form
195
+ $('#ai1wm-feedback-cancel').click(function (e) {
196
+ $('.ai1wm-feedback-form').fadeOut(function () {
197
+ $('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
198
+ });
199
 
200
  e.preventDefault();
201
  });
202
 
203
+ // Send feedback form
204
+ $('#ai1wm-feedback-submit').click(function (e) {
205
+ var self = $(this);
206
 
207
+ var spinner = self.next();
208
+ var type = $('.ai1wm-feedback-type:checked').val();
209
+ var email = $('.ai1wm-feedback-email').val();
210
+ var message = $('.ai1wm-feedback-message').val();
211
+ var terms = $('.ai1wm-feedback-terms').is(':checked');
212
 
213
+ self.attr('disabled', true);
214
+ spinner.css('visibility', 'visible');
215
 
216
  $.ajax({
217
+ url: ai1wm_feedback.ajax.url,
218
  type: 'POST',
219
  dataType: 'json',
220
  async: true,
221
  data: {
222
+ 'secret_key': ai1wm_feedback.secret_key,
223
+ 'ai1wm_type': type,
224
  'ai1wm_email': email,
225
  'ai1wm_message': message,
226
  'ai1wm_terms': +terms
227
  },
228
  dataFilter: function dataFilter(data, type) {
229
+ return Ai1wm.Util.json(data);
230
+ }
231
+ }).done(function (data) {
232
+ self.attr('disabled', false);
233
+ spinner.css('visibility', 'hidden');
234
+
235
+ if (data.errors.length > 0) {
236
+ $('.ai1wm-feedback .ai1wm-message').remove();
237
+
238
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
239
+ $.each(data.errors, function (key, value) {
240
+ errorMessage.append('<p>' + value + '</p>');
241
+ });
242
+
243
+ $('.ai1wm-feedback').prepend(errorMessage);
244
+ } else {
245
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
246
+ successMessage.append('<p>Thanks for submitting your feedback!</p>');
247
+
248
+ $('.ai1wm-feedback').html(successMessage);
 
 
 
 
 
249
  }
250
  });
251
+
252
+ e.preventDefault();
253
  });
254
  });
255
 
256
  /***/ }),
257
+ /* 4 */
258
  /***/ (function(module, exports, __webpack_require__) {
259
 
260
  "use strict";
284
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
285
  */
286
 
 
 
287
  jQuery(document).ready(function ($) {
288
  'use strict';
289
 
290
+ $('#ai1wm-report-problem-button').click(function (e) {
291
+ $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
 
293
+ e.preventDefault();
 
294
  });
295
 
296
+ $('#ai1wm-report-cancel').click(function (e) {
297
+ $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
 
 
 
 
 
 
 
 
 
298
 
 
 
 
 
 
299
  e.preventDefault();
300
  });
301
 
302
+ $('#ai1wm-report-submit').click(function (r) {
303
+ var self = $(this);
 
304
 
305
+ var spinner = self.next();
306
+ var email = $('.ai1wm-report-email').val();
307
+ var message = $('.ai1wm-report-message').val();
308
+ var terms = $('.ai1wm-report-terms').is(':checked');
 
 
309
 
310
+ self.attr('disabled', true);
311
+ spinner.css('visibility', 'visible');
312
 
313
  $.ajax({
314
+ url: ai1wm_report.ajax.url,
315
  type: 'POST',
316
  dataType: 'json',
317
  async: true,
318
  data: {
319
+ 'secret_key': ai1wm_report.secret_key,
 
320
  'ai1wm_email': email,
321
  'ai1wm_message': message,
322
  'ai1wm_terms': +terms
323
  },
324
  dataFilter: function dataFilter(data, type) {
325
+ return Ai1wm.Util.json(data);
326
+ }
327
+ }).done(function (data) {
328
+ self.attr('disabled', false);
329
+ spinner.css('visibility', 'hidden');
330
+
331
+ if (data.errors.length > 0) {
332
+ $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
333
+
334
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
335
+ $.each(data.errors, function (key, value) {
336
+ errorMessage.append('<p>' + value + '</p>');
337
+ });
338
+
339
+ $('.ai1wm-report-problem-dialog').prepend(errorMessage);
340
+ } else {
341
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
342
+ successMessage.append('<p>Thanks for submitting your request!</p>');
343
+
344
+ $('.ai1wm-report-problem-dialog').html(successMessage);
345
+
346
+ // Hide message
347
+ setTimeout(function () {
348
+ $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
349
+ }, 2000);
350
  }
351
  });
352
+
353
+ e.preventDefault();
354
  });
355
  });
356
 
357
  /***/ }),
358
+ /* 5 */
359
+ /***/ (function(module, exports, __webpack_require__) {
 
 
360
 
361
+ var isObject = __webpack_require__(8);
362
+ module.exports = function (it) {
363
+ if (!isObject(it)) throw TypeError(it + ' is not an object!');
364
+ return it;
365
+ };
366
 
 
 
 
 
 
 
 
 
367
 
368
+ /***/ }),
369
+ /* 6 */
370
+ /***/ (function(module, exports, __webpack_require__) {
371
 
372
+ var dP = __webpack_require__(15);
373
+ var createDesc = __webpack_require__(29);
374
+ module.exports = __webpack_require__(9) ? function (object, key, value) {
375
+ return dP.f(object, key, createDesc(1, value));
376
+ } : function (object, key, value) {
377
+ object[key] = value;
378
+ return object;
379
+ };
380
 
381
 
382
  /***/ }),
383
+ /* 7 */
384
  /***/ (function(module, exports, __webpack_require__) {
385
 
386
  var global = __webpack_require__(2);
387
+ var hide = __webpack_require__(6);
388
+ var has = __webpack_require__(10);
389
+ var SRC = __webpack_require__(20)('src');
390
  var TO_STRING = 'toString';
391
  var $toString = Function[TO_STRING];
392
  var TPL = ('' + $toString).split(TO_STRING);
393
 
394
+ __webpack_require__(11).inspectSource = function (it) {
395
  return $toString.call(it);
396
  };
397
 
417
 
418
 
419
  /***/ }),
420
+ /* 8 */
421
  /***/ (function(module, exports) {
422
 
423
  module.exports = function (it) {
426
 
427
 
428
  /***/ }),
429
+ /* 9 */
430
  /***/ (function(module, exports, __webpack_require__) {
431
 
432
  // Thank's IE8 for his funny defineProperty
433
+ module.exports = !__webpack_require__(28)(function () {
434
  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
435
  });
436
 
437
 
438
  /***/ }),
439
+ /* 10 */
440
  /***/ (function(module, exports) {
441
 
442
  var hasOwnProperty = {}.hasOwnProperty;
446
 
447
 
448
  /***/ }),
449
+ /* 11 */
450
  /***/ (function(module, exports) {
451
 
452
  var core = module.exports = { version: '2.5.1' };
454
 
455
 
456
  /***/ }),
457
+ /* 12 */
458
  /***/ (function(module, exports) {
459
 
460
  module.exports = {};
461
 
462
 
463
  /***/ }),
464
+ /* 13 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
465
  /***/ (function(module, exports, __webpack_require__) {
466
 
467
  "use strict";
491
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
492
  */
493
 
494
+ var Modal = __webpack_require__(18),
 
495
  $ = jQuery;
496
 
497
  var Import = function Import() {
523
  };
524
 
525
  Import.prototype.setParams = function (params) {
526
+ this.params = Ai1wm.Util.list(params);
527
  };
528
 
529
  Import.prototype.start = function (options, retries) {
553
 
554
  // Set additional params
555
  if (options) {
556
+ params = params.concat(Ai1wm.Util.list(options));
557
  }
558
 
559
  // Import
563
  dataType: 'json',
564
  data: params,
565
  dataFilter: function dataFilter(data, type) {
566
+ return Ai1wm.Util.json(data);
567
  }
568
  }).done(function () {
569
  self.getStatus();
603
  dataType: 'json',
604
  data: params,
605
  dataFilter: function dataFilter(data, type) {
606
+ return Ai1wm.Util.json(data);
607
  }
608
  }).done(function (params) {
609
  if (params) {
632
 
633
  // Set additional params
634
  if (options) {
635
+ params = params.concat(Ai1wm.Util.list(options));
636
  }
637
 
638
  // Confirm
642
  dataType: 'json',
643
  data: params,
644
  dataFilter: function dataFilter(data, type) {
645
+ return Ai1wm.Util.json(data);
646
  }
647
  }).done(function () {
648
  self.getStatus();
680
 
681
  // Set additional params
682
  if (options) {
683
+ params = params.concat(Ai1wm.Util.list(options));
684
  }
685
 
686
  // Blogs
690
  dataType: 'json',
691
  data: params,
692
  dataFilter: function dataFilter(data, type) {
693
+ return Ai1wm.Util.json(data);
694
  }
695
  }).done(function () {
696
  self.getStatus();
729
 
730
  // Set additional params
731
  if (options) {
732
+ params = params.concat(Ai1wm.Util.list(options));
733
  }
734
 
735
  // Clean
739
  dataType: 'json',
740
  data: params,
741
  dataFilter: function dataFilter(data, type) {
742
+ return Ai1wm.Util.json(data);
743
  }
744
  }).done(function () {
745
  // Unbinding the beforeunload event when we stop importing
777
  dataType: 'json',
778
  cache: false,
779
  dataFilter: function dataFilter(data, type) {
780
+ return Ai1wm.Util.json(data);
781
  }
782
  }).done(function (params) {
783
  if (params) {
809
  this.modal.render(params);
810
  };
811
 
812
+ Import.prototype.onConfirm = function (options) {
813
+ this.confirm(options);
814
+ };
815
+
816
+ Import.prototype.onBlogs = function (options) {
817
+ this.blogs(options);
818
+ };
819
+
820
+ Import.prototype.onStop = function (options) {
821
+ this.clean(options);
822
+ };
823
+
824
+ module.exports = Import;
825
+
826
+ /***/ }),
827
+ /* 14 */
828
+ /***/ (function(module, exports) {
829
+
830
+ var toString = {}.toString;
831
+
832
+ module.exports = function (it) {
833
+ return toString.call(it).slice(8, -1);
834
+ };
835
+
836
+
837
+ /***/ }),
838
+ /* 15 */
839
+ /***/ (function(module, exports, __webpack_require__) {
840
+
841
+ var anObject = __webpack_require__(5);
842
+ var IE8_DOM_DEFINE = __webpack_require__(51);
843
+ var toPrimitive = __webpack_require__(52);
844
+ var dP = Object.defineProperty;
845
+
846
+ exports.f = __webpack_require__(9) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
847
+ anObject(O);
848
+ P = toPrimitive(P, true);
849
+ anObject(Attributes);
850
+ if (IE8_DOM_DEFINE) try {
851
+ return dP(O, P, Attributes);
852
+ } catch (e) { /* empty */ }
853
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
854
+ if ('value' in Attributes) O[P] = Attributes.value;
855
+ return O;
856
+ };
857
+
858
+
859
+ /***/ }),
860
+ /* 16 */
861
+ /***/ (function(module, exports, __webpack_require__) {
862
+
863
+ // optional / simple context binding
864
+ var aFunction = __webpack_require__(17);
865
+ module.exports = function (fn, that, length) {
866
+ aFunction(fn);
867
+ if (that === undefined) return fn;
868
+ switch (length) {
869
+ case 1: return function (a) {
870
+ return fn.call(that, a);
871
+ };
872
+ case 2: return function (a, b) {
873
+ return fn.call(that, a, b);
874
+ };
875
+ case 3: return function (a, b, c) {
876
+ return fn.call(that, a, b, c);
877
+ };
878
+ }
879
+ return function (/* ...args */) {
880
+ return fn.apply(that, arguments);
881
+ };
882
+ };
883
+
884
 
885
+ /***/ }),
886
+ /* 17 */
887
+ /***/ (function(module, exports) {
888
 
889
+ module.exports = function (it) {
890
+ if (typeof it != 'function') throw TypeError(it + ' is not a function!');
891
+ return it;
892
  };
893
 
 
894
 
895
  /***/ }),
896
+ /* 18 */
897
  /***/ (function(module, exports, __webpack_require__) {
898
 
899
  "use strict";
1053
  var action = $('<div class="ai1wm-import-modal-actions"></div>');
1054
 
1055
  // Create warning
1056
+ var warning = $('<i class="ai1wm-icon-notification"></i>');
1057
 
1058
  // Create cancel button
1059
  var cancelButton = $('<button type="button" class="ai1wm-button-gray">Cancel</button>').on('click', function () {
1265
  module.exports = Modal;
1266
 
1267
  /***/ }),
1268
+ /* 19 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1269
  /***/ (function(module, exports, __webpack_require__) {
1270
 
1271
  // getting tag from 19.1.3.6 Object.prototype.toString()
1294
 
1295
 
1296
  /***/ }),
1297
+ /* 20 */
1298
  /***/ (function(module, exports) {
1299
 
1300
  var id = 0;
1305
 
1306
 
1307
  /***/ }),
1308
+ /* 21 */
1309
  /***/ (function(module, exports, __webpack_require__) {
1310
 
1311
+ var isObject = __webpack_require__(8);
1312
  var document = __webpack_require__(2).document;
1313
  // typeof document.createElement is 'object' in old IE
1314
  var is = isObject(document) && isObject(document.createElement);
1318
 
1319
 
1320
  /***/ }),
1321
+ /* 22 */
1322
  /***/ (function(module, exports) {
1323
 
1324
  // 7.1.4 ToInteger
1330
 
1331
 
1332
  /***/ }),
1333
+ /* 23 */
1334
  /***/ (function(module, exports) {
1335
 
1336
  // 7.2.1 RequireObjectCoercible(argument)
1341
 
1342
 
1343
  /***/ }),
1344
+ /* 24 */
1345
  /***/ (function(module, exports, __webpack_require__) {
1346
 
1347
  // to indexed object, toObject with fallback for non-array-like ES3 strings
1348
+ var IObject = __webpack_require__(59);
1349
+ var defined = __webpack_require__(23);
1350
  module.exports = function (it) {
1351
  return IObject(defined(it));
1352
  };
1353
 
1354
 
1355
  /***/ }),
1356
+ /* 25 */
1357
  /***/ (function(module, exports, __webpack_require__) {
1358
 
1359
+ var shared = __webpack_require__(27)('keys');
1360
+ var uid = __webpack_require__(20);
1361
  module.exports = function (key) {
1362
  return shared[key] || (shared[key] = uid(key));
1363
  };
1364
 
1365
 
1366
  /***/ }),
1367
+ /* 26 */
1368
  /***/ (function(module, exports, __webpack_require__) {
1369
 
1370
  var def = __webpack_require__(15).f;
1371
+ var has = __webpack_require__(10);
1372
  var TAG = __webpack_require__(1)('toStringTag');
1373
 
1374
  module.exports = function (it, tag, stat) {
1377
 
1378
 
1379
  /***/ }),
1380
+ /* 27 */
1381
  /***/ (function(module, exports, __webpack_require__) {
1382
 
1383
  var global = __webpack_require__(2);
1389
 
1390
 
1391
  /***/ }),
1392
+ /* 28 */
1393
  /***/ (function(module, exports) {
1394
 
1395
  module.exports = function (exec) {
1402
 
1403
 
1404
  /***/ }),
1405
+ /* 29 */
1406
  /***/ (function(module, exports) {
1407
 
1408
  module.exports = function (bitmap, value) {
1416
 
1417
 
1418
  /***/ }),
1419
+ /* 30 */
1420
  /***/ (function(module, exports, __webpack_require__) {
1421
 
1422
  "use strict";
1423
 
1424
+ var LIBRARY = __webpack_require__(31);
1425
+ var $export = __webpack_require__(32);
1426
+ var redefine = __webpack_require__(7);
1427
+ var hide = __webpack_require__(6);
1428
+ var has = __webpack_require__(10);
1429
+ var Iterators = __webpack_require__(12);
1430
+ var $iterCreate = __webpack_require__(55);
1431
+ var setToStringTag = __webpack_require__(26);
1432
+ var getPrototypeOf = __webpack_require__(62);
1433
  var ITERATOR = __webpack_require__(1)('iterator');
1434
  var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
1435
  var FF_ITERATOR = '@@iterator';
1493
 
1494
 
1495
  /***/ }),
1496
+ /* 31 */
1497
  /***/ (function(module, exports) {
1498
 
1499
  module.exports = false;
1500
 
1501
 
1502
  /***/ }),
1503
+ /* 32 */
1504
  /***/ (function(module, exports, __webpack_require__) {
1505
 
1506
  var global = __webpack_require__(2);
1507
+ var core = __webpack_require__(11);
1508
+ var hide = __webpack_require__(6);
1509
+ var redefine = __webpack_require__(7);
1510
  var ctx = __webpack_require__(16);
1511
  var PROTOTYPE = 'prototype';
1512
 
1549
 
1550
 
1551
  /***/ }),
1552
+ /* 33 */
1553
  /***/ (function(module, exports, __webpack_require__) {
1554
 
1555
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
1556
+ var $keys = __webpack_require__(58);
1557
+ var enumBugKeys = __webpack_require__(35);
1558
 
1559
  module.exports = Object.keys || function keys(O) {
1560
  return $keys(O, enumBugKeys);
1562
 
1563
 
1564
  /***/ }),
1565
+ /* 34 */
1566
  /***/ (function(module, exports, __webpack_require__) {
1567
 
1568
  // 7.1.15 ToLength
1569
+ var toInteger = __webpack_require__(22);
1570
  var min = Math.min;
1571
  module.exports = function (it) {
1572
  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1574
 
1575
 
1576
  /***/ }),
1577
+ /* 35 */
1578
  /***/ (function(module, exports) {
1579
 
1580
  // IE 8- don't enum bug keys
1584
 
1585
 
1586
  /***/ }),
1587
+ /* 36 */
1588
  /***/ (function(module, exports, __webpack_require__) {
1589
 
1590
  var document = __webpack_require__(2).document;
1592
 
1593
 
1594
  /***/ }),
1595
+ /* 37 */
1596
  /***/ (function(module, exports, __webpack_require__) {
1597
 
1598
  var ctx = __webpack_require__(16);
1599
+ var invoke = __webpack_require__(75);
1600
+ var html = __webpack_require__(36);
1601
+ var cel = __webpack_require__(21);
1602
  var global = __webpack_require__(2);
1603
  var process = global.process;
1604
  var setTask = global.setImmediate;
1682
 
1683
 
1684
  /***/ }),
1685
+ /* 38 */
1686
  /***/ (function(module, exports, __webpack_require__) {
1687
 
1688
  "use strict";
1707
 
1708
 
1709
  /***/ }),
1710
+ /* 39 */,
1711
+ /* 40 */,
1712
+ /* 41 */,
1713
  /* 42 */,
1714
  /* 43 */,
1715
  /* 44 */,
1716
  /* 45 */,
1717
+ /* 46 */
 
 
1718
  /***/ (function(module, exports, __webpack_require__) {
1719
 
1720
  "use strict";
1721
+ /* WEBPACK VAR INJECTION */(function(global) {
1722
 
1723
  /**
1724
  * Copyright (C) 2014-2018 ServMask Inc.
1744
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1745
  */
1746
 
1747
+ var FileUploader = __webpack_require__(47),
1748
+ Feedback = __webpack_require__(3),
1749
+ Report = __webpack_require__(4),
1750
+ Import = __webpack_require__(13);
1751
 
1752
  jQuery(document).ready(function ($) {
1753
  'use strict';
1761
  });
1762
  });
1763
 
1764
+ global.Ai1wm = jQuery.extend({}, global.Ai1wm, { FileUploader: FileUploader, Feedback: Feedback, Report: Report, Import: Import });
1765
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
1766
+
1767
  /***/ }),
1768
+ /* 47 */
1769
  /***/ (function(module, exports, __webpack_require__) {
1770
 
1771
  "use strict";
1772
+ /* WEBPACK VAR INJECTION */(function(fetch) {
1773
 
1774
  /**
1775
  * Copyright (C) 2014-2018 ServMask Inc.
1795
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1796
  */
1797
 
1798
+ var Import = __webpack_require__(13),
 
1799
  $ = jQuery;
1800
 
1801
  var FileUploader = function FileUploader() {};
1808
  FileUploader.prototype.init = function () {
1809
  var _this = this;
1810
 
1811
+ var formElement = $('#ai1wm-import-form');
1812
  var selectElement = $('#ai1wm-import-file');
1813
  var dropElement = $('#ai1wm-drag-drop-area');
1814
 
1815
+ selectElement.on('change', function (e) {
 
 
 
1816
  _this.setDefaultValues();
1817
+
1818
+ var file = e.target.files.item(0);
1819
+ if (file) {
1820
+ _this.fileSize = file.size;
1821
+
1822
+ try {
1823
+ _this.onFilesAdded(file);
1824
+ _this.onBeforeUpload(file);
1825
+ _this.upload(file);
1826
+ } catch (error) {
1827
+ _this.onError(error);
1828
+ }
1829
  }
1830
+
1831
+ formElement.trigger('reset');
1832
+ e.preventDefault();
1833
  });
1834
 
1835
+ dropElement.on('dragenter', function (e) {
 
1836
  dropElement.addClass('ai1wm-drag-over');
1837
+ e.preventDefault();
1838
  });
1839
+
1840
+ dropElement.on('dragover', function (e) {
1841
  dropElement.addClass('ai1wm-drag-over');
1842
+ e.preventDefault();
1843
  });
1844
+
1845
+ dropElement.on('dragleave', function (e) {
1846
  dropElement.removeClass('ai1wm-drag-over');
1847
+ e.preventDefault();
1848
  });
1849
+
1850
+ dropElement.on('drop', function (e) {
1851
  _this.setDefaultValues();
1852
  dropElement.removeClass('ai1wm-drag-over');
1853
+
1854
+ var file = e.originalEvent.dataTransfer.files.item(0);
1855
+ if (file) {
1856
+ _this.fileSize = file.size;
1857
+
1858
+ try {
1859
+ _this.onFilesAdded(file);
1860
+ _this.onBeforeUpload(file);
1861
+ _this.upload(file);
1862
+ } catch (error) {
1863
+ _this.onError(error);
1864
+ }
1865
  }
1866
+
1867
+ formElement.trigger('reset');
1868
+ e.preventDefault();
1869
  });
1870
  };
1871
 
1892
  return _this2.upload(file);
1893
  case 200:
1894
  return response.text().then(function (text) {
1895
+ var extractedJsonText = Ai1wm.Util.json(text);
1896
  if (extractedJsonText) {
1897
  var json = JSON.parse(extractedJsonText);
1898
  if (json.errors.length === 0) {
1923
 
1924
  FileUploader.prototype.getFormData = function (file, chunkSize) {
1925
  var params = ai1wm_uploader.params;
1926
+
1927
  var formData = new FormData();
1928
  formData.append('upload-file', file.slice(0, chunkSize, 'application/octet-binary'));
1929
 
1967
  FileUploader.prototype.onBeforeUpload = function (file) {
1968
  var self = this;
1969
 
1970
+ var storage = Ai1wm.Util.random(12);
1971
+ var options = Ai1wm.Util.form('#ai1wm-import-form').concat({ name: 'storage', value: storage }).concat({ name: 'archive', value: file.name });
1972
 
1973
  // Set global params
1974
  this.model.setParams(options);
2004
  };
2005
 
2006
  module.exports = FileUploader;
2007
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(48)))
 
 
2008
 
2009
  /***/ }),
2010
+ /* 48 */
2011
  /***/ (function(module, exports, __webpack_require__) {
2012
 
2013
  /* WEBPACK VAR INJECTION */(function(global, Promise) {/*** IMPORTS FROM imports-loader ***/
2479
  /*** EXPORTS FROM exports-loader ***/
2480
  module.exports = global.fetch;
2481
  }.call(global));
2482
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0), __webpack_require__(49)))
2483
 
2484
  /***/ }),
2485
+ /* 49 */
2486
  /***/ (function(module, exports, __webpack_require__) {
2487
 
2488
  /* WEBPACK VAR INJECTION */(function(global) {/*** IMPORTS FROM imports-loader ***/
2489
  (function() {
2490
 
2491
+ __webpack_require__(50);
2492
+ __webpack_require__(53);
2493
+ __webpack_require__(64);
2494
+ __webpack_require__(68);
2495
+ module.exports = __webpack_require__(11).Promise;
2496
 
2497
 
2498
  /*** EXPORTS FROM exports-loader ***/
2499
  module.exports = global.Promise;
2500
  }.call(global));
2501
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
2502
 
2503
  /***/ }),
2504
+ /* 50 */
2505
  /***/ (function(module, exports, __webpack_require__) {
2506
 
2507
  "use strict";
2508
 
2509
  // 19.1.3.6 Object.prototype.toString()
2510
+ var classof = __webpack_require__(19);
2511
  var test = {};
2512
  test[__webpack_require__(1)('toStringTag')] = 'z';
2513
  if (test + '' != '[object z]') {
2514
+ __webpack_require__(7)(Object.prototype, 'toString', function toString() {
2515
  return '[object ' + classof(this) + ']';
2516
  }, true);
2517
  }
2518
 
2519
 
2520
  /***/ }),
2521
+ /* 51 */
2522
  /***/ (function(module, exports, __webpack_require__) {
2523
 
2524
+ module.exports = !__webpack_require__(9) && !__webpack_require__(28)(function () {
2525
+ return Object.defineProperty(__webpack_require__(21)('div'), 'a', { get: function () { return 7; } }).a != 7;
2526
  });
2527
 
2528
 
2529
  /***/ }),
2530
+ /* 52 */
2531
  /***/ (function(module, exports, __webpack_require__) {
2532
 
2533
  // 7.1.1 ToPrimitive(input [, PreferredType])
2534
+ var isObject = __webpack_require__(8);
2535
  // instead of the ES6 spec version, we didn't implement @@toPrimitive case
2536
  // and the second argument - flag - preferred type is a string
2537
  module.exports = function (it, S) {
2545
 
2546
 
2547
  /***/ }),
2548
+ /* 53 */
2549
  /***/ (function(module, exports, __webpack_require__) {
2550
 
2551
  "use strict";
2552
 
2553
+ var $at = __webpack_require__(54)(true);
2554
 
2555
  // 21.1.3.27 String.prototype[@@iterator]()
2556
+ __webpack_require__(30)(String, 'String', function (iterated) {
2557
  this._t = String(iterated); // target
2558
  this._i = 0; // next index
2559
  // 21.1.5.2.1 %StringIteratorPrototype%.next()
2569
 
2570
 
2571
  /***/ }),
2572
+ /* 54 */
2573
  /***/ (function(module, exports, __webpack_require__) {
2574
 
2575
+ var toInteger = __webpack_require__(22);
2576
+ var defined = __webpack_require__(23);
2577
  // true -> String#at
2578
  // false -> String#codePointAt
2579
  module.exports = function (TO_STRING) {
2592
 
2593
 
2594
  /***/ }),
2595
+ /* 55 */
2596
  /***/ (function(module, exports, __webpack_require__) {
2597
 
2598
  "use strict";
2599
 
2600
+ var create = __webpack_require__(56);
2601
+ var descriptor = __webpack_require__(29);
2602
+ var setToStringTag = __webpack_require__(26);
2603
  var IteratorPrototype = {};
2604
 
2605
  // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
2606
+ __webpack_require__(6)(IteratorPrototype, __webpack_require__(1)('iterator'), function () { return this; });
2607
 
2608
  module.exports = function (Constructor, NAME, next) {
2609
  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
2612
 
2613
 
2614
  /***/ }),
2615
+ /* 56 */
2616
  /***/ (function(module, exports, __webpack_require__) {
2617
 
2618
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
2619
+ var anObject = __webpack_require__(5);
2620
+ var dPs = __webpack_require__(57);
2621
+ var enumBugKeys = __webpack_require__(35);
2622
+ var IE_PROTO = __webpack_require__(25)('IE_PROTO');
2623
  var Empty = function () { /* empty */ };
2624
  var PROTOTYPE = 'prototype';
2625
 
2626
  // Create object with fake `null` prototype: use iframe Object with cleared prototype
2627
  var createDict = function () {
2628
  // Thrash, waste and sodomy: IE GC bug
2629
+ var iframe = __webpack_require__(21)('iframe');
2630
  var i = enumBugKeys.length;
2631
  var lt = '<';
2632
  var gt = '>';
2633
  var iframeDocument;
2634
  iframe.style.display = 'none';
2635
+ __webpack_require__(36).appendChild(iframe);
2636
  iframe.src = 'javascript:'; // eslint-disable-line no-script-url
2637
  // createDict = iframe.contentWindow.Object;
2638
  // html.removeChild(iframe);
2659
 
2660
 
2661
  /***/ }),
2662
+ /* 57 */
2663
  /***/ (function(module, exports, __webpack_require__) {
2664
 
2665
  var dP = __webpack_require__(15);
2666
+ var anObject = __webpack_require__(5);
2667
+ var getKeys = __webpack_require__(33);
2668
 
2669
+ module.exports = __webpack_require__(9) ? Object.defineProperties : function defineProperties(O, Properties) {
2670
  anObject(O);
2671
  var keys = getKeys(Properties);
2672
  var length = keys.length;
2678
 
2679
 
2680
  /***/ }),
2681
+ /* 58 */
2682
  /***/ (function(module, exports, __webpack_require__) {
2683
 
2684
+ var has = __webpack_require__(10);
2685
+ var toIObject = __webpack_require__(24);
2686
+ var arrayIndexOf = __webpack_require__(60)(false);
2687
+ var IE_PROTO = __webpack_require__(25)('IE_PROTO');
2688
 
2689
  module.exports = function (object, names) {
2690
  var O = toIObject(object);
2701
 
2702
 
2703
  /***/ }),
2704
+ /* 59 */
2705
  /***/ (function(module, exports, __webpack_require__) {
2706
 
2707
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
2713
 
2714
 
2715
  /***/ }),
2716
+ /* 60 */
2717
  /***/ (function(module, exports, __webpack_require__) {
2718
 
2719
  // false -> Array#indexOf
2720
  // true -> Array#includes
2721
+ var toIObject = __webpack_require__(24);
2722
+ var toLength = __webpack_require__(34);
2723
+ var toAbsoluteIndex = __webpack_require__(61);
2724
  module.exports = function (IS_INCLUDES) {
2725
  return function ($this, el, fromIndex) {
2726
  var O = toIObject($this);
2742
 
2743
 
2744
  /***/ }),
2745
+ /* 61 */
2746
  /***/ (function(module, exports, __webpack_require__) {
2747
 
2748
+ var toInteger = __webpack_require__(22);
2749
  var max = Math.max;
2750
  var min = Math.min;
2751
  module.exports = function (index, length) {
2755
 
2756
 
2757
  /***/ }),
2758
+ /* 62 */
2759
  /***/ (function(module, exports, __webpack_require__) {
2760
 
2761
  // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
2762
+ var has = __webpack_require__(10);
2763
+ var toObject = __webpack_require__(63);
2764
+ var IE_PROTO = __webpack_require__(25)('IE_PROTO');
2765
  var ObjectProto = Object.prototype;
2766
 
2767
  module.exports = Object.getPrototypeOf || function (O) {
2774
 
2775
 
2776
  /***/ }),
2777
+ /* 63 */
2778
  /***/ (function(module, exports, __webpack_require__) {
2779
 
2780
  // 7.1.13 ToObject(argument)
2781
+ var defined = __webpack_require__(23);
2782
  module.exports = function (it) {
2783
  return Object(defined(it));
2784
  };
2785
 
2786
 
2787
  /***/ }),
2788
+ /* 64 */
2789
  /***/ (function(module, exports, __webpack_require__) {
2790
 
2791
+ var $iterators = __webpack_require__(65);
2792
+ var getKeys = __webpack_require__(33);
2793
+ var redefine = __webpack_require__(7);
2794
  var global = __webpack_require__(2);
2795
+ var hide = __webpack_require__(6);
2796
+ var Iterators = __webpack_require__(12);
2797
  var wks = __webpack_require__(1);
2798
  var ITERATOR = wks('iterator');
2799
  var TO_STRING_TAG = wks('toStringTag');
2849
 
2850
 
2851
  /***/ }),
2852
+ /* 65 */
2853
  /***/ (function(module, exports, __webpack_require__) {
2854
 
2855
  "use strict";
2856
 
2857
+ var addToUnscopables = __webpack_require__(66);
2858
+ var step = __webpack_require__(67);
2859
+ var Iterators = __webpack_require__(12);
2860
+ var toIObject = __webpack_require__(24);
2861
 
2862
  // 22.1.3.4 Array.prototype.entries()
2863
  // 22.1.3.13 Array.prototype.keys()
2864
  // 22.1.3.29 Array.prototype.values()
2865
  // 22.1.3.30 Array.prototype[@@iterator]()
2866
+ module.exports = __webpack_require__(30)(Array, 'Array', function (iterated, kind) {
2867
  this._t = toIObject(iterated); // target
2868
  this._i = 0; // next index
2869
  this._k = kind; // kind
2890
 
2891
 
2892
  /***/ }),
2893
+ /* 66 */
2894
  /***/ (function(module, exports, __webpack_require__) {
2895
 
2896
  // 22.1.3.31 Array.prototype[@@unscopables]
2897
  var UNSCOPABLES = __webpack_require__(1)('unscopables');
2898
  var ArrayProto = Array.prototype;
2899
+ if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(6)(ArrayProto, UNSCOPABLES, {});
2900
  module.exports = function (key) {
2901
  ArrayProto[UNSCOPABLES][key] = true;
2902
  };
2903
 
2904
 
2905
  /***/ }),
2906
+ /* 67 */
2907
  /***/ (function(module, exports) {
2908
 
2909
  module.exports = function (done, value) {
2912
 
2913
 
2914
  /***/ }),
2915
+ /* 68 */
2916
  /***/ (function(module, exports, __webpack_require__) {
2917
 
2918
  "use strict";
2919
 
2920
+ var LIBRARY = __webpack_require__(31);
2921
  var global = __webpack_require__(2);
2922
  var ctx = __webpack_require__(16);
2923
+ var classof = __webpack_require__(19);
2924
+ var $export = __webpack_require__(32);
2925
+ var isObject = __webpack_require__(8);
2926
  var aFunction = __webpack_require__(17);
2927
+ var anInstance = __webpack_require__(69);
2928
+ var forOf = __webpack_require__(70);
2929
+ var speciesConstructor = __webpack_require__(74);
2930
+ var task = __webpack_require__(37).set;
2931
+ var microtask = __webpack_require__(76)();
2932
+ var newPromiseCapabilityModule = __webpack_require__(38);
2933
+ var perform = __webpack_require__(77);
2934
+ var promiseResolve = __webpack_require__(78);
2935
  var PROMISE = 'Promise';
2936
  var TypeError = global.TypeError;
2937
  var process = global.process;
3101
  this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
3102
  this._n = false; // <- notify
3103
  };
3104
+ Internal.prototype = __webpack_require__(79)($Promise.prototype, {
3105
  // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
3106
  then: function then(onFulfilled, onRejected) {
3107
  var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
3132
  }
3133
 
3134
  $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
3135
+ __webpack_require__(26)($Promise, PROMISE);
3136
+ __webpack_require__(80)(PROMISE);
3137
+ Wrapper = __webpack_require__(11)[PROMISE];
3138
 
3139
  // statics
3140
  $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
3152
  return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
3153
  }
3154
  });
3155
+ $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(81)(function (iter) {
3156
  $Promise.all(iter)['catch'](empty);
3157
  })), PROMISE, {
3158
  // 25.4.4.1 Promise.all(iterable)
3199
 
3200
 
3201
  /***/ }),
3202
+ /* 69 */
3203
  /***/ (function(module, exports) {
3204
 
3205
  module.exports = function (it, Constructor, name, forbiddenField) {
3210
 
3211
 
3212
  /***/ }),
3213
+ /* 70 */
3214
  /***/ (function(module, exports, __webpack_require__) {
3215
 
3216
  var ctx = __webpack_require__(16);
3217
+ var call = __webpack_require__(71);
3218
+ var isArrayIter = __webpack_require__(72);
3219
+ var anObject = __webpack_require__(5);
3220
+ var toLength = __webpack_require__(34);
3221
+ var getIterFn = __webpack_require__(73);
3222
  var BREAK = {};
3223
  var RETURN = {};
3224
  var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
3241
 
3242
 
3243
  /***/ }),
3244
+ /* 71 */
3245
  /***/ (function(module, exports, __webpack_require__) {
3246
 
3247
  // call something on iterator step with safe closing on error
3248
+ var anObject = __webpack_require__(5);
3249
  module.exports = function (iterator, fn, value, entries) {
3250
  try {
3251
  return entries ? fn(anObject(value)[0], value[1]) : fn(value);
3259
 
3260
 
3261
  /***/ }),
3262
+ /* 72 */
3263
  /***/ (function(module, exports, __webpack_require__) {
3264
 
3265
  // check on default Array iterator
3266
+ var Iterators = __webpack_require__(12);
3267
  var ITERATOR = __webpack_require__(1)('iterator');
3268
  var ArrayProto = Array.prototype;
3269
 
3273
 
3274
 
3275
  /***/ }),
3276
+ /* 73 */
3277
  /***/ (function(module, exports, __webpack_require__) {
3278
 
3279
+ var classof = __webpack_require__(19);
3280
  var ITERATOR = __webpack_require__(1)('iterator');
3281
+ var Iterators = __webpack_require__(12);
3282
+ module.exports = __webpack_require__(11).getIteratorMethod = function (it) {
3283
  if (it != undefined) return it[ITERATOR]
3284
  || it['@@iterator']
3285
  || Iterators[classof(it)];
3287
 
3288
 
3289
  /***/ }),
3290
+ /* 74 */
3291
  /***/ (function(module, exports, __webpack_require__) {
3292
 
3293
  // 7.3.20 SpeciesConstructor(O, defaultConstructor)
3294
+ var anObject = __webpack_require__(5);
3295
  var aFunction = __webpack_require__(17);
3296
  var SPECIES = __webpack_require__(1)('species');
3297
  module.exports = function (O, D) {
3302
 
3303
 
3304
  /***/ }),
3305
+ /* 75 */
3306
  /***/ (function(module, exports) {
3307
 
3308
  // fast apply, http://jsperf.lnkit.com/fast-apply/5
3324
 
3325
 
3326
  /***/ }),
3327
+ /* 76 */
3328
  /***/ (function(module, exports, __webpack_require__) {
3329
 
3330
  var global = __webpack_require__(2);
3331
+ var macrotask = __webpack_require__(37).set;
3332
  var Observer = global.MutationObserver || global.WebKitMutationObserver;
3333
  var process = global.process;
3334
  var Promise = global.Promise;
3398
 
3399
 
3400
  /***/ }),
3401
+ /* 77 */
3402
  /***/ (function(module, exports) {
3403
 
3404
  module.exports = function (exec) {
3411
 
3412
 
3413
  /***/ }),
3414
+ /* 78 */
3415
  /***/ (function(module, exports, __webpack_require__) {
3416
 
3417
+ var anObject = __webpack_require__(5);
3418
+ var isObject = __webpack_require__(8);
3419
+ var newPromiseCapability = __webpack_require__(38);
3420
 
3421
  module.exports = function (C, x) {
3422
  anObject(C);
3429
 
3430
 
3431
  /***/ }),
3432
+ /* 79 */
3433
  /***/ (function(module, exports, __webpack_require__) {
3434
 
3435
+ var redefine = __webpack_require__(7);
3436
  module.exports = function (target, src, safe) {
3437
  for (var key in src) redefine(target, key, src[key], safe);
3438
  return target;
3440
 
3441
 
3442
  /***/ }),
3443
+ /* 80 */
3444
  /***/ (function(module, exports, __webpack_require__) {
3445
 
3446
  "use strict";
3447
 
3448
  var global = __webpack_require__(2);
3449
  var dP = __webpack_require__(15);
3450
+ var DESCRIPTORS = __webpack_require__(9);
3451
  var SPECIES = __webpack_require__(1)('species');
3452
 
3453
  module.exports = function (KEY) {
3460
 
3461
 
3462
  /***/ }),
3463
+ /* 81 */
3464
  /***/ (function(module, exports, __webpack_require__) {
3465
 
3466
  var ITERATOR = __webpack_require__(1)('iterator');
lib/view/assets/javascript/report.min.js ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 82);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ({
67
+
68
+ /***/ 0:
69
+ /***/ (function(module, exports) {
70
+
71
+ var g;
72
+
73
+ // This works in non-strict mode
74
+ g = (function() {
75
+ return this;
76
+ })();
77
+
78
+ try {
79
+ // This works if eval is allowed (see CSP)
80
+ g = g || Function("return this")() || (1,eval)("this");
81
+ } catch(e) {
82
+ // This works if the window reference is available
83
+ if(typeof window === "object")
84
+ g = window;
85
+ }
86
+
87
+ // g can still be undefined, but nothing to do about it...
88
+ // We return undefined, instead of nothing here, so it's
89
+ // easier to handle this case. if(!global) { ...}
90
+
91
+ module.exports = g;
92
+
93
+
94
+ /***/ }),
95
+
96
+ /***/ 4:
97
+ /***/ (function(module, exports, __webpack_require__) {
98
+
99
+ "use strict";
100
+
101
+
102
+ /**
103
+ * Copyright (C) 2014-2018 ServMask Inc.
104
+ *
105
+ * This program is free software: you can redistribute it and/or modify
106
+ * it under the terms of the GNU General Public License as published by
107
+ * the Free Software Foundation, either version 3 of the License, or
108
+ * (at your option) any later version.
109
+ *
110
+ * This program is distributed in the hope that it will be useful,
111
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
112
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
113
+ * GNU General Public License for more details.
114
+ *
115
+ * You should have received a copy of the GNU General Public License
116
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
117
+ *
118
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
119
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
120
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
121
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
122
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
123
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
124
+ */
125
+
126
+ jQuery(document).ready(function ($) {
127
+ 'use strict';
128
+
129
+ $('#ai1wm-report-problem-button').click(function (e) {
130
+ $(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
131
+
132
+ e.preventDefault();
133
+ });
134
+
135
+ $('#ai1wm-report-cancel').click(function (e) {
136
+ $(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
137
+
138
+ e.preventDefault();
139
+ });
140
+
141
+ $('#ai1wm-report-submit').click(function (r) {
142
+ var self = $(this);
143
+
144
+ var spinner = self.next();
145
+ var email = $('.ai1wm-report-email').val();
146
+ var message = $('.ai1wm-report-message').val();
147
+ var terms = $('.ai1wm-report-terms').is(':checked');
148
+
149
+ self.attr('disabled', true);
150
+ spinner.css('visibility', 'visible');
151
+
152
+ $.ajax({
153
+ url: ai1wm_report.ajax.url,
154
+ type: 'POST',
155
+ dataType: 'json',
156
+ async: true,
157
+ data: {
158
+ 'secret_key': ai1wm_report.secret_key,
159
+ 'ai1wm_email': email,
160
+ 'ai1wm_message': message,
161
+ 'ai1wm_terms': +terms
162
+ },
163
+ dataFilter: function dataFilter(data, type) {
164
+ return Ai1wm.Util.json(data);
165
+ }
166
+ }).done(function (data) {
167
+ self.attr('disabled', false);
168
+ spinner.css('visibility', 'hidden');
169
+
170
+ if (data.errors.length > 0) {
171
+ $('.ai1wm-report-problem-dialog .ai1wm-message').remove();
172
+
173
+ var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
174
+ $.each(data.errors, function (key, value) {
175
+ errorMessage.append('<p>' + value + '</p>');
176
+ });
177
+
178
+ $('.ai1wm-report-problem-dialog').prepend(errorMessage);
179
+ } else {
180
+ var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message');
181
+ successMessage.append('<p>Thanks for submitting your request!</p>');
182
+
183
+ $('.ai1wm-report-problem-dialog').html(successMessage);
184
+
185
+ // Hide message
186
+ setTimeout(function () {
187
+ $('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
188
+ }, 2000);
189
+ }
190
+ });
191
+
192
+ e.preventDefault();
193
+ });
194
+ });
195
+
196
+ /***/ }),
197
+
198
+ /***/ 82:
199
+ /***/ (function(module, exports, __webpack_require__) {
200
+
201
+ "use strict";
202
+ /* WEBPACK VAR INJECTION */(function(global) {
203
+
204
+ /**
205
+ * Copyright (C) 2014-2018 ServMask Inc.
206
+ *
207
+ * This program is free software: you can redistribute it and/or modify
208
+ * it under the terms of the GNU General Public License as published by
209
+ * the Free Software Foundation, either version 3 of the License, or
210
+ * (at your option) any later version.
211
+ *
212
+ * This program is distributed in the hope that it will be useful,
213
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
214
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
215
+ * GNU General Public License for more details.
216
+ *
217
+ * You should have received a copy of the GNU General Public License
218
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
219
+ *
220
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
221
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
222
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
223
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
224
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
225
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
226
+ */
227
+
228
+ var Report = __webpack_require__(4);
229
+
230
+ global.Ai1wm = jQuery.extend({}, global.Ai1wm, { Report: Report });
231
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
232
+
233
+ /***/ })
234
+
235
+ /******/ });
lib/view/assets/javascript/updater.min.js CHANGED
@@ -60,12 +60,12 @@
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
- /******/ return __webpack_require__(__webpack_require__.s = 84);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ({
67
 
68
- /***/ 84:
69
  /***/ (function(module, exports, __webpack_require__) {
70
 
71
  "use strict";
@@ -99,10 +99,11 @@ jQuery(document).ready(function ($) {
99
  'use strict';
100
 
101
  $('.ai1wm-purchase-add').click(function (e) {
102
- var button = this;
103
- e.preventDefault();
104
- $(this).attr('disabled', true);
105
- var dialog = $(this).closest('.ai1wm-modal-dialog');
 
106
  var error = dialog.find('.ai1wm-modal-error');
107
  var index = dialog.attr('id').split('-').pop();
108
  var purchaseId = dialog.find('.ai1wm-purchase-id').val();
@@ -112,29 +113,42 @@ jQuery(document).ready(function ($) {
112
  $.ajax({
113
  url: 'https://servmask.com/purchase/' + purchaseId + '/check',
114
  type: 'GET',
115
- dataType: 'json'
 
 
 
116
  }).done(function (product) {
117
  // Update Purchase ID
118
  $.ajax({
119
  url: ai1wm_updater.ajax.url,
120
  type: 'POST',
121
  dataType: 'json',
122
- data: { 'ai1wm_uuid': product.uuid, 'ai1wm_extension': product.extension }
 
 
 
 
 
 
123
  }).done(function () {
124
  window.location.hash = '';
125
 
126
  // Update plugin row
127
- $('#ai1wm-update-section-' + index).html('<a href="' + updateLink + '">Check for updates</a>');
128
- $(button).attr('disabled', false);
 
129
  });
130
  }).fail(function () {
131
- $(button).attr('disabled', false);
132
  error.html('Your purchase ID is invalid, please <a href="mailto:support@servmask.com">contact us</a>');
133
  });
 
 
134
  });
135
 
136
  $('.ai1wm-purchase-discard').click(function (e) {
137
  window.location.hash = '';
 
138
  e.preventDefault();
139
  });
140
  });
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 83);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ({
67
 
68
+ /***/ 83:
69
  /***/ (function(module, exports, __webpack_require__) {
70
 
71
  "use strict";
99
  'use strict';
100
 
101
  $('.ai1wm-purchase-add').click(function (e) {
102
+ var self = $(this);
103
+
104
+ self.attr('disabled', true);
105
+
106
+ var dialog = self.closest('.ai1wm-modal-dialog');
107
  var error = dialog.find('.ai1wm-modal-error');
108
  var index = dialog.attr('id').split('-').pop();
109
  var purchaseId = dialog.find('.ai1wm-purchase-id').val();
113
  $.ajax({
114
  url: 'https://servmask.com/purchase/' + purchaseId + '/check',
115
  type: 'GET',
116
+ dataType: 'json',
117
+ dataFilter: function dataFilter(data, type) {
118
+ return Ai1wm.Util.json(data);
119
+ }
120
  }).done(function (product) {
121
  // Update Purchase ID
122
  $.ajax({
123
  url: ai1wm_updater.ajax.url,
124
  type: 'POST',
125
  dataType: 'json',
126
+ data: {
127
+ 'ai1wm_uuid': product.uuid,
128
+ 'ai1wm_extension': product.extension
129
+ },
130
+ dataFilter: function dataFilter(data, type) {
131
+ return Ai1wm.Util.json(data);
132
+ }
133
  }).done(function () {
134
  window.location.hash = '';
135
 
136
  // Update plugin row
137
+ $('#ai1wm-update-section-' + index).html($('<a />').attr('href', updateLink).text('Check for updates'));
138
+
139
+ self.attr('disabled', false);
140
  });
141
  }).fail(function () {
142
+ self.attr('disabled', false);
143
  error.html('Your purchase ID is invalid, please <a href="mailto:support@servmask.com">contact us</a>');
144
  });
145
+
146
+ e.preventDefault();
147
  });
148
 
149
  $('.ai1wm-purchase-discard').click(function (e) {
150
  window.location.hash = '';
151
+
152
  e.preventDefault();
153
  });
154
  });
lib/view/assets/javascript/util.min.js ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 84);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ({
67
+
68
+ /***/ 0:
69
+ /***/ (function(module, exports) {
70
+
71
+ var g;
72
+
73
+ // This works in non-strict mode
74
+ g = (function() {
75
+ return this;
76
+ })();
77
+
78
+ try {
79
+ // This works if eval is allowed (see CSP)
80
+ g = g || Function("return this")() || (1,eval)("this");
81
+ } catch(e) {
82
+ // This works if the window reference is available
83
+ if(typeof window === "object")
84
+ g = window;
85
+ }
86
+
87
+ // g can still be undefined, but nothing to do about it...
88
+ // We return undefined, instead of nothing here, so it's
89
+ // easier to handle this case. if(!global) { ...}
90
+
91
+ module.exports = g;
92
+
93
+
94
+ /***/ }),
95
+
96
+ /***/ 84:
97
+ /***/ (function(module, exports, __webpack_require__) {
98
+
99
+ "use strict";
100
+ /* WEBPACK VAR INJECTION */(function(global) {
101
+
102
+ /**
103
+ * Copyright (C) 2014-2018 ServMask Inc.
104
+ *
105
+ * This program is free software: you can redistribute it and/or modify
106
+ * it under the terms of the GNU General Public License as published by
107
+ * the Free Software Foundation, either version 3 of the License, or
108
+ * (at your option) any later version.
109
+ *
110
+ * This program is distributed in the hope that it will be useful,
111
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
112
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
113
+ * GNU General Public License for more details.
114
+ *
115
+ * You should have received a copy of the GNU General Public License
116
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
117
+ *
118
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
119
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
120
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
121
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
122
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
123
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
124
+ */
125
+
126
+ var Util = __webpack_require__(85);
127
+
128
+ global.Ai1wm = jQuery.extend({}, global.Ai1wm, { Util: Util });
129
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
130
+
131
+ /***/ }),
132
+
133
+ /***/ 85:
134
+ /***/ (function(module, exports, __webpack_require__) {
135
+
136
+ "use strict";
137
+
138
+
139
+ /**
140
+ * Copyright (C) 2014-2018 ServMask Inc.
141
+ *
142
+ * This program is free software: you can redistribute it and/or modify
143
+ * it under the terms of the GNU General Public License as published by
144
+ * the Free Software Foundation, either version 3 of the License, or
145
+ * (at your option) any later version.
146
+ *
147
+ * This program is distributed in the hope that it will be useful,
148
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
149
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
150
+ * GNU General Public License for more details.
151
+ *
152
+ * You should have received a copy of the GNU General Public License
153
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
154
+ *
155
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
156
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
157
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
158
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
159
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
160
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
161
+ */
162
+
163
+ var $ = jQuery;
164
+
165
+ module.exports = {
166
+ random: function random(len) {
167
+ var text = '';
168
+ var possible = 'abcdefghijklmnopqrstuvwxyz0123456789';
169
+
170
+ for (var i = 0; i < len; i++) {
171
+ text += possible.charAt(Math.floor(Math.random() * possible.length));
172
+ }
173
+
174
+ return text;
175
+ },
176
+ form: function form(id) {
177
+ return $(id).serializeArray();
178
+ },
179
+ ucfirst: function ucfirst(text) {
180
+ return text.charAt(0).toUpperCase() + text.slice(1);
181
+ },
182
+ list: function list(input) {
183
+ // Convert object to list
184
+ if ($.isPlainObject(input)) {
185
+ var result = [];
186
+ var params = decodeURIComponent($.param(input)).split('&');
187
+
188
+ // Loop over params
189
+ $.each(params, function (index, item) {
190
+ var value = item.split('=');
191
+
192
+ // Add item
193
+ result.push({ name: value[0], value: value[1] });
194
+ });
195
+
196
+ return result;
197
+ }
198
+
199
+ return input;
200
+ },
201
+ json: function json(input) {
202
+ if ($.type(input) === 'string') {
203
+ var result = input.match(/{[\s\S]+}/);
204
+ if (result !== null) {
205
+ return result[0];
206
+ }
207
+ }
208
+
209
+ return false;
210
+ }
211
+ };
212
+
213
+ /***/ })
214
+
215
+ /******/ });
lib/view/backups/index.php CHANGED
@@ -28,7 +28,10 @@
28
  <div class="ai1wm-row">
29
  <div class="ai1wm-left">
30
  <div class="ai1wm-holder">
31
- <h1><i class="ai1wm-icon-export"></i> <?php _e( 'Backups', AI1WM_PLUGIN_NAME ); ?></h1>
 
 
 
32
 
33
  <?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
34
 
@@ -68,16 +71,16 @@
68
  <?php endif; ?>
69
  </td>
70
  <td class="ai1wm-column-actions ai1wm-backup-actions">
71
- <a href="<?php echo ai1wm_backup_url( array( 'archive' => esc_attr( $backup['filename'] ) ) ); ?>" class="ai1wm-button-green ai1wm-button-alone ai1wm-backup-download">
72
- <i class="ai1wm-icon-arrow-down ai1wm-icon-alone"></i>
73
  <span><?php _e( 'Download', AI1WM_PLUGIN_NAME ); ?></span>
74
  </a>
75
- <a href="#" data-archive="<?php echo esc_attr( $backup['filename'] ); ?>" class="ai1wm-button-gray ai1wm-button-alone ai1wm-backup-restore">
76
- <i class="ai1wm-icon-cloud-upload ai1wm-icon-alone"></i>
77
  <span><?php _e( 'Restore', AI1WM_PLUGIN_NAME ); ?></span>
78
  </a>
79
- <a href="#" data-archive="<?php echo esc_attr( $backup['filename'] ); ?>" class="ai1wm-button-red ai1wm-button-alone ai1wm-backup-delete">
80
- <i class="ai1wm-icon-close ai1wm-icon-alone"></i>
81
  <span><?php _e( 'Delete', AI1WM_PLUGIN_NAME ); ?></span>
82
  </a>
83
  </td>
@@ -91,7 +94,7 @@
91
  <?php _e( 'There are no backups available at this time, why not create a new one?', AI1WM_PLUGIN_NAME ); ?>
92
  </p>
93
  <p>
94
- <a href="<?php echo network_admin_url( 'admin.php?page=site-migration-export' ); ?>" class="ai1wm-button-green">
95
  <i class="ai1wm-icon-export"></i>
96
  <?php _e( 'Create backup', AI1WM_PLUGIN_NAME ); ?>
97
  </a>
28
  <div class="ai1wm-row">
29
  <div class="ai1wm-left">
30
  <div class="ai1wm-holder">
31
+ <h1>
32
+ <i class="ai1wm-icon-export"></i>
33
+ <?php _e( 'Backups', AI1WM_PLUGIN_NAME ); ?>
34
+ </h1>
35
 
36
  <?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
37
 
71
  <?php endif; ?>
72
  </td>
73
  <td class="ai1wm-column-actions ai1wm-backup-actions">
74
+ <a href="<?php echo ai1wm_backup_url( array( 'archive' => esc_attr( $backup['filename'] ) ) ); ?>" class="ai1wm-button-green ai1wm-backup-download">
75
+ <i class="ai1wm-icon-arrow-down"></i>
76
  <span><?php _e( 'Download', AI1WM_PLUGIN_NAME ); ?></span>
77
  </a>
78
+ <a href="#" data-archive="<?php echo esc_attr( $backup['filename'] ); ?>" class="ai1wm-button-gray ai1wm-backup-restore">
79
+ <i class="ai1wm-icon-cloud-upload"></i>
80
  <span><?php _e( 'Restore', AI1WM_PLUGIN_NAME ); ?></span>
81
  </a>
82
+ <a href="#" data-archive="<?php echo esc_attr( $backup['filename'] ); ?>" class="ai1wm-button-red ai1wm-backup-delete">
83
+ <i class="ai1wm-icon-close"></i>
84
  <span><?php _e( 'Delete', AI1WM_PLUGIN_NAME ); ?></span>
85
  </a>
86
  </td>
94
  <?php _e( 'There are no backups available at this time, why not create a new one?', AI1WM_PLUGIN_NAME ); ?>
95
  </p>
96
  <p>
97
+ <a href="<?php echo esc_url( network_admin_url( 'admin.php?page=ai1wm_export' ) ); ?>" class="ai1wm-button-green">
98
  <i class="ai1wm-icon-export"></i>
99
  <?php _e( 'Create backup', AI1WM_PLUGIN_NAME ); ?>
100
  </a>
lib/view/common/http-authentication.php CHANGED
@@ -1,2 +1,24 @@
1
  <?php
2
- // @codingStandardsIgnoreFile
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
lib/view/common/leave-feedback.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="ai1wm-feedback">
2
  <ul class="ai1wm-feedback-types">
3
  <li>
@@ -33,13 +59,12 @@
33
  <div class="ai1wm-field ai1wm-feedback-terms-segment">
34
  <label for="ai1wm-feedback-terms">
35
  <input type="checkbox" class="ai1wm-feedback-terms" id="ai1wm-feedback-terms" />
36
- <?php _e( 'I agree that by clicking the send button below my email address and comments will be send to a ServMask server.', AI1WM_PLUGIN_NAME ); ?>
37
  </label>
38
  </div>
39
  <div class="ai1wm-field">
40
  <div class="ai1wm-buttons">
41
  <a class="ai1wm-feedback-cancel" id="ai1wm-feedback-cancel" href="#"><?php _e( 'Cancel', AI1WM_PLUGIN_NAME ); ?></a>
42
-
43
  <button type="submit" id="ai1wm-feedback-submit" class="ai1wm-button-blue ai1wm-form-submit">
44
  <i class="ai1wm-icon-paperplane"></i>
45
  <?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="ai1wm-feedback">
28
  <ul class="ai1wm-feedback-types">
29
  <li>
59
  <div class="ai1wm-field ai1wm-feedback-terms-segment">
60
  <label for="ai1wm-feedback-terms">
61
  <input type="checkbox" class="ai1wm-feedback-terms" id="ai1wm-feedback-terms" />
62
+ <?php _e( 'I agree that by filling in the contact form with my data, I authorize All-in-One WP Migration to use my <strong>email</strong> to reply to my requests for information. <a href="https://www.iubenda.com/privacy-policy/946881" target="_blank">Privacy policy</a>', AI1WM_PLUGIN_NAME ); ?>
63
  </label>
64
  </div>
65
  <div class="ai1wm-field">
66
  <div class="ai1wm-buttons">
67
  <a class="ai1wm-feedback-cancel" id="ai1wm-feedback-cancel" href="#"><?php _e( 'Cancel', AI1WM_PLUGIN_NAME ); ?></a>
 
68
  <button type="submit" id="ai1wm-feedback-submit" class="ai1wm-button-blue ai1wm-form-submit">
69
  <i class="ai1wm-icon-paperplane"></i>
70
  <?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
lib/view/common/maintenance-mode.php CHANGED
@@ -1,2 +1,24 @@
1
  <?php
2
- // @codingStandardsIgnoreFile
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
lib/view/common/report-problem.php CHANGED
@@ -1,6 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="ai1wm-report-problem">
2
  <button type="button" id="ai1wm-report-problem-button" class="ai1wm-button-red">
3
- <i class="ai1wm-icon-notification"></i> <?php _e( 'Report issue', AI1WM_PLUGIN_NAME ); ?>
 
4
  </button>
5
  <div class="ai1wm-report-problem-dialog">
6
  <div class="ai1wm-field">
@@ -12,13 +39,12 @@
12
  <div class="ai1wm-field ai1wm-report-terms-segment">
13
  <label for="ai1wm-report-terms">
14
  <input type="checkbox" class="ai1wm-report-terms" id="ai1wm-report-terms" />
15
- <?php _e( 'I agree to send my email address, comments and error logs to a ServMask server.', AI1WM_PLUGIN_NAME ); ?>
16
  </label>
17
  </div>
18
  <div class="ai1wm-field">
19
  <div class="ai1wm-buttons">
20
  <a href="#" id="ai1wm-report-cancel" class="ai1wm-report-cancel"><?php _e( 'Cancel', AI1WM_PLUGIN_NAME ); ?></a>
21
-
22
  <button type="submit" id="ai1wm-report-submit" class="ai1wm-button-blue ai1wm-form-submit">
23
  <i class="ai1wm-icon-paperplane"></i>
24
  <?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="ai1wm-report-problem">
28
  <button type="button" id="ai1wm-report-problem-button" class="ai1wm-button-red">
29
+ <i class="ai1wm-icon-notification"></i>
30
+ <?php _e( 'Report issue', AI1WM_PLUGIN_NAME ); ?>
31
  </button>
32
  <div class="ai1wm-report-problem-dialog">
33
  <div class="ai1wm-field">
39
  <div class="ai1wm-field ai1wm-report-terms-segment">
40
  <label for="ai1wm-report-terms">
41
  <input type="checkbox" class="ai1wm-report-terms" id="ai1wm-report-terms" />
42
+ <?php _e( 'I agree that by filling in the contact form with my data, I authorize All-in-One WP Migration to use my <strong>email</strong> to reply to my requests for information. <a href="https://www.iubenda.com/privacy-policy/946881" target="_blank">Privacy policy</a>', AI1WM_PLUGIN_NAME ); ?>
43
  </label>
44
  </div>
45
  <div class="ai1wm-field">
46
  <div class="ai1wm-buttons">
47
  <a href="#" id="ai1wm-report-cancel" class="ai1wm-report-cancel"><?php _e( 'Cancel', AI1WM_PLUGIN_NAME ); ?></a>
 
48
  <button type="submit" id="ai1wm-report-submit" class="ai1wm-button-blue ai1wm-form-submit">
49
  <i class="ai1wm-icon-paperplane"></i>
50
  <?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
lib/view/common/share-buttons.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div id="fb-root"></div>
2
  <script>
3
  (function(d, s, id) {
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div id="fb-root"></div>
28
  <script>
29
  (function(d, s, id) {
lib/view/export/advanced-settings.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="ai1wm-field-set">
2
  <div class="ai1wm-accordion ai1wm-expandable">
3
  <h4>
@@ -36,8 +62,8 @@
36
  <label for="ai1wm-no-inactive-themes">
37
  <input type="checkbox" id="ai1wm-no-inactive-themes" name="options[no_inactive_themes]" />
38
  <?php _e( 'Do <strong>not</strong> export inactive themes (files)', AI1WM_PLUGIN_NAME ); ?>
 
39
  </label>
40
- <small style="color:red"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
41
  </li>
42
  <?php endif; ?>
43
 
@@ -46,7 +72,6 @@
46
  <input type="checkbox" id="ai1wm-no-muplugins" name="options[no_muplugins]" />
47
  <?php _e( 'Do <strong>not</strong> export must-use plugins (files)', AI1WM_PLUGIN_NAME ); ?>
48
  </label>
49
- <small style="color:red"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
50
  </li>
51
 
52
  <li>
@@ -61,15 +86,15 @@
61
  <label for="ai1wm-no-inactive-plugins">
62
  <input type="checkbox" id="ai1wm-no-inactive-plugins" name="options[no_inactive_plugins]" />
63
  <?php _e( 'Do <strong>not</strong> export inactive plugins (files)', AI1WM_PLUGIN_NAME ); ?>
 
64
  </label>
65
- <small style="color:red"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
66
  </li>
67
  <li>
68
  <label for="ai1wm-no-cache">
69
  <input type="checkbox" id="ai1wm-no-cache" name="options[no_cache]" />
70
  <?php _e( 'Do <strong>not</strong> export cache (files)', AI1WM_PLUGIN_NAME ); ?>
 
71
  </label>
72
- <small style="color:red"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
73
  </li>
74
  <?php endif; ?>
75
 
@@ -84,7 +109,6 @@
84
  <input type="checkbox" id="ai1wm-no-email-replace" name="options[no_email_replace]" />
85
  <?php _e( 'Do <strong>not</strong> replace email domain (sql)', AI1WM_PLUGIN_NAME ); ?>
86
  </label>
87
- <small style="color:red"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
88
  </li>
89
 
90
  <?php do_action( 'ai1wm_export_advanced_settings' ); ?>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="ai1wm-field-set">
28
  <div class="ai1wm-accordion ai1wm-expandable">
29
  <h4>
62
  <label for="ai1wm-no-inactive-themes">
63
  <input type="checkbox" id="ai1wm-no-inactive-themes" name="options[no_inactive_themes]" />
64
  <?php _e( 'Do <strong>not</strong> export inactive themes (files)', AI1WM_PLUGIN_NAME ); ?>
65
+ <small style="color: red;"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
66
  </label>
 
67
  </li>
68
  <?php endif; ?>
69
 
72
  <input type="checkbox" id="ai1wm-no-muplugins" name="options[no_muplugins]" />
73
  <?php _e( 'Do <strong>not</strong> export must-use plugins (files)', AI1WM_PLUGIN_NAME ); ?>
74
  </label>
 
75
  </li>
76
 
77
  <li>
86
  <label for="ai1wm-no-inactive-plugins">
87
  <input type="checkbox" id="ai1wm-no-inactive-plugins" name="options[no_inactive_plugins]" />
88
  <?php _e( 'Do <strong>not</strong> export inactive plugins (files)', AI1WM_PLUGIN_NAME ); ?>
89
+ <small style="color: red;"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
90
  </label>
 
91
  </li>
92
  <li>
93
  <label for="ai1wm-no-cache">
94
  <input type="checkbox" id="ai1wm-no-cache" name="options[no_cache]" />
95
  <?php _e( 'Do <strong>not</strong> export cache (files)', AI1WM_PLUGIN_NAME ); ?>
96
+ <small style="color: red;"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
97
  </label>
 
98
  </li>
99
  <?php endif; ?>
100
 
109
  <input type="checkbox" id="ai1wm-no-email-replace" name="options[no_email_replace]" />
110
  <?php _e( 'Do <strong>not</strong> replace email domain (sql)', AI1WM_PLUGIN_NAME ); ?>
111
  </label>
 
112
  </li>
113
 
114
  <?php do_action( 'ai1wm_export_advanced_settings' ); ?>
lib/view/export/button-box.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/box-extension" target="_blank"><?php _e( 'Box', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/box-extension" target="_blank">Box</a>
lib/view/export/button-digitalocean.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/digitalocean-spaces-extension" target="_blank"><?php _e( 'DigitalOcean', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/digitalocean-spaces-extension" target="_blank">DigitalOcean</a>
lib/view/export/button-dropbox.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/dropbox-extension" target="_blank"><?php _e( 'Dropbox', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/dropbox-extension" target="_blank">Dropbox</a>
lib/view/export/button-file.php CHANGED
@@ -1 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <a href="#" id="ai1wm-export-file"><?php _e( 'File', AI1WM_PLUGIN_NAME ); ?></a>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <a href="#" id="ai1wm-export-file"><?php _e( 'File', AI1WM_PLUGIN_NAME ); ?></a>
lib/view/export/button-ftp.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/ftp-extension" target="_blank"><?php _e( 'FTP', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/ftp-extension" target="_blank">FTP</a>
lib/view/export/button-gdrive.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/google-drive-extension" target="_blank"><?php _e( 'Google Drive', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/google-drive-extension" target="_blank">Google Drive</a>
lib/view/export/button-mega.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/mega-extension" target="_blank"><?php _e( 'Mega', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/mega-extension" target="_blank">Mega</a>
lib/view/export/button-onedrive.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/onedrive-extension" target="_blank"><?php _e( 'OneDrive', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/onedrive-extension" target="_blank">OneDrive</a>
lib/view/export/button-s3.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/amazon-s3-extension" target="_blank"><?php _e( 'Amazon S3', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/amazon-s3-extension" target="_blank">Amazon S3</a>
lib/view/export/export-buttons.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="ai1wm-field-set">
2
  <div class="ai1wm-buttons">
3
  <div class="ai1wm-button-group ai1wm-button-export ai1wm-expandable">
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="ai1wm-field-set">
28
  <div class="ai1wm-buttons">
29
  <div class="ai1wm-button-group ai1wm-button-export ai1wm-expandable">
lib/view/export/find-replace.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <ul id="ai1wm-queries">
2
  <li class="ai1wm-query ai1wm-expandable">
3
  <p>
@@ -18,5 +44,6 @@
18
  </ul>
19
 
20
  <button type="button" class="ai1wm-button-gray" id="ai1wm-add-new-replace-button">
21
- <i class="ai1wm-icon-plus2"></i><?php _e( 'Add', AI1WM_PLUGIN_NAME ); ?>
 
22
  </button>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <ul id="ai1wm-queries">
28
  <li class="ai1wm-query ai1wm-expandable">
29
  <p>
44
  </ul>
45
 
46
  <button type="button" class="ai1wm-button-gray" id="ai1wm-add-new-replace-button">
47
+ <i class="ai1wm-icon-plus2"></i>
48
+ <?php _e( 'Add', AI1WM_PLUGIN_NAME ); ?>
49
  </button>
lib/view/export/help-section.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <p>
2
  <?php _e( 'This screen allows you to export database, media files, themes and plugins as one zipped file.', AI1WM_PLUGIN_NAME ); ?><br />
3
  <?php _e( 'You can then use the import functionality provided by this plugin to import the zipped file onto any other WordPress sites that you have administrator access to.', AI1WM_PLUGIN_NAME ); ?>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <p>
28
  <?php _e( 'This screen allows you to export database, media files, themes and plugins as one zipped file.', AI1WM_PLUGIN_NAME ); ?><br />
29
  <?php _e( 'You can then use the import functionality provided by this plugin to import the zipped file onto any other WordPress sites that you have administrator access to.', AI1WM_PLUGIN_NAME ); ?>
lib/view/export/index.php CHANGED
@@ -28,7 +28,10 @@
28
  <div class="ai1wm-row">
29
  <div class="ai1wm-left">
30
  <div class="ai1wm-holder">
31
- <h1><i class="ai1wm-icon-export"></i> <?php _e( 'Export Site', AI1WM_PLUGIN_NAME ); ?></h1>
 
 
 
32
 
33
  <?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
34
 
28
  <div class="ai1wm-row">
29
  <div class="ai1wm-left">
30
  <div class="ai1wm-holder">
31
+ <h1>
32
+ <i class="ai1wm-icon-export"></i>
33
+ <?php _e( 'Export Site', AI1WM_PLUGIN_NAME ); ?>
34
+ </h1>
35
 
36
  <?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
37
 
lib/view/import/button-box.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/box-extension" target="_blank"><?php _e( 'Box', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/box-extension" target="_blank">Box</a>
lib/view/import/button-digitalocean.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/digitalocean-spaces-extеnsion" target="_blank"><?php _e( 'DigitalOcean', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/digitalocean-spaces-extension" target="_blank">DigitalOcean</a>
lib/view/import/button-dropbox.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/dropbox-extension" target="_blank"><?php _e( 'Dropbox', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/dropbox-extension" target="_blank">Dropbox</a>
lib/view/import/button-file.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <a href="#" id="ai1wm-import-file">
2
  <?php _e( 'File', AI1WM_PLUGIN_NAME ); ?>
3
  <input type="file" id="ai1wm-select-file" />
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <a href="#" id="ai1wm-import-file">
28
  <?php _e( 'File', AI1WM_PLUGIN_NAME ); ?>
29
  <input type="file" id="ai1wm-select-file" />
lib/view/import/button-ftp.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/ftp-extension" target="_blank"><?php _e( 'FTP', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/ftp-extension" target="_blank">FTP</a>
lib/view/import/button-gdrive.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/google-drive-extension" target="_blank"><?php _e( 'Google Drive', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/google-drive-extension" target="_blank">Google Drive</a>
lib/view/import/button-mega.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/mega-extension" target="_blank"><?php _e( 'Mega', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/mega-extension" target="_blank">Mega</a>
lib/view/import/button-onedrive.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/onedrive-extension" target="_blank"><?php _e( 'OneDrive', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/onedrive-extension" target="_blank">OneDrive</a>
lib/view/import/button-s3.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/amazon-s3-extension" target="_blank"><?php _e( 'Amazon S3', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/amazon-s3-extension" target="_blank">Amazon S3</a>
lib/view/import/button-url.php CHANGED
@@ -1 +1,27 @@
1
- <a href="https://servmask.com/products/url-extension" target="_blank"><?php _e( 'URL', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="https://servmask.com/products/url-extension" target="_blank">URL</a>
lib/view/import/import-buttons.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php if ( is_readable( AI1WM_STORAGE_PATH ) && is_writable( AI1WM_STORAGE_PATH ) ) : ?>
2
  <div class="ai1wm-import-messages"></div>
3
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <?php if ( is_readable( AI1WM_STORAGE_PATH ) && is_writable( AI1WM_STORAGE_PATH ) ) : ?>
28
  <div class="ai1wm-import-messages"></div>
29
 
lib/view/import/index.php CHANGED
@@ -28,7 +28,10 @@
28
  <div class="ai1wm-row">
29
  <div class="ai1wm-left">
30
  <div class="ai1wm-holder">
31
- <h1><i class="ai1wm-icon-publish"></i> <?php _e( 'Import Site', AI1WM_PLUGIN_NAME ); ?></h1>
 
 
 
32
 
33
  <?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
34
 
28
  <div class="ai1wm-row">
29
  <div class="ai1wm-left">
30
  <div class="ai1wm-holder">
31
+ <h1>
32
+ <i class="ai1wm-icon-publish"></i>
33
+ <?php _e( 'Import Site', AI1WM_PLUGIN_NAME ); ?>
34
+ </h1>
35
 
36
  <?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
37
 
lib/view/main/admin-head.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <style type="text/css" media="all">
2
  @font-face {
3
  font-family: 'servmask';
@@ -49,11 +75,11 @@
49
  }
50
 
51
  <?php if ( version_compare( $version, '3.8', '<' ) ) : ?>
52
- .toplevel_page_site-migration-export > div.wp-menu-image {
53
  background: none !important;
54
  }
55
 
56
- .toplevel_page_site-migration-export > div.wp-menu-image:before {
57
  line-height: 27px !important;
58
  content: '';
59
  background: url('<?php echo wp_make_link_relative( AI1WM_URL ); ?>/lib/view/assets/img/logo-20x20.png') no-repeat center center;
@@ -69,7 +95,7 @@
69
  }
70
 
71
  <?php else : ?>
72
- .toplevel_page_site-migration-export > div.wp-menu-image:before {
73
  position: relative;
74
  display: inline-block;
75
  content: '';
@@ -85,8 +111,8 @@
85
  -moz-osx-font-smoothing: grayscale !important;
86
  }
87
 
88
- .wp-menu-open.toplevel_page_site-migration-export,
89
- .wp-menu-open.toplevel_page_site-migration-export > a {
90
  background-color: #111 !important;
91
  }
92
  <?php endif; ?>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <style type="text/css" media="all">
28
  @font-face {
29
  font-family: 'servmask';
75
  }
76
 
77
  <?php if ( version_compare( $version, '3.8', '<' ) ) : ?>
78
+ .toplevel_page_ai1wm_export > div.wp-menu-image {
79
  background: none !important;
80
  }
81
 
82
+ .toplevel_page_ai1wm_export > div.wp-menu-image:before {
83
  line-height: 27px !important;
84
  content: '';
85
  background: url('<?php echo wp_make_link_relative( AI1WM_URL ); ?>/lib/view/assets/img/logo-20x20.png') no-repeat center center;
95
  }
96
 
97
  <?php else : ?>
98
+ .toplevel_page_ai1wm_export > div.wp-menu-image:before {
99
  position: relative;
100
  display: inline-block;
101
  content: '';
111
  -moz-osx-font-smoothing: grayscale !important;
112
  }
113
 
114
+ .wp-menu-open.toplevel_page_ai1wm_export,
115
+ .wp-menu-open.toplevel_page_ai1wm_export > a {
116
  background-color: #111 !important;
117
  }
118
  <?php endif; ?>
lib/view/main/backups-htaccess-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/main/backups-index-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/main/backups-path-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/main/backups-webconfig-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/main/get-support.php CHANGED
@@ -1 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <a href="https://servmask.com/help" target="_blank"><?php _e( 'Get Support', AI1WM_PLUGIN_NAME ); ?></a>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <a href="https://servmask.com/help" target="_blank"><?php _e( 'Get Support', AI1WM_PLUGIN_NAME ); ?></a>
lib/view/main/multisite-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/main/storage-index-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/main/storage-path-notice.php CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="error">
2
  <p>
3
  <?php
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
  <div class="error">
28
  <p>
29
  <?php
lib/view/updater/check.php CHANGED
@@ -1 +1,27 @@
1
- <a href="<?php echo $url; ?>"><?php _e( 'Check for updates', AI1WM_PLUGIN_NAME ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <a href="<?php echo esc_url( $url ); ?>"><?php _e( 'Check for updates', AI1WM_PLUGIN_NAME ); ?></a>
lib/view/updater/modal.php CHANGED
@@ -1,11 +1,37 @@
1
- <div id="ai1wm-modal-dialog-<?php echo $modal; ?>" class="ai1wm-modal-dialog">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <div class="ai1wm-modal-container">
3
  <h2><?php _e( 'Enter your Purchase ID', AI1WM_PLUGIN_NAME ); ?></h2>
4
  <p><?php _e( 'To update your plugin/extension to the latest version, please fill your Purchase ID below.', AI1WM_PLUGIN_NAME ); ?></p>
5
  <p class="ai1wm-modal-error"></p>
6
  <p>
7
  <input type="text" class="ai1wm-purchase-id" placeholder="<?php _e( 'Purchase ID', AI1WM_PLUGIN_NAME ); ?>" />
8
- <input type="hidden" class="ai1wm-update-link" value="<?php echo $url; ?>" />
9
  </p>
10
  <p>
11
  <?php _e( "Don't have a Purchase ID? You can find your Purchase ID", AI1WM_PLUGIN_NAME ); ?>
@@ -20,8 +46,8 @@
20
  </div>
21
  </div>
22
 
23
- <span id="ai1wm-update-section-<?php echo $modal; ?>">
24
- <span class="ai1wm-icon-update"></span>
25
  <?php _e( 'There is an update available. To update, you must enter your', AI1WM_PLUGIN_NAME ); ?>
26
- <a href="#ai1wm-modal-dialog-<?php echo $modal; ?>"><?php _e( 'Purchase ID', AI1WM_PLUGIN_NAME ); ?></a>.
27
  </span>
1
+ <?php
2
+ /**
3
+ * Copyright (C) 2014-2018 ServMask Inc.
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ *
18
+ * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
19
+ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
20
+ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
21
+ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
22
+ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
23
+ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
+ */
25
+ ?>
26
+
27
+ <div id="ai1wm-modal-dialog-<?php echo esc_attr( $modal ); ?>" class="ai1wm-modal-dialog">
28
  <div class="ai1wm-modal-container">
29
  <h2><?php _e( 'Enter your Purchase ID', AI1WM_PLUGIN_NAME ); ?></h2>
30
  <p><?php _e( 'To update your plugin/extension to the latest version, please fill your Purchase ID below.', AI1WM_PLUGIN_NAME ); ?></p>
31
  <p class="ai1wm-modal-error"></p>
32
  <p>
33
  <input type="text" class="ai1wm-purchase-id" placeholder="<?php _e( 'Purchase ID', AI1WM_PLUGIN_NAME ); ?>" />
34
+ <input type="hidden" class="ai1wm-update-link" value="<?php echo esc_url( $url ); ?>" />
35
  </p>
36
  <p>
37
  <?php _e( "Don't have a Purchase ID? You can find your Purchase ID", AI1WM_PLUGIN_NAME ); ?>
46
  </div>
47
  </div>
48
 
49
+ <span id="ai1wm-update-section-<?php echo esc_attr( $modal ); ?>">
50
+ <i class="ai1wm-icon-update"></i>
51
  <?php _e( 'There is an update available. To update, you must enter your', AI1WM_PLUGIN_NAME ); ?>
52
+ <a href="#ai1wm-modal-dialog-<?php echo esc_attr( $modal ); ?>"><?php _e( 'Purchase ID', AI1WM_PLUGIN_NAME ); ?></a>.
53
  </span>
loader.php CHANGED
@@ -23,7 +23,7 @@
23
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
  */
25
 
26
- // include all the files that you want to load in here
27
  require_once AI1WM_VENDOR_PATH .
28
  DIRECTORY_SEPARATOR .
29
  'bandar' .
@@ -243,6 +243,10 @@ require_once AI1WM_EXPORT_PATH .
243
  DIRECTORY_SEPARATOR .
244
  'class-ai1wm-export-config.php';
245
 
 
 
 
 
246
  require_once AI1WM_EXPORT_PATH .
247
  DIRECTORY_SEPARATOR .
248
  'class-ai1wm-export-enumerate.php';
23
  * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
  */
25
 
26
+ // Include all the files that you want to load in here
27
  require_once AI1WM_VENDOR_PATH .
28
  DIRECTORY_SEPARATOR .
29
  'bandar' .
243
  DIRECTORY_SEPARATOR .
244
  'class-ai1wm-export-config.php';
245
 
246
+ require_once AI1WM_EXPORT_PATH .
247
+ DIRECTORY_SEPARATOR .
248
+ 'class-ai1wm-export-config-file.php';
249
+
250
  require_once AI1WM_EXPORT_PATH .
251
  DIRECTORY_SEPARATOR .
252
  'class-ai1wm-export-enumerate.php';
readme.txt CHANGED
@@ -3,7 +3,8 @@ Contributors: yani.iliev, bangelov, pimjitsawang
3
  Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordpress migration, website migration, database export, database import, apoyo, sauvegarde, di riserva, バックアップ
4
  Requires at least: 3.3
5
  Tested up to: 4.9
6
- Stable tag: 6.68
 
7
  License: GPLv2 or later
8
 
9
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
@@ -99,6 +100,16 @@ Alternatively you can download the plugin using the download button on this page
99
  All-in-One WP Migration **asks for your consent** to collect **requester's email address** when filling plugin's contact form. [GDPR Compliant Privacy Policy](https://www.iubenda.com/privacy-policy/946881)
100
 
101
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
102
  = 6.68 =
103
  **Added**
104
 
3
  Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordpress migration, website migration, database export, database import, apoyo, sauvegarde, di riserva, バックアップ
4
  Requires at least: 3.3
5
  Tested up to: 4.9
6
+ Requires PHP: 5.2.17
7
+ Stable tag: 6.69
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
100
  All-in-One WP Migration **asks for your consent** to collect **requester's email address** when filling plugin's contact form. [GDPR Compliant Privacy Policy](https://www.iubenda.com/privacy-policy/946881)
101
 
102
  == Changelog ==
103
+ = 6.69 =
104
+ **Added**
105
+
106
+ * Support for RTL languages
107
+ * Disable My Custom Widgets, WPS Hide Login and Endurance Page Cache plugins after restoring a backup
108
+
109
+ **Changed**
110
+
111
+ * Text on import steps
112
+
113
  = 6.68 =
114
  **Added**
115