Blocksy Companion - Version 1.8.58

Version Description

Download this release

Release Info

Developer creativethemeshq
Plugin Icon wp plugin Blocksy Companion
Version 1.8.58
Comparing to
See all releases

Code changes from version 1.8.57 to 1.8.58

blocksy-companion.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
- Version: 1.8.57
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
+ Version: 1.8.58
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
framework/dashboard.php CHANGED
@@ -4,13 +4,44 @@ namespace Blocksy;
4
 
5
  class Dashboard {
6
  public function __construct() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  add_action(
8
  'admin_enqueue_scripts',
9
- [ $this, 'enqueue_static' ],
10
  100
11
  );
12
 
13
  add_action('admin_body_class', function ($class) {
 
 
 
 
14
  if (function_exists('blc_fs') && blc_fs()->is_activation_mode()) {
15
  $class .= ' blocksy-fs-optin-dashboard';
16
  }
@@ -19,6 +50,13 @@ class Dashboard {
19
  });
20
 
21
  if (function_exists('blc_fs')) {
 
 
 
 
 
 
 
22
  blc_fs()->add_filter(
23
  'show_deactivation_feedback_form',
24
  function ($res) {
@@ -156,6 +194,14 @@ class Dashboard {
156
  return;
157
  }
158
 
 
 
 
 
 
 
 
 
159
  if (intval(get_option('blc_activation_redirect', false)) === wp_get_current_user()->ID) {
160
  delete_option('blc_activation_redirect');
161
  exit(wp_redirect(admin_url('admin.php?page=ct-dashboard')));
@@ -164,8 +210,7 @@ class Dashboard {
164
  }
165
 
166
  public function enqueue_static() {
167
- if (! function_exists('blocksy_is_dashboard_page')) return;
168
- if (! blocksy_is_dashboard_page()) return;
169
 
170
  $data = get_plugin_data(BLOCKSY__FILE__);
171
 
@@ -175,13 +220,41 @@ class Dashboard {
175
  'ct-options-scripts'
176
  ]);
177
 
178
- wp_enqueue_script(
179
- 'blocksy-dashboard-scripts',
180
- BLOCKSY_URL . 'static/bundle/dashboard.js',
181
- $deps,
182
- $data['Version'],
183
- false
184
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
  wp_enqueue_style(
187
  'blocksy-dashboard-styles',
@@ -190,4 +263,62 @@ class Dashboard {
190
  $data['Version']
191
  );
192
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  }
4
 
5
  class Dashboard {
6
  public function __construct() {
7
+ add_action(
8
+ 'admin_menu',
9
+ [$this, 'setup_framework_page'],
10
+ 5
11
+ );
12
+
13
+ add_action(
14
+ 'admin_menu',
15
+ function () {
16
+ if (function_exists('blocksy_get_wp_parent_theme')) {
17
+ return;
18
+ }
19
+
20
+ $menu_slug = plugin_basename('ct-dashboard');
21
+ $hookname = get_plugin_page_hookname('ct-dashboard', '');
22
+ remove_all_actions($hookname);
23
+
24
+ add_action(
25
+ $hookname,
26
+ function () {
27
+ $this->welcome_page_template();
28
+ }
29
+ );
30
+ },
31
+ 99999999999
32
+ );
33
+
34
  add_action(
35
  'admin_enqueue_scripts',
36
+ [$this, 'enqueue_static'],
37
  100
38
  );
39
 
40
  add_action('admin_body_class', function ($class) {
41
+ if (! function_exists('blocksy_get_wp_parent_theme')) {
42
+ return;
43
+ }
44
+
45
  if (function_exists('blc_fs') && blc_fs()->is_activation_mode()) {
46
  $class .= ' blocksy-fs-optin-dashboard';
47
  }
50
  });
51
 
52
  if (function_exists('blc_fs')) {
53
+ blc_fs()->add_filter(
54
+ 'hide_plan_change',
55
+ function ($res) {
56
+ return true;
57
+ }
58
+ );
59
+
60
  blc_fs()->add_filter(
61
  'show_deactivation_feedback_form',
62
  function ($res) {
194
  return;
195
  }
196
 
197
+ if (! is_admin()) {
198
+ return;
199
+ }
200
+
201
+ if (! is_user_logged_in()) {
202
+ return;
203
+ }
204
+
205
  if (intval(get_option('blc_activation_redirect', false)) === wp_get_current_user()->ID) {
206
  delete_option('blc_activation_redirect');
207
  exit(wp_redirect(admin_url('admin.php?page=ct-dashboard')));
210
  }
211
 
212
  public function enqueue_static() {
213
+ if (! $this->is_dashboard_page()) return;
 
214
 
215
  $data = get_plugin_data(BLOCKSY__FILE__);
216
 
220
  'ct-options-scripts'
221
  ]);
222
 
223
+ if (function_exists('blocksy_get_wp_parent_theme')) {
224
+ wp_enqueue_script(
225
+ 'blocksy-dashboard-scripts',
226
+ BLOCKSY_URL . 'static/bundle/dashboard.js',
227
+ $deps,
228
+ $data['Version'],
229
+ false
230
+ );
231
+ } else {
232
+ wp_enqueue_script(
233
+ 'blocksy-dashboard-scripts',
234
+ BLOCKSY_URL . 'static/bundle/dashboard-no-theme.js',
235
+ [
236
+ 'underscore',
237
+ 'react',
238
+ 'react-dom',
239
+ 'wp-element',
240
+ 'wp-date',
241
+ 'wp-i18n',
242
+ 'updates'
243
+ ],
244
+ $data['Version'],
245
+ false
246
+ );
247
+
248
+ $slug = 'blocksy';
249
+ wp_localize_script(
250
+ 'blocksy-dashboard-scripts',
251
+ 'ctDashboardLocalizations',
252
+ [
253
+ 'activate'=> current_user_can('switch_themes') ? wp_nonce_url(admin_url('themes.php?action=activate&stylesheet=' . $slug), 'switch-theme_' . $slug) : null,
254
+ ]
255
+ );
256
+ }
257
+
258
 
259
  wp_enqueue_style(
260
  'blocksy-dashboard-styles',
263
  $data['Version']
264
  );
265
  }
266
+
267
+ public function setup_framework_page() {
268
+ if (function_exists('blocksy_get_wp_parent_theme')) {
269
+ return;
270
+ }
271
+
272
+ if (! current_user_can('activate_plugins')) {
273
+ return;
274
+ }
275
+
276
+ $data = get_plugin_data(BLOCKSY__FILE__);
277
+
278
+ $options = [
279
+ 'title' => __('Blocksy', 'blocksy-companion'),
280
+ 'menu-title' => __('Blocksy', 'blocksy-companion'),
281
+ 'permision' => 'activate_plugins',
282
+ 'top-level-handle' => 'ct-dashboard',
283
+ 'callback' => [$this, 'welcome_page_template'],
284
+ 'icon-url' => apply_filters(
285
+ 'blocksy:dashboard:icon-url',
286
+ BLOCKSY_URL . 'static/img/navigation.svg'
287
+ ),
288
+ 'position' => 2,
289
+ ];
290
+
291
+
292
+ add_menu_page(
293
+ $options['title'],
294
+ $options['menu-title'],
295
+ $options['permision'],
296
+ $options['top-level-handle'],
297
+ $options['callback'],
298
+ $options['icon-url'],
299
+ 2
300
+ );
301
+ }
302
+
303
+ public function is_dashboard_page() {
304
+ global $pagenow;
305
+
306
+ $is_ct_settings =
307
+ // 'themes.php' === $pagenow &&
308
+ isset( $_GET['page'] ) && 'ct-dashboard' === $_GET['page'];
309
+
310
+ return $is_ct_settings;
311
+ }
312
+
313
+ public function welcome_page_template() {
314
+ if (! current_user_can('manage_options')) {
315
+ wp_die(
316
+ esc_html(
317
+ __( 'You do not have sufficient permissions to access this page.', 'blocksy-companion' )
318
+ )
319
+ );
320
+ }
321
+
322
+ echo '<div id="ct-dashboard"></div>';
323
+ }
324
  }
framework/extensions/cookies-consent/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/newsletter-subscribe/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/trending/helpers.php CHANGED
@@ -82,32 +82,30 @@ if (! function_exists('blc_get_trending_posts_value')) {
82
  'post_status' => 'publish'
83
  ];
84
 
 
85
  if ($source === 'categories') {
86
  $query_args['date_query'] = $date_query;
87
  $cat_option_id = 'trending_block_category';
88
- $taxonomy = 'category';
89
 
90
  if ($post_type !== 'post') {
91
  $cat_option_id = 'trending_block_' . $post_type . '_taxonomy';
92
- $taxonomies = get_object_taxonomies($post_type);
93
-
94
- if (count($taxonomies) > 0) {
95
- $taxonomy = $taxonomies[0];
96
- }
97
  }
98
 
99
  $cat_id = get_theme_mod($cat_option_id, 'all_categories');
100
-
101
  $cat_id = (empty($cat_id) || 'all_categories' === $cat_id) ? '' : $cat_id;
102
 
103
  if (! empty($cat_id)) {
104
- $query_args['tax_query'] = [
105
- [
106
- 'taxonomy' => $taxonomy,
107
- 'field' => 'term_id',
108
- 'terms' => [$cat_id]
109
- ]
110
- ];
 
 
 
 
111
  }
112
  }
113
 
@@ -182,6 +180,7 @@ if (! function_exists('blc_get_trending_block')) {
182
  function blc_get_trending_block($forced = false) {
183
  $result = blc_get_trending_posts_value();
184
 
 
185
  if (empty($result['posts'])) {
186
  return '';
187
  }
82
  'post_status' => 'publish'
83
  ];
84
 
85
+
86
  if ($source === 'categories') {
87
  $query_args['date_query'] = $date_query;
88
  $cat_option_id = 'trending_block_category';
 
89
 
90
  if ($post_type !== 'post') {
91
  $cat_option_id = 'trending_block_' . $post_type . '_taxonomy';
 
 
 
 
 
92
  }
93
 
94
  $cat_id = get_theme_mod($cat_option_id, 'all_categories');
 
95
  $cat_id = (empty($cat_id) || 'all_categories' === $cat_id) ? '' : $cat_id;
96
 
97
  if (! empty($cat_id)) {
98
+ $terms = get_terms(['include' => $cat_id]);
99
+
100
+ if (! empty($terms)) {
101
+ $query_args['tax_query'] = [
102
+ [
103
+ 'taxonomy' => $terms[0]->taxonomy,
104
+ 'field' => 'term_id',
105
+ 'terms' => [$cat_id]
106
+ ]
107
+ ];
108
+ }
109
  }
110
  }
111
 
180
  function blc_get_trending_block($forced = false) {
181
  $result = blc_get_trending_posts_value();
182
 
183
+
184
  if (empty($result['posts'])) {
185
  return '';
186
  }
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/widgets/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/features/demo-install/required-plugins.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  namespace Blocksy;
4
 
 
5
  class DemoInstallPluginsInstaller {
6
  protected $has_streaming = true;
7
  protected $plugins = null;
@@ -49,8 +50,6 @@ class DemoInstallPluginsInstaller {
49
 
50
  $plugins = explode(':', $this->plugins);
51
 
52
- $plugins_manager = Plugin::instance()->demo->get_plugins_manager();
53
-
54
  foreach ($plugins as $single_plugin) {
55
  if ($single_plugin === 'woocommerce') {
56
  if (empty(get_option('woocommerce_db_version'))) {
@@ -59,7 +58,7 @@ class DemoInstallPluginsInstaller {
59
  }
60
 
61
  if ($single_plugin === 'stackable-ultimate-gutenberg-blocks') {
62
- $stackable_pro_status = $plugins_manager->get_plugin_status(
63
  'stackable-ultimate-gutenberg-blocks-premium'
64
  );
65
 
@@ -75,7 +74,7 @@ class DemoInstallPluginsInstaller {
75
  ]);
76
  }
77
 
78
- $plugins_manager->prepare_install($single_plugin);
79
 
80
  echo $single_plugin;
81
 
@@ -86,7 +85,7 @@ class DemoInstallPluginsInstaller {
86
  ]);
87
  }
88
 
89
- $plugins_manager->plugin_activation($single_plugin);
90
  }
91
 
92
  if ($this->has_streaming) {
@@ -98,5 +97,209 @@ class DemoInstallPluginsInstaller {
98
  exit;
99
  }
100
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  }
102
 
2
 
3
  namespace Blocksy;
4
 
5
+
6
  class DemoInstallPluginsInstaller {
7
  protected $has_streaming = true;
8
  protected $plugins = null;
50
 
51
  $plugins = explode(':', $this->plugins);
52
 
 
 
53
  foreach ($plugins as $single_plugin) {
54
  if ($single_plugin === 'woocommerce') {
55
  if (empty(get_option('woocommerce_db_version'))) {
58
  }
59
 
60
  if ($single_plugin === 'stackable-ultimate-gutenberg-blocks') {
61
+ $stackable_pro_status = $this->get_plugin_status(
62
  'stackable-ultimate-gutenberg-blocks-premium'
63
  );
64
 
74
  ]);
75
  }
76
 
77
+ $this->prepare_install($single_plugin);
78
 
79
  echo $single_plugin;
80
 
85
  ]);
86
  }
87
 
88
+ $this->plugin_activation($single_plugin);
89
  }
90
 
91
  if ($this->has_streaming) {
97
  exit;
98
  }
99
  }
100
+
101
+ public function get_plugins_api($slug) {
102
+ static $api = []; // Cache received responses.
103
+
104
+ if (! isset($api[$slug])) {
105
+ if ( ! function_exists( 'plugins_api' ) ) {
106
+ require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
107
+ }
108
+
109
+ $response = plugins_api(
110
+ 'plugin_information',
111
+ [
112
+ 'slug' => $slug,
113
+ 'fields' => [
114
+ 'sections' => false,
115
+ ],
116
+ ]
117
+ );
118
+
119
+ $api[$slug] = false;
120
+
121
+ if (is_wp_error($response)) {
122
+ } else {
123
+ $api[$slug] = $response;
124
+ }
125
+ }
126
+
127
+ return $api[$slug];
128
+ }
129
+
130
+ /**
131
+ * Wrapper around the core WP get_plugins function,
132
+ * making sure it's actually available.
133
+ */
134
+ public function get_installed_plugins($plugin_folder = '') {
135
+ // https://github.com/WordPress/WordPress/blob/ba92ed7615dec870a363bc99d6668faedfa77415/wp-admin/includes/plugin.php#L2254
136
+ wp_cache_delete('plugins', 'plugins');
137
+
138
+ if (! function_exists('get_plugins')) {
139
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
140
+ }
141
+
142
+ return get_plugins($plugin_folder);
143
+ }
144
+
145
+ public function is_plugin_installed($slug) {
146
+ $installed_plugins = $this->get_installed_plugins();
147
+
148
+ foreach ($installed_plugins as $plugin => $data) {
149
+ $parts = explode('/', $plugin);
150
+ $plugin_first_part = $parts[0];
151
+
152
+ if (strtolower($slug) === strtolower($plugin_first_part)) {
153
+ return $plugin;
154
+ }
155
+ }
156
+
157
+ return false;
158
+ }
159
+
160
+ public function can($capability = 'install_plugins') {
161
+ if (defined('WP_CLI') && WP_CLI) {
162
+ return true;
163
+ }
164
+
165
+ if (is_multisite()) {
166
+ // Only network admin can change files that affects the entire network.
167
+ $can = current_user_can_for_blog(get_current_blog_id(), $capability);
168
+ } else {
169
+ $can = current_user_can($capability);
170
+ }
171
+
172
+ if ($can) {
173
+ // Also you can use this method to get the capability.
174
+ $can = $capability;
175
+ }
176
+
177
+ return $can;
178
+ }
179
+
180
+ protected function require_wp_headers() {
181
+ require_once ABSPATH . 'wp-admin/includes/file.php';
182
+
183
+ if (! class_exists('Plugin_Upgrader', false)) {
184
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
185
+ }
186
+
187
+ if (! class_exists('\Blocksy\Blocksy_WP_Upgrader_Skin')) {
188
+ require_once dirname( __FILE__ ) . '/upgrader-skin.php';
189
+ }
190
+ }
191
+
192
+ public function prepare_install($plugin) {
193
+ if (! $this->can()) {
194
+ return false;
195
+ }
196
+
197
+ return $this->download_and_install($plugin);
198
+ }
199
+
200
+ public function has_direct_access( $context = null ) {
201
+ require_once ABSPATH . 'wp-admin/includes/file.php';
202
+ WP_Filesystem();
203
+
204
+ /** @var WP_Filesystem_Base $wp_filesystem */
205
+ global $wp_filesystem;
206
+
207
+ if ($wp_filesystem) {
208
+ if (is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code()) {
209
+ return false;
210
+ } else {
211
+ return $wp_filesystem->method === 'direct';
212
+ }
213
+ }
214
+
215
+ if (get_filesystem_method([], $context) === 'direct') {
216
+ ob_start();
217
+
218
+ {
219
+ $creds = request_filesystem_credentials( admin_url(), '', false, $context, null );
220
+ }
221
+
222
+ ob_end_clean();
223
+
224
+ if (WP_Filesystem($creds)) {
225
+ return true;
226
+ }
227
+ }
228
+
229
+ return false;
230
+ }
231
+
232
+ public function is_plugin_active($plugin) {
233
+ if (! function_exists('activate_plugin')) {
234
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
235
+ }
236
+
237
+ return is_plugin_active($plugin);
238
+ }
239
+
240
+ public function plugin_activation($plugin) {
241
+ $full_name = $this->is_plugin_installed($plugin);
242
+
243
+ if ($full_name) {
244
+ if (! $this->is_plugin_active($full_name)) {
245
+ return activate_plugin($full_name, '', false, true);
246
+ }
247
+ }
248
+
249
+ return new \WP_Error();
250
+ }
251
+
252
+ public function get_plugin_status($slug) {
253
+ $full_name = $this->is_plugin_installed( $slug );
254
+
255
+ if (! $full_name) {
256
+ return 'uninstalled';
257
+ }
258
+
259
+ if (! $this->is_plugin_active($full_name)) {
260
+ return 'installed';
261
+ }
262
+
263
+ return 'active';
264
+ }
265
+
266
+ public function download_and_install($slug) {
267
+ $this->require_wp_headers();
268
+
269
+ if ($this->is_plugin_installed($slug)) {
270
+ return true;
271
+ }
272
+
273
+ $api = $this->get_plugins_api($slug);
274
+
275
+ if (! isset($api->download_link)) {
276
+ return true;
277
+ }
278
+
279
+ // Prep variables for Plugin_Installer_Skin class.
280
+ $source = $api->download_link;
281
+
282
+ if (! $source) {
283
+ return false;
284
+ }
285
+
286
+ $skin = new Blocksy_WP_Upgrader_Skin();
287
+
288
+ // Create a new instance of Plugin_Upgrader.
289
+ $upgrader = new \Plugin_Upgrader($skin);
290
+
291
+ $res = $upgrader->fs_connect([WP_CONTENT_DIR, WP_PLUGIN_DIR]);
292
+
293
+ if (! $res) {
294
+ return false;
295
+ }
296
+
297
+ $upgrader->install($source);
298
+ }
299
+
300
+ public function init_filesystem() {
301
+ require_once ABSPATH . 'wp-admin/includes/file.php';
302
+ WP_Filesystem();
303
+ }
304
  }
305
 
framework/features/demo-install/upgrader-skin.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Blocksy;
4
+
5
+ class Blocksy_WP_Upgrader_Skin extends \Plugin_Installer_Skin {
6
+ public function header() {
7
+ }
8
+
9
+ public function footer() {
10
+ }
11
+
12
+ public function feedback( $string, ...$args) {
13
+ }
14
+
15
+ public function before() {
16
+ }
17
+
18
+ public function after() {
19
+ }
20
+
21
+ protected function decrement_update_count( $type ) {
22
+ }
23
+
24
+ public function bulk_header() {
25
+ }
26
+
27
+ public function bulk_footer() {
28
+ }
29
+
30
+ public function error( $errors ) {
31
+ }
32
+ }
framework/theme-integration.php CHANGED
@@ -322,6 +322,17 @@ class ThemeIntegration {
322
  ]);
323
  });
324
 
 
 
 
 
 
 
 
 
 
 
 
325
  add_filter(
326
  'blocksy_add_menu_page',
327
  function ($res, $options) {
322
  ]);
323
  });
324
 
325
+ add_filter(
326
+ 'blocksy:dashboard:redirect-after-activation',
327
+ function ($url) {
328
+ return add_query_arg(
329
+ 'page',
330
+ 'ct-dashboard',
331
+ admin_url('admin.php')
332
+ );
333
+ }
334
+ );
335
+
336
  add_filter(
337
  'blocksy_add_menu_page',
338
  function ($res, $options) {
framework/views/optin.php CHANGED
@@ -1,6 +1,5 @@
1
  <div class="blocksy-fs-optin-wrapper">
2
 
3
  <div class="ct-optin-svg">
4
- <svg viewBox="0 0 1697 1036" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M328.96 166.92S291 43.03 237.11 16.03c-83.8-42-149.21 9.06-180.29 43.46C41.2 76.78 0 133.36 0 133.36l162.77 99.48 60.12-73.36 40.37 70.34 150.37 63.91 28.18-75.5-112.85-51.31z" id="a"/><path id="c" d="M44.24 0l12.11 45.4 40.22 4.62-15.53 33.36-35.01 28.91-35.23-2.86L.58 80.75l5.67-35.48z"/></defs><g fill="none" fill-rule="evenodd"><path fill="#F9D796" fill-rule="nonzero" d="M1500.63 698.82h112.48v269.02h-112.48z"/><path d="M342.03 347.82c82.467 0 149.32 66.853 149.32 149.32s-66.853 149.32-149.32 149.32" fill="#EAB874" fill-rule="nonzero"/><path d="M1265.19 329.71c0-92.375 74.885-167.26 167.26-167.26 92.375 0 167.26 74.885 167.26 167.26" fill="#F9D796" fill-rule="nonzero"/><path d="M722.1 779.25c0-92.375 74.885-167.26 167.26-167.26 92.375 0 167.26 74.885 167.26 167.26M909.6 337.69L765.95 122.3 622.3 337.69zM306.28 843.19L191.07 670.45 75.87 843.19zM1110.16 18.68l127.24 190.78 127.24-190.78z" fill="#EAB874" fill-rule="nonzero"/><path fill="#F9D796" fill-rule="nonzero" d="M284.07 0h112.48v269.02H284.07z"/><path d="M191.07 494.29c-81.988-.671-148.098-67.325-148.098-149.315s66.11-148.644 148.098-149.315" fill="#EAB874" fill-rule="nonzero"/><path stroke="#F7D99C" stroke-width="14" d="M610.6 40.91l-82.46 82.46M955.53 129.34l82.46 82.46M4.95 606.68l82.46 82.46M1580.64 415.49l82.46 82.46M756.87 405.89l82.46 82.46M99.41 5.29l82.45 82.46M725.44 866.39l-82.46 82.45M1576.35 5.29l-82.46 82.46"/><g transform="translate(44 264)"><ellipse fill="#AB8660" fill-rule="nonzero" cx="809.97" cy="763.18" rx="809.13" ry="7.83"/><path fill="#E09B8C" fill-rule="nonzero" d="M1652.78 422.57L1289 762.18h-139.44l363.79-339.61z"/><path fill="#FFF" fill-rule="nonzero" d="M1515.31 418.07L1134.48 10.14h127.13l380.81 407.93z"/><path d="M1259.65 14.64l372.41 398.93h-114.8L1144.84 14.64h114.82m3.91-9h-139.45l389.23 416.93h139.43L1263.56 5.64h.01z" fill="#F9D0B5" fill-rule="nonzero"/><path d="M745.54 315.39s30.79 12.91 44.3 28.14c13.51 15.23 22 48 22 48s-82 10.35-89.89-64" fill="#3361C2" fill-rule="nonzero"/><path fill="#162C56" fill-rule="nonzero" d="M70.97 679.93l-52.28 53.13 48.59 29.12h149.79l-79.75-42.44zM365.76 695.49l-33.45 66.69h191.46l-79.75-42.44z"/><path d="M158.72 731.57l179.92-179.82a108 108 0 0030.33-59.72l15.39-98.69 67.33 98.17-105.64 202.52 114.79 34 108.57-174.9c20.29-32.698 19.02-74.367-3.22-105.77l-91.13-128.52-162.78-99.48-35.07 55a145.45 145.45 0 00-22.52 69.21l-7.57 122.46L43.41 675.67l115.31 55.9z" fill="#72A065" fill-rule="nonzero"/><g transform="translate(312.21 86)"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><use fill="#FFBA5F" fill-rule="nonzero" xlink:href="#a"/><g mask="url(#b)" fill="#EA6F57" fill-rule="nonzero"><path d="M86.88 100.83l-30.01-45-30.01 45zM203.17 100.83l-30.01-45-30.01 45zM320.29 100.83l-30.01-45-30.01 45zM203.17 262.06l-30.01-45-30.01 45zM436.59 262.06l-30.01-45-30.01 45zM203.17 141.6l30.01 45 30.01-45zM86.46 141.6l30.01 45 30.01-45zM86.46-4l30.01 45 30.01-45z"/></g></g><path stroke="#3361C2" stroke-width="65" stroke-linecap="round" stroke-linejoin="round" d="M624.08 47.83l-80.96 67.74"/><path d="M569.19 131.42l4.89 2.76a44.45 44.45 0 0063.9-24.41l10.41-30.62c6.946-20.417-1.77-42.874-20.67-53.26-21.512-11.814-48.528-3.958-60.35 17.55l-15.31 27.87c-11.725 21.346-4.086 48.152 17.13 60.11z" fill="#3361C2" fill-rule="nonzero"/><rect fill="#3361C2" fill-rule="nonzero" transform="rotate(171.38 555.62 69.08)" x="539.28" y="48.106" width="32.68" height="41.95" rx="15.57"/><path stroke="#FFF" stroke-width="3" stroke-linecap="square" d="M549.21 60.75l6.66 17.86M624.69 81.93l-7.19 24.92-8.88-2.51"/><path d="M566.23 81.03l29.76-38.22 7.06-9.08a36.9 36.9 0 006 10.56c9.27 11.56 46.57 24.34 62.35 1.08 12.87-19-14.16-16.39-24.87-22.46-16.82-9.54-24.7-25.16-54.45-22.34-35.65 3.33-38.24 47.57-38.24 47.57s14.87.47 12.39 32.89zM572.63 133.41l-11.35-12.29.49 21.21z" fill="#24272D" fill-rule="nonzero"/><circle fill="#FFF" fill-rule="nonzero" cx="610.55" cy="79.94" r="4.57"/><circle fill="#FFF" fill-rule="nonzero" cx="635.64" cy="91.01" r="4.57"/><path stroke="#FFF" stroke-width="14" stroke-linecap="square" d="M482.28 316.25l-168.09-99.5"/><path d="M560.74 307.44s12.5-6.53 31.82-5l20.76 7.81s18.43 14.78-6.84 40.92-73.09 6.38-73.09 6.38" fill="#3361C2" fill-rule="nonzero"/><path d="M383.08 222.78l7.85 61.31a52 52 0 0033.4 42.13l114 42.53 28.24-79.09-87.83-33 2.46-73.63" fill="#FFBA5F" fill-rule="nonzero"/><path fill="#F9D0B5" fill-rule="nonzero" d="M1513.35 422.57l-363.79 339.61-389.22-416.92L1124.12 5.64z"/><path stroke="#1F2128" stroke-width="8" stroke-linecap="round" d="M609.44 291.27l-15.56 22.14"/><g transform="translate(597.74 183.12)"><mask id="d" fill="#fff"><use xlink:href="#c"/></mask><use fill="#FFBA5F" fill-rule="nonzero" xlink:href="#c"/><path fill="#EA6F57" fill-rule="nonzero" mask="url(#d)" d="M-15 27.85l52.21 78.28 52.2-78.28z"/></g><ellipse stroke="#1F2128" stroke-width="8" transform="rotate(-56.98 649.702 233.917)" cx="649.702" cy="233.917" rx="70.11" ry="41.03"/><path fill="#EA6F57" fill-rule="nonzero" d="M726.43 762.18l-35.1-52.64-35.11 52.64z"/><path fill="#3361C2" fill-rule="nonzero" d="M1044.84 762.18l-92.08-138.07-92.09 138.07z"/><path fill="#FFBA5F" fill-rule="nonzero" d="M792.91 582.42h75.16v179.76h-75.16z"/><path d="M771.2 762.18c0-56.952 46.168-103.12 103.12-103.12 56.952 0 103.12 46.168 103.12 103.12" fill="#72A065" fill-rule="nonzero"/><path d="M590.53 101.53s-2.35 9.23 7.31 13.78" fill="#FFF" fill-rule="nonzero"/><path stroke="#FFF" stroke-width="3" stroke-linecap="square" d="M515.21 268.68l-37.54-14.66-1.03-82.26M385.91 252.69l-3.82-57.64M257.28 490.34l-8.67-23.39 21.31-3.31M473.21 509.5l-19.87-17.8 27.53-13.77M387.38 364.73L376.5 434.5"/></g><g fill="#2B292D" fill-rule="nonzero"><path d="M1174.34 671.16l13.55-56.28-57.16 9.12zM1192.298 690.546l35.36-32.697 78.199 84.565-35.36 32.698zM1112.38 604.16a48.152 48.152 0 00-65.38-70.71l65.38 70.71z"/></g></g>
5
- </svg>
6
  </div>
1
  <div class="blocksy-fs-optin-wrapper">
2
 
3
  <div class="ct-optin-svg">
4
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 642 600" viewBox="0 0 642 600"><path d="m106.5 77 .5 9.4-1.2 8.8-3 6.5-2.9 3.6-7.2 3.8 1.3 6 2.6 8.6-9.5 28-39-30.2 2.3-2.6 10.5 6.9-2.4-16.2-1.3-5.7-2.8-10.6-5-1.7-3.9-5-.9-4.8 1.4-3.6 3.2-1.2 4.1 1 5.2 2.5 1.7 1L61 80l-1-10.4-2.7-10 9.4-6.2 15-1.2 9.4-.8 9-.3 3 3.2 2.3 12.2 1.1 10.5zm466.9-18.2-2.7-5.2-2.3-.4-1.6 2.6-.6-3.7.2-4.5 1-4.7v-.7l-1.3-1.8-2.4-1.6-3.1 3.2-9.8 6.7-19.1 1.6-10.5-3.8-1 4.7 2.5 22.7s0 13 8.2 18.4c8.2 5.4 10.7 1.3 10.7 1.3v7.3l-2.2 1.9-3.8 4.6-.8 3.2.8 3.4 1.8 2 4.6.9h5.1l5.4-1.5 6.8-3.1 7.6-5.5 5.6-5.4 3.6-4.2-1.4-7.8-1.2-1.8L581 68l2.8-.7 1-5.6-3.8-3.6-7.6.7zm.3 142.7-2.3-7.9-.9-5.1.2-3.5-20.3.5-21.9.8-13.3.4-2.8.2-.5-2.3-1-2.8-1.1-2.4-1-2-1.5-2-2-2.5-1.6-1.8-1.1-.2-.6 1.5.3 2.3 1.3 5.2-1.3.3h-3.6l-4-.8-3.6-2-3.5-2.5-1.6-.1-.8 1.4.7 2.7-.9 2 .5 2.4 1.4 2.2.1 1.5.6 1.9 2.2 2.5 2.5 1.8 3.4 1.7 3.9 1.2 6.8.7 3.5.1 3.4 1.2 12.6 5.2 15.5 6.5 12.3 4.7 17.1 3.5 7.8.5-.9-3.8-4-13.2zm-440.5-2.4-.2-1.5-3 .3-4 1.8-4.4 2.6-1.2.5.4-3.6-.3-2.5-1-1.2H118l-1.7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1.1-3.1-1.8-6.3-2.1-9.6l-7.8.5-21.4-87.1s-7.1-18.3 11-43.9c-2.4-12.1-5.5-32.8-6.4-38.9-12.7.6-23.1 1.5-36 2.6 0 0-24.7 61.9-41.2 98.4v18.3c4 .5 8 1.1 11.9 2 3.3.4 6.5 2 8.7 4.5.9 1.4.7 11.2.4 14.6 4.3 1.7 8 4.9 12.2 6.9 0-1 .2-2.1.6-3.1 3-7.6 16-6.7 22.9-6.2 4.8.3 13.3 4.1 12.6 9.8.4 4.9.3 9.8-.2 14.6 5.7 3.2 11.1 6.6 17.1 9.3.1 0 1 65.8.9 65.7-.1-.1-74.9 33.1-82.2 35.9.2.2.3.5.2.8 14.9-3.9 81.6-34.5 82.3-35.9l.6 62.1-83 37.5c-.1.1-.2.1-.3 0-14.9-4.7-73.9-29-88.7-35.5 0 0-82.5 35.6-82.7 35.5-59.3-25.2-84.9-39.7-84.9-39.7-.2-.1-.3-.2-.3-.4 0-20 0-60.7.2-60.8 6.3-2.8 12.7-5.3 19.3-7.4-.3-3.9-.9-11.3-1-14.1-.7 0-.9-.4-1.4-1.3-.8-4-1.2-8.1-1.3-12.2-.2-2.2.9-4.4 2.8-5.6-.1-.1-13.1-58-13.3-58.2-7-9.2-13.5-18.9-19.3-28.9-4.7 33-14.4 65.1-28.7 95.2-.4.9-1.7.1-1.3-.8 20.9-46.7 32-97.2 32.6-148.3 0-.2.1-.3.3-.3.2 0 .3.1.3.3.1 6.5.1 13-.1 19.5 5.9-4 6.2-9.9 6.4-16.4.2-5.8.4-11.7.7-17.5 0-.1.1-.2.2-.2s.2.1.2.2c.6 8.2.4 16.4-.3 24.6-.2 4.5-2.9 8.5-6.9 10.5-.2 0-1.8 21.3-3.3 31.9 3.3 4 15.6 24.5 20.2 29.3.1.1 10.4 49 13.4 58.5 11.5-3.9 23.3-6.9 35.2-9 1.7-.2 3.4-.2 5.1 0-2.3-28.5-4.7-57-9.3-85.3-2.3-14-5.1-27.9-8.3-41.6-2.6-12.5-6.5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-.1-.4.3-.2.4 5.9 3.3 12.1 6.1 18.3 8.6zm-43.1-5c-.3-.1-.4.4-.1.6 10.4 4.2 20.8 8 31.1 12.4.7.3 1-.9.3-1.2-10.2-4.6-20.6-8.5-31.3-11.8zm-9.3-2.5c0-.1 0-.2-.1-.2-4-2.1-8.2-3.6-12.7-4.2-.3 0-.3.4-.1.5 4 1.8 8.2 3.2 12.3 4.5.4-.1.6-.3.6-.6zm49.7 34.7c-5.9-1.9-28.8-11.2-34.5-13.1-.2-.1-.2.2-.1.3 9.3 7 23.1 11.3 34.4 13.7.2.1.5-.1.5-.3s0-.6-.3-.6zM285.3 488c-.1 0-.3.1-.3.2s0 .1.1.2c2.3 1.3 12 4.2 13.8 5.5.7.5 1.4-.6.7-1.1-4.4-2.2-9.3-3.8-14.3-4.8zm332.5 20.1c1.7-1.8 1.6-4.5-.2-6.2-.8-.5-1.7-.8-2.7-.8-2.1 0-3.9 1.6-4 3.6-.1 1 .2 2 .8 2.8 1.6 1.8 4.3 2 6.1.6zm-144.1-40.9c1.7 1.3 4.1 1 5.4-.7 2.9-3.6-2.1-7.7-5.1-6.2-.4.2-.8.4-1.1.8-1.5 1.8-1.2 4.4.5 5.9.2.1.2.2.3.2zm-168.6 27.5c-.7 0-1.3.5-1.3 1.2s.5 1.3 1.2 1.3 1.3-.5 1.3-1.2-.6-1.3-1.2-1.3zm43.9.3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-28-21c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"/></svg>
 
5
  </div>
languages/blocksy-companion.pot CHANGED
@@ -34,6 +34,15 @@ msgid ""
34
  "version, the plugin is currently NOT RUNNING."
35
  msgstr ""
36
 
 
 
 
 
 
 
 
 
 
37
  #: framework/extensions-manager.php:245,
38
  #: framework/premium/extensions/adobe-typekit/extension.php:46
39
  msgid "Adobe Typekit"
@@ -124,73 +133,73 @@ msgid ""
124
  "a wishlits page."
125
  msgstr ""
126
 
127
- #: framework/theme-integration.php:358,
128
  #: framework/extensions/widgets/widgets/ct-facebook/options.php:16,
129
  #: framework/extensions/widgets/widgets/ct-facebook/view.php:12,
130
  #: framework/extensions/widgets/widgets/ct-facebook/widget.php:13
131
  msgid "Facebook"
132
  msgstr ""
133
 
134
- #: framework/theme-integration.php:359
135
  msgid "Twitter"
136
  msgstr ""
137
 
138
- #: framework/theme-integration.php:360
139
  msgid "LinkedIn"
140
  msgstr ""
141
 
142
- #: framework/theme-integration.php:361
143
  msgid "Dribbble"
144
  msgstr ""
145
 
146
- #: framework/theme-integration.php:362
147
  msgid "Instagram"
148
  msgstr ""
149
 
150
- #: framework/theme-integration.php:363
151
  msgid "Pinterest"
152
  msgstr ""
153
 
154
- #: framework/theme-integration.php:364
155
  msgid "WordPress"
156
  msgstr ""
157
 
158
- #: framework/theme-integration.php:365
159
  msgid "GitHub"
160
  msgstr ""
161
 
162
- #: framework/theme-integration.php:366,
163
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:497,
164
  #: framework/extensions/widgets/widgets/ct-socials/options.php:100,
165
  #: framework/premium/features/content-blocks/options/archive.php:47
166
  msgid "Medium"
167
  msgstr ""
168
 
169
- #: framework/theme-integration.php:367
170
  msgid "YouTube"
171
  msgstr ""
172
 
173
- #: framework/theme-integration.php:368
174
  msgid "Vimeo"
175
  msgstr ""
176
 
177
- #: framework/theme-integration.php:369
178
  msgid "VKontakte"
179
  msgstr ""
180
 
181
- #: framework/theme-integration.php:370
182
  msgid "Odnoklassniki"
183
  msgstr ""
184
 
185
- #: framework/theme-integration.php:371
186
  msgid "TikTok"
187
  msgstr ""
188
 
189
- #: framework/theme-integration.php:443
190
  msgid "Companion"
191
  msgstr ""
192
 
193
- #: framework/theme-integration.php:461 static/js/screens/SiteExport.js:111
194
  msgid "PRO"
195
  msgstr ""
196
 
@@ -1443,10 +1452,6 @@ msgstr ""
1443
  msgid "%s Settings"
1444
  msgstr ""
1445
 
1446
- #: framework/extensions/product-reviews/extension.php:619
1447
- msgid "Blocksy"
1448
- msgstr ""
1449
-
1450
  #: framework/extensions/product-reviews/helpers.php:30,
1451
  #: framework/extensions/product-reviews/metabox.php:179
1452
  msgid "Rating"
@@ -1629,7 +1634,7 @@ msgid "Module Title"
1629
  msgstr ""
1630
 
1631
  #: framework/extensions/trending/customizer.php:118,
1632
- #: framework/extensions/trending/helpers.php:221
1633
  msgid "Trending now"
1634
  msgstr ""
1635
 
@@ -5143,7 +5148,7 @@ msgstr ""
5143
  #: framework/extensions/newsletter-subscribe/admin-static/js/ListPicker.js:14
5144
  #: framework/extensions/newsletter-subscribe/admin-static/js/ListPicker/Implementation.js:63
5145
  #: framework/extensions/newsletter-subscribe/dashboard-static/js/EditCredentials.js:213
5146
- #: static/js/screens/SiteExport.js:170
5147
  msgid "Loading..."
5148
  msgstr ""
5149
 
@@ -5908,11 +5913,32 @@ msgstr ""
5908
  msgid "%s System"
5909
  msgstr ""
5910
 
5911
- #: static/js/dashboard.js:30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5912
  msgid "Starter Sites"
5913
  msgstr ""
5914
 
5915
- #: static/js/dashboard.js:42
5916
  msgid "Extensions"
5917
  msgstr ""
5918
 
@@ -6354,11 +6380,11 @@ msgid ""
6354
  "Please select your prefered one in order to continue."
6355
  msgstr ""
6356
 
6357
- #: static/js/screens/DemoInstall/Wizzard/Plugins.js:63
6358
  msgid "Install & Activate Plugins"
6359
  msgstr ""
6360
 
6361
- #: static/js/screens/DemoInstall/Wizzard/Plugins.js:65
6362
  msgid ""
6363
  "The following plugins are required for this starter site in order to work "
6364
  "properly."
@@ -6396,20 +6422,6 @@ msgstr ""
6396
  msgid "Pro Extensions"
6397
  msgstr ""
6398
 
6399
- #: static/js/screens/OptIn.js:55
6400
- msgid "Stay Updated"
6401
- msgstr ""
6402
-
6403
- #: static/js/screens/OptIn.js:58
6404
- msgid ""
6405
- "Never miss an important update - opt in to our security & feature updates "
6406
- "notifications, and non-sensitive diagnostic tracking."
6407
- msgstr ""
6408
-
6409
- #: static/js/screens/OptIn.js:69
6410
- msgid "Allow & Continue"
6411
- msgstr ""
6412
-
6413
  #: static/js/screens/SiteExport.js:125
6414
  msgid "Builder"
6415
  msgstr ""
34
  "version, the plugin is currently NOT RUNNING."
35
  msgstr ""
36
 
37
+ #: framework/dashboard.php:279, framework/dashboard.php:280,
38
+ #: framework/extensions/product-reviews/extension.php:619
39
+ msgid "Blocksy"
40
+ msgstr ""
41
+
42
+ #: framework/dashboard.php:317
43
+ msgid "You do not have sufficient permissions to access this page."
44
+ msgstr ""
45
+
46
  #: framework/extensions-manager.php:245,
47
  #: framework/premium/extensions/adobe-typekit/extension.php:46
48
  msgid "Adobe Typekit"
133
  "a wishlits page."
134
  msgstr ""
135
 
136
+ #: framework/theme-integration.php:369,
137
  #: framework/extensions/widgets/widgets/ct-facebook/options.php:16,
138
  #: framework/extensions/widgets/widgets/ct-facebook/view.php:12,
139
  #: framework/extensions/widgets/widgets/ct-facebook/widget.php:13
140
  msgid "Facebook"
141
  msgstr ""
142
 
143
+ #: framework/theme-integration.php:370
144
  msgid "Twitter"
145
  msgstr ""
146
 
147
+ #: framework/theme-integration.php:371
148
  msgid "LinkedIn"
149
  msgstr ""
150
 
151
+ #: framework/theme-integration.php:372
152
  msgid "Dribbble"
153
  msgstr ""
154
 
155
+ #: framework/theme-integration.php:373
156
  msgid "Instagram"
157
  msgstr ""
158
 
159
+ #: framework/theme-integration.php:374
160
  msgid "Pinterest"
161
  msgstr ""
162
 
163
+ #: framework/theme-integration.php:375
164
  msgid "WordPress"
165
  msgstr ""
166
 
167
+ #: framework/theme-integration.php:376
168
  msgid "GitHub"
169
  msgstr ""
170
 
171
+ #: framework/theme-integration.php:377,
172
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:497,
173
  #: framework/extensions/widgets/widgets/ct-socials/options.php:100,
174
  #: framework/premium/features/content-blocks/options/archive.php:47
175
  msgid "Medium"
176
  msgstr ""
177
 
178
+ #: framework/theme-integration.php:378
179
  msgid "YouTube"
180
  msgstr ""
181
 
182
+ #: framework/theme-integration.php:379
183
  msgid "Vimeo"
184
  msgstr ""
185
 
186
+ #: framework/theme-integration.php:380
187
  msgid "VKontakte"
188
  msgstr ""
189
 
190
+ #: framework/theme-integration.php:381
191
  msgid "Odnoklassniki"
192
  msgstr ""
193
 
194
+ #: framework/theme-integration.php:382
195
  msgid "TikTok"
196
  msgstr ""
197
 
198
+ #: framework/theme-integration.php:454
199
  msgid "Companion"
200
  msgstr ""
201
 
202
+ #: framework/theme-integration.php:472 static/js/screens/SiteExport.js:111
203
  msgid "PRO"
204
  msgstr ""
205
 
1452
  msgid "%s Settings"
1453
  msgstr ""
1454
 
 
 
 
 
1455
  #: framework/extensions/product-reviews/helpers.php:30,
1456
  #: framework/extensions/product-reviews/metabox.php:179
1457
  msgid "Rating"
1634
  msgstr ""
1635
 
1636
  #: framework/extensions/trending/customizer.php:118,
1637
+ #: framework/extensions/trending/helpers.php:220
1638
  msgid "Trending now"
1639
  msgstr ""
1640
 
5148
  #: framework/extensions/newsletter-subscribe/admin-static/js/ListPicker.js:14
5149
  #: framework/extensions/newsletter-subscribe/admin-static/js/ListPicker/Implementation.js:63
5150
  #: framework/extensions/newsletter-subscribe/dashboard-static/js/EditCredentials.js:213
5151
+ #: static/js/dashboard-no-theme.js:46 static/js/screens/SiteExport.js:170
5152
  msgid "Loading..."
5153
  msgstr ""
5154
 
5913
  msgid "%s System"
5914
  msgstr ""
5915
 
5916
+ #: static/js/dashboard-no-theme.js:16
5917
+ msgid "Action Required - Install Blocksy Theme"
5918
+ msgstr ""
5919
+
5920
+ #: static/js/dashboard-no-theme.js:19
5921
+ msgid ""
5922
+ "Blocksy Companion is the complementary plugin to Blocksy theme. It adds a "
5923
+ "bunch of great features to the theme and acts as an unlocker for the Blocksy "
5924
+ "Pro package."
5925
+ msgstr ""
5926
+
5927
+ #: static/js/dashboard-no-theme.js:23
5928
+ msgid ""
5929
+ "In order to take full advantage of all features it has to offer - please "
5930
+ "install and activate the Blocksy theme also."
5931
+ msgstr ""
5932
+
5933
+ #: static/js/dashboard-no-theme.js:47
5934
+ msgid "Install and activate the Blocksy theme"
5935
+ msgstr ""
5936
+
5937
+ #: static/js/dashboard.js:29
5938
  msgid "Starter Sites"
5939
  msgstr ""
5940
 
5941
+ #: static/js/dashboard.js:41
5942
  msgid "Extensions"
5943
  msgstr ""
5944
 
6380
  "Please select your prefered one in order to continue."
6381
  msgstr ""
6382
 
6383
+ #: static/js/screens/DemoInstall/Wizzard/Plugins.js:64
6384
  msgid "Install & Activate Plugins"
6385
  msgstr ""
6386
 
6387
+ #: static/js/screens/DemoInstall/Wizzard/Plugins.js:66
6388
  msgid ""
6389
  "The following plugins are required for this starter site in order to work "
6390
  "properly."
6422
  msgid "Pro Extensions"
6423
  msgstr ""
6424
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6425
  #: static/js/screens/SiteExport.js:125
6426
  msgid "Builder"
6427
  msgstr ""
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires PHP: 7.0
5
  Tested up to: 6.1
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Stable tag: 1.8.57
9
 
10
  == Description ==
11
 
@@ -23,6 +23,10 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
 
 
 
 
26
  1.8.57: 2022-11-10
27
  - Improvement: General fixes and improvements
28
 
5
  Tested up to: 6.1
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Stable tag: 1.8.58
9
 
10
  == Description ==
11
 
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
26
+ 1.8.58: 2022-11-17
27
+ - Improvement: Correct redirect to dashboard on plugin activation
28
+ - Fix: Trending posts taxonomy relationship
29
+
30
  1.8.57: 2022-11-10
31
  - Improvement: General fixes and improvements
32
 
static/bundle/account-lazy.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/bundle/dashboard-no-theme.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(){"use strict";var t=window.wp.element,e=window.wp.i18n;function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}var a=function(){var a,o,r=(a=(0,t.useState)(!1),o=2,function(t){if(Array.isArray(t))return t}(a)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],a=!0,o=!1,r=void 0;try{for(var c,l=t[Symbol.iterator]();!(a=(c=l.next()).done)&&(n.push(c.value),!e||n.length!==e);a=!0);}catch(t){o=!0,r=t}finally{try{a||null==l.return||l.return()}finally{if(o)throw r}}return n}}(a,o)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(t,e):void 0}}(a,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=r[0],l=r[1];return(0,t.createElement)("div",{className:"ct-theme-required"},(0,t.createElement)("h2",null,(0,t.createElement)("span",null,(0,t.createElement)("svg",{viewBox:"0 0 24 24"},(0,t.createElement)("path",{d:"M12,23.6c-1.4,0-2.6-1-2.8-2.3L8.9,20h6.2l-0.3,1.3C14.6,22.6,13.4,23.6,12,23.6z M24,17.8H0l3.1-2c0.5-0.3,0.9-0.7,1.1-1.3c0.5-1,0.5-2.2,0.5-3.2V7.6c0-4.1,3.2-7.3,7.3-7.3s7.3,3.2,7.3,7.3v3.6c0,1.1,0.1,2.3,0.5,3.2c0.3,0.5,0.6,1,1.1,1.3L24,17.8zM6.1,15.6h11.8c0,0-0.1-0.1-0.1-0.2c-0.7-1.3-0.7-2.9-0.7-4.2V7.6c0-2.8-2.2-5.1-5.1-5.1c-2.8,0-5.1,2.2-5.1,5.1v3.6c0,1.3-0.1,2.9-0.7,4.2C6.1,15.5,6.1,15.6,6.1,15.6z"}))),(0,e.__)("Action Required - Install Blocksy Theme","blocksy-companion")),(0,t.createElement)("p",null,(0,e.__)("Blocksy Companion is the complementary plugin to Blocksy theme. It adds a bunch of great features to the theme and acts as an unlocker for the Blocksy Pro package.","blocksy-companion")),(0,t.createElement)("p",null,(0,e.__)("In order to take full advantage of all features it has to offer - please install and activate the Blocksy theme also.","blocksy-companion")),(0,t.createElement)("button",{className:"button button-primary",onClick:function(t){t.preventDefault(),l(!0),wp.updates.ajax("install-theme",{success:function(){location=ctDashboardLocalizations.activate},error:function(){setTimeout((function(){location=ctDashboardLocalizations.activate}))},slug:"blocksy"})}},c?(0,e.__)("Loading...","blocksy-companion"):(0,e.__)("Install and activate the Blocksy theme","blocksy-companion")))};document.addEventListener("DOMContentLoaded",(function(){document.getElementById("ct-dashboard")&&(0,t.render)((0,t.createElement)(a,null),document.getElementById("ct-dashboard"))}))}();
static/bundle/dashboard.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see dashboard.js.LICENSE.txt */
2
- !function(){var e={184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var i=o.apply(null,n);i&&e.push(i)}else if("object"===a)for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},162:function(e,t,n){var r;void 0===(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,i=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,i){var c=a.URL||a.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):r(l.href)?t(e,n,i):o(l,l.target="_blank")):(l.href=c.createObjectURL(e),setTimeout((function(){c.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,a),n);else if(r(e))t(e,n,a);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){o(i)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var i="application/octet-stream"===e.type,c=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||i&&c)&&"object"==typeof FileReader){var s=new FileReader;s.onloadend=function(){var e=s.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},s.readAsDataURL(e)}else{var u=a.URL||a.webkitURL,m=u.createObjectURL(e);o?o.location=m:location.href=m,o=null,setTimeout((function(){u.revokeObjectURL(m)}),4e4)}});a.saveAs=i.saveAs=i,e.exports=i}.apply(t,[]))||(e.exports=r)},172:function(e,t,n){var r,o,a=n(760),i=n(529),c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function l(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,s=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),u={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},m={activate:function(e){if(!u.active){E(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:s.onActivate;return t&&t(),d(),m}},deactivate:p,pause:function(){!u.paused&&u.active&&(u.paused=!0,f())},unpause:function(){u.paused&&u.active&&(u.paused=!1,E(),d())}};return m;function p(e){if(u.active){clearTimeout(r),f(),u.active=!1,u.paused=!1,c.deactivateTrap(m);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:s.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:s.returnFocusOnDeactivate)&&l((function(){var e;w((e=u.nodeFocusedBeforeActivation,h("setReturnFocus")||e))})),m}}function d(){if(u.active)return c.activateTrap(m),r=l((function(){w(y())})),n.addEventListener("focusin",v,!0),n.addEventListener("mousedown",b,{capture:!0,passive:!1}),n.addEventListener("touchstart",b,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",g,{capture:!0,passive:!1}),m}function f(){if(u.active)return n.removeEventListener("focusin",v,!0),n.removeEventListener("mousedown",b,!0),n.removeEventListener("touchstart",b,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",g,!0),m}function h(e){var t=s[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw new Error("`"+e+"` did not return a node");return r}function y(){var e;if(!(e=null!==h("initialFocus")?h("initialFocus"):o.contains(n.activeElement)?n.activeElement:u.firstTabbableNode||h("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function b(e){o.contains(e.target)||(s.clickOutsideDeactivates?p({returnFocus:!a.isFocusable(e.target)}):s.allowOutsideClick&&s.allowOutsideClick(e)||e.preventDefault())}function v(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),w(u.mostRecentlyFocusedNode||y()))}function g(e){if(!1!==s.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(E(),e.shiftKey&&e.target===u.firstTabbableNode)return e.preventDefault(),void w(u.lastTabbableNode);e.shiftKey||e.target!==u.lastTabbableNode||(e.preventDefault(),w(u.firstTabbableNode))}(e)}function _(e){s.clickOutsideDeactivates||o.contains(e.target)||s.allowOutsideClick&&s.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function E(){var e=a(o);u.firstTabbableNode=e[0]||y(),u.lastTabbableNode=e[e.length-1]||y()}function w(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),u.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):w(y()))}}},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},760:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,i,c,u=[],m=[],p=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(p=Array.prototype.slice.apply(p)).unshift(e),o=0;o<p.length;o++)a(i=p[o])&&(0===(c=l(i))?u.push(i):m.push({documentOrder:o,tabIndex:c,node:i}));return m.sort(s).map((function(e){return e.node})).concat(u)}function a(e){return!(!i(e)||function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||l(e)<0)}function i(e){return!(e.disabled||function(e){return u(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}o.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,n)&&a(e)},o.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,c)&&i(e)};var c=t.concat("iframe").join(",");function l(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function s(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function u(e){return"INPUT"===e.tagName}e.exports=o},529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element,t=window.ctEvents,r=n.n(t),o=window.wp.i18n,a=n(184),i=n.n(a),c=window.React,l=n.n(c);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}n(697);var m=function(e){return e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},p=function(e){function t(){var n,r;s(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=u(this,e.call.apply(e,[this].concat(a))),d.call(r),u(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getArgs=function(){var e=this.state,t=this.props,n=this._setState,r=this._forceUpdate,o=this._refs;return{state:e,props:m(t),refs:o,setState:n,forceUpdate:r}},t.prototype.componentDidMount=function(){this.props.didMount&&this.props.didMount(this.getArgs())},t.prototype.shouldComponentUpdate=function(e,t){return!this.props.shouldUpdate||this.props.shouldUpdate({props:this.props,state:this.state,nextProps:m(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:m(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:m(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:m(e),prevState:t})):null},t.prototype.render=function(){var e=this.props,t=e.children,n=e.render;return n?n(this.getArgs()):"function"==typeof t?t(this.getArgs()):t||null},t}(l().Component);p.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var d=function(){var e=this;this.state=this.props.initialState||this.props.getInitialState(this.props),this._refs=this.props.refs||this.props.getRefs(this.getArgs()),this._setState=function(){return e.setState.apply(e,arguments)},this._forceUpdate=function(){return e.forceUpdate.apply(e,arguments)}},f=p,h=function(t){var n=t.children,r=t.container,o=void 0===r?document.body:r,a=t.type,i=void 0===a?"reach-portal":a;return(0,e.createElement)(f,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=o.hasOwnProperty("current")?o.current:o;t.node=document.createElement(i),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=o.hasOwnProperty("current")?o.current:o;n&&n.removeChild(t)},render:function(t){var r=t.refs.node;return r?(0,e.createPortal)(n,r):null}})},y=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},b=n(172),v=n.n(b);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var E=function(){},w=function(){},k=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},O=React.createContext(),x=React.forwardRef((function(t,n){var r=t.container,o=t.isOpen,a=void 0===o||o,i=t.onDismiss,c=void 0===i?E:i,l=t.initialFocusRef,s=t.onClick,u=t.onKeyDown,m=_(t,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return(0,e.createElement)(f,{didMount:w},a?(0,e.createElement)(h,{container:r,"data-reach-dialog-wrapper":!0},(0,e.createElement)(f,{refs:{overlayNode:null,contentNode:null},didMount:function(e){!function(e,t){var n,r,o;e.disposeAriaHider=(n=e.overlayNode,r=[],o=[],Array.prototype.forEach.call(document.querySelectorAll("body > *"),(function(e){if(e!==n.parentNode){var t=e.getAttribute("aria-hidden");null!==t&&"false"!==t||(r.push(t),o.push(e),e.setAttribute("aria-hidden","true"))}})),function(){o.forEach((function(e,t){var n=r[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)}))}),e.trap=v()(e.overlayNode,{initialFocus:t?function(){return t.current}:void 0,fallbackFocus:e.contentNode,escapeDeactivates:!1,clickOutsideDeactivates:!1})}(e.refs,l)},willUnmount:k},(function(t){var r=t.refs;return(0,e.createElement)(O.Provider,{value:function(e){return r.contentNode=e}},(0,e.createElement)("div",g({"data-reach-dialog-overlay":!0,onClick:y(s,(function(e){e.stopPropagation(),c()})),onKeyDown:y(u,(function(e){"Escape"===e.key&&(e.stopPropagation(),c())})),ref:function(e){r.overlayNode=e,n&&n(e)}},m)))}))):null)}));x.propTypes={initialFocusRef:function(){}};var S=function(e){return e.stopPropagation()},C=React.forwardRef((function(t,n){var r=t.onClick,o=(t.onKeyDown,_(t,["onClick","onKeyDown"]));return(0,e.createElement)(O.Consumer,null,(function(t){return(0,e.createElement)("div",g({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:y(r,S),ref:function(e){t(e),n&&n(e)}},o))}))})),j=window.blocksyOptions,D=function(e){return!!e},A=function(t){var n=t.items,r=t.isVisible,o=void 0===r?D:r,a=t.render,c=t.className,l=t.onDismiss;return(0,e.createElement)(j.Transition,{items:n,onStart:function(){return document.body.classList[o(n)?"add":"remove"]("ct-dashboard-overlay-open")},config:{duration:200},from:{opacity:0,y:-10},enter:{opacity:1,y:0},leave:{opacity:0,y:10}},(function(t){return o(t)&&function(n){return(0,e.createElement)(x,{style:{opacity:n.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return l()}},(0,e.createElement)(C,{className:i()("ct-admin-modal",c),style:{transform:"translate3d(0px, ".concat(n.y,"px, 0px)")}},(0,e.createElement)("button",{className:"close-button",onClick:function(){return l()}},"×"),a(t,n)))}}))};function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var N=function(t){var n,r,o=(n=(0,e.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1];return[function(){return i(!0)},(0,e.createElement)(A,{items:a,onDismiss:function(){return i(!1)},render:function(){return(0,e.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:t.readme}})}})]},M=window.ctDashboardLocalizations.DashboardContext,L=(M.Provider,M.Consumer,M);function z(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){z(a,r,o,i,c,"next",e)}function c(e){z(a,r,o,i,c,"throw",e)}i(void 0)}))}}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var R=function(){return ctDashboardLocalizations.plugin_data.hide_support_section?null:(0,e.createElement)("div",{className:"ct-support-container"},(0,e.createElement)("h2",null,(0,o.__)("Need help or advice?","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Got a question or need help with the theme? You can always submit a support ticket or ask for help in our friendly Facebook community.","blocksy-companion")),(0,e.createElement)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},(0,o.__)("Submit a Support Ticket","blocksy-companion")),(0,e.createElement)("a",{href:"https://www.facebook.com/groups/blocksy.community",className:"ct-button","data-hover":"blue",target:"_blank"},(0,o.__)("Join Facebook Community","blocksy-companion")))};function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var G=null,Z=function(t){var n=t.extension,r=t.onExtsSync,a=q(N(n),2),c=a[0],l=a[1],s=q(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=I((0,e.useState)(!1),2),a=r[0],i=r[1],c=I((0,e.useState)(!1),2),l=c[0],s=c[1],u=(0,e.useContext)(L),m=(u.Link,u.history),p=ctDashboardLocalizations.plugin_data.is_pro,d=function(){var e=T(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p||!t.config.pro){e.next=3;break}return s(!0),e.abrupt("return");case 3:return(r=new FormData).append("ext",t.name),r.append("action",t.__object?"blocksy_extension_deactivate":"blocksy_extension_activate"),i(!0),e.prev=7,e.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 10:t.config.require_refresh&&location.reload(),n(),e.next=16;break;case 14:e.prev=14,e.t0=e.catch(7);case 16:i(!1);case 17:case"end":return e.stop()}}),e,null,[[7,14]])})));return function(){return e.apply(this,arguments)}}();return[a,d,!p&&t.config.pro?(0,e.createElement)(A,{items:l,className:"ct-onboarding-modal",onDismiss:function(){return s(!1)},render:function(){return(0,e.createElement)("div",{className:"ct-modal-content"},(0,e.createElement)("svg",{width:"55",height:"55",viewBox:"0 0 40.5 48.3"},(0,e.createElement)("path",{fill:"#2d82c8",d:"M33.4 29.4l7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-2.7 3.8-.5 1.6-3.4 1.7 3.4z",fill:"#fff"})),(0,e.createElement)("h2",{className:"ct-modal-title"},"This is a Pro extension"),(0,e.createElement)("p",null,(0,o.__)("Upgrade to the Pro version and get instant access to all premium extensions, features and future updates.","blocksy-companion")),(0,e.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},(0,e.createElement)("a",{onClick:function(e){e.preventDefault(),s(!1),setTimeout((function(){m.navigate("/pro")}),300)},className:"button"},(0,o.__)("Free vs Pro","blocksy")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/pricing/",target:"_blank",className:"button button-primary"},(0,o.__)("Upgrade Now","blocksy-companion"))))}}):null]}(n,(function(){r()})),3),u=s[0],m=s[1],p=s[2];return(0,e.createElement)("li",{className:i()({active:!!n.__object})},(0,e.createElement)("h4",{className:"ct-extension-title"},n.config.name,u&&(0,e.createElement)("svg",{width:"15",height:"15",viewBox:"0 0 100 100"},(0,e.createElement)("g",{transform:"translate(50,50)"},(0,e.createElement)("g",{transform:"scale(1)"},(0,e.createElement)("circle",{cx:"0",cy:"0",r:"50",fill:"#687c93"}),(0,e.createElement)("circle",{cx:"0",cy:"-26",r:"12",fill:"#ffffff",transform:"rotate(161.634)"},(0,e.createElement)("animateTransform",{attributeName:"transform",type:"rotate",calcMode:"linear",values:"0 0 0;360 0 0",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"})))))),n.config.description&&(0,e.createElement)("div",{className:"ct-extension-description"},n.config.description),(0,e.createElement)("div",{className:"ct-extension-actions"},(0,e.createElement)("button",{className:i()(n.__object?"ct-button":"ct-button-primary"),"data-hover":"white",disabled:u,onClick:function(){m()}},n.__object?(0,o.__)("Deactivate","blocksy-companion"):(0,o.__)("Activate","blocksy-companion")),n.readme&&(0,e.createElement)("button",{onClick:function(){return c()},className:"ct-minimal-button ct-instruction"},(0,e.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,17L12,17c-0.552,0-1-0.448-1-1v-4 c0-0.552,0.448-1,1-1h0c0.552,0,1,0.448,1,1v4C13,16.552,12.552,17,12,17z M12.5,9h-1C11.224,9,11,8.776,11,8.5v-1 C11,7.224,11.224,7,11.5,7h1C12.776,7,13,7.224,13,7.5v1C13,8.776,12.776,9,12.5,9z"}))),n.__object&&n.config&&n.config.buttons&&n.config.buttons.map((function(t,n){var r=t.text,o=t.url;return(0,e.createElement)("a",{href:o,className:"ct-button ct-config-btn",dataButton:"white"},r)}))),l,p)},$=function(){var t=q((0,e.useState)(!G),2),n=t[0],a=t[1],c=q((0,e.useState)(G||[]),2),l=c[0],s=c[1],u=q((0,e.useState)(!1),2),m=u[0],p=u[1],d=q((0,e.useState)("free"),2),f=d[0],h=d[1],y=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,o,i,c,l,u,m,d=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=d.length>0&&void 0!==d[0]?d[0]:{},n=U({verbose:!1,extension:null,extAction:null},t),r=n.verbose,o=n.extension,i=n.extAction,r&&a(!0),p(!0),e.next=6,fetch("".concat(wp.ajax.settings.url,"?action=blocksy_extensions_status"),U({method:"POST"},o&&i?{body:JSON.stringify({extension:o,extAction:i})}:{}));case 6:if(200===(c=e.sent).status){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,c.json();case 11:if(l=e.sent,u=l.success,m=l.data,u){e.next=16;break}return e.abrupt("return");case 16:if(p(!1),a(!1),s(m),G=m,!o){e.next=22;break}return e.abrupt("return",m[o]);case 22:return e.abrupt("return",m);case 23:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){H(a,r,o,i,c,"next",e)}function c(e){H(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,e.useEffect)((function(){y({verbose:!G});var e=function(){y()};return r().on("blocksy_exts_sync_exts",e),function(){r().off("blocksy_exts_sync_exts",e)}}),[]);var b=(0,e.useMemo)((function(){return Object.values(l).map((function(e,t){return U(U({},e),{},{name:Object.keys(l)[t]})})).find((function(e){return e.config.pro}))}),[l]),v=(0,e.useMemo)((function(){return Object.values(l).map((function(e,t){return U(U({},e),{},{name:Object.keys(l)[t]})})).filter((function(e){return!e.config.hidden})).filter((function(e){var t=e.config;return"free"===f?!t.pro:t.pro}))}),[f,l]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ct-extensions-container"},(0,e.createElement)(j.Transition,{items:n,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],initial:null,config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return t?function(t){return(0,e.createElement)(j.animated.p,{style:t,className:"ct-loading-text"},(0,e.createElement)("span",null),(0,o.__)("Loading Extensions Status...","blocksy-companion"))}:function(t){return(0,e.createElement)(j.animated.div,{style:t},(0,e.createElement)(e.Fragment,null,b&&(0,e.createElement)("ul",{className:"ct-extensions-sourse"},["free","pro"].map((function(t){return(0,e.createElement)("li",{key:t,onClick:function(){return h(t)},className:i()({active:t===f})},{free:(0,o.__)("Free Extensions","blocksy-companion"),pro:(0,o.__)("Pro Extensions","blocksy-companion")}[t])}))),(0,e.createElement)("ul",{className:i()("ct-extensions-list",{"is-pro":"pro"===f})},v.map((function(t){var n={extension:Z};return r().trigger("ct:extensions:card",{CustomComponent:n,extension:t}),(0,e.createElement)(n.extension,{key:t.name,extension:t,extsSyncLoading:m,onExtsSync:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.extAction||(l[t.name].__object=!l[t.name].__object,s(l)),y(U(U({},e),{},{extension:t.name}))}})}))),(0,e.createElement)(R,null)))}}))))},K=function(t){var n=t.children,r=t.activated,o=t.checked,a=t.onChange;return(0,e.createElement)("div",{onClick:function(){return a()},className:i()("ct-checkbox-container",{activated:r})},n,(0,e.createElement)("span",{className:i()("ct-checkbox",{active:o})},(0,e.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},(0,e.createElement)("polyline",{class:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))))};function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){X(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ee=function(e){return({"stackable-ultimate-gutenberg-blocks":"Stackable - Gutenberg Blocks","wpforms-lite":"WPForms - Contact Form",woocommerce:"WooCommerce",elementor:"Elementor",brizy:"Brizy",getwid:"Getwid","simply-gallery-block":"SimpLy Gallery Block & Lightbox","recipe-card-blocks-by-wpzoom":"Recipe Card Blocks by WPZOOM","map-block-gutenberg":"Map Block for Google Maps","mb-custom-post-type":"MB Custom Post Types & Custom Taxonomies",leadin:"HubSpot","block-slider":"Block Slider","ht-slider-for-elementor":"HT Slider For Elementor"}[e]||e).replace(/\b\w/,(function(e){return e.toUpperCase()}))},te=function(t){var n,r,a=t.demoConfiguration,i=t.setDemoConfiguration,c=t.style,l=(0,e.useContext)(Ge),s=l.currentDemo,u=l.demos_list,m=l.pluginsStatus,p=(l.setCurrentDemo,n=(s||"").split(":"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=p[0];return p[1],u.filter((function(e){return e.name===d||""})),(0,e.createElement)("div",{style:c},(0,e.createElement)("div",{className:"ct-demo-plugins"},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 40 40"},(0,e.createElement)("path",{fill:"#0C7AB3",d:"M20,0v7.6c0,0.3-0.2,0.5-0.5,0.5h-1.5c0,0,0,0,0,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c-0.5-0.7-1.3-1.1-2.1-1.1c-1.5,0-2.6,1.2-2.6,2.6c0,1.5,1.2,2.6,2.6,2.6c0.8,0,1.6-0.4,2.1-1.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0,0h1.5c0,0,0,0,0,0c0.3,0,0.5,0.2,0.5,0.5V20h8.1v-0.8c-0.8-0.7-1.3-1.7-1.3-2.8c0-2,1.7-3.7,3.7-3.7c2,0,3.7,1.7,3.7,3.7c0,1.1-0.5,2.1-1.3,2.8V20H40C40,9,31,0,20,0z"}),(0,e.createElement)("path",{fill:"#3497D3",d:"M20,40v-7.6c0-0.3,0.2-0.5,0.5-0.5h1.5c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0.5,0.7,1.3,1.1,2.1,1.1c1.5,0,2.6-1.2,2.6-2.6c0-1.5-1.2-2.6-2.6-2.6c-0.8,0-1.6,0.4-2.1,1.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0,0,0h-1.5c0,0,0,0,0,0c-0.3,0-0.5-0.2-0.5-0.5V20h-8.1v0.8c0.8,0.7,1.3,1.7,1.3,2.8c0,2-1.7,3.7-3.7,3.7c-2,0-3.7-1.7-3.7-3.7c0-1.1,0.5-2.1,1.3-2.8V20H0C0,31,9,40,20,40z"}))),(0,e.createElement)("h2",null,(0,o.__)("Install & Activate Plugins","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("The following plugins are required for this starter site in order to work properly.","blocksy-companion")),a.plugins.map((function(t){var n=t.plugin,r=t.enabled;return(0,e.createElement)(e.Fragment,{key:n},!m[n]&&(0,e.createElement)(K,{key:n,checked:r,onChange:function(){return i(Y(Y({},a),{},{plugins:a.plugins.map((function(e){return e.plugin===n?Y(Y({},e),{},{enabled:!r}):e}))}))}},ee(n)),m[n]&&(0,e.createElement)(K,{activated:!0,checked:!0,onChange:function(){}},ee(n)))}))))},ne=function(){var t=(0,e.useContext)(Ge),n=t.currentlyInstalledDemo,r=t.demos_list,a=t.setCurrentDemo,c=t.demo_error,l=t.setInstallerBlockingReleased;return(0,e.useContext)(L).Link,(0,e.createElement)("ul",null,r.filter((function(e,t){return r.map((function(e){return e.name})).indexOf(e.name)===t})).map((function(t){return(0,e.createElement)("li",{key:t.name,className:i()("ct-single-demo",{"ct-is-pro":t.is_pro})},(0,e.createElement)("figure",null,(0,e.createElement)("img",{src:t.screenshot}),(0,e.createElement)("section",null,(0,e.createElement)("h3",null,(0,o.__)("Available for","blocksy-companion")),(0,e.createElement)("div",null,r.filter((function(e){return e.name===t.name||""})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0})).map((function(t){var n=t.builder;return(0,e.createElement)("span",{key:n},ee(n)||"Gutenberg")})))),t.is_pro&&(0,e.createElement)("a",{onClick:function(e){return e.preventDefault()},href:"#"},"PRO")),(0,e.createElement)("div",{className:"ct-demo-actions"},(0,e.createElement)("h4",null,t.name),(0,e.createElement)("div",null,(0,e.createElement)("a",{className:"ct-button",target:"_blank",href:t.url},(0,o.__)("Preview","blocksy-companion")),(0,e.createElement)("button",{className:"ct-button-primary",onClick:function(){l(!1),a(t.name)},disabled:!!c},n&&n.demo.indexOf(t.name)>-1?(0,o.__)("Modify","blocksy-companion"):(0,o.__)("Import","blocksy-companion")))))})))};function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ae=function(t){var n=t.style,r=t.nextStep,a=((0,e.useContext)(L).is_child_theme,(0,e.useContext)(Ge)),i=a.setCurrentlyInstalledDemo,c=a.setCurrentDemo,l=a.currentDemo,s=a.demos_list,u=re((0,e.useState)(0),2),m=u[0],p=u[1],d=re((0,e.useState)("idle"),2),f=d[0],h=d[1],y=re((l||"").split(":"),2),b=y[0],v=(y[1],s.filter((function(e){return e.name===b}))),g={erase_content:{title:(0,o.__)("Erase content","blocksy-companion"),query_string:"action=blocksy_demo_erase_content&wp_customize=on"},deactivate_demo_plugins:{title:(0,o.__)("Deactivate demo plugins","blocksy-companion"),query_string:"action=blocksy_demo_deactivate_plugins&plugins=".concat(v[0].plugins.join(":"))},deregister_current_demo:{title:(0,o.__)("Erase content","blocksy-companion"),query_string:"action=blocksy_demo_deregister_current_demo"}},_=["erase_content","deactivate_demo_plugins","deregister_current_demo"],E=_[m],w=function(){var e=g[E],t=new EventSource("".concat(ctDashboardLocalizations.ajax_url,"?").concat(e.query_string));t.onmessage=function(e){if("complete"===JSON.parse(e.data).action){if(t&&t.close&&t.close(),m===_.length-1)return void h("done");p(Math.min(_.length-1,m+1))}}};return(0,e.useEffect)((function(){0!==m&&"done"!==f&&w()}),[E]),(0,e.createElement)("div",{className:"ct-modify-demo",style:n},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"36",height:"36",viewBox:"0 0 40 40"},(0,e.createElement)("path",{d:"M5.71,40a1,1,0,0,1-1-1V21.59a1,1,0,0,1,1.91,0V39.05A1,1,0,0,1,5.71,40Zm1-31.83V1.07A1,1,0,0,0,5.71,0a1,1,0,0,0-1,1.07v7.1a1,1,0,0,0,1,1.07A1,1,0,0,0,6.67,8.17ZM21,39.05V34.29a1,1,0,1,0-1.9,0v4.76a1,1,0,1,0,1.9,0Zm0-18.14V1a1,1,0,1,0-1.9,0V20.91a1,1,0,1,0,1.9,0ZM35.24,39.05V26.35a1,1,0,0,0-1.91,0v12.7a1,1,0,0,0,1.91,0Zm0-26.25V1a1,1,0,1,0-1.91,0V12.8a1,1,0,1,0,1.91,0Z",transform:"translate(-0.71)",fill:"#dae3e8"}),(0,e.createElement)("path",{d:"M5.71,18.06a5,5,0,1,1,5-5A5,5,0,0,1,5.71,18.06ZM20,30.76a5,5,0,1,1,5-5A5,5,0,0,1,20,30.76Zm14.29-7.93a5,5,0,1,1,5-5A5,5,0,0,1,34.29,22.83Z",transform:"translate(-0.71)",fill:"#0c7ab3"}))),"idle"===f&&(0,e.createElement)("h2",null,(0,o.__)("This starter site is already installed","blocksy-companion")),"loading"===f&&(0,e.createElement)("h2",null,"Removing starter site..."),"done"===f&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h2",null,(0,o.__)("Starter Site Removed","blocksy-companion")),(0,e.createElement)("div",{className:"ct-modify-actions"},(0,e.createElement)("button",{className:"ct-demo-btn ct-dismiss",onClick:function(e){e.preventDefault(),c("".concat(b,":hide"))}},(0,o.__)("Dismiss","blocksy-companion")))),"idle"===f&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,(0,o.__)("What steps do you want to perform next?","blocksy-companion")),(0,e.createElement)("div",{className:"ct-modify-actions"},(0,e.createElement)("button",{className:"ct-demo-btn demo-remove",onClick:function(e){h("loading"),e.preventDefault(),w(),i()}},(0,o.__)("Remove","blocksy-companion")),(0,e.createElement)("button",{className:"ct-demo-btn",onClick:function(e){e.preventDefault(),r()}},(0,o.__)("Reinstall","blocksy-companion")))))};function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=function(t){var n=t.demoConfiguration,r=t.setDemoConfiguration,a=t.style,i=(0,e.useContext)(L),c=i.is_child_theme,l=i.child_theme_exists;return(0,e.createElement)("div",{className:"ct-demo-child",style:a},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 43 41.1"},(0,e.createElement)("path",{fill:"#DBE7EE",d:"M0,39.5c0,0.9,0.7,1.6,1.5,1.6h32.3c0.9,0,1.5-0.7,1.5-1.6V14H0V39.5z"}),(0,e.createElement)("path",{fill:"#BDC8D7",d:"M18.2,41.1h15.6c0.9,0,1.5-0.7,1.5-1.6V14H7.6L8,32.4L18.2,41.1z"}),(0,e.createElement)("path",{fill:"#BDC8D7",d:"M0,15.6V9.8c0-0.9,0.7-1.6,1.5-1.6h32.3c0.9,0,1.5,0.7,1.5,1.6v5.8H0z"}),(0,e.createElement)("path",{fill:"#3497D3",d:"M7.6,31.3c0,0.9,0.7,1.6,1.5,1.6h32.4c0.9,0,1.5-0.7,1.5-1.6V5.8H7.6V31.3z"}),(0,e.createElement)("path",{fill:"#0C7AB3",d:"M7.6,7.4V1.6C7.6,0.7,8.3,0,9.1,0h32.4C42.4,0,43,0.7,43,1.6v5.8H7.6z"}),(0,e.createElement)("rect",{x:"11.2",y:"11",fill:"#44ACDF",width:"16.8",height:"17.9"}),(0,e.createElement)("rect",{x:"31.5",y:"11",fill:"#44ACDF",width:"7.9",height:"17.9"}))),l?(0,e.createElement)("h2",null,(0,o.__)("Activate Child Theme","blocksy-companion")):(0,e.createElement)("h2",null,(0,o.__)("Install Child Theme","blocksy-companion")),!c&&(0,e.createElement)(e.Fragment,null,l?(0,e.createElement)("p",null,(0,o.__)("We strongly recommend to activate the child theme, this way you will have freedom to make changes without breaking the parent theme.","blocksy-companion")):(0,e.createElement)("p",null,(0,o.__)("We strongly recommend to install the child theme, this way you will have freedom to make changes without breaking the parent theme.","blocksy-companion")),(0,e.createElement)(K,{checked:n.child_theme,onChange:function(){return r(ce(ce({},n),{},{child_theme:!n.child_theme}))}},l?(0,o.__)("Activate Child Theme","blocksy-companion"):(0,o.__)("Install Child Theme","blocksy-companion"))),c&&(0,o.__)("You already have a child theme properly installed and activated. Move on.","blocksy-companion"),(0,e.createElement)("a",{href:"https://developer.wordpress.org/themes/advanced-topics/child-themes/",target:"_blank"},(0,o.__)("Learn more about child themes","blocksy-companion")))};function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fe=function(t){var n,r,a=t.demoConfiguration,c=t.setDemoConfiguration,l=t.style,s=(0,e.useContext)(Ge),u=s.currentDemo,m=s.demos_list,p=(s.pluginsStatus,s.setCurrentDemo,n=(u||"").split(":"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=p[0],f=(p[1],m.filter((function(e){return e.name===d||""})));return(0,e.createElement)("div",{style:l},f.length>1&&(0,e.createElement)("div",{className:"ct-demo-builder"},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"52",height:"40",viewBox:"0 0 52 40"},(0,e.createElement)("path",{fill:"#DBE7EE",d:"M0,38.1C0,39.1,0.9,40,1.8,40h39.3c1.1,0,1.8-0.9,1.8-1.9v-31H0V38.1z"}),(0,e.createElement)("path",{fill:"#CFDBE4",d:"M13.8,14.6v18.8h22.6V14.6H13.8zM34.8,31.9H15.4V16.1h19.4V31.9z"}),(0,e.createElement)("path",{fill:"#BDC8D7",d:"M13.1,15.3L13.1,15.3c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C13.7,16.8,13.1,16.1,13.1,15.3z M34.1,15.3L34.1,15.3c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C34.8,16.8,34.1,16.1,34.1,15.3z M13.1,32.7L13.1,32.7c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C13.7,34.1,13.1,33.5,13.1,32.7z M34.1,32.7L34.1,32.7c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C34.8,34.1,34.1,33.5,34.1,32.7z M23.3,15.3L23.3,15.3c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C24,16.8,23.3,16.1,23.3,15.3z M4.2,13.9h5.9v7.9H4.2V13.9zM4.2,23.3h5.9v2.9H4.2V23.3zM0,9V1.9C0,0.9,0.9,0,1.8,0h39.3c1.1,0,1.8,0.9,1.8,1.9V9H0z M42.9,35.4V10.9h-9.3v15.2L42.9,35.4zM7.2,27.6c-1.6,0-3,1.3-3,3c0,1.6,1.3,3,3,3s3-1.3,3-3C10.2,28.9,8.8,27.6,7.2,27.6z"}),(0,e.createElement)("path",{fill:"#0C7AB3",d:"M50,27.8H35.6c-1.1,0-2-0.9-2-2v-18c0-1.1,0.9-2,2-2H50c1.1,0,2,0.9,2,2v18C52,26.9,51.1,27.8,50,27.8z"}),(0,e.createElement)("path",{fill:"#44ACDF",d:"M49,17.5H36.8c-0.7,0-1.2-0.5-1.2-1.2V9.1c0-0.7,0.5-1.2,1.2-1.2H49c0.7,0,1.2,0.5,1.2,1.2v7.3C50.2,17,49.6,17.5,49,17.5z M50.2,20.4v-0.1c0-0.5-0.4-1-1-1H36.5c-0.5,0-1,0.4-1,1v0.1c0,0.5,0.4,1,1,1h12.7C49.7,21.4,50.2,20.9,50.2,20.4z M40.8,25.2h-4.3c-0.5,0-1-0.4-1-1v-0.1c0-0.5,0.4-1,1-1h4.3c0.5,0,1,0.4,1,1v0.1C41.7,24.8,41.3,25.2,40.8,25.2z M49.2,25.2h-4.3c-0.5,0-1-0.4-1-1v-0.1c0-0.5,0.4-1,1-1h4.3c0.5,0,1,0.4,1,1v0.1C50.2,24.8,49.7,25.2,49.2,25.2z"}),(0,e.createElement)("path",{fill:"#C8E6F4",d:"M47.4,11.2h-9.1c-0.2,0-0.5-0.2-0.5-0.4v0c0-0.2,0.2-0.4,0.5-0.4h9.1c0.2,0,0.5,0.2,0.5,0.4v0C47.8,11,47.6,11.2,47.4,11.2z M47.9,14.7L47.9,14.7c0-0.2-0.2-0.5-0.5-0.5h-9.1c-0.2,0-0.4,0.2-0.4,0.4v0c0,0.2,0.2,0.4,0.4,0.4h9.1C47.7,15.1,47.9,14.9,47.9,14.7z"}),(0,e.createElement)("path",{fill:"#FFFFFF",d:"M26.3,20.8h-2.9l-2.9,7.9H23l0.3-0.7h2.8l0.3,0.7h2.7L26.3,20.8z M23.9,25.8l0.8-2.2h0l0.8,2.2H23.9zM46.5,10.7c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5S46.5,9.9,46.5,10.7zM42.1,14.7c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S42.1,13.9,42.1,14.7z"}))),(0,e.createElement)("h2",null,(0,o.__)("Choose Page Builder","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("This starter site can be imported and used with one of these page builders. Please select your prefered one in order to continue.","blocksy-companion")),(0,e.createElement)("ul",{"data-count":f.length},f.sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0})).map((function(t){var n=t.builder,r=t.plugins;return(0,e.createElement)("li",{className:i()({active:n===(null===a.builder?f[0].builder:a.builder)}),onClick:function(){return c(me(me({},a),{},{builder:n,plugins:r.map((function(e){return{plugin:e,enabled:!0}}))}))}},(0,e.createElement)("figure",null,(0,e.createElement)("span",{className:i()("ct-checkbox",{active:n===(null===a.builder?f[0].builder:a.builder)})},(0,e.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},(0,e.createElement)("polyline",{className:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))),""===n&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},(0,e.createElement)("path",{d:"M122.5 35.5c-1.7-1.1-4-.7-5.1 1C110.8 46.4 96.8 47 96 47h-.3c-17.4 0-24 14.8-24.3 15.4-.8 1.9.1 4 1.9 4.8.5.2 1 .3 1.5.3 1.4 0 2.7-.8 3.4-2.2.1-.1 4.6-10.3 16.3-11v19c-.5 4.1-2.4 7.3-5.8 9.7-3.6 2.5-8.3 3.8-14.1 3.8-7 0-12.7-2.4-16.9-7.2-4.3-4.8-6.4-11.5-6.4-20.2l.1-20.9c.3-7.7 2.4-13.8 6.4-18.2 4.3-4.8 9.9-7.2 16.9-7.2 5.8 0 10.6 1.3 14.1 3.8 3.6 2.5 5.6 5.9 5.9 10.3v.5c0 2.5 2.1 4.6 4.6 4.6 2.5 0 4.6-2.1 4.6-4.6v-.5c-.7-6.6-3.7-11.9-9.1-15.8-5.4-4-12.2-5.9-20.4-5.9-9.7 0-17.6 3.2-23.5 9.6-5.6 6-8.6 13.8-8.9 23.5 0 .7-.1 1.3-.1 2l.1 18.8h-.1c0 10.7 3 19.2 9 25.5 6 6.4 13.8 9.6 23.5 9.6 8.2 0 14.9-1.9 20.4-5.9 5-3.6 7.9-8.4 8.9-14.3l.2-21c6.1-1.5 14.4-4.8 19.6-12.7 1.3-1.7.8-4-1-5.1z"})),"brizy"===n&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},(0,e.createElement)("path",{d:"M14.6 36.7L75 0l60.4 36.7L75 73.4 14.6 36.7zm21.7.9L75 61.2l38.8-23.6L75 14 36.3 37.6z",fill:"#181c25"}),(0,e.createElement)("path",{fill:"#a7b2dd",d:"M14.6 63.2l10.8-6.5L75 86.8l49.9-30 10.5 6.4L75 100z"})),"elementor"===n&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},(0,e.createElement)("path",{d:"M32.5 7.6h17v84.9h-17V7.6zm34 84.9h51v-17h-51v17zm0-34h51v-17h-51v17zm0-51v17h51v-17h-51z"}))),(0,e.createElement)("div",{className:"builder-name"},ee(n)||"Gutenberg"))})))))};function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=function(t){var n=t.demoConfiguration,r=t.setDemoConfiguration,a=(t.currentDemo,t.style);return(0,e.createElement)("div",{style:a},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 40 40"},(0,e.createElement)("path",{d:"M25,22.67a5,5,0,0,1-10,0H0V36a3.33,3.33,0,0,0,3.33,3.33H36.67A3.33,3.33,0,0,0,40,36V22.67Z",transform:"translate(0 -0.67)",fill:"#bdc8d7"}),(0,e.createElement)("rect",{x:"2.5",y:"14",width:"35",height:"3",rx:"1.5",fill:"#0c7ab3"}),(0,e.createElement)("rect",{x:"5",y:"7",width:"30",height:"3",rx:"1.5",fill:"#3497d3"}),(0,e.createElement)("rect",{x:"7.5",width:"25",height:"3",rx:"1.5",fill:"#44acdf"}))),(0,e.createElement)("h2",null,(0,o.__)("Import Content","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("This will import posts, pages, comments, navigation menus, custom fields, terms and custom posts","blocksy-companion")),["options","widgets","content"].map((function(t){return(0,e.createElement)(K,{checked:n.content[t],onChange:function(){return r(ye(ye({},n),{},{content:ye(ye({},n.content),{},be({},t,!n.content[t]))}))},key:t},t.split("_").map((function(e){return e.replace(/^\w/,(function(e){return e.toUpperCase()}))})).join(" "))})),(0,e.createElement)("div",{className:"ct-demo-erase"},(0,e.createElement)(K,{checked:n.content.erase_content,onChange:function(){return r(ye(ye({},n),{},{content:ye(ye({},n.content),{},{erase_content:!n.content.erase_content})}))}},(0,e.createElement)("div",null,(0,o.__)("Clean Install","blocksy-companion"),(0,e.createElement)("i",null,(0,o.__)("This option will remove the previous imported content and will perform a fresh and clean install.","blocksy-companion"))))))},ge=function(){var t=(0,e.useContext)(L),n=t.home_url,r=t.customizer_url;return(0,e.createElement)("div",{className:"ct-install-success"},(0,e.createElement)("h2",null,(0,o.__)("Starter Site Imported Successfully","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Now you can view your website or start customizing it","blocksy-companion")),(0,e.createElement)("div",null,(0,e.createElement)("a",{href:r,className:"ct-button"},(0,o.__)("Customize","blocksy-companion")),(0,e.createElement)("a",{href:n,target:"_blank",className:"ct-button-primary"},(0,o.__)("View site","blocksy-companion"))))};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){we(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xe=function(e){e.preventDefault(),e.returnValue=""},Se=function(e){var t=e.demoConfiguration,n=e.pluginsStatus,r=e.is_child_theme,o=e.includeMetaSteps,a=[];return void 0!==o&&o&&a.push("register_current_demo"),t.child_theme&&(r||a.push("child_theme")),t.plugins.filter((function(e){var t=e.enabled,r=e.plugin;return!!t&&!n[r]})).length>0&&a.push("plugins"),t.content.erase_content&&a.push("erase_content"),t.content.options&&a.push("options"),t.content.widgets&&a.push("widgets"),t.content.content&&a.push("content"),a.push("install_finish"),a},Ce=function(e,t){var n=e.action;if("complete"===n)return"";if("import_install_child"===n)return(0,o.__)("copying child theme sources","blocksy-companion");if("import_activate_child"===n)return(0,o.__)("activating child theme","blocksy-companion");if("install_plugin"===n)return(0,o.sprintf)((0,o.__)("installing plugin %s","blocksy-companion"),ee(e.name)||e.name);if("activate_plugin"===n)return(0,o.sprintf)((0,o.__)("activating plugin %s","blocksy-companion"),ee(e.name)||e.name);if("download_demo_widgets"===n)return(0,o.__)("downloading demo widgets","blocksy-companion");if("apply_demo_widgets"===n)return(0,o.__)("installing demo widgets","blocksy-companion");if("download_demo_options"===n)return(0,o.__)("downloading demo options","blocksy-companion");if("import_mods_images"===n)return(0,o.__)("importing images from customizer","blocksy-companion");if("import_customizer_options"===n)return(0,o.__)("import customizer options","blocksy-companion");if("activate_required_extensions"===n)return(0,o.__)("activating required extensions","blocksy-companion");if("erase_previous_posts"===n)return(0,o.__)("removing previously installed posts","blocksy-companion");if("erase_previous_terms"===n)return(0,o.__)("removing previously installed taxonomies","blocksy-companion");if("erase_default_pages"===n)return(0,o.__)("removing default WordPress pages","blocksy-companion");if("erase_customizer_settings"===n)return(0,o.__)("resetting customizer options","blocksy-companion");if("erase_widgets_data"===n)return(0,o.__)("resetting widgets","blocksy-companion");if("content_installer_progress"===n){if(!e.kind)return"";var r=t.content.preliminary_data["".concat(e.kind,"_count")],a=t.content["".concat(e.kind,"_count")];return"".concat(Math.min(a,r)," of ").concat(r," ").concat({users:(0,o.__)("users","blocksy-companion"),term:(0,o.__)("terms","blocksy-companion"),media:(0,o.__)("images","blocksy-companion"),post:(0,o.__)("posts","blocksy-companion"),comment:(0,o.__)("comments","blocksy-companion")}[e.kind])}return""},je=function(t){var n=t.stepName,r=t.stepsDescriptors,a=t.lastMessage,i=t.progress;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 50 50"},(0,e.createElement)("path",{class:"g1",d:"M47,38.8c0.3-1,0.5-2,0.5-3.1c0-1.1-0.2-2.1-0.5-3.1l0.2-0.1l1.8-1.7l-1.8-3.1l-2.3,0.7l-0.2,0.1c-1.4-1.5-3.3-2.7-5.4-3.1V25l-0.6-2.4h-3.5L34.5,25v0.3c-2.1,0.5-4,1.6-5.4,3.1l-0.2-0.1l-2.3-0.7l-1.8,3.1l1.7,1.7l0.2,0.1c-0.3,1-0.5,2-0.5,3.1c0,1.1,0.2,2.1,0.5,3.1l-0.2,0.1l-1.8,1.7l1.8,3.1l2.3-0.7l0.2-0.1c1.4,1.5,3.3,2.7,5.4,3.1v0.3l0.6,2.4h3.5l0.6-2.4V46c2.1-0.5,4-1.6,5.4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0.3c1.7-0.4,3.2-1.3,4.4-2.5l0.3,0.1l2.3,0.7l1.8-3.1L38,15.9L37.7,15.7z M28.6,17.9c-2.6,0-4.7-2.1-4.7-4.7s2.1-4.7,4.7-4.7s4.7,2.1,4.7,4.7S31.2,17.9,28.6,17.9z"}))),(0,e.createElement)("h2",null,(0,o.__)("Installing","blocksy-companion"),"..."),(0,e.createElement)("p",null,(0,o.__)("Please be patient and don't refresh this page, the import process may take a while, this also depends on your server.","blocksy-companion")),(0,e.createElement)("div",{className:"ct-progress-info"},r[n].title,a&&Ce(a,r)?": ".concat(Ce(a,r)):"",(0,e.createElement)("span",null,Math.round(i),"%")),(0,e.createElement)("div",{style:{"--progress":"".concat(i,"%")},className:"ct-installer-progress"},(0,e.createElement)("div",null)))},De=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 40 40"},(0,e.createElement)("path",{fill:"#BDC8D7",d:"M30.7,25.4L14.6,9.3c0.7-2.5,0-5.2-1.9-7.2c-2.4-2.3-6-2.7-8.8-1.3l4.5,4.5L7.9,7.9L5.3,8.4L0.8,3.9c-1.5,2.8-1,6.4,1.3,8.7c2,2,4.7,2.6,7.2,1.9l16.1,16.1c-0.7,2.5,0,5.2,1.9,7.2c2.3,2.3,5.9,2.8,8.7,1.3l-4.5-4.5L32,32l2.6-0.5l4.5,4.5c1.5-2.8,1-6.4-1.3-8.7C35.9,25.4,33.1,24.7,30.7,25.4z"}),(0,e.createElement)("polygon",{fill:"#44ACDF",points:"34.6,11.3 39.8,3.7 36.3,0.2 28.7,5.4 28.7,7.8 11.8,24.7 15.3,28.2 32.2,11.3 "}),(0,e.createElement)("path",{fill:"#0C7AB3",d:"M18.4,27.5l-5.9-5.9c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l0,0L0.7,33.5c-0.7,0.7-0.7,1.7,0,2.3l3.5,3.5c0.7,0.7,1.7,0.7,2.3,0L17,28.9l0,0c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3C18.8,28.5,18.8,27.9,18.4,27.5z"}))),(0,e.createElement)("h2",null,(0,o.__)("Can't Import Starter Site","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Unfortunately, your hosting configuration doesn't meet the minimum requirements for importing a starter site.","blocksy-companion")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/docs/troubleshooting/starter-site-import-stuck-at-xx/",className:"ct-demo-btn",target:"_blank"},"More Information"))},Ae=function(t){var n=t.demoConfiguration,r=t.style,a=function(t){var n=(0,e.useContext)(Ge),r=n.demos_list,a=n.currentDemo,i=(n.setCurrentDemo,n.setInstallerBlockingReleased),c=n.setCurrentlyInstalledDemo,l=n.pluginsStatus,s=(0,e.useContext)(L),u=(s.home_url,s.customizer_url,s.is_child_theme),m=(s.Link,ke((0,e.useState)(!1),2)),p=m[0],d=m[1],f=ke((0,e.useState)(!1),2),h=f[0],y=f[1],b=ke((0,e.useState)(0),2),v=b[0],g=b[1],_=ke((a||"").split(":"),2),E=_[0],w=(_[1],r.filter((function(e){return e.name===E})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0}))),k=t.plugins.filter((function(e){var t=e.enabled,n=e.plugin;return t&&!l[n]})).map((function(e){return e.plugin})),O=ke((0,e.useState)({register_current_demo:{title:(0,o.__)("Register demo","blocksy-companion"),query_string:"action=blocksy_demo_register_current_demo&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:1},child_theme:{title:(0,o.__)("Child theme","blocksy-companion"),query_string:"action=blocksy_demo_install_child_theme",expected_signals:3},plugins:{title:(0,o.__)("Required plugins","blocksy-companion"),query_string:"action=blocksy_demo_activate_plugins&plugins=".concat(k.join(":")),expected_signals:2*k.length+1},fake_step:{title:(0,o.__)("Fake Required plugins","blocksy-companion"),query_string:"action=blocksy_demo_fake_step",expected_signals:6},erase_content:{title:(0,o.__)("Erase content","blocksy-companion"),query_string:"action=blocksy_demo_erase_content&wp_customize=on",expected_signals:6},install_finish:{title:(0,o.__)("Final touches","blocksy-companion"),query_string:"action=blocksy_demo_install_finish&wp_customize=on",expected_signals:1},options:{title:(0,o.__)("Import options","blocksy-companion"),query_string:"action=blocksy_demo_install_options&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:5},widgets:{title:(0,o.__)("Import widgets","blocksy-companion"),query_string:"action=blocksy_demo_install_widgets&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:3},content:{title:(0,o.__)("Import content","blocksy-companion"),query_string:"action=blocksy_demo_install_content&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:50}}),2),x=O[0],S=O[1],C=Se({demoConfiguration:t,pluginsStatus:l,is_child_theme:u,includeMetaSteps:!0}),j=C[v],D=ke((0,e.useState)(0),2),A=D[0],P=D[1],N=ke((0,e.useState)(null),2),M=N[0],z=N[1],T=(0,e.useRef)(A),I=(0,e.useRef)(x);(0,e.useEffect)((function(){T.current=A,I.current=x}));var B=function(e){return"content"===e?1===C.length?100:50:C.indexOf("content")>-1?50/(C.length-1):100/C.length},R=C.reduce((function(e,t,n){return n>=v?e:e+B(t)}),0)+100*A/x[j].expected_signals*(B(j)/100),F=function(){var e=x[j],t=new EventSource("".concat(ctDashboardLocalizations.ajax_url,"?").concat(e.query_string));t.onerror=function(e){y(!0)},t.onmessage=function(e){var n=JSON.parse(e.data);if(P(T.current+1),"content_installer_progress"===n.action){var r=n.kind;r&&(z(n),S(Ee(Ee({},I.current),{},{content:Ee(Ee({},I.current.content),{},we({},"".concat(r,"_count"),I.current.content["".concat(r,"_count")]+1))})))}else z(n);if("get_content_preliminary_data"===n.action){var o=n.data,a=(o.comment_count,o.media_count,o.post_count,o.term_count,o.users,Ee(Ee({},n.data),{},{term_count:n.data.terms.length,post_count:n.data.posts.filter((function(e){return"attachment"!==e.post_type})).length,media_count:n.data.posts.filter((function(e){return"attachment"===e.post_type})).length,comment_count:n.data.posts.reduce((function(e,t){return e+(t.comments||[]).length}),0),users_count:Object.keys(n.data.authors).length}));S(Ee(Ee({},I.current),{},{content:Ee(Ee({},I.current.content),{},{preliminary_data:a,comment_count:0,media_count:0,post_count:0,term_count:0,users_count:0,expected_signals:a.comment_count+a.media_count+a.post_count+a.term_count+a.users_count+3})}))}if("complete"===n.action){if(t&&t.close&&t.close(),v===C.length-1)return d(!0),i(!0),void window.removeEventListener("beforeunload",xe);z(null),P(0),g(Math.min(C.length-1,v+1))}}};return(0,e.useEffect)((function(){p||(z(null),P(0),"fake_step"===j?(console.log("here we go delay before fake_step"),setTimeout((function(){F()}),2e3)):F())}),[j]),(0,e.useEffect)((function(){return window.addEventListener("beforeunload",xe),c({demo:"".concat(a,":").concat(t.builder)}),function(){window.removeEventListener("beforeunload",xe)}}),[]),{isCompleted:p,isError:h,stepName:j,stepsDescriptors:x,lastMessage:M,progress:R}}(n),i=a.isCompleted,c=a.isError,l=a.stepName,s=a.stepsDescriptors,u=a.lastMessage,m=a.progress,p=i?"complete":c?"error":"progress";return(0,e.createElement)("div",{className:"ct-demo-install",style:r},(0,e.createElement)(j.Transition,{initial:!0,items:p,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return function(n){return(0,e.createElement)("div",{style:n},"complete"===t&&(0,e.createElement)(ge,null),"error"===t&&(0,e.createElement)(De,null),"progress"===t&&(0,e.createElement)(je,{stepName:l,stepsDescriptors:s,lastMessage:u,progress:m}))}})))};function Pe(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Me(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||Me(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Me(e,t){if(e){if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ze=function(t){t.location,t.navigate;var n=Ne((0,e.useState)(!0),2),r=(n[0],n[1],(0,e.useContext)(Ge)),a=r.installerBlockingReleased,c=r.demos_list,l=r.currentDemo,s=r.pluginsStatus,u=r.currentlyInstalledDemo,m=r.setCurrentDemo,p=(0,e.useContext)(L).is_child_theme,d=Ne((0,e.useState)(u),2),f=d[0],h=d[1],y=Ne((0,e.useState)({builder:"",child_theme:!1,plugins:[],content:{options:!0,widgets:!0,content:!0,erase_content:!0}}),2),b=y[0],v=y[1],g=Ne((0,e.useState)(0),2),_=g[0],E=g[1],w=Ne((l||"").split(":"),2),k=w[0],O=(w[1],["modify_demo","child_theme","builder","plugins","content","installer"].filter((function(e){if(!l)return!1;if("modify_demo"===e){if(!f)return!1;if(-1===f.demo.indexOf(k))return!1}if("child_theme"===e&&p)return!1;var t=c.filter((function(e){return e.name===k})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0}));return("plugins"!==e||0!==t.reduce((function(e,t){return[].concat(Pe(e),Pe(t.plugins||[]))}),[]).filter((function(e){return!s[e]})).length)&&("builder"!==e||t.length>1)}))),x=O[_];return(0,e.useEffect)((function(){if(k&&!(l.indexOf(":hide")>-1)){var e=c.filter((function(e){return e.name===k})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0}));E(0),h(u),v({builder:1===e.length?e[0].builder:null,child_theme:!1,plugins:e[0].plugins.map((function(e){return{plugin:e,enabled:!0}})),content:{options:!0,widgets:!0,content:!0,erase_content:!0}})}}),[l]),(0,e.createElement)(A,{items:l,isVisible:function(e){return e&&-1===e.indexOf(":hide")},className:i()("ct-demo-modal",{"ct-demo-installer":"installer"===x||"modify_demo"===x}),onDismiss:function(){("installer"!==x||a)&&m("".concat(k,":hide"))},render:function(){return(0,e.createElement)("div",{className:"ct-modal-content ct-demo-step-container"},(0,e.createElement)("div",{className:"ct-current-step"},(0,e.createElement)(j.Transition,{items:x,from:{opacity:0},enter:{opacity:1},leave:{opacity:0},initial:!1,config:function(e,t){return"leave"===t?{duration:150}:{delay:150,duration:150}}},(function(t){return function(n){return(0,e.createElement)(e.Fragment,null,"modify_demo"===t&&(0,e.createElement)(ae,{demoConfiguration:b,nextStep:function(){E(Math.min(_+1,O.length-1))},style:n}),"child_theme"===t&&(0,e.createElement)(se,{style:n,demoConfiguration:b,setDemoConfiguration:v}),"plugins"===t&&(0,e.createElement)(te,{demoConfiguration:b,style:n,setDemoConfiguration:v}),"builder"===t&&(0,e.createElement)(fe,{style:n,demoConfiguration:b,setDemoConfiguration:v}),"content"===t&&(0,e.createElement)(ve,{style:n,demoConfiguration:b,setDemoConfiguration:v}),"installer"===t&&(0,e.createElement)(Ae,{style:n,demoConfiguration:b}))}}))),"installer"!==x&&"modify_demo"!==x&&(0,e.createElement)("div",{className:"ct-demo-step-controls"},_>0&&(0,e.createElement)("button",{className:"ct-demo-btn demo-back-btn",onClick:function(){E(Math.max(_-1,0))}},(0,o.__)("Back","blocksy-companion")),O.length>2&&(0,e.createElement)("ul",{className:"ct-steps-pills"},O.map((function(t,n){return n===O.length-1?null:(0,e.createElement)("li",{className:i()({active:t===x}),key:t},n+1)}))),(0,e.createElement)("button",{className:"ct-demo-btn demo-main-btn",disabled:"content"===x&&0===Se({demoConfiguration:b,pluginsStatus:s,is_child_theme:p}).length,onClick:function(){E(Math.min(_+1,O.length-1))}},"content"===x?(0,o.__)("Install","blocksy-companion"):(0,o.__)("Next","blocksy-companion"))))}})},Te=n(162),Ie=n.n(Te);function Be(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||Fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){if(e){if("string"==typeof e)return Ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ue(e,t):void 0}}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ve=function(){var t=Re((0,e.useState)(!1),2),n=t[0],r=t[1],a=Re((0,e.useState)(!1),2),i=a[0],c=a[1],l=Re((0,e.useState)(""),2),s=l[0],u=l[1],m=Re((0,e.useState)(""),2),p=m[0],d=m[1],f=Re((0,e.useState)([]),2),h=f[0],y=f[1],b=Re((0,e.useState)(""),2),v=b[0],g=b[1],_=Re((0,e.useState)(!1),2),E=_[0],w=_[1],k=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,o,a,i,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(!0),(t=new FormData).append("action","blocksy_demo_export"),t.append("name",s),t.append("is_pro",E),t.append("url",v),t.append("builder",p),t.append("plugins",h.join(",")),t.append("wp_customize","on"),e.prev=9,e.next=12,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 12:if(200!==(n=e.sent).status){e.next=20;break}return e.next=16,n.json();case 16:o=e.sent,a=o.success,i=o.data,a&&(c=new Blob([JSON.stringify(i.demo)],{type:"text/plain;charset=utf-8"}),Ie().saveAs(c,"".concat(s,".json")));case 20:e.next=24;break;case 22:e.prev=22,e.t0=e.catch(9);case 24:r(!1);case 25:case"end":return e.stop()}}),e,null,[[9,22]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Be(a,r,o,i,c,"next",e)}function c(e){Be(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return ct_localizations.is_dev_mode?(0,e.createElement)("div",{className:"ct-export"},(0,e.createElement)("button",{className:"ct-button",onClick:function(e){c(!0)}},(0,o.__)("Site export")),(0,e.createElement)(A,{items:i,className:"ct-site-export-modal",onDismiss:function(){return c(!1)},render:function(){return(0,e.createElement)("div",{className:"ct-site-export"},(0,e.createElement)("label",null,(0,o.__)("Name","blocksy-companion"),(0,e.createElement)("input",{type:"text",placeholder:(0,o.__)("Name","blocksy-companion"),value:s,onChange:function(e){var t=e.target.value;return u(t)}})),(0,e.createElement)("label",null,(0,o.__)("Preview URL","blocksy-companion"),(0,e.createElement)("input",{type:"text",placeholder:(0,o.__)("Preview URL","blocksy-companion"),value:v,onChange:function(e){var t=e.target.value;return g(t)}})),(0,e.createElement)("label",null,(0,o.__)("PRO","blocksy-companion"),(0,e.createElement)("input",{type:"checkbox",value:E,onChange:function(e){return e.target.value,w(!E)}})),(0,e.createElement)("label",null,(0,o.__)("Builder","blocksy-companion"),(0,e.createElement)("input",{type:"text",placeholder:(0,o.__)("Builder","blocksy-companion"),value:p,onChange:function(e){var t=e.target.value;return d(t)}})),(0,e.createElement)("h3",null,"Required plugins"),(0,e.createElement)("div",{className:"ct-bundled-plugins-list ct-modal-scroll"},Object.keys({"stackable-ultimate-gutenberg-blocks":"Stackable - Gutenberg Blocks","wpforms-lite":"WPForms - Contact Form",woocommerce:"WooCommerce",elementor:"Elementor",brizy:"Brizy",getwid:"Getwid","simply-gallery-block":"SimpLy Gallery Block & Lightbox","recipe-card-blocks-by-wpzoom":"Recipe Card Blocks by WPZOOM","map-block-gutenberg":"Map Block for Google Maps","mb-custom-post-type":"MB Custom Post Types & Custom Taxonomies",leadin:"HubSpot","block-slider":"Block Slider","ht-slider-for-elementor":"HT Slider For Elementor"}).map((function(t){return(0,e.createElement)("label",{tabindex:"0",onClick:function(e){e.preventDefault(),y((function(e){return e.includes(t)?e.filter((function(e){return e!==t})):[].concat(function(e){if(Array.isArray(e))return Ue(e)}(n=e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(n)||Fe(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t]);var n}))}},(0,e.createElement)("span",null,{"stackable-ultimate-gutenberg-blocks":"Stackable - Gutenberg Blocks","wpforms-lite":"WPForms - Contact Form",woocommerce:"WooCommerce",elementor:"Elementor",brizy:"Brizy",getwid:"Getwid","simply-gallery-block":"SimpLy Gallery Block & Lightbox","recipe-card-blocks-by-wpzoom":"Recipe Card Blocks by WPZOOM","map-block-gutenberg":"Map Block for Google Maps","mb-custom-post-type":"MB Custom Post Types & Custom Taxonomies",leadin:"HubSpot","block-slider":"Block Slider","ht-slider-for-elementor":"HT Slider For Elementor"}[t]),(0,e.createElement)("input",{type:"checkbox",checked:h.indexOf(t)>-1,onChange:function(e){e.target.checked}}))}))),(0,e.createElement)("button",{className:"ct-button",disabled:n,onClick:function(){return k()}},n?(0,o.__)("Loading...","blocksy-companion"):(0,o.__)("Export site","blocksy-companion")))}})):null};function He(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function qe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return We(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?We(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ge=(0,e.createContext)({demos:[]}),Ze=null,$e=null,Ke=function(t){t.children,t.path,t.location;var n=qe((0,e.useState)(!Ze),2),r=n[0],a=n[1],i=qe((0,e.useState)(Ze||[]),2),c=i[0],l=i[1],s=qe((0,e.useState)($e||{}),2),u=s[0],m=s[1],p=qe((0,e.useState)(null),2),d=p[0],f=p[1],h=qe((0,e.useState)(null),2),y=h[0],b=h[1],v=qe((0,e.useState)(!1),2),g=v[0],_=v[1],E=qe((0,e.useState)({builder:""}),2),w=(E[0],E[1],qe((0,e.useState)(!1),2)),k=w[0],O=w[1],x=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,o,i,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.length>0&&void 0!==c[0]&&c[0]&&a(!0),(t=new FormData).append("action","blocksy_demo_list"),e.prev=4,e.next=7,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 7:if(200!==(n=e.sent).status){e.next=15;break}return e.next=11,n.json();case 11:r=e.sent,o=r.success,i=r.data,o&&(l(i.demos),m(i.active_plugins),b(i.current_installed_demo),_(i.demo_error),$e=i.active_plugins,Ze=i.demos,i.demo_error);case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(4);case 19:a(!1);case 20:case"end":return e.stop()}}),e,null,[[4,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){He(a,r,o,i,c,"next",e)}function c(e){He(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return(0,e.useEffect)((function(){x(!Ze)}),[]),(0,e.createElement)("div",{className:"ct-demos-list-container"},g&&(0,e.createElement)("div",{className:"ct-demo-notification",dangerouslySetInnerHTML:{__html:g}}),(0,e.createElement)(j.Transition,{items:r,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return t?function(t){return(0,e.createElement)(j.animated.p,{style:t,className:"ct-loading-text"},(0,e.createElement)("span",null),(0,o.__)("Loading Starter Sites...","blocksy-companion"))}:0===c.length?function(t){return(0,e.createElement)(j.animated.div,{style:t},(0,e.createElement)("div",{className:"ct-demo-notification",dangerouslySetInnerHTML:{__html:(0,o.__)("The connection to our <b>demo.creativethemes.com</b> server didn't worked. This connection is required for importing the starter sites from our demo content server. All you have to do is to contact your hosting provider and ask them to white list our demo server address.","blocksy-companion")}}),(0,e.createElement)(R,null))}:function(t){return(0,e.createElement)(j.animated.div,{style:t},(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ge.Provider,{value:{demo_error:g,demos_list:c.filter((function(e){return!e.dev||ct_localizations.is_dev_mode})),currentDemo:d,pluginsStatus:u,installerBlockingReleased:k,setInstallerBlockingReleased:O,setCurrentDemo:f,currentlyInstalledDemo:y,setCurrentlyInstalledDemo:b}},(0,e.createElement)(ne,null),(0,e.createElement)(ze,null),(0,e.createElement)(Ve,null)),(0,e.createElement)(R,null)))}})))};function Je(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}var Ye=function(){var t=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,o,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=new FormData).append("action","blocksy_fs_connect_again"),e.prev=2,e.next=5,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 5:if(200!==(n=e.sent).status){e.next=13;break}return e.next=9,n.json();case 9:r=e.sent,o=r.success,r.data,o&&((a=document.createElement("div")).innerHTML=ctDashboardLocalizations.plugin_data.connect_template,i=a.querySelector("form"),document.body.appendChild(i),i.submit());case 13:e.next=17;break;case 15:e.prev=15,e.t0=e.catch(2);case 17:case"end":return e.stop()}}),e,null,[[2,15]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Je(a,r,o,i,c,"next",e)}function c(e){Je(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return(0,e.createElement)("div",{className:"ct-freemius-optin-message"},(0,e.createElement)("i",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,e.createElement)("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),(0,e.createElement)("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"}))),(0,e.createElement)("h2",null,(0,o.__)("Stay Updated","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking.","blocksy-companion")),(0,e.createElement)("button",{className:"ct-button-primary",onClick:function(e){e.preventDefault(),t()}},(0,o.__)("Allow & Continue","blocksy-companion")))};r().on("ct:dashboard:routes",(function(t){t.push({Component:function(){return(0,e.createElement)($,null)},path:"/extensions"}),"yes"===ctDashboardLocalizations.plugin_data.has_demo_install&&t.push({Component:function(t){return(0,e.createElement)(Ke,t)},path:"/demos"})})),r().on("ct:dashboard:navigation-links",(function(e){"yes"===ctDashboardLocalizations.plugin_data.has_demo_install&&e.push({text:(0,o.__)("Starter Sites","blocksy-companion"),path:"demos",getProps:function(e){var t=e.isPartiallyCurrent;return e.isCurrent,t?{"aria-current":"page"}:{}}}),e.push({text:(0,o.__)("Extensions","blocksy-companion"),path:"/extensions"})})),r().on("ct:dashboard:home:before",(function(t){ctDashboardLocalizations.plugin_data.is_anonymous&&(t.content=(0,e.createElement)(Ye,null))})),r().on("ct:dashboard:heading:after",(function(t){ctDashboardLocalizations.plugin_data.is_pro&&(t.content=(0,e.createElement)("span",null,"PRO"))}))}()}();
1
  /*! For license information please see dashboard.js.LICENSE.txt */
2
+ !function(){var e={184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var i=o.apply(null,n);i&&e.push(i)}else if("object"===a)for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},162:function(e,t,n){var r;void 0===(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,i=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,i){var c=a.URL||a.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):r(l.href)?t(e,n,i):o(l,l.target="_blank")):(l.href=c.createObjectURL(e),setTimeout((function(){c.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,a),n);else if(r(e))t(e,n,a);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){o(i)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var i="application/octet-stream"===e.type,c=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||i&&c)&&"object"==typeof FileReader){var s=new FileReader;s.onloadend=function(){var e=s.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},s.readAsDataURL(e)}else{var u=a.URL||a.webkitURL,m=u.createObjectURL(e);o?o.location=m:location.href=m,o=null,setTimeout((function(){u.revokeObjectURL(m)}),4e4)}});a.saveAs=i.saveAs=i,e.exports=i}.apply(t,[]))||(e.exports=r)},172:function(e,t,n){var r,o,a=n(760),i=n(529),c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function l(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,s=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),u={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},m={activate:function(e){if(!u.active){E(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:s.onActivate;return t&&t(),d(),m}},deactivate:p,pause:function(){!u.paused&&u.active&&(u.paused=!0,f())},unpause:function(){u.paused&&u.active&&(u.paused=!1,E(),d())}};return m;function p(e){if(u.active){clearTimeout(r),f(),u.active=!1,u.paused=!1,c.deactivateTrap(m);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:s.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:s.returnFocusOnDeactivate)&&l((function(){var e;w((e=u.nodeFocusedBeforeActivation,y("setReturnFocus")||e))})),m}}function d(){if(u.active)return c.activateTrap(m),r=l((function(){w(b())})),n.addEventListener("focusin",v,!0),n.addEventListener("mousedown",h,{capture:!0,passive:!1}),n.addEventListener("touchstart",h,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",g,{capture:!0,passive:!1}),m}function f(){if(u.active)return n.removeEventListener("focusin",v,!0),n.removeEventListener("mousedown",h,!0),n.removeEventListener("touchstart",h,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",g,!0),m}function y(e){var t=s[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw new Error("`"+e+"` did not return a node");return r}function b(){var e;if(!(e=null!==y("initialFocus")?y("initialFocus"):o.contains(n.activeElement)?n.activeElement:u.firstTabbableNode||y("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function h(e){o.contains(e.target)||(s.clickOutsideDeactivates?p({returnFocus:!a.isFocusable(e.target)}):s.allowOutsideClick&&s.allowOutsideClick(e)||e.preventDefault())}function v(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),w(u.mostRecentlyFocusedNode||b()))}function g(e){if(!1!==s.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(E(),e.shiftKey&&e.target===u.firstTabbableNode)return e.preventDefault(),void w(u.lastTabbableNode);e.shiftKey||e.target!==u.lastTabbableNode||(e.preventDefault(),w(u.firstTabbableNode))}(e)}function _(e){s.clickOutsideDeactivates||o.contains(e.target)||s.allowOutsideClick&&s.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function E(){var e=a(o);u.firstTabbableNode=e[0]||b(),u.lastTabbableNode=e[e.length-1]||b()}function w(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),u.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):w(b()))}}},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},760:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,i,c,u=[],m=[],p=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(p=Array.prototype.slice.apply(p)).unshift(e),o=0;o<p.length;o++)a(i=p[o])&&(0===(c=l(i))?u.push(i):m.push({documentOrder:o,tabIndex:c,node:i}));return m.sort(s).map((function(e){return e.node})).concat(u)}function a(e){return!(!i(e)||function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||l(e)<0)}function i(e){return!(e.disabled||function(e){return u(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}o.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,n)&&a(e)},o.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==r.call(e,c)&&i(e)};var c=t.concat("iframe").join(",");function l(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function s(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function u(e){return"INPUT"===e.tagName}e.exports=o},529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element,t=window.ctEvents,r=n.n(t),o=window.wp.i18n,a=n(184),i=n.n(a),c=window.React,l=n.n(c);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}n(697);var m=function(e){return e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},p=function(e){function t(){var n,r;s(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=u(this,e.call.apply(e,[this].concat(a))),d.call(r),u(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getArgs=function(){var e=this.state,t=this.props,n=this._setState,r=this._forceUpdate,o=this._refs;return{state:e,props:m(t),refs:o,setState:n,forceUpdate:r}},t.prototype.componentDidMount=function(){this.props.didMount&&this.props.didMount(this.getArgs())},t.prototype.shouldComponentUpdate=function(e,t){return!this.props.shouldUpdate||this.props.shouldUpdate({props:this.props,state:this.state,nextProps:m(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:m(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:m(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:m(e),prevState:t})):null},t.prototype.render=function(){var e=this.props,t=e.children,n=e.render;return n?n(this.getArgs()):"function"==typeof t?t(this.getArgs()):t||null},t}(l().Component);p.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var d=function(){var e=this;this.state=this.props.initialState||this.props.getInitialState(this.props),this._refs=this.props.refs||this.props.getRefs(this.getArgs()),this._setState=function(){return e.setState.apply(e,arguments)},this._forceUpdate=function(){return e.forceUpdate.apply(e,arguments)}},f=p,y=function(t){var n=t.children,r=t.container,o=void 0===r?document.body:r,a=t.type,i=void 0===a?"reach-portal":a;return(0,e.createElement)(f,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=o.hasOwnProperty("current")?o.current:o;t.node=document.createElement(i),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=o.hasOwnProperty("current")?o.current:o;n&&n.removeChild(t)},render:function(t){var r=t.refs.node;return r?(0,e.createPortal)(n,r):null}})},b=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},h=n(172),v=n.n(h);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var E=function(){},w=function(){},k=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},O=React.createContext(),x=React.forwardRef((function(t,n){var r=t.container,o=t.isOpen,a=void 0===o||o,i=t.onDismiss,c=void 0===i?E:i,l=t.initialFocusRef,s=t.onClick,u=t.onKeyDown,m=_(t,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return(0,e.createElement)(f,{didMount:w},a?(0,e.createElement)(y,{container:r,"data-reach-dialog-wrapper":!0},(0,e.createElement)(f,{refs:{overlayNode:null,contentNode:null},didMount:function(e){!function(e,t){var n,r,o;e.disposeAriaHider=(n=e.overlayNode,r=[],o=[],Array.prototype.forEach.call(document.querySelectorAll("body > *"),(function(e){if(e!==n.parentNode){var t=e.getAttribute("aria-hidden");null!==t&&"false"!==t||(r.push(t),o.push(e),e.setAttribute("aria-hidden","true"))}})),function(){o.forEach((function(e,t){var n=r[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)}))}),e.trap=v()(e.overlayNode,{initialFocus:t?function(){return t.current}:void 0,fallbackFocus:e.contentNode,escapeDeactivates:!1,clickOutsideDeactivates:!1})}(e.refs,l)},willUnmount:k},(function(t){var r=t.refs;return(0,e.createElement)(O.Provider,{value:function(e){return r.contentNode=e}},(0,e.createElement)("div",g({"data-reach-dialog-overlay":!0,onClick:b(s,(function(e){e.stopPropagation(),c()})),onKeyDown:b(u,(function(e){"Escape"===e.key&&(e.stopPropagation(),c())})),ref:function(e){r.overlayNode=e,n&&n(e)}},m)))}))):null)}));x.propTypes={initialFocusRef:function(){}};var S=function(e){return e.stopPropagation()},C=React.forwardRef((function(t,n){var r=t.onClick,o=(t.onKeyDown,_(t,["onClick","onKeyDown"]));return(0,e.createElement)(O.Consumer,null,(function(t){return(0,e.createElement)("div",g({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:b(r,S),ref:function(e){t(e),n&&n(e)}},o))}))})),j=window.blocksyOptions,D=function(e){return!!e},A=function(t){var n=t.items,r=t.isVisible,o=void 0===r?D:r,a=t.render,c=t.className,l=t.onDismiss;return(0,e.createElement)(j.Transition,{items:n,onStart:function(){return document.body.classList[o(n)?"add":"remove"]("ct-dashboard-overlay-open")},config:{duration:200},from:{opacity:0,y:-10},enter:{opacity:1,y:0},leave:{opacity:0,y:10}},(function(t){return o(t)&&function(n){return(0,e.createElement)(x,{style:{opacity:n.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return l()}},(0,e.createElement)(C,{className:i()("ct-admin-modal",c),style:{transform:"translate3d(0px, ".concat(n.y,"px, 0px)")}},(0,e.createElement)("button",{className:"close-button",onClick:function(){return l()}},"×"),a(t,n)))}}))};function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=function(t){var n,r,o=(n=(0,e.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1];return[function(){return i(!0)},(0,e.createElement)(A,{items:a,onDismiss:function(){return i(!1)},render:function(){return(0,e.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:t.readme}})}})]},N=window.ctDashboardLocalizations.DashboardContext,L=(N.Provider,N.Consumer,N);function z(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){z(a,r,o,i,c,"next",e)}function c(e){z(a,r,o,i,c,"throw",e)}i(void 0)}))}}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var R=function(){return ctDashboardLocalizations.plugin_data.hide_support_section?null:(0,e.createElement)("div",{className:"ct-support-container"},(0,e.createElement)("h2",null,(0,o.__)("Need help or advice?","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Got a question or need help with the theme? You can always submit a support ticket or ask for help in our friendly Facebook community.","blocksy-companion")),(0,e.createElement)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},(0,o.__)("Submit a Support Ticket","blocksy-companion")),(0,e.createElement)("a",{href:"https://www.facebook.com/groups/blocksy.community",className:"ct-button","data-hover":"blue",target:"_blank"},(0,o.__)("Join Facebook Community","blocksy-companion")))};function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var W=null,Z=function(t){var n=t.extension,r=t.onExtsSync,a=q(M(n),2),c=a[0],l=a[1],s=q(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=I((0,e.useState)(!1),2),a=r[0],i=r[1],c=I((0,e.useState)(!1),2),l=c[0],s=c[1],u=(0,e.useContext)(L),m=(u.Link,u.history),p=ctDashboardLocalizations.plugin_data.is_pro,d=function(){var e=T(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p||!t.config.pro){e.next=3;break}return s(!0),e.abrupt("return");case 3:return(r=new FormData).append("ext",t.name),r.append("action",t.__object?"blocksy_extension_deactivate":"blocksy_extension_activate"),i(!0),e.prev=7,e.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 10:t.config.require_refresh&&location.reload(),n(),e.next=16;break;case 14:e.prev=14,e.t0=e.catch(7);case 16:i(!1);case 17:case"end":return e.stop()}}),e,null,[[7,14]])})));return function(){return e.apply(this,arguments)}}();return[a,d,!p&&t.config.pro?(0,e.createElement)(A,{items:l,className:"ct-onboarding-modal",onDismiss:function(){return s(!1)},render:function(){return(0,e.createElement)("div",{className:"ct-modal-content"},(0,e.createElement)("svg",{width:"55",height:"55",viewBox:"0 0 40.5 48.3"},(0,e.createElement)("path",{fill:"#2d82c8",d:"M33.4 29.4l7.1 12.3-7.4.6-4 6-7.3-12.9"}),(0,e.createElement)("path",{d:"M33.5 29.6L26 42.7l-4.2-7.3 11.6-6 .1.2zM0 41.7l7.5.6 3.9 6 7.2-12.4-11-7.3L0 41.7z",fill:"#2271b1"}),(0,e.createElement)("path",{d:"M39.5 18.7c0 1.6-2.4 2.8-2.7 4.3-.4 1.5 1 3.8.2 5.1-.8 1.3-3.4 1.2-4.5 2.3-1.1 1.1-1 3.7-2.3 4.5-1.3.8-3.6-.6-5.1-.2-1.5.4-2.7 2.7-4.3 2.7S18 35 16.5 34.7c-1.5-.4-3.8 1-5.1.2s-1.2-3.4-2.3-4.5-3.7-1-4.5-2.3.6-3.6.2-5.1-2.7-2.7-2.7-4.3 2.4-2.8 2.7-4.3c.4-1.5-1-3.8-.2-5.1C5.4 8 8.1 8.1 9.1 7c1.1-1.1 1-3.7 2.3-4.5s3.6.6 5.1.2C18 2.4 19.2 0 20.8 0c1.6 0 2.8 2.4 4.3 2.7 1.5.4 3.8-1 5.1-.2 1.3.8 1.2 3.4 2.3 4.5 1.1 1.1 3.7 1 4.5 2.3s-.6 3.6-.2 5.1c.3 1.5 2.7 2.7 2.7 4.3z",fill:"#599fd9"}),(0,e.createElement)("path",{d:"M23.6 7c-6.4-1.5-12.9 2.5-14.4 8.9-.7 3.1-.2 6.3 1.5 9.1 1.7 2.7 4.3 4.6 7.4 5.4.9.2 1.9.3 2.8.3 2.2 0 4.4-.6 6.3-1.8 2.7-1.7 4.6-4.3 5.4-7.5C34 15 30 8.5 23.6 7zm7 14c-.6 2.6-2.2 4.8-4.5 6.2-2.3 1.4-5 1.8-7.6 1.2-2.6-.6-4.8-2.2-6.2-4.5-1.4-2.3-1.8-5-1.2-7.6.6-2.6 2.2-4.8 4.5-6.2 1.6-1 3.4-1.5 5.2-1.5.8 0 1.5.1 2.3.3 5.4 1.3 8.7 6.7 7.5 12.1zm-8.2-4.5l3.7.5-2.7 2.7.7 3.7-3.4-1.8-3.3 1.8.6-3.7-2.7-2.7 3.8-.5 1.6-3.4 1.7 3.4z",fill:"#fff"})),(0,e.createElement)("h2",{className:"ct-modal-title"},"This is a Pro extension"),(0,e.createElement)("p",null,(0,o.__)("Upgrade to the Pro version and get instant access to all premium extensions, features and future updates.","blocksy-companion")),(0,e.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},(0,e.createElement)("a",{onClick:function(e){e.preventDefault(),s(!1),setTimeout((function(){m.navigate("/pro")}),300)},className:"button"},(0,o.__)("Free vs Pro","blocksy")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/pricing/",target:"_blank",className:"button button-primary"},(0,o.__)("Upgrade Now","blocksy-companion"))))}}):null]}(n,(function(){r()})),3),u=s[0],m=s[1],p=s[2];return(0,e.createElement)("li",{className:i()({active:!!n.__object})},(0,e.createElement)("h4",{className:"ct-extension-title"},n.config.name,u&&(0,e.createElement)("svg",{width:"15",height:"15",viewBox:"0 0 100 100"},(0,e.createElement)("g",{transform:"translate(50,50)"},(0,e.createElement)("g",{transform:"scale(1)"},(0,e.createElement)("circle",{cx:"0",cy:"0",r:"50",fill:"#687c93"}),(0,e.createElement)("circle",{cx:"0",cy:"-26",r:"12",fill:"#ffffff",transform:"rotate(161.634)"},(0,e.createElement)("animateTransform",{attributeName:"transform",type:"rotate",calcMode:"linear",values:"0 0 0;360 0 0",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"})))))),n.config.description&&(0,e.createElement)("div",{className:"ct-extension-description"},n.config.description),(0,e.createElement)("div",{className:"ct-extension-actions"},(0,e.createElement)("button",{className:i()(n.__object?"ct-button":"ct-button-primary"),"data-hover":"white",disabled:u,onClick:function(){m()}},n.__object?(0,o.__)("Deactivate","blocksy-companion"):(0,o.__)("Activate","blocksy-companion")),n.readme&&(0,e.createElement)("button",{onClick:function(){return c()},className:"ct-minimal-button ct-instruction"},(0,e.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,17L12,17c-0.552,0-1-0.448-1-1v-4 c0-0.552,0.448-1,1-1h0c0.552,0,1,0.448,1,1v4C13,16.552,12.552,17,12,17z M12.5,9h-1C11.224,9,11,8.776,11,8.5v-1 C11,7.224,11.224,7,11.5,7h1C12.776,7,13,7.224,13,7.5v1C13,8.776,12.776,9,12.5,9z"}))),n.__object&&n.config&&n.config.buttons&&n.config.buttons.map((function(t,n){var r=t.text,o=t.url;return(0,e.createElement)("a",{href:o,className:"ct-button ct-config-btn",dataButton:"white"},r)}))),l,p)},$=function(){var t=q((0,e.useState)(!W),2),n=t[0],a=t[1],c=q((0,e.useState)(W||[]),2),l=c[0],s=c[1],u=q((0,e.useState)(!1),2),m=u[0],p=u[1],d=q((0,e.useState)("free"),2),f=d[0],y=d[1],b=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,o,i,c,l,u,m,d=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=d.length>0&&void 0!==d[0]?d[0]:{},n=U({verbose:!1,extension:null,extAction:null},t),r=n.verbose,o=n.extension,i=n.extAction,r&&a(!0),p(!0),e.next=6,fetch("".concat(wp.ajax.settings.url,"?action=blocksy_extensions_status"),U({method:"POST"},o&&i?{body:JSON.stringify({extension:o,extAction:i})}:{}));case 6:if(200===(c=e.sent).status){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,c.json();case 11:if(l=e.sent,u=l.success,m=l.data,u){e.next=16;break}return e.abrupt("return");case 16:if(p(!1),a(!1),s(m),W=m,!o){e.next=22;break}return e.abrupt("return",m[o]);case 22:return e.abrupt("return",m);case 23:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){H(a,r,o,i,c,"next",e)}function c(e){H(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,e.useEffect)((function(){b({verbose:!W});var e=function(){b()};return r().on("blocksy_exts_sync_exts",e),function(){r().off("blocksy_exts_sync_exts",e)}}),[]);var h=(0,e.useMemo)((function(){return Object.values(l).map((function(e,t){return U(U({},e),{},{name:Object.keys(l)[t]})})).find((function(e){return e.config.pro}))}),[l]),v=(0,e.useMemo)((function(){return Object.values(l).map((function(e,t){return U(U({},e),{},{name:Object.keys(l)[t]})})).filter((function(e){return!e.config.hidden})).filter((function(e){var t=e.config;return"free"===f?!t.pro:t.pro}))}),[f,l]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ct-extensions-container"},(0,e.createElement)(j.Transition,{items:n,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],initial:null,config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return t?function(t){return(0,e.createElement)(j.animated.p,{style:t,className:"ct-loading-text"},(0,e.createElement)("span",null),(0,o.__)("Loading Extensions Status...","blocksy-companion"))}:function(t){return(0,e.createElement)(j.animated.div,{style:t},(0,e.createElement)(e.Fragment,null,h&&(0,e.createElement)("ul",{className:"ct-extensions-sourse"},["free","pro"].map((function(t){return(0,e.createElement)("li",{key:t,onClick:function(){return y(t)},className:i()({active:t===f})},{free:(0,o.__)("Free Extensions","blocksy-companion"),pro:(0,o.__)("Pro Extensions","blocksy-companion")}[t])}))),(0,e.createElement)("ul",{className:i()("ct-extensions-list",{"is-pro":"pro"===f})},v.map((function(t){var n={extension:Z};return r().trigger("ct:extensions:card",{CustomComponent:n,extension:t}),(0,e.createElement)(n.extension,{key:t.name,extension:t,extsSyncLoading:m,onExtsSync:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.extAction||(l[t.name].__object=!l[t.name].__object,s(l)),b(U(U({},e),{},{extension:t.name}))}})}))),(0,e.createElement)(R,null)))}}))))},K=function(t){var n=t.children,r=t.activated,o=t.checked,a=t.onChange;return(0,e.createElement)("div",{onClick:function(){return a()},className:i()("ct-checkbox-container",{activated:r})},n,(0,e.createElement)("span",{className:i()("ct-checkbox",{active:o})},(0,e.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},(0,e.createElement)("polyline",{class:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))))};function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){X(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ee=function(e){return({"stackable-ultimate-gutenberg-blocks":"Stackable - Gutenberg Blocks","wpforms-lite":"WPForms - Contact Form",woocommerce:"WooCommerce",elementor:"Elementor",brizy:"Brizy",getwid:"Getwid","simply-gallery-block":"SimpLy Gallery Block & Lightbox","recipe-card-blocks-by-wpzoom":"Recipe Card Blocks by WPZOOM","map-block-gutenberg":"Map Block for Google Maps","mb-custom-post-type":"MB Custom Post Types & Custom Taxonomies",leadin:"HubSpot","block-slider":"Block Slider","ht-slider-for-elementor":"HT Slider For Elementor","modula-best-grid-gallery":"Modula - Image Gallery"}[e]||e).replace(/\b\w/,(function(e){return e.toUpperCase()}))},te=function(t){var n,r,a=t.demoConfiguration,i=t.setDemoConfiguration,c=t.style,l=(0,e.useContext)(We),s=l.currentDemo,u=l.demos_list,m=l.pluginsStatus,p=(l.setCurrentDemo,n=(s||"").split(":"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=p[0];return p[1],u.filter((function(e){return e.name===d||""})),(0,e.createElement)("div",{style:c},(0,e.createElement)("div",{className:"ct-demo-plugins"},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 40 40"},(0,e.createElement)("path",{fill:"#0C7AB3",d:"M20,0v7.6c0,0.3-0.2,0.5-0.5,0.5h-1.5c0,0,0,0,0,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c-0.5-0.7-1.3-1.1-2.1-1.1c-1.5,0-2.6,1.2-2.6,2.6c0,1.5,1.2,2.6,2.6,2.6c0.8,0,1.6-0.4,2.1-1.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0,0h1.5c0,0,0,0,0,0c0.3,0,0.5,0.2,0.5,0.5V20h8.1v-0.8c-0.8-0.7-1.3-1.7-1.3-2.8c0-2,1.7-3.7,3.7-3.7c2,0,3.7,1.7,3.7,3.7c0,1.1-0.5,2.1-1.3,2.8V20H40C40,9,31,0,20,0z"}),(0,e.createElement)("path",{fill:"#3497D3",d:"M20,40v-7.6c0-0.3,0.2-0.5,0.5-0.5h1.5c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0.5,0.7,1.3,1.1,2.1,1.1c1.5,0,2.6-1.2,2.6-2.6c0-1.5-1.2-2.6-2.6-2.6c-0.8,0-1.6,0.4-2.1,1.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0,0,0h-1.5c0,0,0,0,0,0c-0.3,0-0.5-0.2-0.5-0.5V20h-8.1v0.8c0.8,0.7,1.3,1.7,1.3,2.8c0,2-1.7,3.7-3.7,3.7c-2,0-3.7-1.7-3.7-3.7c0-1.1,0.5-2.1,1.3-2.8V20H0C0,31,9,40,20,40z"}))),(0,e.createElement)("h2",null,(0,o.__)("Install & Activate Plugins","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("The following plugins are required for this starter site in order to work properly.","blocksy-companion")),a.plugins.map((function(t){var n=t.plugin,r=t.enabled;return(0,e.createElement)(e.Fragment,{key:n},!m[n]&&(0,e.createElement)(K,{key:n,checked:r,onChange:function(){return i(Y(Y({},a),{},{plugins:a.plugins.map((function(e){return e.plugin===n?Y(Y({},e),{},{enabled:!r}):e}))}))}},ee(n)),m[n]&&(0,e.createElement)(K,{activated:!0,checked:!0,onChange:function(){}},ee(n)))}))))},ne=function(){var t=(0,e.useContext)(We),n=t.currentlyInstalledDemo,r=t.demos_list,a=t.setCurrentDemo,c=t.demo_error,l=t.setInstallerBlockingReleased;return(0,e.useContext)(L).Link,(0,e.createElement)("ul",null,r.filter((function(e,t){return r.map((function(e){return e.name})).indexOf(e.name)===t})).map((function(t){return(0,e.createElement)("li",{key:t.name,className:i()("ct-single-demo",{"ct-is-pro":t.is_pro})},(0,e.createElement)("figure",null,(0,e.createElement)("img",{src:t.screenshot}),(0,e.createElement)("section",null,(0,e.createElement)("h3",null,(0,o.__)("Available for","blocksy-companion")),(0,e.createElement)("div",null,r.filter((function(e){return e.name===t.name||""})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0})).map((function(t){var n=t.builder;return(0,e.createElement)("span",{key:n},ee(n)||"Gutenberg")})))),t.is_pro&&(0,e.createElement)("a",{onClick:function(e){return e.preventDefault()},href:"#"},"PRO")),(0,e.createElement)("div",{className:"ct-demo-actions"},(0,e.createElement)("h4",null,t.name),(0,e.createElement)("div",null,(0,e.createElement)("a",{className:"ct-button",target:"_blank",href:t.url},(0,o.__)("Preview","blocksy-companion")),(0,e.createElement)("button",{className:"ct-button-primary",onClick:function(){l(!1),a(t.name)},disabled:!!c},n&&n.demo.indexOf(t.name)>-1?(0,o.__)("Modify","blocksy-companion"):(0,o.__)("Import","blocksy-companion")))))})))};function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ae=function(t){var n=t.style,r=t.nextStep,a=((0,e.useContext)(L).is_child_theme,(0,e.useContext)(We)),i=a.setCurrentlyInstalledDemo,c=a.setCurrentDemo,l=a.currentDemo,s=a.demos_list,u=re((0,e.useState)(0),2),m=u[0],p=u[1],d=re((0,e.useState)("idle"),2),f=d[0],y=d[1],b=re((l||"").split(":"),2),h=b[0],v=(b[1],s.filter((function(e){return e.name===h}))),g={erase_content:{title:(0,o.__)("Erase content","blocksy-companion"),query_string:"action=blocksy_demo_erase_content&wp_customize=on"},deactivate_demo_plugins:{title:(0,o.__)("Deactivate demo plugins","blocksy-companion"),query_string:"action=blocksy_demo_deactivate_plugins&plugins=".concat(v[0].plugins.join(":"))},deregister_current_demo:{title:(0,o.__)("Erase content","blocksy-companion"),query_string:"action=blocksy_demo_deregister_current_demo"}},_=["erase_content","deactivate_demo_plugins","deregister_current_demo"],E=_[m],w=function(){var e=g[E],t=new EventSource("".concat(ctDashboardLocalizations.ajax_url,"?").concat(e.query_string));t.onmessage=function(e){if("complete"===JSON.parse(e.data).action){if(t&&t.close&&t.close(),m===_.length-1)return void y("done");p(Math.min(_.length-1,m+1))}}};return(0,e.useEffect)((function(){0!==m&&"done"!==f&&w()}),[E]),(0,e.createElement)("div",{className:"ct-modify-demo",style:n},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"36",height:"36",viewBox:"0 0 40 40"},(0,e.createElement)("path",{d:"M5.71,40a1,1,0,0,1-1-1V21.59a1,1,0,0,1,1.91,0V39.05A1,1,0,0,1,5.71,40Zm1-31.83V1.07A1,1,0,0,0,5.71,0a1,1,0,0,0-1,1.07v7.1a1,1,0,0,0,1,1.07A1,1,0,0,0,6.67,8.17ZM21,39.05V34.29a1,1,0,1,0-1.9,0v4.76a1,1,0,1,0,1.9,0Zm0-18.14V1a1,1,0,1,0-1.9,0V20.91a1,1,0,1,0,1.9,0ZM35.24,39.05V26.35a1,1,0,0,0-1.91,0v12.7a1,1,0,0,0,1.91,0Zm0-26.25V1a1,1,0,1,0-1.91,0V12.8a1,1,0,1,0,1.91,0Z",transform:"translate(-0.71)",fill:"#dae3e8"}),(0,e.createElement)("path",{d:"M5.71,18.06a5,5,0,1,1,5-5A5,5,0,0,1,5.71,18.06ZM20,30.76a5,5,0,1,1,5-5A5,5,0,0,1,20,30.76Zm14.29-7.93a5,5,0,1,1,5-5A5,5,0,0,1,34.29,22.83Z",transform:"translate(-0.71)",fill:"#0c7ab3"}))),"idle"===f&&(0,e.createElement)("h2",null,(0,o.__)("This starter site is already installed","blocksy-companion")),"loading"===f&&(0,e.createElement)("h2",null,"Removing starter site..."),"done"===f&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h2",null,(0,o.__)("Starter Site Removed","blocksy-companion")),(0,e.createElement)("div",{className:"ct-modify-actions"},(0,e.createElement)("button",{className:"ct-demo-btn ct-dismiss",onClick:function(e){e.preventDefault(),c("".concat(h,":hide"))}},(0,o.__)("Dismiss","blocksy-companion")))),"idle"===f&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,(0,o.__)("What steps do you want to perform next?","blocksy-companion")),(0,e.createElement)("div",{className:"ct-modify-actions"},(0,e.createElement)("button",{className:"ct-demo-btn demo-remove",onClick:function(e){y("loading"),e.preventDefault(),w(),i()}},(0,o.__)("Remove","blocksy-companion")),(0,e.createElement)("button",{className:"ct-demo-btn",onClick:function(e){e.preventDefault(),r()}},(0,o.__)("Reinstall","blocksy-companion")))))};function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=function(t){var n=t.demoConfiguration,r=t.setDemoConfiguration,a=t.style,i=(0,e.useContext)(L),c=i.is_child_theme,l=i.child_theme_exists;return(0,e.createElement)("div",{className:"ct-demo-child",style:a},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 43 41.1"},(0,e.createElement)("path",{fill:"#DBE7EE",d:"M0,39.5c0,0.9,0.7,1.6,1.5,1.6h32.3c0.9,0,1.5-0.7,1.5-1.6V14H0V39.5z"}),(0,e.createElement)("path",{fill:"#BDC8D7",d:"M18.2,41.1h15.6c0.9,0,1.5-0.7,1.5-1.6V14H7.6L8,32.4L18.2,41.1z"}),(0,e.createElement)("path",{fill:"#BDC8D7",d:"M0,15.6V9.8c0-0.9,0.7-1.6,1.5-1.6h32.3c0.9,0,1.5,0.7,1.5,1.6v5.8H0z"}),(0,e.createElement)("path",{fill:"#3497D3",d:"M7.6,31.3c0,0.9,0.7,1.6,1.5,1.6h32.4c0.9,0,1.5-0.7,1.5-1.6V5.8H7.6V31.3z"}),(0,e.createElement)("path",{fill:"#0C7AB3",d:"M7.6,7.4V1.6C7.6,0.7,8.3,0,9.1,0h32.4C42.4,0,43,0.7,43,1.6v5.8H7.6z"}),(0,e.createElement)("rect",{x:"11.2",y:"11",fill:"#44ACDF",width:"16.8",height:"17.9"}),(0,e.createElement)("rect",{x:"31.5",y:"11",fill:"#44ACDF",width:"7.9",height:"17.9"}))),l?(0,e.createElement)("h2",null,(0,o.__)("Activate Child Theme","blocksy-companion")):(0,e.createElement)("h2",null,(0,o.__)("Install Child Theme","blocksy-companion")),!c&&(0,e.createElement)(e.Fragment,null,l?(0,e.createElement)("p",null,(0,o.__)("We strongly recommend to activate the child theme, this way you will have freedom to make changes without breaking the parent theme.","blocksy-companion")):(0,e.createElement)("p",null,(0,o.__)("We strongly recommend to install the child theme, this way you will have freedom to make changes without breaking the parent theme.","blocksy-companion")),(0,e.createElement)(K,{checked:n.child_theme,onChange:function(){return r(ce(ce({},n),{},{child_theme:!n.child_theme}))}},l?(0,o.__)("Activate Child Theme","blocksy-companion"):(0,o.__)("Install Child Theme","blocksy-companion"))),c&&(0,o.__)("You already have a child theme properly installed and activated. Move on.","blocksy-companion"),(0,e.createElement)("a",{href:"https://developer.wordpress.org/themes/advanced-topics/child-themes/",target:"_blank"},(0,o.__)("Learn more about child themes","blocksy-companion")))};function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fe=function(t){var n,r,a=t.demoConfiguration,c=t.setDemoConfiguration,l=t.style,s=(0,e.useContext)(We),u=s.currentDemo,m=s.demos_list,p=(s.pluginsStatus,s.setCurrentDemo,n=(u||"").split(":"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=p[0],f=(p[1],m.filter((function(e){return e.name===d||""})));return(0,e.createElement)("div",{style:l},f.length>1&&(0,e.createElement)("div",{className:"ct-demo-builder"},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"52",height:"40",viewBox:"0 0 52 40"},(0,e.createElement)("path",{fill:"#DBE7EE",d:"M0,38.1C0,39.1,0.9,40,1.8,40h39.3c1.1,0,1.8-0.9,1.8-1.9v-31H0V38.1z"}),(0,e.createElement)("path",{fill:"#CFDBE4",d:"M13.8,14.6v18.8h22.6V14.6H13.8zM34.8,31.9H15.4V16.1h19.4V31.9z"}),(0,e.createElement)("path",{fill:"#BDC8D7",d:"M13.1,15.3L13.1,15.3c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C13.7,16.8,13.1,16.1,13.1,15.3z M34.1,15.3L34.1,15.3c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C34.8,16.8,34.1,16.1,34.1,15.3z M13.1,32.7L13.1,32.7c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C13.7,34.1,13.1,33.5,13.1,32.7z M34.1,32.7L34.1,32.7c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C34.8,34.1,34.1,33.5,34.1,32.7z M23.3,15.3L23.3,15.3c0-0.8,0.6-1.4,1.4-1.4l0,0c0.8,0,1.4,0.6,1.4,1.4l0,0c0,0.8-0.6,1.4-1.4,1.4l0,0C24,16.8,23.3,16.1,23.3,15.3z M4.2,13.9h5.9v7.9H4.2V13.9zM4.2,23.3h5.9v2.9H4.2V23.3zM0,9V1.9C0,0.9,0.9,0,1.8,0h39.3c1.1,0,1.8,0.9,1.8,1.9V9H0z M42.9,35.4V10.9h-9.3v15.2L42.9,35.4zM7.2,27.6c-1.6,0-3,1.3-3,3c0,1.6,1.3,3,3,3s3-1.3,3-3C10.2,28.9,8.8,27.6,7.2,27.6z"}),(0,e.createElement)("path",{fill:"#0C7AB3",d:"M50,27.8H35.6c-1.1,0-2-0.9-2-2v-18c0-1.1,0.9-2,2-2H50c1.1,0,2,0.9,2,2v18C52,26.9,51.1,27.8,50,27.8z"}),(0,e.createElement)("path",{fill:"#44ACDF",d:"M49,17.5H36.8c-0.7,0-1.2-0.5-1.2-1.2V9.1c0-0.7,0.5-1.2,1.2-1.2H49c0.7,0,1.2,0.5,1.2,1.2v7.3C50.2,17,49.6,17.5,49,17.5z M50.2,20.4v-0.1c0-0.5-0.4-1-1-1H36.5c-0.5,0-1,0.4-1,1v0.1c0,0.5,0.4,1,1,1h12.7C49.7,21.4,50.2,20.9,50.2,20.4z M40.8,25.2h-4.3c-0.5,0-1-0.4-1-1v-0.1c0-0.5,0.4-1,1-1h4.3c0.5,0,1,0.4,1,1v0.1C41.7,24.8,41.3,25.2,40.8,25.2z M49.2,25.2h-4.3c-0.5,0-1-0.4-1-1v-0.1c0-0.5,0.4-1,1-1h4.3c0.5,0,1,0.4,1,1v0.1C50.2,24.8,49.7,25.2,49.2,25.2z"}),(0,e.createElement)("path",{fill:"#C8E6F4",d:"M47.4,11.2h-9.1c-0.2,0-0.5-0.2-0.5-0.4v0c0-0.2,0.2-0.4,0.5-0.4h9.1c0.2,0,0.5,0.2,0.5,0.4v0C47.8,11,47.6,11.2,47.4,11.2z M47.9,14.7L47.9,14.7c0-0.2-0.2-0.5-0.5-0.5h-9.1c-0.2,0-0.4,0.2-0.4,0.4v0c0,0.2,0.2,0.4,0.4,0.4h9.1C47.7,15.1,47.9,14.9,47.9,14.7z"}),(0,e.createElement)("path",{fill:"#FFFFFF",d:"M26.3,20.8h-2.9l-2.9,7.9H23l0.3-0.7h2.8l0.3,0.7h2.7L26.3,20.8z M23.9,25.8l0.8-2.2h0l0.8,2.2H23.9zM46.5,10.7c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5S46.5,9.9,46.5,10.7zM42.1,14.7c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S42.1,13.9,42.1,14.7z"}))),(0,e.createElement)("h2",null,(0,o.__)("Choose Page Builder","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("This starter site can be imported and used with one of these page builders. Please select your prefered one in order to continue.","blocksy-companion")),(0,e.createElement)("ul",{"data-count":f.length},f.sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0})).map((function(t){var n=t.builder,r=t.plugins;return(0,e.createElement)("li",{className:i()({active:n===(null===a.builder?f[0].builder:a.builder)}),onClick:function(){return c(me(me({},a),{},{builder:n,plugins:r.map((function(e){return{plugin:e,enabled:!0}}))}))}},(0,e.createElement)("figure",null,(0,e.createElement)("span",{className:i()("ct-checkbox",{active:n===(null===a.builder?f[0].builder:a.builder)})},(0,e.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},(0,e.createElement)("polyline",{className:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))),""===n&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},(0,e.createElement)("path",{d:"M122.5 35.5c-1.7-1.1-4-.7-5.1 1C110.8 46.4 96.8 47 96 47h-.3c-17.4 0-24 14.8-24.3 15.4-.8 1.9.1 4 1.9 4.8.5.2 1 .3 1.5.3 1.4 0 2.7-.8 3.4-2.2.1-.1 4.6-10.3 16.3-11v19c-.5 4.1-2.4 7.3-5.8 9.7-3.6 2.5-8.3 3.8-14.1 3.8-7 0-12.7-2.4-16.9-7.2-4.3-4.8-6.4-11.5-6.4-20.2l.1-20.9c.3-7.7 2.4-13.8 6.4-18.2 4.3-4.8 9.9-7.2 16.9-7.2 5.8 0 10.6 1.3 14.1 3.8 3.6 2.5 5.6 5.9 5.9 10.3v.5c0 2.5 2.1 4.6 4.6 4.6 2.5 0 4.6-2.1 4.6-4.6v-.5c-.7-6.6-3.7-11.9-9.1-15.8-5.4-4-12.2-5.9-20.4-5.9-9.7 0-17.6 3.2-23.5 9.6-5.6 6-8.6 13.8-8.9 23.5 0 .7-.1 1.3-.1 2l.1 18.8h-.1c0 10.7 3 19.2 9 25.5 6 6.4 13.8 9.6 23.5 9.6 8.2 0 14.9-1.9 20.4-5.9 5-3.6 7.9-8.4 8.9-14.3l.2-21c6.1-1.5 14.4-4.8 19.6-12.7 1.3-1.7.8-4-1-5.1z"})),"brizy"===n&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},(0,e.createElement)("path",{d:"M14.6 36.7L75 0l60.4 36.7L75 73.4 14.6 36.7zm21.7.9L75 61.2l38.8-23.6L75 14 36.3 37.6z",fill:"#181c25"}),(0,e.createElement)("path",{fill:"#a7b2dd",d:"M14.6 63.2l10.8-6.5L75 86.8l49.9-30 10.5 6.4L75 100z"})),"elementor"===n&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},(0,e.createElement)("path",{d:"M32.5 7.6h17v84.9h-17V7.6zm34 84.9h51v-17h-51v17zm0-34h51v-17h-51v17zm0-51v17h51v-17h-51z"}))),(0,e.createElement)("div",{className:"builder-name"},ee(n)||"Gutenberg"))})))))};function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=function(t){var n=t.demoConfiguration,r=t.setDemoConfiguration,a=(t.currentDemo,t.style);return(0,e.createElement)("div",{style:a},(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 40 40"},(0,e.createElement)("path",{d:"M25,22.67a5,5,0,0,1-10,0H0V36a3.33,3.33,0,0,0,3.33,3.33H36.67A3.33,3.33,0,0,0,40,36V22.67Z",transform:"translate(0 -0.67)",fill:"#bdc8d7"}),(0,e.createElement)("rect",{x:"2.5",y:"14",width:"35",height:"3",rx:"1.5",fill:"#0c7ab3"}),(0,e.createElement)("rect",{x:"5",y:"7",width:"30",height:"3",rx:"1.5",fill:"#3497d3"}),(0,e.createElement)("rect",{x:"7.5",width:"25",height:"3",rx:"1.5",fill:"#44acdf"}))),(0,e.createElement)("h2",null,(0,o.__)("Import Content","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("This will import posts, pages, comments, navigation menus, custom fields, terms and custom posts","blocksy-companion")),["options","widgets","content"].map((function(t){return(0,e.createElement)(K,{checked:n.content[t],onChange:function(){return r(be(be({},n),{},{content:be(be({},n.content),{},he({},t,!n.content[t]))}))},key:t},t.split("_").map((function(e){return e.replace(/^\w/,(function(e){return e.toUpperCase()}))})).join(" "))})),(0,e.createElement)("div",{className:"ct-demo-erase"},(0,e.createElement)(K,{checked:n.content.erase_content,onChange:function(){return r(be(be({},n),{},{content:be(be({},n.content),{},{erase_content:!n.content.erase_content})}))}},(0,e.createElement)("div",null,(0,o.__)("Clean Install","blocksy-companion"),(0,e.createElement)("i",null,(0,o.__)("This option will remove the previous imported content and will perform a fresh and clean install.","blocksy-companion"))))))},ge=function(){var t=(0,e.useContext)(L),n=t.home_url,r=t.customizer_url;return(0,e.createElement)("div",{className:"ct-install-success"},(0,e.createElement)("h2",null,(0,o.__)("Starter Site Imported Successfully","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Now you can view your website or start customizing it","blocksy-companion")),(0,e.createElement)("div",null,(0,e.createElement)("a",{href:r,className:"ct-button"},(0,o.__)("Customize","blocksy-companion")),(0,e.createElement)("a",{href:n,target:"_blank",className:"ct-button-primary"},(0,o.__)("View site","blocksy-companion"))))};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){we(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xe=function(e){e.preventDefault(),e.returnValue=""},Se=function(e){var t=e.demoConfiguration,n=e.pluginsStatus,r=e.is_child_theme,o=e.includeMetaSteps,a=[];return void 0!==o&&o&&a.push("register_current_demo"),t.child_theme&&(r||a.push("child_theme")),t.plugins.filter((function(e){var t=e.enabled,r=e.plugin;return!!t&&!n[r]})).length>0&&a.push("plugins"),t.content.erase_content&&a.push("erase_content"),t.content.options&&a.push("options"),t.content.widgets&&a.push("widgets"),t.content.content&&a.push("content"),a.push("install_finish"),a},Ce=function(e,t){var n=e.action;if("complete"===n)return"";if("import_install_child"===n)return(0,o.__)("copying child theme sources","blocksy-companion");if("import_activate_child"===n)return(0,o.__)("activating child theme","blocksy-companion");if("install_plugin"===n)return(0,o.sprintf)((0,o.__)("installing plugin %s","blocksy-companion"),ee(e.name)||e.name);if("activate_plugin"===n)return(0,o.sprintf)((0,o.__)("activating plugin %s","blocksy-companion"),ee(e.name)||e.name);if("download_demo_widgets"===n)return(0,o.__)("downloading demo widgets","blocksy-companion");if("apply_demo_widgets"===n)return(0,o.__)("installing demo widgets","blocksy-companion");if("download_demo_options"===n)return(0,o.__)("downloading demo options","blocksy-companion");if("import_mods_images"===n)return(0,o.__)("importing images from customizer","blocksy-companion");if("import_customizer_options"===n)return(0,o.__)("import customizer options","blocksy-companion");if("activate_required_extensions"===n)return(0,o.__)("activating required extensions","blocksy-companion");if("erase_previous_posts"===n)return(0,o.__)("removing previously installed posts","blocksy-companion");if("erase_previous_terms"===n)return(0,o.__)("removing previously installed taxonomies","blocksy-companion");if("erase_default_pages"===n)return(0,o.__)("removing default WordPress pages","blocksy-companion");if("erase_customizer_settings"===n)return(0,o.__)("resetting customizer options","blocksy-companion");if("erase_widgets_data"===n)return(0,o.__)("resetting widgets","blocksy-companion");if("content_installer_progress"===n){if(!e.kind)return"";var r=t.content.preliminary_data["".concat(e.kind,"_count")],a=t.content["".concat(e.kind,"_count")];return"".concat(Math.min(a,r)," of ").concat(r," ").concat({users:(0,o.__)("users","blocksy-companion"),term:(0,o.__)("terms","blocksy-companion"),media:(0,o.__)("images","blocksy-companion"),post:(0,o.__)("posts","blocksy-companion"),comment:(0,o.__)("comments","blocksy-companion")}[e.kind])}return""},je=function(t){var n=t.stepName,r=t.stepsDescriptors,a=t.lastMessage,i=t.progress;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 50 50"},(0,e.createElement)("path",{class:"g1",d:"M47,38.8c0.3-1,0.5-2,0.5-3.1c0-1.1-0.2-2.1-0.5-3.1l0.2-0.1l1.8-1.7l-1.8-3.1l-2.3,0.7l-0.2,0.1c-1.4-1.5-3.3-2.7-5.4-3.1V25l-0.6-2.4h-3.5L34.5,25v0.3c-2.1,0.5-4,1.6-5.4,3.1l-0.2-0.1l-2.3-0.7l-1.8,3.1l1.7,1.7l0.2,0.1c-0.3,1-0.5,2-0.5,3.1c0,1.1,0.2,2.1,0.5,3.1l-0.2,0.1l-1.8,1.7l1.8,3.1l2.3-0.7l0.2-0.1c1.4,1.5,3.3,2.7,5.4,3.1v0.3l0.6,2.4h3.5l0.6-2.4V46c2.1-0.5,4-1.6,5.4-3.1l0.2,0.1l2.3,0.7l1.8-3.1l-1.7-1.7L47,38.8z M36.9,41.5c-3.3,0-5.9-2.6-5.9-5.9s2.6-5.9,5.9-5.9s5.9,2.6,5.9,5.9S40.1,41.5,36.9,41.5z"}),(0,e.createElement)("path",{class:"g2",d:"M21.2,32.2c0.2-0.8,0.4-1.7,0.4-2.5c0-0.9-0.1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0,e.createElement)("p",null,(0,o.__)("Please be patient and don't refresh this page, the import process may take a while, this also depends on your server.","blocksy-companion")),(0,e.createElement)("div",{className:"ct-progress-info"},r[n].title,a&&Ce(a,r)?": ".concat(Ce(a,r)):"",(0,e.createElement)("span",null,Math.round(i),"%")),(0,e.createElement)("div",{style:{"--progress":"".concat(i,"%")},className:"ct-installer-progress"},(0,e.createElement)("div",null)))},De=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("i",{className:"ct-demo-icon"},(0,e.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 40 40"},(0,e.createElement)("path",{fill:"#BDC8D7",d:"M30.7,25.4L14.6,9.3c0.7-2.5,0-5.2-1.9-7.2c-2.4-2.3-6-2.7-8.8-1.3l4.5,4.5L7.9,7.9L5.3,8.4L0.8,3.9c-1.5,2.8-1,6.4,1.3,8.7c2,2,4.7,2.6,7.2,1.9l16.1,16.1c-0.7,2.5,0,5.2,1.9,7.2c2.3,2.3,5.9,2.8,8.7,1.3l-4.5-4.5L32,32l2.6-0.5l4.5,4.5c1.5-2.8,1-6.4-1.3-8.7C35.9,25.4,33.1,24.7,30.7,25.4z"}),(0,e.createElement)("polygon",{fill:"#44ACDF",points:"34.6,11.3 39.8,3.7 36.3,0.2 28.7,5.4 28.7,7.8 11.8,24.7 15.3,28.2 32.2,11.3 "}),(0,e.createElement)("path",{fill:"#0C7AB3",d:"M18.4,27.5l-5.9-5.9c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l0,0L0.7,33.5c-0.7,0.7-0.7,1.7,0,2.3l3.5,3.5c0.7,0.7,1.7,0.7,2.3,0L17,28.9l0,0c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3C18.8,28.5,18.8,27.9,18.4,27.5z"}))),(0,e.createElement)("h2",null,(0,o.__)("Can't Import Starter Site","blocksy-companion")),(0,e.createElement)("p",null,(0,o.__)("Unfortunately, your hosting configuration doesn't meet the minimum requirements for importing a starter site.","blocksy-companion")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/docs/troubleshooting/starter-site-import-stuck-at-xx/",className:"ct-demo-btn",target:"_blank"},"More Information"))},Ae=function(t){var n=t.demoConfiguration,r=t.style,a=function(t){var n=(0,e.useContext)(We),r=n.demos_list,a=n.currentDemo,i=(n.setCurrentDemo,n.setInstallerBlockingReleased),c=n.setCurrentlyInstalledDemo,l=n.pluginsStatus,s=(0,e.useContext)(L),u=(s.home_url,s.customizer_url,s.is_child_theme),m=(s.Link,ke((0,e.useState)(!1),2)),p=m[0],d=m[1],f=ke((0,e.useState)(!1),2),y=f[0],b=f[1],h=ke((0,e.useState)(0),2),v=h[0],g=h[1],_=ke((a||"").split(":"),2),E=_[0],w=(_[1],r.filter((function(e){return e.name===E})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0}))),k=t.plugins.filter((function(e){var t=e.enabled,n=e.plugin;return t&&!l[n]})).map((function(e){return e.plugin})),O=ke((0,e.useState)({register_current_demo:{title:(0,o.__)("Register demo","blocksy-companion"),query_string:"action=blocksy_demo_register_current_demo&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:1},child_theme:{title:(0,o.__)("Child theme","blocksy-companion"),query_string:"action=blocksy_demo_install_child_theme",expected_signals:3},plugins:{title:(0,o.__)("Required plugins","blocksy-companion"),query_string:"action=blocksy_demo_activate_plugins&plugins=".concat(k.join(":")),expected_signals:2*k.length+1},fake_step:{title:(0,o.__)("Fake Required plugins","blocksy-companion"),query_string:"action=blocksy_demo_fake_step",expected_signals:6},erase_content:{title:(0,o.__)("Erase content","blocksy-companion"),query_string:"action=blocksy_demo_erase_content&wp_customize=on",expected_signals:6},install_finish:{title:(0,o.__)("Final touches","blocksy-companion"),query_string:"action=blocksy_demo_install_finish&wp_customize=on",expected_signals:1},options:{title:(0,o.__)("Import options","blocksy-companion"),query_string:"action=blocksy_demo_install_options&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:5},widgets:{title:(0,o.__)("Import widgets","blocksy-companion"),query_string:"action=blocksy_demo_install_widgets&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:3},content:{title:(0,o.__)("Import content","blocksy-companion"),query_string:"action=blocksy_demo_install_content&wp_customize=on&demo_name=".concat(a,":").concat(null===t.builder?w[0].builder:t.builder),expected_signals:50}}),2),x=O[0],S=O[1],C=Se({demoConfiguration:t,pluginsStatus:l,is_child_theme:u,includeMetaSteps:!0}),j=C[v],D=ke((0,e.useState)(0),2),A=D[0],P=D[1],M=ke((0,e.useState)(null),2),N=M[0],z=M[1],T=(0,e.useRef)(A),I=(0,e.useRef)(x);(0,e.useEffect)((function(){T.current=A,I.current=x}));var B=function(e){return"content"===e?1===C.length?100:50:C.indexOf("content")>-1?50/(C.length-1):100/C.length},R=C.reduce((function(e,t,n){return n>=v?e:e+B(t)}),0)+100*A/x[j].expected_signals*(B(j)/100),F=function(){var e=x[j],t=new EventSource("".concat(ctDashboardLocalizations.ajax_url,"?").concat(e.query_string));t.onerror=function(e){b(!0)},t.onmessage=function(e){var n=JSON.parse(e.data);if(P(T.current+1),"content_installer_progress"===n.action){var r=n.kind;r&&(z(n),S(Ee(Ee({},I.current),{},{content:Ee(Ee({},I.current.content),{},we({},"".concat(r,"_count"),I.current.content["".concat(r,"_count")]+1))})))}else z(n);if("get_content_preliminary_data"===n.action){var o=n.data,a=(o.comment_count,o.media_count,o.post_count,o.term_count,o.users,Ee(Ee({},n.data),{},{term_count:n.data.terms.length,post_count:n.data.posts.filter((function(e){return"attachment"!==e.post_type})).length,media_count:n.data.posts.filter((function(e){return"attachment"===e.post_type})).length,comment_count:n.data.posts.reduce((function(e,t){return e+(t.comments||[]).length}),0),users_count:Object.keys(n.data.authors).length}));S(Ee(Ee({},I.current),{},{content:Ee(Ee({},I.current.content),{},{preliminary_data:a,comment_count:0,media_count:0,post_count:0,term_count:0,users_count:0,expected_signals:a.comment_count+a.media_count+a.post_count+a.term_count+a.users_count+3})}))}if("complete"===n.action){if(t&&t.close&&t.close(),v===C.length-1)return d(!0),i(!0),void window.removeEventListener("beforeunload",xe);z(null),P(0),g(Math.min(C.length-1,v+1))}}};return(0,e.useEffect)((function(){p||(z(null),P(0),"fake_step"===j?(console.log("here we go delay before fake_step"),setTimeout((function(){F()}),2e3)):F())}),[j]),(0,e.useEffect)((function(){return window.addEventListener("beforeunload",xe),c({demo:"".concat(a,":").concat(t.builder)}),function(){window.removeEventListener("beforeunload",xe)}}),[]),{isCompleted:p,isError:y,stepName:j,stepsDescriptors:x,lastMessage:N,progress:R}}(n),i=a.isCompleted,c=a.isError,l=a.stepName,s=a.stepsDescriptors,u=a.lastMessage,m=a.progress,p=i?"complete":c?"error":"progress";return(0,e.createElement)("div",{className:"ct-demo-install",style:r},(0,e.createElement)(j.Transition,{initial:!0,items:p,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return function(n){return(0,e.createElement)("div",{style:n},"complete"===t&&(0,e.createElement)(ge,null),"error"===t&&(0,e.createElement)(De,null),"progress"===t&&(0,e.createElement)(je,{stepName:l,stepsDescriptors:s,lastMessage:u,progress:m}))}})))};function Pe(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Me(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||Ne(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){if(e){if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ze=function(t){t.location,t.navigate;var n=Me((0,e.useState)(!0),2),r=(n[0],n[1],(0,e.useContext)(We)),a=r.installerBlockingReleased,c=r.demos_list,l=r.currentDemo,s=r.pluginsStatus,u=r.currentlyInstalledDemo,m=r.setCurrentDemo,p=(0,e.useContext)(L).is_child_theme,d=Me((0,e.useState)(u),2),f=d[0],y=d[1],b=Me((0,e.useState)({builder:"",child_theme:!1,plugins:[],content:{options:!0,widgets:!0,content:!0,erase_content:!0}}),2),h=b[0],v=b[1],g=Me((0,e.useState)(0),2),_=g[0],E=g[1],w=Me((l||"").split(":"),2),k=w[0],O=(w[1],["modify_demo","child_theme","builder","plugins","content","installer"].filter((function(e){if(!l)return!1;if("modify_demo"===e){if(!f)return!1;if(-1===f.demo.indexOf(k))return!1}if("child_theme"===e&&p)return!1;var t=c.filter((function(e){return e.name===k})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0}));return("plugins"!==e||0!==t.reduce((function(e,t){return[].concat(Pe(e),Pe(t.plugins||[]))}),[]).filter((function(e){return!s[e]})).length)&&("builder"!==e||t.length>1)}))),x=O[_];return(0,e.useEffect)((function(){if(k&&!(l.indexOf(":hide")>-1)){var e=c.filter((function(e){return e.name===k})).sort((function(e,t){return e.builder<t.builder?-1:e.builder>t.builder?1:0}));E(0),y(u),v({builder:1===e.length?e[0].builder:null,child_theme:!1,plugins:e[0].plugins.map((function(e){return{plugin:e,enabled:!0}})),content:{options:!0,widgets:!0,content:!0,erase_content:!0}})}}),[l]),(0,e.createElement)(A,{items:l,isVisible:function(e){return e&&-1===e.indexOf(":hide")},className:i()("ct-demo-modal",{"ct-demo-installer":"installer"===x||"modify_demo"===x}),onDismiss:function(){("installer"!==x||a)&&m("".concat(k,":hide"))},render:function(){return(0,e.createElement)("div",{className:"ct-modal-content ct-demo-step-container"},(0,e.createElement)("div",{className:"ct-current-step"},(0,e.createElement)(j.Transition,{items:x,from:{opacity:0},enter:{opacity:1},leave:{opacity:0},initial:!1,config:function(e,t){return"leave"===t?{duration:150}:{delay:150,duration:150}}},(function(t){return function(n){return(0,e.createElement)(e.Fragment,null,"modify_demo"===t&&(0,e.createElement)(ae,{demoConfiguration:h,nextStep:function(){E(Math.min(_+1,O.length-1))},style:n}),"child_theme"===t&&(0,e.createElement)(se,{style:n,demoConfiguration:h,setDemoConfiguration:v}),"plugins"===t&&(0,e.createElement)(te,{demoConfiguration:h,style:n,setDemoConfiguration:v}),"builder"===t&&(0,e.createElement)(fe,{style:n,demoConfiguration:h,setDemoConfiguration:v}),"content"===t&&(0,e.createElement)(ve,{style:n,demoConfiguration:h,setDemoConfiguration:v}),"installer"===t&&(0,e.createElement)(Ae,{style:n,demoConfiguration:h}))}}))),"installer"!==x&&"modify_demo"!==x&&(0,e.createElement)("div",{className:"ct-demo-step-controls"},_>0&&(0,e.createElement)("button",{className:"ct-demo-btn demo-back-btn",onClick:function(){E(Math.max(_-1,0))}},(0,o.__)("Back","blocksy-companion")),O.length>2&&(0,e.createElement)("ul",{className:"ct-steps-pills"},O.map((function(t,n){return n===O.length-1?null:(0,e.createElement)("li",{className:i()({active:t===x}),key:t},n+1)}))),(0,e.createElement)("button",{className:"ct-demo-btn demo-main-btn",disabled:"content"===x&&0===Se({demoConfiguration:h,pluginsStatus:s,is_child_theme:p}).length,onClick:function(){E(Math.min(_+1,O.length-1))}},"content"===x?(0,o.__)("Install","blocksy-companion"):(0,o.__)("Next","blocksy-companion"))))}})},Te=n(162),Ie=n.n(Te);function Be(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||Fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){if(e){if("string"==typeof e)return Ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ue(e,t):void 0}}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ve=function(){var t=Re((0,e.useState)(!1),2),n=t[0],r=t[1],a=Re((0,e.useState)(!1),2),i=a[0],c=a[1],l=Re((0,e.useState)(""),2),s=l[0],u=l[1],m=Re((0,e.useState)(""),2),p=m[0],d=m[1],f=Re((0,e.useState)([]),2),y=f[0],b=f[1],h=Re((0,e.useState)(""),2),v=h[0],g=h[1],_=Re((0,e.useState)(!1),2),E=_[0],w=_[1],k=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,o,a,i,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(!0),(t=new FormData).append("action","blocksy_demo_export"),t.append("name",s),t.append("is_pro",E),t.append("url",v),t.append("builder",p),t.append("plugins",y.join(",")),t.append("wp_customize","on"),e.prev=9,e.next=12,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 12:if(200!==(n=e.sent).status){e.next=20;break}return e.next=16,n.json();case 16:o=e.sent,a=o.success,i=o.data,a&&(c=new Blob([JSON.stringify(i.demo)],{type:"text/plain;charset=utf-8"}),Ie().saveAs(c,"".concat(s,".json")));case 20:e.next=24;break;case 22:e.prev=22,e.t0=e.catch(9);case 24:r(!1);case 25:case"end":return e.stop()}}),e,null,[[9,22]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Be(a,r,o,i,c,"next",e)}function c(e){Be(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return ct_localizations.is_dev_mode?(0,e.createElement)("div",{className:"ct-export"},(0,e.createElement)("button",{className:"ct-button",onClick:function(e){c(!0)}},(0,o.__)("Site export")),(0,e.createElement)(A,{items:i,className:"ct-site-export-modal",onDismiss:function(){return c(!1)},render:function(){return(0,e.createElement)("div",{className:"ct-site-export"},(0,e.createElement)("label",null,(0,o.__)("Name","blocksy-companion"),(0,e.createElement)("input",{type:"text",placeholder:(0,o.__)("Name","blocksy-companion"),value:s,onChange:function(e){var t=e.target.value;return u(t)}})),(0,e.createElement)("label",null,(0,o.__)("Preview URL","blocksy-companion"),(0,e.createElement)("input",{type:"text",placeholder:(0,o.__)("Preview URL","blocksy-companion"),value:v,onChange:function(e){var t=e.target.value;return g(t)}})),(0,e.createElement)("label",null,(0,o.__)("PRO","blocksy-companion"),(0,e.createElement)("input",{type:"checkbox",value:E,onChange:function(e){return e.target.value,w(!E)}})),(0,e.createElement)("label",null,(0,o.__)("Builder","blocksy-companion"),(0,e.createElement)("input",{type:"text",placeholder:(0,o.__)("Builder","blocksy-companion"),value:p,onChange:function(e){var t=e.target.value;return d(t)}})),(0,e.createElement)("h3",null,"Required plugins"),(0,e.createElement)("div",{className:"ct-bundled-plugins-list ct-modal-scroll"},Object.keys({"stackable-ultimate-gutenberg-blocks":"Stackable - Gutenberg Blocks","wpforms-lite":"WPForms - Contact Form",woocommerce:"WooCommerce",elementor:"Elementor",brizy:"Brizy",getwid:"Getwid","simply-gallery-block":"SimpLy Gallery Block & Lightbox","recipe-card-blocks-by-wpzoom":"Recipe Card Blocks by WPZOOM","map-block-gutenberg":"Map Block for Google Maps","mb-custom-post-type":"MB Custom Post Types & Custom Taxonomies",leadin:"HubSpot","block-slider":"Block Slider","ht-slider-for-elementor":"HT Slider For Elementor","modula-best-grid-gallery":"Modula - Image Gallery"}).map((function(t){return(0,e.createElement)("label",{tabindex:"0",onClick:function(e){e.preventDefault(),b((function(e){return e.includes(t)?e.filter((function(e){return e!==t})):[].concat(function(e){if(Array.isArray(e))return Ue(e)}(n=e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(n)||Fe(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t]);var n}))}},(0,e.createElement)("span",null,{"stackable-ultimate-gutenberg-blocks":"Stackable - Gutenberg Blocks","wpforms-lite":"WPForms - Contact Form",woocommerce:"WooCommerce",elementor:"Elementor",brizy:"Brizy",getwid:"Getwid","simply-gallery-block":"SimpLy Gallery Block & Lightbox","recipe-card-blocks-by-wpzoom":"Recipe Card Blocks by WPZOOM","map-block-gutenberg":"Map Block for Google Maps","mb-custom-post-type":"MB Custom Post Types & Custom Taxonomies",leadin:"HubSpot","block-slider":"Block Slider","ht-slider-for-elementor":"HT Slider For Elementor","modula-best-grid-gallery":"Modula - Image Gallery"}[t]),(0,e.createElement)("input",{type:"checkbox",checked:y.indexOf(t)>-1,onChange:function(e){e.target.checked}}))}))),(0,e.createElement)("button",{className:"ct-button",disabled:n,onClick:function(){return k()}},n?(0,o.__)("Loading...","blocksy-companion"):(0,o.__)("Export site","blocksy-companion")))}})):null};function He(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function qe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ge(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var We=(0,e.createContext)({demos:[]}),Ze=null,$e=null,Ke=function(t){t.children,t.path,t.location;var n=qe((0,e.useState)(!Ze),2),r=n[0],a=n[1],i=qe((0,e.useState)(Ze||[]),2),c=i[0],l=i[1],s=qe((0,e.useState)($e||{}),2),u=s[0],m=s[1],p=qe((0,e.useState)(null),2),d=p[0],f=p[1],y=qe((0,e.useState)(null),2),b=y[0],h=y[1],v=qe((0,e.useState)(!1),2),g=v[0],_=v[1],E=qe((0,e.useState)({builder:""}),2),w=(E[0],E[1],qe((0,e.useState)(!1),2)),k=w[0],O=w[1],x=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,o,i,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.length>0&&void 0!==c[0]&&c[0]&&a(!0),(t=new FormData).append("action","blocksy_demo_list"),e.prev=4,e.next=7,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 7:if(200!==(n=e.sent).status){e.next=15;break}return e.next=11,n.json();case 11:r=e.sent,o=r.success,i=r.data,o&&(l(i.demos),m(i.active_plugins),h(i.current_installed_demo),_(i.demo_error),$e=i.active_plugins,Ze=i.demos,i.demo_error);case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(4);case 19:a(!1);case 20:case"end":return e.stop()}}),e,null,[[4,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){He(a,r,o,i,c,"next",e)}function c(e){He(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return(0,e.useEffect)((function(){x(!Ze)}),[]),(0,e.createElement)("div",{className:"ct-demos-list-container"},g&&(0,e.createElement)("div",{className:"ct-demo-notification",dangerouslySetInnerHTML:{__html:g}}),(0,e.createElement)(j.Transition,{items:r,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return t?function(t){return(0,e.createElement)(j.animated.p,{style:t,className:"ct-loading-text"},(0,e.createElement)("span",null),(0,o.__)("Loading Starter Sites...","blocksy-companion"))}:0===c.length?function(t){return(0,e.createElement)(j.animated.div,{style:t},(0,e.createElement)("div",{className:"ct-demo-notification",dangerouslySetInnerHTML:{__html:(0,o.__)("The connection to our <b>demo.creativethemes.com</b> server didn't worked. This connection is required for importing the starter sites from our demo content server. All you have to do is to contact your hosting provider and ask them to white list our demo server address.","blocksy-companion")}}),(0,e.createElement)(R,null))}:function(t){return(0,e.createElement)(j.animated.div,{style:t},(0,e.createElement)(e.Fragment,null,(0,e.createElement)(We.Provider,{value:{demo_error:g,demos_list:c.filter((function(e){return!e.dev||ct_localizations.is_dev_mode})),currentDemo:d,pluginsStatus:u,installerBlockingReleased:k,setInstallerBlockingReleased:O,setCurrentDemo:f,currentlyInstalledDemo:b,setCurrentlyInstalledDemo:h}},(0,e.createElement)(ne,null),(0,e.createElement)(ze,null),(0,e.createElement)(Ve,null)),(0,e.createElement)(R,null)))}})))};r().on("ct:dashboard:routes",(function(t){t.push({Component:function(){return(0,e.createElement)($,null)},path:"/extensions"}),"yes"===ctDashboardLocalizations.plugin_data.has_demo_install&&t.push({Component:function(t){return(0,e.createElement)(Ke,t)},path:"/demos"})})),r().on("ct:dashboard:navigation-links",(function(e){"yes"===ctDashboardLocalizations.plugin_data.has_demo_install&&e.push({text:(0,o.__)("Starter Sites","blocksy-companion"),path:"demos",getProps:function(e){var t=e.isPartiallyCurrent;return e.isCurrent,t?{"aria-current":"page"}:{}}}),e.push({text:(0,o.__)("Extensions","blocksy-companion"),path:"/extensions"})})),r().on("ct:dashboard:heading:after",(function(t){ctDashboardLocalizations.plugin_data.is_pro&&(t.content=(0,e.createElement)("span",null,"PRO"))}))}()}();
static/bundle/dashboard.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
6
  */
7
 
8
- .ct-mailchimp-modal{--modal-min-height: 300px}.ct-newsletter-select-provider{padding-top:1.5em;border-top:1px dashed #eee}.ct-newsletter-select-provider p{margin-top:1em;font-style:italic}.mailchimp-credentials{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:10px;margin-top:1.5em;padding-top:1.5em;border-top:1px dashed #eee}.mailchimp-credentials section{display:flex;flex-direction:column;min-width:0}.mailchimp-credentials label{display:block;font-size:12px;margin-bottom:3px;opacity:.7}.mailchimp-credentials input{--input-height: 35px}.ct-extensions-sourse{display:flex;justify-content:center;margin:0 0 40px 0}.ct-extensions-sourse li{display:flex;align-items:center;height:38px;font-weight:500;padding:0 30px;margin:0;cursor:pointer;border:1px solid rgba(226,230,235,.7)}.ct-extensions-sourse li.active{color:#fff;background:var(--accentColor);border-color:var(--accentColor)}.ct-extensions-sourse li:hover:not(.active){color:var(--accentColor)}.ct-extensions-sourse li:first-child{border-inline-end:0;border-radius:4px 0 0 4px}.ct-extensions-sourse li:last-child{border-inline-start:0;border-radius:0 4px 4px 0}.ct-config-btn{margin-inline-end:auto;margin-inline-start:10px}.ct-config-btn:before{font-family:dashicons;content:"";font-size:14px;margin-right:5px;opacity:.9}.ct-minimal-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;-webkit-appearance:none;appearance:none;border:none;padding:0;color:inherit;cursor:pointer;color:#c9cfd6;background:rgba(0,0,0,0);transition:color .2s ease}.ct-minimal-button:hover{color:#9ca9b9}.ct-minimal-button:focus{outline:none}.ct-minimal-button svg{fill:currentColor}.ct-option-info{display:flex;align-items:center;justify-content:center;font-style:normal;line-height:normal;margin-left:auto}.ct-option-info:before{font-family:dashicons;content:"";font-size:16px;line-height:16px}.ct-demos-list-container ul{display:grid;grid-column-gap:30px;grid-row-gap:30px;margin:0;padding:0;list-style:none}@media(min-width: 783px){.ct-demos-list-container ul{grid-template-columns:repeat(3, 1fr)}}.ct-demos-list-container ul li{display:flex;flex-direction:column;margin:0;box-sizing:border-box;box-shadow:0 2px 5px rgba(143,163,184,.12)}.ct-demos-list-container ul li figure{position:relative;aspect-ratio:4/3;margin:0;overflow:hidden;border-radius:3px 3px 0 0}.ct-demos-list-container ul li figure img{max-width:100%;aspect-ratio:inherit}.ct-demos-list-container ul li figure section{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;top:0;left:0;right:0;bottom:0;opacity:0;background:rgba(36,41,45,.9);transition:opacity .2s ease}.ct-demos-list-container ul li figure section h3{font-size:15px;color:#fff !important;margin:0 0 25px 0}.ct-demos-list-container ul li figure section div{display:flex}.ct-demos-list-container ul li figure section span{padding:8px 12px;display:block;font-size:17px;font-weight:500;color:#fff;border-radius:3px;border:2px solid rgba(255,255,255,.5);background:rgba(36,41,45,.4)}.ct-demos-list-container ul li figure section span:not(:last-child){margin-right:15px}.ct-demos-list-container ul li:hover figure>section{opacity:1}.ct-demos-list-container ul li.ct-is-pro figure{position:relative}.ct-demos-list-container ul li.ct-is-pro figure a{position:absolute;z-index:1;content:"PRO";top:0;right:0;font-size:13px;font-weight:700;letter-spacing:.03em;color:#a1680d;text-decoration:none;padding:5px 15px;margin:25px;background:#ffc568;border-radius:3px;box-shadow:0 5px 8px 0 rgba(234,157,33,.3)}.ct-demo-actions{flex:1;display:flex;align-items:center;padding:20px;border-radius:0 0 3px 3px;border:1px solid rgba(226,230,235,.7);background:rgba(235,237,241,.2)}@media(max-width: 549px){.ct-demo-actions{flex-direction:column}}@media(min-width: 550px){.ct-demo-actions{justify-content:space-between}}.ct-demo-actions h4{margin:0}@media(max-width: 549px){.ct-demo-actions h4{margin-bottom:20px}}.ct-demo-actions>div{display:flex;gap:15px}.ct-demo-actions button[disabled]{opacity:.3;-webkit-user-select:none;user-select:none;pointer-events:none}.ct-demo-modal{--modal-width: 500px;height:100%;transition:max-height .2s ease}.ct-demo-modal:not(.ct-demo-installer){--modal-max-height: 620px}.ct-demo-modal.ct-demo-installer{--modal-max-height: 380px}.ct-demo-step-container{height:100%;display:flex;flex-direction:column;color:#687c93;text-align:center}.ct-demo-step-container>*:first-child{flex:1;position:relative}.ct-demo-step-container>*:first-child>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-step-container .ct-demo-icon{display:flex;align-items:center;justify-content:center;width:85px;height:85px;margin:10px auto 20px auto;background:#f3f6f8;border-radius:100%}.ct-demo-step-container h2{text-align:center;font-size:17px;font-weight:600;color:#3e5667;margin-top:0}.ct-demo-step-controls{position:relative;width:100%;height:40px}.ct-demo-step-controls button{position:absolute;z-index:2;top:0}.ct-demo-step-controls button.demo-back-btn{left:0}.ct-demo-step-controls button.demo-main-btn{right:0}.ct-steps-pills{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;top:0;left:0;right:0;bottom:0;width:200px;margin:0;padding:0;list-style:none;margin:0 auto}.ct-steps-pills li{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;font-size:0}.ct-steps-pills li:before{content:"";width:12px;height:12px;border-radius:100%;box-shadow:inset 0 0 0 2px rgba(104,124,147,.8);transition:box-shadow .2s ease,transform .2s ease}.ct-steps-pills li:not(.active):before{transform:scale3d(0.5, 0.5, 1);box-shadow:inset 0 0 0 10px rgba(104,124,147,.8)}.ct-demo-child .ct-checkbox-container{max-width:250px;margin:25px auto 0 auto;padding-left:15px;padding-right:15px;border-radius:4px;border:1px solid rgba(179,189,201,.3)}.ct-demo-child a{display:block;color:#687c93;font-weight:500;text-decoration:none;margin-top:25px}.ct-demo-child a:hover{color:#0073aa}.ct-demo-builder .ct-demo-icon svg{margin-left:10px}.ct-demo-builder ul{display:grid;margin:0;padding:0;list-style:none;margin:40px auto 0 auto}.ct-demo-builder ul[data-count="2"]{max-width:70%;grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}.ct-demo-builder ul[data-count="3"]{grid-template-columns:repeat(3, 1fr);grid-column-gap:20px}.ct-demo-builder ul li{margin-bottom:0;cursor:pointer}.ct-demo-builder ul li figure{position:relative;display:flex;align-items:center;justify-content:center;min-height:100px;border:2px solid #e9ecee;border-radius:5px;margin:0;font-weight:500;transition:border-color .12s cubic-bezier(0.455, 0.03, 0.515, 0.955),box-shadow .12s cubic-bezier(0.455, 0.03, 0.515, 0.955)}.ct-demo-builder ul li figure>svg{width:47%}.ct-demo-builder ul li .builder-name{font-weight:500;color:#3e5667;margin-top:15px}.ct-demo-builder ul li:hover figure{border-color:var(--accentColor)}.ct-demo-builder ul li.active figure{border-color:var(--accentColor);box-shadow:0 0 0 1px var(--accentColor)}.ct-demo-builder ul li .ct-checkbox{--checkMarkColor: #fff;--background: rgba(179, 189, 201, 0.8);--backgroundActive: var(--accentColor);position:absolute;top:0px;right:0px}.ct-demo-builder ul li .ct-checkbox:before{width:22px !important;height:22px !important;border-radius:0px 3px 0px 5px}.ct-demo-builder ul li .ct-checkbox:not(.active):before{opacity:0}.ct-demo-plugins label{margin:0 auto}.ct-active-plugin{display:flex;align-items:center;position:relative;text-align:left;padding:10px 0}.ct-active-plugin span{display:flex;align-items:center;justify-content:center;position:absolute;right:-2px;width:22px;height:22px;border-radius:100%;box-sizing:border-box;background:rgba(179,189,201,.3)}.ct-active-plugin span:before,.ct-active-plugin span:after{position:absolute;content:"";width:2px;border-radius:2px;background:rgba(104,124,147,.6)}.ct-active-plugin span:before{top:10px;left:10px;height:5px;transform:rotate(-45deg);transform-origin:bottom center}.ct-active-plugin span:after{height:9px;left:9px;transform:rotate(40deg);transform-origin:bottom center}.ct-demo-erase{margin-top:10px;padding-top:10px;padding-bottom:20px;text-align:left;font-weight:600;border-top:1px dashed rgba(179,189,201,.5);border-bottom:1px dashed rgba(179,189,201,.5)}.ct-demo-erase .ct-checkbox-container{align-items:flex-start;padding-bottom:0}.ct-demo-erase i{display:block;width:90%;font-size:13px;margin-top:8px;opacity:.8;font-weight:400;font-style:normal}.ct-export{text-align:center;margin-top:50px}.ct-site-export{display:flex;flex-direction:column;max-height:calc(var(--modal-max-height) - var(--modal-padding)*2)}.ct-site-export label{display:flex;justify-content:space-between;padding:10px 0}.ct-site-export input[type=checkbox]{margin:0}.ct-site-export textarea,.ct-site-export input[type=text]{width:60%}.ct-site-export textarea{min-height:80px}.ct-site-export button{margin-top:20px}.ct-bundled-plugins-list{display:grid;grid-template-columns:repeat(2, 1fr);gap:15px}.ct-bundled-plugins-list label{gap:10px;padding:10px;border-radius:3px;background:rgba(0,0,0,.02)}.ct-demo-installer .close-button{opacity:0 !important}.ct-demo-install{position:relative}.ct-demo-install>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-install svg path{transform-origin:50% 50%;transform-box:fill-box;animation-name:spin;animation-iteration-count:infinite;animation-timing-function:linear}.ct-demo-install .g1{fill:#44acdf;animation-duration:5.5s;animation-direction:reverse}.ct-demo-install .g2{fill:#3497d3;animation-duration:4.5s}.ct-demo-install .g3{fill:#0c7ab3;animation-duration:4s}.ct-installer-progress{width:100%;border-radius:5px;background:#f3f6f8;box-sizing:border-box}.ct-installer-progress div{width:var(--progress);height:4px;border-radius:inherit;background:var(--accentColor);transition:width .3s ease}.ct-progress-info{display:flex;justify-content:space-between;margin-top:30px;margin-bottom:15px;font-size:13px;opacity:.8}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ct-install-success{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.ct-install-success div{margin-top:10px}.ct-install-success a:first-child{margin-right:15px}.ct-modify-actions{margin-top:50px}.ct-modify-actions>*:not(:last-child){margin-right:15px}.ct-modify-actions .demo-remove{--ct-buttonHoverColor: #e04f4f}#ct-dashboard .ct-demo-notification{position:relative;padding:15px 20px 15px 55px;margin-bottom:40px;color:#0072aa;line-height:1.5;border:2px solid rgba(0,114,170,.3);background:rgba(0,114,170,.1);border-radius:5px}#ct-dashboard .ct-demo-notification:before{font-family:dashicons;content:"";font-size:20px;position:absolute;top:13px;left:20px;color:rgba(0,114,170,.8)}#ct-dashboard .ct-demo-notification b{font-weight:700}.ct-demos-list{display:flex;flex-direction:column}.ct-demos-list .ct-single-demo img{max-width:100px}.ct-demo-btn{display:inline-flex;align-items:center;font-size:15px;font-weight:600;letter-spacing:.03em;color:#687c93;height:40px;border:none;cursor:pointer;padding:0 18px;text-decoration:none;border-radius:4px;background:#f3f6f8;transition:background .2s ease color .2s ease}.ct-demo-btn:focus{outline:none}.ct-demo-btn:hover{color:#fff;background:var(--ct-buttonHoverColor, var(--accentColor))}.ct-onboarding-modal{--modal-width: 500px;--modal-min-height: 360px;text-align:center}.ct-onboarding-modal .close-button{display:none}.ct-onboarding-modal svg{width:55px;height:55px;margin:0 auto 25px auto}.ct-onboarding-modal h2{color:#3e5667}.ct-onboarding-modal button{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-beta-consent{margin-top:60px;border-radius:3px;text-align:center;color:#fff}@media(max-width: 782px){.ct-beta-consent{padding:10%}}@media(min-width: 783px){.ct-beta-consent{padding:50px}}.ct-beta-consent h2{display:flex;align-items:center;justify-content:center;color:#fff !important;margin-top:0;cursor:pointer}.ct-beta-consent h2 span{display:flex;font-size:15px;font-weight:500;cursor:pointer}.ct-beta-consent h2 .ct-option-switch{margin-inline-start:15px}.ct-beta-consent h2 .ct-option-switch:not(.ct-active){border-color:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active)>span{background:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active):after{border-color:#fff}.ct-beta-consent+.ct-support-container{margin-top:50px !important}.ct-beta-consent{background-color:#32373c;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%234f5660' fill-opacity='0.2' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16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 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");background-size:250px;background-position:0 5px}.ct-beta-updates-consent{--modal-width: 450px;--modal-min-height: 330px;--modal-padding: 45px;text-align:center}.ct-beta-updates-consent .ct-modal-content p{margin-bottom:1.2em}.ct-freemius-optin-message{position:relative;text-align:center;border-radius:3px;background:#f5f7f9}@media(max-width: 782px){.ct-freemius-optin-message{padding:50px 10% 10% 10%}}@media(min-width: 783px){.ct-freemius-optin-message{padding:60px 50px 50px 50px}}.ct-freemius-optin-message h2{margin-top:0}.ct-freemius-optin-message i{display:flex;align-items:center;justify-content:center;position:absolute;top:-25px;left:0;right:0;margin:0 auto;width:50px;height:50px;background:#fff;border-radius:100%;color:#0591c9;border:2px solid #deecf3}.ct-freemius-optin-message i svg{animation:ring-shake 5s ease-in-out infinite;transform-origin:50% 0%}.ct-freemius-optin-message p{max-width:600px;margin:0 auto 20px auto !important}.ct-freemius-optin-message .ct-button-primary{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-freemius-optin-message+.ct-first-steps-container{margin-top:55px;padding-top:50px;border-top:1px solid rgba(143,163,184,.15)}@keyframes ring-shake{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}100%{transform:rotate(0deg)}}.blocksy-fs-optin-dashboard #wpwrap,.blocksy-fs-optin-dashboard #wpcontent,.blocksy-fs-optin-dashboard #wpbody{height:100%;min-height:100%}.blocksy-fs-optin-dashboard #wpbody-content{height:100%;padding-bottom:0}.blocksy-fs-optin-dashboard #wpbody-content #screen-meta,.blocksy-fs-optin-dashboard #wpbody-content .clear{display:none}.blocksy-fs-optin-dashboard .toplevel_page_ct-dashboard.current:after{border-right-color:#f2cf88 !important}.blocksy-fs-optin-wrapper{display:grid;grid-template-columns:repeat(2, 1fr);height:100%}.blocksy-fs-optin-wrapper>*{display:flex;flex-direction:column;justify-content:center;padding:9%;box-sizing:border-box}.blocksy-fs-optin-wrapper .ct-optin-svg{background:#f2cf88}.blocksy-fs-optin-wrapper .ct-optin-svg svg{max-width:750px;margin:0 auto}.blocksy-fs-optin-wrapper #fs_connect{width:100%;max-width:900px;margin:0;box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-visual{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-content{padding:0;margin-bottom:30px}.blocksy-fs-optin-wrapper #fs_connect .fs-content>p span{display:block;font-size:25px;font-weight:700;color:#23282d;margin-bottom:20px}.blocksy-fs-optin-wrapper #fs_connect .fs-actions{display:flex;padding:0;margin-bottom:20px;background:rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-actions .button{height:49px;line-height:49px;padding:0 20px !important}.blocksy-fs-optin-wrapper #fs_connect .fs-actions .button-primary{margin-right:15px}.blocksy-fs-optin-wrapper #fs_connect .fs-actions #skip_activation{order:2;float:none;background:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-actions #skip_activation:hover{border-color:#0071a1}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions{padding:0 0 30px 0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-trigger{text-align:left;text-decoration:underline}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-trigger:focus{outline:none;box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li{margin-bottom:0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li>i.dashicons{display:none;font-size:18px;width:18px;height:18px;margin-right:8px;color:#23282d}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div{margin-left:0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div span{display:flex;align-items:center;font-weight:600;text-transform:capitalize}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div span i.dashicons{font-size:15px;width:15px;height:15px;margin-inline-start:8px}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div span i.dashicons:before{opacity:.4}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div p{margin-top:8px}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(1){order:1}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(2){order:4}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(3){order:3}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(4){order:2}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions.fs-open ul{display:grid;grid-template-columns:repeat(2, minmax(auto, 280px));grid-column-gap:5px;grid-row-gap:30px;margin:20px 0 0 0;padding-top:30px;border-top:1px dashed #ddd}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch{float:left;width:25px;height:16px;top:1px;margin-inline-end:8px;padding:0;box-shadow:none;box-sizing:border-box;transition:all .1s linear;border:2px solid #555d66}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch .fs-toggle{box-sizing:border-box;border:none;top:1px;width:10px;height:10px;box-shadow:none;transition:all .1s linear}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-off{background:rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-off .fs-toggle{left:1px;background:#555d66}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-on{border-color:#0085ba}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-on .fs-toggle{left:10px}.blocksy-fs-optin-wrapper #fs_connect .fs-terms{display:none}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container{width:100%;margin:30px 0 0 0}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container input[type=text]{min-height:49px;padding:0 12px;line-height:initial}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container .dashicons{top:17px;right:10px;font-size:16px;height:16px;width:16px}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container .show-license-resend-modal{font-size:.9em;margin-top:10px}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-actions{flex-wrap:wrap}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-actions form{width:100%}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-actions #license_issues_link{flex:1 1 auto;text-align:left}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-permissions p{text-align:left}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-permissions p:last-of-type{margin-bottom:0}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin{border:none;padding:30px 0;margin:30px 0 0 0;box-shadow:none;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin.error{background:rgba(0,0,0,0)}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin .fs-input-label{margin-left:22px}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing{border-top:1px dashed #ddd;padding:30px 0;background:rgba(0,0,0,0)}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing p{text-align:left;color:#444}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing p a{color:#0073aa}
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
6
  */
7
 
8
+ .ct-mailchimp-modal{--modal-min-height: 300px}.ct-newsletter-select-provider{padding-top:1.5em;border-top:1px dashed #eee}.ct-newsletter-select-provider p{margin-top:1em;font-style:italic}.mailchimp-credentials{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:10px;margin-top:1.5em;padding-top:1.5em;border-top:1px dashed #eee}.mailchimp-credentials section{display:flex;flex-direction:column;min-width:0}.mailchimp-credentials label{display:block;font-size:12px;margin-bottom:3px;opacity:.7}.mailchimp-credentials input{--input-height: 35px}.ct-extensions-sourse{display:flex;justify-content:center;margin:0 0 40px 0}.ct-extensions-sourse li{display:flex;align-items:center;height:38px;font-weight:500;padding:0 30px;margin:0;cursor:pointer;border:1px solid rgba(226,230,235,.7)}.ct-extensions-sourse li.active{color:#fff;background:var(--accentColor);border-color:var(--accentColor)}.ct-extensions-sourse li:hover:not(.active){color:var(--accentColor)}.ct-extensions-sourse li:first-child{border-inline-end:0;border-radius:4px 0 0 4px}.ct-extensions-sourse li:last-child{border-inline-start:0;border-radius:0 4px 4px 0}.ct-config-btn{margin-inline-end:auto;margin-inline-start:10px}.ct-config-btn:before{font-family:dashicons;content:"";font-size:14px;margin-right:5px;opacity:.9}.ct-minimal-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;-webkit-appearance:none;appearance:none;border:none;padding:0;color:inherit;cursor:pointer;color:#c9cfd6;background:rgba(0,0,0,0);transition:color .2s ease}.ct-minimal-button:hover{color:#9ca9b9}.ct-minimal-button:focus{outline:none}.ct-minimal-button svg{fill:currentColor}.ct-option-info{display:flex;align-items:center;justify-content:center;font-style:normal;line-height:normal;margin-left:auto}.ct-option-info:before{font-family:dashicons;content:"";font-size:16px;line-height:16px}.ct-demos-list-container ul{display:grid;grid-column-gap:30px;grid-row-gap:30px;margin:0;padding:0;list-style:none}@media(min-width: 783px){.ct-demos-list-container ul{grid-template-columns:repeat(3, 1fr)}}.ct-demos-list-container ul li{display:flex;flex-direction:column;margin:0;box-sizing:border-box;box-shadow:0 2px 5px rgba(143,163,184,.12)}.ct-demos-list-container ul li figure{position:relative;aspect-ratio:4/3;margin:0;overflow:hidden;border-radius:3px 3px 0 0}.ct-demos-list-container ul li figure img{max-width:100%;aspect-ratio:inherit}.ct-demos-list-container ul li figure section{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;top:0;left:0;right:0;bottom:0;opacity:0;background:rgba(36,41,45,.9);transition:opacity .2s ease}.ct-demos-list-container ul li figure section h3{font-size:15px;color:#fff !important;margin:0 0 25px 0}.ct-demos-list-container ul li figure section div{display:flex}.ct-demos-list-container ul li figure section span{padding:8px 12px;display:block;font-size:17px;font-weight:500;color:#fff;border-radius:3px;border:2px solid rgba(255,255,255,.5);background:rgba(36,41,45,.4)}.ct-demos-list-container ul li figure section span:not(:last-child){margin-right:15px}.ct-demos-list-container ul li:hover figure>section{opacity:1}.ct-demos-list-container ul li.ct-is-pro figure{position:relative}.ct-demos-list-container ul li.ct-is-pro figure a{position:absolute;z-index:1;content:"PRO";top:0;right:0;font-size:13px;font-weight:700;letter-spacing:.03em;color:#a1680d;text-decoration:none;padding:5px 15px;margin:25px;background:#ffc568;border-radius:3px;box-shadow:0 5px 8px 0 rgba(234,157,33,.3)}.ct-demo-actions{flex:1;display:flex;align-items:center;padding:20px;border-radius:0 0 3px 3px;border:1px solid rgba(226,230,235,.7);background:rgba(235,237,241,.2)}@media(max-width: 549px){.ct-demo-actions{flex-direction:column}}@media(min-width: 550px){.ct-demo-actions{justify-content:space-between}}.ct-demo-actions h4{margin:0}@media(max-width: 549px){.ct-demo-actions h4{margin-bottom:20px}}.ct-demo-actions>div{display:flex;gap:15px}.ct-demo-actions button[disabled]{opacity:.3;-webkit-user-select:none;user-select:none;pointer-events:none}.ct-demo-modal{--modal-width: 500px;height:100%;transition:max-height .2s ease}.ct-demo-modal:not(.ct-demo-installer){--modal-max-height: 620px}.ct-demo-modal.ct-demo-installer{--modal-max-height: 380px}.ct-demo-step-container{height:100%;display:flex;flex-direction:column;color:#687c93;text-align:center}.ct-demo-step-container>*:first-child{flex:1;position:relative}.ct-demo-step-container>*:first-child>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-step-container .ct-demo-icon{display:flex;align-items:center;justify-content:center;width:85px;height:85px;margin:10px auto 20px auto;background:#f3f6f8;border-radius:100%}.ct-demo-step-container h2{text-align:center;font-size:17px;font-weight:600;color:#3e5667;margin-top:0}.ct-demo-step-controls{position:relative;width:100%;height:40px}.ct-demo-step-controls button{position:absolute;z-index:2;top:0}.ct-demo-step-controls button.demo-back-btn{left:0}.ct-demo-step-controls button.demo-main-btn{right:0}.ct-steps-pills{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;top:0;left:0;right:0;bottom:0;width:200px;margin:0;padding:0;list-style:none;margin:0 auto}.ct-steps-pills li{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;font-size:0}.ct-steps-pills li:before{content:"";width:12px;height:12px;border-radius:100%;box-shadow:inset 0 0 0 2px rgba(104,124,147,.8);transition:box-shadow .2s ease,transform .2s ease}.ct-steps-pills li:not(.active):before{transform:scale3d(0.5, 0.5, 1);box-shadow:inset 0 0 0 10px rgba(104,124,147,.8)}.ct-demo-child .ct-checkbox-container{max-width:250px;margin:25px auto 0 auto;padding-left:15px;padding-right:15px;border-radius:4px;border:1px solid rgba(179,189,201,.3)}.ct-demo-child a{display:block;color:#687c93;font-weight:500;text-decoration:none;margin-top:25px}.ct-demo-child a:hover{color:#0073aa}.ct-demo-builder .ct-demo-icon svg{margin-left:10px}.ct-demo-builder ul{display:grid;margin:0;padding:0;list-style:none;margin:40px auto 0 auto}.ct-demo-builder ul[data-count="2"]{max-width:70%;grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}.ct-demo-builder ul[data-count="3"]{grid-template-columns:repeat(3, 1fr);grid-column-gap:20px}.ct-demo-builder ul li{margin-bottom:0;cursor:pointer}.ct-demo-builder ul li figure{position:relative;display:flex;align-items:center;justify-content:center;min-height:100px;border:2px solid #e9ecee;border-radius:5px;margin:0;font-weight:500;transition:border-color .12s cubic-bezier(0.455, 0.03, 0.515, 0.955),box-shadow .12s cubic-bezier(0.455, 0.03, 0.515, 0.955)}.ct-demo-builder ul li figure>svg{width:47%}.ct-demo-builder ul li .builder-name{font-weight:500;color:#3e5667;margin-top:15px}.ct-demo-builder ul li:hover figure{border-color:var(--accentColor)}.ct-demo-builder ul li.active figure{border-color:var(--accentColor);box-shadow:0 0 0 1px var(--accentColor)}.ct-demo-builder ul li .ct-checkbox{--checkMarkColor: #fff;--background: rgba(179, 189, 201, 0.8);--backgroundActive: var(--accentColor);position:absolute;top:0px;right:0px}.ct-demo-builder ul li .ct-checkbox:before{width:22px !important;height:22px !important;border-radius:0px 3px 0px 5px}.ct-demo-builder ul li .ct-checkbox:not(.active):before{opacity:0}.ct-demo-plugins label{margin:0 auto}.ct-active-plugin{display:flex;align-items:center;position:relative;text-align:left;padding:10px 0}.ct-active-plugin span{display:flex;align-items:center;justify-content:center;position:absolute;right:-2px;width:22px;height:22px;border-radius:100%;box-sizing:border-box;background:rgba(179,189,201,.3)}.ct-active-plugin span:before,.ct-active-plugin span:after{position:absolute;content:"";width:2px;border-radius:2px;background:rgba(104,124,147,.6)}.ct-active-plugin span:before{top:10px;left:10px;height:5px;transform:rotate(-45deg);transform-origin:bottom center}.ct-active-plugin span:after{height:9px;left:9px;transform:rotate(40deg);transform-origin:bottom center}.ct-demo-erase{margin-top:10px;padding-top:10px;padding-bottom:20px;text-align:left;font-weight:600;border-top:1px dashed rgba(179,189,201,.5);border-bottom:1px dashed rgba(179,189,201,.5)}.ct-demo-erase .ct-checkbox-container{align-items:flex-start;padding-bottom:0}.ct-demo-erase i{display:block;width:90%;font-size:13px;margin-top:8px;opacity:.8;font-weight:400;font-style:normal}.ct-export{text-align:center;margin-top:50px}.ct-site-export{display:flex;flex-direction:column;max-height:calc(var(--modal-max-height) - var(--modal-padding)*2)}.ct-site-export label{display:flex;justify-content:space-between;padding:10px 0}.ct-site-export input[type=checkbox]{margin:0}.ct-site-export textarea,.ct-site-export input[type=text]{width:60%}.ct-site-export textarea{min-height:80px}.ct-site-export button{margin-top:20px}.ct-bundled-plugins-list{display:grid;grid-template-columns:repeat(2, 1fr);gap:15px}.ct-bundled-plugins-list label{gap:10px;padding:10px;border-radius:3px;background:rgba(0,0,0,.02)}.ct-demo-installer .close-button{opacity:0 !important}.ct-demo-install{position:relative}.ct-demo-install>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-install svg path{transform-origin:50% 50%;transform-box:fill-box;animation-name:spin;animation-iteration-count:infinite;animation-timing-function:linear}.ct-demo-install .g1{fill:#44acdf;animation-duration:5.5s;animation-direction:reverse}.ct-demo-install .g2{fill:#3497d3;animation-duration:4.5s}.ct-demo-install .g3{fill:#0c7ab3;animation-duration:4s}.ct-installer-progress{width:100%;border-radius:5px;background:#f3f6f8;box-sizing:border-box}.ct-installer-progress div{width:var(--progress);height:4px;border-radius:inherit;background:var(--accentColor);transition:width .3s ease}.ct-progress-info{display:flex;justify-content:space-between;margin-top:30px;margin-bottom:15px;font-size:13px;opacity:.8}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ct-install-success{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.ct-install-success div{margin-top:10px}.ct-install-success a:first-child{margin-right:15px}.ct-modify-actions{margin-top:50px}.ct-modify-actions>*:not(:last-child){margin-right:15px}.ct-modify-actions .demo-remove{--ct-buttonHoverColor: #e04f4f}#ct-dashboard .ct-demo-notification{position:relative;padding:15px 20px 15px 55px;margin-bottom:40px;color:#0072aa;line-height:1.5;border:2px solid rgba(0,114,170,.3);background:rgba(0,114,170,.1);border-radius:5px}#ct-dashboard .ct-demo-notification:before{font-family:dashicons;content:"";font-size:20px;position:absolute;top:13px;left:20px;color:rgba(0,114,170,.8)}#ct-dashboard .ct-demo-notification b{font-weight:700}.ct-demos-list{display:flex;flex-direction:column}.ct-demos-list .ct-single-demo img{max-width:100px}.ct-demo-btn{display:inline-flex;align-items:center;font-size:15px;font-weight:600;letter-spacing:.03em;color:#687c93;height:40px;border:none;cursor:pointer;padding:0 18px;text-decoration:none;border-radius:4px;background:#f3f6f8;transition:background .2s ease color .2s ease}.ct-demo-btn:focus{outline:none}.ct-demo-btn:hover{color:#fff;background:var(--ct-buttonHoverColor, var(--accentColor))}.ct-onboarding-modal{--modal-width: 500px;--modal-min-height: 360px;text-align:center}.ct-onboarding-modal .close-button{display:none}.ct-onboarding-modal svg{width:55px;height:55px;margin:0 auto 25px auto}.ct-onboarding-modal h2{color:#3e5667}.ct-onboarding-modal button{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-theme-required{display:flex;flex-direction:column;align-items:flex-start;background:#fff;padding:40px;margin-top:20px;margin-inline-end:20px}.ct-theme-required h2{display:flex;align-items:center;gap:10px;margin:0 0 10px 0;font-size:18px;font-weight:500}.ct-theme-required span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#1e1e1e;border-radius:2px}.ct-theme-required span svg{width:15px;fill:#fff}.ct-theme-required p{font-size:14px;margin:7px 0 0 0}.ct-theme-required .button{margin-top:20px}.ct-beta-consent{margin-top:60px;border-radius:3px;text-align:center;color:#fff}@media(max-width: 782px){.ct-beta-consent{padding:10%}}@media(min-width: 783px){.ct-beta-consent{padding:50px}}.ct-beta-consent h2{display:flex;align-items:center;justify-content:center;color:#fff !important;margin-top:0;cursor:pointer}.ct-beta-consent h2 span{display:flex;font-size:15px;font-weight:500;cursor:pointer}.ct-beta-consent h2 .ct-option-switch{margin-inline-start:15px}.ct-beta-consent h2 .ct-option-switch:not(.ct-active){border-color:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active)>span{background:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active):after{border-color:#fff}.ct-beta-consent+.ct-support-container{margin-top:50px !important}.ct-beta-consent{background-color:#32373c;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%234f5660' fill-opacity='0.2' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16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6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");background-size:250px;background-position:0 5px}.ct-beta-updates-consent{--modal-width: 450px;--modal-min-height: 330px;--modal-padding: 45px;text-align:center}.ct-beta-updates-consent .ct-modal-content p{margin-bottom:1.2em}.ct-freemius-optin-message{position:relative;text-align:center;border-radius:3px;background:#f5f7f9}@media(max-width: 782px){.ct-freemius-optin-message{padding:50px 10% 10% 10%}}@media(min-width: 783px){.ct-freemius-optin-message{padding:60px 50px 50px 50px}}.ct-freemius-optin-message h2{margin-top:0}.ct-freemius-optin-message i{display:flex;align-items:center;justify-content:center;position:absolute;top:-25px;left:0;right:0;margin:0 auto;width:50px;height:50px;background:#fff;border-radius:100%;color:#0591c9;border:2px solid #deecf3}.ct-freemius-optin-message i svg{animation:ring-shake 5s ease-in-out infinite;transform-origin:50% 0%}.ct-freemius-optin-message p{max-width:600px;margin:0 auto 20px auto !important}.ct-freemius-optin-message .ct-button-primary{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-freemius-optin-message+.ct-first-steps-container{margin-top:55px;padding-top:50px;border-top:1px solid rgba(143,163,184,.15)}@keyframes ring-shake{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}100%{transform:rotate(0deg)}}.blocksy-fs-optin-dashboard #wpbody-content{height:100vh;padding-bottom:0}.blocksy-fs-optin-dashboard.admin-bar #wpbody-content{height:calc(100vh - 32px)}.blocksy-fs-optin-dashboard .toplevel_page_ct-dashboard.current:after{border-right-color:#eed59c !important}.blocksy-fs-optin-wrapper{display:grid;grid-template-columns:repeat(2, 1fr);height:100%}.blocksy-fs-optin-wrapper>*{display:flex;flex-direction:column;justify-content:center;padding:9%;box-sizing:border-box}.blocksy-fs-optin-wrapper .ct-optin-svg{background:rgba(242,207,136,.9)}.blocksy-fs-optin-wrapper .ct-optin-svg svg{width:clamp(300px,27vw,550px);margin:0 auto}.blocksy-fs-optin-wrapper #fs_connect{width:100%;max-width:900px;margin:0 auto}.blocksy-fs-optin-wrapper #fs_connect .fs-header{height:initial;line-height:initial;margin-bottom:15px}.blocksy-fs-optin-wrapper #fs_connect .fs-header .fs-plugin-icon{position:initial;margin-left:initial;width:50px;height:50px}.blocksy-fs-optin-wrapper #fs_connect .fs-header .fs-plugin-icon img{width:inherit;height:inherit}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container{overflow:initial;box-shadow:none;padding-top:0;background:rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content,.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-actions,.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions{padding-left:0;padding-right:0}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content{display:flex;flex-direction:column;padding:0}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content .fs-license-key-container{width:100%;margin:30px 0 0 0}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content .fs-license-key-container input[type=text]{min-height:49px;padding:0 17px;margin:0;line-height:initial}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content .fs-license-key-container input[type=text]:not(:focus){border-color:#ddd}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content .fs-license-key-container .dashicons{top:18px;right:17px;font-size:14px;height:14px;width:14px}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content .fs-license-key-container .show-license-resend-modal{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-content .fs-error{order:10;box-shadow:none;margin:10px 0 0 0;border:none;padding:0;color:#d63638;font-size:13px;text-align:initial;background:rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-actions{padding-top:15px;padding-bottom:30px;border-bottom:1px dashed #ddd}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-actions .button{height:49px;line-height:49px}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-actions .button:after{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-actions #license_issues_link{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions{padding-top:25px}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions>.fs-trigger{font-size:13px;text-align:initial}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions>.fs-trigger:focus{box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions>.fs-trigger:hover{color:#135e96 !important}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions>.fs-trigger .fs-arrow{margin-inline-start:.5em}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions.fs-open ul{margin-bottom:0}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions.fs-open ul li:last-child{padding-bottom:0}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-switch{width:40px;height:22px;padding:0;box-shadow:none;box-sizing:border-box;border:2px solid #3c434a;transition:all .1s ease}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-switch .fs-toggle{top:2px;width:14px;height:14px;border:none;box-shadow:none;box-sizing:border-box;transition:all .1s ease}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-switch.fs-off{background:rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-switch.fs-off .fs-toggle{left:2px;background:#3c434a}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-switch.fs-on{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-switch.fs-on .fs-toggle{left:20px}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-tooltip{font-weight:normal;padding:15px 18px;line-height:1.5em;background:rgba(0,0,0,.85)}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-permissions .fs-tooltip:after{border-color:rgba(0,0,0,.85) rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.blocksy-fs-optin-wrapper #fs_connect .fs-box-container .fs-freemium-licensing{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-terms{display:none}
static/bundle/options.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.57
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.58
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/img/navigation.svg ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <svg width="18" height="18" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 0a8 8 0 110 16A8 8 0 018 0zm2.152 8.147a.102.102 0 00-.135 0l-4.395 4.045c-.03.027-.01.075.033.075h4.113a.2.2 0 00.135-.052l1.929-1.775a.499.499 0 000-.747zm0-4.4a.102.102 0 00-.135 0L5.123 8.251a.17.17 0 00-.056.124v3.35c0 .039.051.059.081.03l6.343-5.866c.224-.206.224-.699 0-.905zm-.893-.28H5.162c-.053 0-.095.04-.095.088v3.77c0 .039.051.059.081.03l4.144-3.813c.03-.028.01-.075-.033-.075z" fill="#FFF" fill-rule="evenodd"/></svg>
2
+
static/js/dashboard-no-theme.js ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { createElement, render, useState } from '@wordpress/element'
2
+ import * as check from '@wordpress/element'
3
+ import { __ } from 'ct-i18n'
4
+
5
+ const Dashboard = () => {
6
+ const [isLoading, setIsLoading] = useState(false)
7
+
8
+ return (
9
+ <div className="ct-theme-required">
10
+ <h2>
11
+ <span>
12
+ <svg viewBox="0 0 24 24">
13
+ <path d="M12,23.6c-1.4,0-2.6-1-2.8-2.3L8.9,20h6.2l-0.3,1.3C14.6,22.6,13.4,23.6,12,23.6z M24,17.8H0l3.1-2c0.5-0.3,0.9-0.7,1.1-1.3c0.5-1,0.5-2.2,0.5-3.2V7.6c0-4.1,3.2-7.3,7.3-7.3s7.3,3.2,7.3,7.3v3.6c0,1.1,0.1,2.3,0.5,3.2c0.3,0.5,0.6,1,1.1,1.3L24,17.8zM6.1,15.6h11.8c0,0-0.1-0.1-0.1-0.2c-0.7-1.3-0.7-2.9-0.7-4.2V7.6c0-2.8-2.2-5.1-5.1-5.1c-2.8,0-5.1,2.2-5.1,5.1v3.6c0,1.3-0.1,2.9-0.7,4.2C6.1,15.5,6.1,15.6,6.1,15.6z"/>
14
+ </svg>
15
+ </span>
16
+ {__('Action Required - Install Blocksy Theme', 'blocksy-companion')}
17
+ </h2>
18
+ <p>
19
+ {__('Blocksy Companion is the complementary plugin to Blocksy theme. It adds a bunch of great features to the theme and acts as an unlocker for the Blocksy Pro package.', 'blocksy-companion')}
20
+ </p>
21
+
22
+ <p>
23
+ {__('In order to take full advantage of all features it has to offer - please install and activate the Blocksy theme also.', 'blocksy-companion')}
24
+ </p>
25
+
26
+ <button
27
+ className="button button-primary"
28
+ onClick={(e) => {
29
+ e.preventDefault()
30
+
31
+ setIsLoading(true)
32
+
33
+ wp.updates.ajax('install-theme', {
34
+ success: (...a) => {
35
+ location = ctDashboardLocalizations.activate
36
+ },
37
+ error: (...a) => {
38
+ setTimeout(() => {
39
+ location = ctDashboardLocalizations.activate
40
+ })
41
+ },
42
+ slug: 'blocksy',
43
+ })
44
+ }}>
45
+ {isLoading
46
+ ? __('Loading...', 'blocksy-companion')
47
+ : __('Install and activate the Blocksy theme', 'blocksy-companion')}
48
+ </button>
49
+ </div>
50
+ )
51
+ }
52
+
53
+ document.addEventListener('DOMContentLoaded', () => {
54
+ if (document.getElementById('ct-dashboard')) {
55
+ render(<Dashboard />, document.getElementById('ct-dashboard'))
56
+ }
57
+ })
static/js/dashboard.js CHANGED
@@ -8,7 +8,6 @@ import Extensions from './screens/Extensions'
8
  import DemoInstall from './screens/DemoInstall'
9
  import SiteExport from './screens/SiteExport'
10
  import DemoToInstall from './screens/DemoInstall/DemoToInstall'
11
- import OptIn from './screens/OptIn'
12
 
13
  ctEvents.on('ct:dashboard:routes', (r) => {
14
  r.push({
@@ -44,14 +43,6 @@ ctEvents.on('ct:dashboard:navigation-links', (r) => {
44
  })
45
  })
46
 
47
- ctEvents.on('ct:dashboard:home:before', (r) => {
48
- if (!ctDashboardLocalizations.plugin_data.is_anonymous) {
49
- return
50
- }
51
-
52
- r.content = <OptIn />
53
- })
54
-
55
  ctEvents.on('ct:dashboard:heading:after', (r) => {
56
  if (!ctDashboardLocalizations.plugin_data.is_pro) {
57
  return
8
  import DemoInstall from './screens/DemoInstall'
9
  import SiteExport from './screens/SiteExport'
10
  import DemoToInstall from './screens/DemoInstall/DemoToInstall'
 
11
 
12
  ctEvents.on('ct:dashboard:routes', (r) => {
13
  r.push({
43
  })
44
  })
45
 
 
 
 
 
 
 
 
 
46
  ctEvents.on('ct:dashboard:heading:after', (r) => {
47
  if (!ctDashboardLocalizations.plugin_data.is_pro) {
48
  return
static/js/screens/DemoInstall/Wizzard/Plugins.js CHANGED
@@ -26,6 +26,7 @@ export const getPluginsMap = (plugins) => ({
26
  leadin: 'HubSpot',
27
  'block-slider': 'Block Slider',
28
  'ht-slider-for-elementor': 'HT Slider For Elementor',
 
29
  })
30
 
31
  export const getNameForPlugin = (plugin) => {
26
  leadin: 'HubSpot',
27
  'block-slider': 'Block Slider',
28
  'ht-slider-for-elementor': 'HT Slider For Elementor',
29
+ 'modula-best-grid-gallery': 'Modula - Image Gallery',
30
  })
31
 
32
  export const getNameForPlugin = (plugin) => {
static/js/screens/OptIn.js DELETED
@@ -1,75 +0,0 @@
1
- import {
2
- createElement,
3
- Component,
4
- useEffect,
5
- useState,
6
- Fragment,
7
- } from '@wordpress/element'
8
- import { __ } from 'ct-i18n'
9
- import classnames from 'classnames'
10
-
11
- const OptIn = () => {
12
- const optinAgain = async () => {
13
- const body = new FormData()
14
- body.append('action', 'blocksy_fs_connect_again')
15
-
16
- try {
17
- const response = await fetch(ctDashboardLocalizations.ajax_url, {
18
- method: 'POST',
19
- body,
20
- })
21
-
22
- if (response.status === 200) {
23
- const { success, data } = await response.json()
24
-
25
- if (success) {
26
- const div = document.createElement('div')
27
- div.innerHTML =
28
- ctDashboardLocalizations.plugin_data.connect_template
29
-
30
- const form = div.querySelector('form')
31
- document.body.appendChild(form)
32
- form.submit()
33
- }
34
- }
35
- } catch (e) {}
36
- }
37
-
38
- return (
39
- <div className="ct-freemius-optin-message">
40
- <i>
41
- <svg
42
- width="20"
43
- height="20"
44
- viewBox="0 0 24 24"
45
- fill="currentColor"
46
- stroke="currentColor"
47
- strokeWidth="2"
48
- strokeLinecap="round"
49
- strokeLinejoin="round">
50
- <path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
51
- <path d="M13.73 21a2 2 0 0 1-3.46 0"></path>
52
- </svg>
53
- </i>
54
-
55
- <h2>{__('Stay Updated', 'blocksy-companion')}</h2>
56
-
57
- <p>
58
- {__(
59
- 'Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking.',
60
- 'blocksy-companion'
61
- )}
62
- </p>
63
- <button
64
- className="ct-button-primary"
65
- onClick={(e) => {
66
- e.preventDefault()
67
- optinAgain()
68
- }}>
69
- {__('Allow & Continue', 'blocksy-companion')}
70
- </button>
71
- </div>
72
- )
73
- }
74
-
75
- export default OptIn
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
static/sass/activation-actions/activation-modal.scss CHANGED
@@ -1,4 +1,4 @@
1
- .ct-onboarding-modal{
2
  --modal-width: 500px;
3
  --modal-min-height: 360px;
4
 
1
+ .ct-onboarding-modal {
2
  --modal-width: 500px;
3
  --modal-min-height: 360px;
4
 
static/sass/activation-actions/activation-theme.scss ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ct-theme-required {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: flex-start;
5
+ background: #fff;
6
+ padding: 40px;
7
+ margin-top: 20px;
8
+ margin-inline-end: 20px;
9
+
10
+ h2 {
11
+ display: flex;
12
+ align-items: center;
13
+ gap: 10px;
14
+ margin: 0 0 10px 0;
15
+ font-size: 18px;
16
+ font-weight: 500;
17
+ }
18
+
19
+ span {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ width: 30px;
24
+ height: 30px;
25
+ background: #1E1E1E;
26
+ border-radius: 2px;
27
+
28
+ svg {
29
+ width: 15px;
30
+ fill: #fff;
31
+ }
32
+ }
33