Version Description
Download this release
Release Info
Developer | brainstormworg |
Plugin | Astra Starter Sites |
Version | 2.6.5 |
Comparing to | |
See all releases |
Code changes from version 2.6.4 to 2.6.5
- astra-sites.php +2 -2
- inc/assets/js/admin-page.js +40 -10
- inc/classes/class-astra-sites.php +53 -12
- inc/importers/class-astra-sites-helper.php +24 -0
- inc/includes/admin-page.php +43 -2
- inc/lib/ast-block-templates/ast-block-templates.php +2 -2
- inc/lib/ast-block-templates/classes/class-ast-block-templates.php +2 -2
- inc/lib/ast-block-templates/dist/main.js +1 -1
- inc/lib/ast-block-templates/version.json +1 -1
- languages/astra-sites.pot +249 -196
- readme.txt +4 -1
astra-sites.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
|
6 |
-
* Version: 2.6.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
@@ -19,7 +19,7 @@ if ( ! defined( 'ASTRA_SITES_NAME' ) ) {
|
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
-
define( 'ASTRA_SITES_VER', '2.6.
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
3 |
* Plugin Name: Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
|
6 |
+
* Version: 2.6.5
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
+
define( 'ASTRA_SITES_VER', '2.6.5' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/assets/js/admin-page.js
CHANGED
@@ -3300,17 +3300,51 @@ var AstraSitesAjaxQueue = (function () {
|
|
3300 |
|
3301 |
AstraSitesAdmin.process_site_data(AstraSitesAdmin.templateData);
|
3302 |
} else {
|
3303 |
-
|
3304 |
-
$('.astra-sites-import-content').find('.astra-loading-wrap').remove();
|
3305 |
-
$('.astra-sites-result-preview').removeClass('preparing');
|
3306 |
-
$('.astra-sites-import-content').html(wp.template('astra-sites-request-failed'));
|
3307 |
-
$('.astra-demo-import').removeClass('updating-message installing button-primary').addClass('disabled').text('Import Failed!');
|
3308 |
}
|
3309 |
});
|
3310 |
}
|
3311 |
|
3312 |
},
|
3313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3314 |
show_popup: function (heading, content, actions, classes) {
|
3315 |
if (classes) {
|
3316 |
$('.astra-sites-popup').addClass(classes);
|
@@ -3402,11 +3436,7 @@ var AstraSitesAjaxQueue = (function () {
|
|
3402 |
|
3403 |
AstraSitesAdmin.required_plugins_list_markup(AstraSitesAdmin.templateData['site-pages-required-plugins']);
|
3404 |
} else {
|
3405 |
-
|
3406 |
-
$('.astra-sites-import-content').find('.astra-loading-wrap').remove();
|
3407 |
-
$('.astra-sites-result-preview').removeClass('preparing');
|
3408 |
-
$('.astra-sites-import-content').html(wp.template('astra-sites-request-failed'));
|
3409 |
-
$('.astra-demo-import').removeClass('updating-message installing button-primary').addClass('disabled').text('Import Failed!');
|
3410 |
}
|
3411 |
});
|
3412 |
}
|
3300 |
|
3301 |
AstraSitesAdmin.process_site_data(AstraSitesAdmin.templateData);
|
3302 |
} else {
|
3303 |
+
AstraSitesAdmin.handle_error( response, site_id );
|
|
|
|
|
|
|
|
|
3304 |
}
|
3305 |
});
|
3306 |
}
|
3307 |
|
3308 |
},
|
3309 |
|
3310 |
+
handle_error: function( response, id ) {
|
3311 |
+
var template = 'astra-sites-request-failed-user';
|
3312 |
+
var template_data = {
|
3313 |
+
'primary' : '',
|
3314 |
+
'secondary' : '',
|
3315 |
+
'error' : response.data,
|
3316 |
+
'id' : id
|
3317 |
+
};
|
3318 |
+
if ( undefined !== response.data.code ) {
|
3319 |
+
var code = response.data.code.toString();
|
3320 |
+
switch( code ) {
|
3321 |
+
case '401':
|
3322 |
+
case '404':
|
3323 |
+
case '500':
|
3324 |
+
template_data.primary = astraSitesVars.server_import_primary_error;
|
3325 |
+
break;
|
3326 |
+
|
3327 |
+
case 'WP_Error':
|
3328 |
+
template_data.primary = astraSitesVars.client_import_primary_error;
|
3329 |
+
break;
|
3330 |
+
|
3331 |
+
case 'Cloudflare':
|
3332 |
+
template_data.primary = astraSitesVars.cloudflare_import_primary_error;
|
3333 |
+
break;
|
3334 |
+
|
3335 |
+
default:
|
3336 |
+
template = 'astra-sites-request-failed';
|
3337 |
+
break;
|
3338 |
+
}
|
3339 |
+
}
|
3340 |
+
let err_template = wp.template( template );
|
3341 |
+
$('.astra-sites-result-preview .heading > h3').text('Import Process Interrupted');
|
3342 |
+
$('.astra-sites-import-content').find('.astra-loading-wrap').remove();
|
3343 |
+
$('.astra-sites-result-preview').removeClass('preparing');
|
3344 |
+
$('.astra-sites-import-content').html( err_template( template_data ) );
|
3345 |
+
$('.astra-demo-import').removeClass('updating-message installing button-primary').addClass('disabled').text('Import Failed!');
|
3346 |
+
},
|
3347 |
+
|
3348 |
show_popup: function (heading, content, actions, classes) {
|
3349 |
if (classes) {
|
3350 |
$('.astra-sites-popup').addClass(classes);
|
3436 |
|
3437 |
AstraSitesAdmin.required_plugins_list_markup(AstraSitesAdmin.templateData['site-pages-required-plugins']);
|
3438 |
} else {
|
3439 |
+
AstraSitesAdmin.handle_error( response, page_id );
|
|
|
|
|
|
|
|
|
3440 |
}
|
3441 |
});
|
3442 |
}
|
inc/classes/class-astra-sites.php
CHANGED
@@ -382,22 +382,60 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
|
|
382 |
);
|
383 |
|
384 |
$request = wp_remote_get( trailingslashit( self::get_instance()->get_api_domain() ) . 'wp-json/wp/v2/' . $url, $api_args );
|
385 |
-
if ( ! is_wp_error( $request ) && 200 === (int) wp_remote_retrieve_response_code( $request ) ) {
|
386 |
|
387 |
-
|
388 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
389 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
wp_send_json_success( $demo_data );
|
391 |
-
} elseif ( is_wp_error( $request ) ) {
|
392 |
-
wp_send_json_error( 'API Request is failed due to ' . $request->get_error_message() );
|
393 |
-
} elseif ( 200 !== (int) wp_remote_retrieve_response_code( $request ) ) {
|
394 |
-
$demo_data = json_decode( wp_remote_retrieve_body( $request ), true );
|
395 |
-
if ( is_array( $demo_data ) && isset( $demo_data['code'] ) ) {
|
396 |
-
wp_send_json_error( $demo_data['message'] );
|
397 |
-
} else {
|
398 |
-
wp_send_json_error( wp_remote_retrieve_body( $request ) );
|
399 |
-
}
|
400 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
}
|
402 |
|
403 |
/**
|
@@ -1312,6 +1350,9 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
|
|
1312 |
),
|
1313 |
'subscriptionSuccessMessage' => esc_html__( 'We have sent you a surprise gift on your email address! Please check your inbox!', 'astra-sites' ),
|
1314 |
'first_import_complete' => get_option( 'astra_sites_import_complete' ),
|
|
|
|
|
|
|
1315 |
)
|
1316 |
);
|
1317 |
|
382 |
);
|
383 |
|
384 |
$request = wp_remote_get( trailingslashit( self::get_instance()->get_api_domain() ) . 'wp-json/wp/v2/' . $url, $api_args );
|
|
|
385 |
|
386 |
+
if ( is_wp_error( $request ) ) {
|
387 |
+
$wp_error_code = $request->get_error_code();
|
388 |
+
switch ( $wp_error_code ) {
|
389 |
+
case 'http_request_not_executed':
|
390 |
+
/* translators: %s Error Message */
|
391 |
+
$message = sprintf( __( 'API Request could not be performed - %s', 'astra-sites' ), $request->get_error_message() );
|
392 |
+
break;
|
393 |
+
case 'http_request_failed':
|
394 |
+
default:
|
395 |
+
/* translators: %s Error Message */
|
396 |
+
$message = sprintf( __( 'API Request has failed - %s', 'astra-sites' ), $request->get_error_message() );
|
397 |
+
break;
|
398 |
+
}
|
399 |
|
400 |
+
wp_send_json_error(
|
401 |
+
array(
|
402 |
+
'message' => $request->get_error_message(),
|
403 |
+
'code' => 'WP_Error',
|
404 |
+
)
|
405 |
+
);
|
406 |
+
}
|
407 |
+
|
408 |
+
$code = (int) wp_remote_retrieve_response_code( $request );
|
409 |
+
$demo_data = json_decode( wp_remote_retrieve_body( $request ), true );
|
410 |
+
|
411 |
+
if ( 200 === $code ) {
|
412 |
+
update_option( 'astra_sites_import_data', $demo_data, 'no' );
|
413 |
wp_send_json_success( $demo_data );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
}
|
415 |
+
|
416 |
+
$message = wp_remote_retrieve_body( $request );
|
417 |
+
|
418 |
+
if ( 200 !== $code && is_array( $demo_data ) && isset( $demo_data['code'] ) ) {
|
419 |
+
$message = $demo_data['message'];
|
420 |
+
}
|
421 |
+
|
422 |
+
if ( 500 === $code ) {
|
423 |
+
$message = __( 'Internal Server Error.', 'astra-sites' );
|
424 |
+
}
|
425 |
+
|
426 |
+
if ( 200 !== $code && false !== strpos( $message, 'Cloudflare' ) ) {
|
427 |
+
$ip = Astra_Sites_Helper::get_client_ip();
|
428 |
+
/* translators: %s IP address. */
|
429 |
+
$message = sprintf( __( 'The IP %1$s is blocked with the error code: %2$s', 'astra-sites' ), $ip, $code );
|
430 |
+
$code = 'Cloudflare';
|
431 |
+
}
|
432 |
+
|
433 |
+
wp_send_json_error(
|
434 |
+
array(
|
435 |
+
'message' => $message,
|
436 |
+
'code' => $code,
|
437 |
+
)
|
438 |
+
);
|
439 |
}
|
440 |
|
441 |
/**
|
1350 |
),
|
1351 |
'subscriptionSuccessMessage' => esc_html__( 'We have sent you a surprise gift on your email address! Please check your inbox!', 'astra-sites' ),
|
1352 |
'first_import_complete' => get_option( 'astra_sites_import_complete' ),
|
1353 |
+
'server_import_primary_error' => __( 'Looks like the template you are importing is temporarily not available.', 'astra-sites' ),
|
1354 |
+
'client_import_primary_error' => __( 'We could not start the import process and this is the message from WordPress:', 'astra-sites' ),
|
1355 |
+
'cloudflare_import_primary_error' => __( 'We could not start the import process.', 'astra-sites' ),
|
1356 |
)
|
1357 |
);
|
1358 |
|
inc/importers/class-astra-sites-helper.php
CHANGED
@@ -288,6 +288,30 @@ if ( ! class_exists( 'Astra_Sites_Helper' ) ) :
|
|
288 |
return $data;
|
289 |
}
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
|
292 |
}
|
293 |
|
288 |
return $data;
|
289 |
}
|
290 |
|
291 |
+
/**
|
292 |
+
* Get the client IP address.
|
293 |
+
*
|
294 |
+
* @since 2.6.4
|
295 |
+
*/
|
296 |
+
public static function get_client_ip() {
|
297 |
+
$ipaddress = '';
|
298 |
+
if ( getenv( 'HTTP_CLIENT_IP' ) ) {
|
299 |
+
$ipaddress = getenv( 'HTTP_CLIENT_IP' );
|
300 |
+
} elseif ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
|
301 |
+
$ipaddress = getenv( 'HTTP_X_FORWARDED_FOR' );
|
302 |
+
} elseif ( getenv( 'HTTP_X_FORWARDED' ) ) {
|
303 |
+
$ipaddress = getenv( 'HTTP_X_FORWARDED' );
|
304 |
+
} elseif ( getenv( 'HTTP_FORWARDED_FOR' ) ) {
|
305 |
+
$ipaddress = getenv( 'HTTP_FORWARDED_FOR' );
|
306 |
+
} elseif ( getenv( 'HTTP_FORWARDED' ) ) {
|
307 |
+
$ipaddress = getenv( 'HTTP_FORWARDED' );
|
308 |
+
} elseif ( getenv( 'REMOTE_ADDR' ) ) {
|
309 |
+
$ipaddress = getenv( 'REMOTE_ADDR' );
|
310 |
+
} else {
|
311 |
+
$ipaddress = 'UNKNOWN';
|
312 |
+
}
|
313 |
+
return $ipaddress;
|
314 |
+
}
|
315 |
|
316 |
}
|
317 |
|
inc/includes/admin-page.php
CHANGED
@@ -634,13 +634,54 @@ $site_import_options = apply_filters(
|
|
634 |
*/
|
635 |
?>
|
636 |
<script type="text/template" id="tmpl-astra-sites-request-failed">
|
637 |
-
<p><?php esc_html_e( '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
<p>
|
639 |
<?php
|
640 |
/* translators: %s doc link. */
|
641 |
-
printf(
|
642 |
?>
|
643 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
644 |
</script>
|
645 |
|
646 |
<?php
|
634 |
*/
|
635 |
?>
|
636 |
<script type="text/template" id="tmpl-astra-sites-request-failed">
|
637 |
+
<p><?php esc_html_e( 'We could not start the import process. This is the message from HTTP request:', 'astra-sites' ); ?></p>
|
638 |
+
<p>
|
639 |
+
<?php
|
640 |
+
/* translators: %s doc link. */
|
641 |
+
printf( __( 'Please raise a <a href="%s" target="_blank">support request</a> so we can help you with it.', 'astra-sites' ), 'hhttps://wpastra.com/support/' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
642 |
+
?>
|
643 |
+
</p>
|
644 |
+
</script>
|
645 |
+
<?php
|
646 |
+
/**
|
647 |
+
* TMPL - Import Process Interrupted - User end
|
648 |
+
*/
|
649 |
+
?>
|
650 |
+
<script type="text/template" id="tmpl-astra-sites-request-failed-user">
|
651 |
+
<p>{{{ data.primary }}}</p>
|
652 |
+
<div class="current-importing-status">{{{ data.error.code }}} - {{{ data.error.message }}}</div>
|
653 |
+
<# if ( 'WP_Error' === data.error.code ) { #>
|
654 |
<p>
|
655 |
<?php
|
656 |
/* translators: %s doc link. */
|
657 |
+
printf( esc_html__( 'We have listed the <a href="%s" target="_blank">possible solutions here</a> to help you resolve this.', 'astra-sites' ), 'https://wpastra.com/docs/fix-starter-template-importing-issues/' );
|
658 |
?>
|
659 |
</p>
|
660 |
+
<# } else if ( 'Cloudflare' === data.error.code ) { #>
|
661 |
+
<p>
|
662 |
+
<?php
|
663 |
+
/* translators: %s doc link. */
|
664 |
+
printf( esc_html__( 'Please report this error <a href="%s" target="_blank">here</a> so we can fix it.', 'astra-sites' ), 'https://wpastra.com/support/open-a-ticket/' );
|
665 |
+
?>
|
666 |
+
</p>
|
667 |
+
<# } else { #>
|
668 |
+
<p>
|
669 |
+
<?php
|
670 |
+
$ip = Astra_Sites_Helper::get_client_ip();
|
671 |
+
$url_text = __( 'Please report this error <a href="#LINK" target="_blank">here</a> so we can fix it.', 'astra-sites' );
|
672 |
+
$url = 'https://wpastra.com/starter-templates-support/?ip=' . $ip;
|
673 |
+
?>
|
674 |
+
<#
|
675 |
+
var url = '<?php echo esc_url( $url ); ?>';
|
676 |
+
url += '&template-id=' + data.id;
|
677 |
+
url += '&subject=' + data.error.code + ' - ' + data.error.message;
|
678 |
+
|
679 |
+
var url_text = '<?php echo $url_text; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>';
|
680 |
+
url_text = url_text.replace( "#LINK", url );
|
681 |
+
#>
|
682 |
+
{{{url_text}}}
|
683 |
+
</p>
|
684 |
+
<# } #>
|
685 |
</script>
|
686 |
|
687 |
<?php
|
inc/lib/ast-block-templates/ast-block-templates.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Gutenberg Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Gutenberg single page templates, and blocks library to imported your website easily.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: ast-block-templates
|
@@ -21,7 +21,7 @@ if ( apply_filters( 'ast_block_templates_disable', false ) ) {
|
|
21 |
|
22 |
// Set constants.
|
23 |
define( 'AST_BLOCK_TEMPLATES_LIBRARY_URL', 'https://websitedemos.net/' );
|
24 |
-
define( 'AST_BLOCK_TEMPLATES_VER', '1.0.
|
25 |
define( 'AST_BLOCK_TEMPLATES_FILE', __FILE__ );
|
26 |
define( 'AST_BLOCK_TEMPLATES_BASE', plugin_basename( AST_BLOCK_TEMPLATES_FILE ) );
|
27 |
define( 'AST_BLOCK_TEMPLATES_DIR', plugin_dir_path( AST_BLOCK_TEMPLATES_FILE ) );
|
3 |
* Plugin Name: Gutenberg Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Gutenberg single page templates, and blocks library to imported your website easily.
|
6 |
+
* Version: 1.0.4
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: ast-block-templates
|
21 |
|
22 |
// Set constants.
|
23 |
define( 'AST_BLOCK_TEMPLATES_LIBRARY_URL', 'https://websitedemos.net/' );
|
24 |
+
define( 'AST_BLOCK_TEMPLATES_VER', '1.0.4' );
|
25 |
define( 'AST_BLOCK_TEMPLATES_FILE', __FILE__ );
|
26 |
define( 'AST_BLOCK_TEMPLATES_BASE', plugin_basename( AST_BLOCK_TEMPLATES_FILE ) );
|
27 |
define( 'AST_BLOCK_TEMPLATES_DIR', plugin_dir_path( AST_BLOCK_TEMPLATES_FILE ) );
|
inc/lib/ast-block-templates/classes/class-ast-block-templates.php
CHANGED
@@ -383,11 +383,11 @@ if ( ! class_exists( 'Ast_Block_Templates' ) ) :
|
|
383 |
'white_label_name' => '',
|
384 |
'allBlocks' => $this->get_all_blocks(),
|
385 |
'allSites' => $this->get_all_sites(),
|
386 |
-
'allCategories' =>
|
387 |
'wpforms_status' => $this->get_plugin_status( 'wpforms-lite/wpforms.php' ),
|
388 |
'gutenberg_status' => $this->get_plugin_status( 'gutenberg/gutenberg.php' ),
|
389 |
'_ajax_nonce' => wp_create_nonce( 'ast-block-templates-ajax-nonce' ),
|
390 |
-
'button_text' => esc_html__( 'Starter Templates', '
|
391 |
'display_button_logo' => true,
|
392 |
'popup_logo_uri' => AST_BLOCK_TEMPLATES_URI . 'dist/logo.svg',
|
393 |
'button_logo' => AST_BLOCK_TEMPLATES_URI . 'dist/starter-template-logo.svg',
|
383 |
'white_label_name' => '',
|
384 |
'allBlocks' => $this->get_all_blocks(),
|
385 |
'allSites' => $this->get_all_sites(),
|
386 |
+
'allCategories' => get_site_option( 'ast-block-templates-categories', array() ),
|
387 |
'wpforms_status' => $this->get_plugin_status( 'wpforms-lite/wpforms.php' ),
|
388 |
'gutenberg_status' => $this->get_plugin_status( 'gutenberg/gutenberg.php' ),
|
389 |
'_ajax_nonce' => wp_create_nonce( 'ast-block-templates-ajax-nonce' ),
|
390 |
+
'button_text' => esc_html__( 'Starter Templates', 'ast-block-templates' ),
|
391 |
'display_button_logo' => true,
|
392 |
'popup_logo_uri' => AST_BLOCK_TEMPLATES_URI . 'dist/logo.svg',
|
393 |
'button_logo' => AST_BLOCK_TEMPLATES_URI . 'dist/starter-template-logo.svg',
|
inc/lib/ast-block-templates/dist/main.js
CHANGED
@@ -6,4 +6,4 @@
|
|
6 |
* Released under MIT license <https://lodash.com/license>
|
7 |
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
8 |
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
9 |
-
*/(function(){var i="Expected a function",a="__lodash_placeholder__",c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",u="[object Array]",s="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",h="[object Map]",v="[object Number]",g="[object Object]",b="[object RegExp]",y="[object Set]",_="[object String]",w="[object Symbol]",k="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",T="[object Int32Array]",B="[object Uint8Array]",A="[object Uint16Array]",j="[object Uint32Array]",C=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,D=RegExp(F.source),z=RegExp(L.source),W=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(G.source),H=/^\s+/,K=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ce=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",me="[\\ud800-\\udfff]",he="["+de+"]",ve="["+pe+"]",ge="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+de+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",ke="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+ye+"|"+_e+")",Re="(?:"+Ee+"|"+_e+")",Ie="(?:"+ve+"|"+we+")"+"?",Te="[\\ufe0e\\ufe0f]?"+Ie+("(?:\\u200d(?:"+[ke,xe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ie+")*"),Be="(?:"+[be,xe,Se].join("|")+")"+Te,Ae="(?:"+[ke+ve+"?",ve,xe,Se,me].join("|")+")",je=RegExp("['’]","g"),Ce=RegExp(ve,"g"),Oe=RegExp(we+"(?="+we+")|"+Ae+Te,"g"),Ne=RegExp([Ee+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Ee,"$"].join("|")+")",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Ee+Pe,"$"].join("|")+")",Ee+"?"+Pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Be].join("|"),"g"),Fe=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,We={};We[E]=We[P]=We[R]=We[I]=We[T]=We[B]=We["[object Uint8ClampedArray]"]=We[A]=We[j]=!0,We[l]=We[u]=We[x]=We[s]=We[S]=We[f]=We[p]=We[d]=We[h]=We[v]=We[g]=We[b]=We[y]=We[_]=We[k]=!1;var Me={};Me[l]=Me[u]=Me[x]=Me[S]=Me[s]=Me[f]=Me[E]=Me[P]=Me[R]=Me[I]=Me[T]=Me[h]=Me[v]=Me[g]=Me[b]=Me[y]=Me[_]=Me[w]=Me[B]=Me["[object Uint8ClampedArray]"]=Me[A]=Me[j]=!0,Me[p]=Me[d]=Me[k]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,$e=parseInt,qe="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,Ye=qe||Ge||Function("return this")(),He=t&&!t.nodeType&&t,Ke=He&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Ke&&Ke.exports===He,Xe=Ze&&qe.process,Je=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Qe=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function st(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ft(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ht(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=Et("length");function yt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function _t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):_t(e,xt,n)}function kt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function xt(e){return e!=e}function St(e,t){var n=null==e?0:e.length;return n?It(e,t)/n:NaN}function Et(e){return function(t){return null==t?void 0:t[e]}}function Pt(e){return function(t){return null==e?void 0:e[t]}}function Rt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function It(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Tt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Bt(e){return e?e.slice(0,Ht(e)+1).replace(H,""):e}function At(e){return function(t){return e(t)}}function jt(e,t){return dt(t,(function(t){return e[t]}))}function Ct(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function Ft(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Pt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Dt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function zt(e){return"\\"+Ue[e]}function Wt(e){return Fe.test(e)}function Mt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var c=e[n];c!==t&&c!==a||(e[n]=a,i[o++]=n)}return i}function $t(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Gt(e){return Wt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):bt(e)}function Yt(e){return Wt(e)?function(e){return e.match(Oe)||[]}(e):function(e){return e.split("")}(e)}function Ht(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var Kt=Pt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Zt=function e(t){var n,r=(t=null==t?Ye:Zt.defaults(Ye.Object(),t,Zt.pick(Ye,De))).Array,o=t.Date,K=t.Error,pe=t.Function,de=t.Math,me=t.Object,he=t.RegExp,ve=t.String,ge=t.TypeError,be=r.prototype,ye=pe.prototype,_e=me.prototype,we=t["__core-js_shared__"],ke=ye.toString,xe=_e.hasOwnProperty,Se=0,Ee=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pe=_e.toString,Re=ke.call(me),Ie=Ye._,Te=he("^"+ke.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=Ze?t.Buffer:void 0,Ae=t.Symbol,Oe=t.Uint8Array,Fe=Be?Be.allocUnsafe:void 0,Ue=Ut(me.getPrototypeOf,me),qe=me.create,Ge=_e.propertyIsEnumerable,He=be.splice,Ke=Ae?Ae.isConcatSpreadable:void 0,Xe=Ae?Ae.iterator:void 0,Je=Ae?Ae.toStringTag:void 0,bt=function(){try{var e=ti(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Pt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Xt=o&&o.now!==Ye.Date.now&&o.now,Jt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Qt=de.ceil,en=de.floor,tn=me.getOwnPropertySymbols,nn=Be?Be.isBuffer:void 0,rn=t.isFinite,on=be.join,an=Ut(me.keys,me),cn=de.max,ln=de.min,un=o.now,sn=t.parseInt,fn=de.random,pn=be.reverse,dn=ti(t,"DataView"),mn=ti(t,"Map"),hn=ti(t,"Promise"),vn=ti(t,"Set"),gn=ti(t,"WeakMap"),bn=ti(me,"create"),yn=gn&&new gn,_n={},wn=Ii(dn),kn=Ii(mn),xn=Ii(hn),Sn=Ii(vn),En=Ii(gn),Pn=Ae?Ae.prototype:void 0,Rn=Pn?Pn.valueOf:void 0,In=Pn?Pn.toString:void 0;function Tn(e){if(qa(e)&&!Oa(e)&&!(e instanceof Cn)){if(e instanceof jn)return e;if(xe.call(e,"__wrapped__"))return Ti(e)}return new jn(e)}var Bn=function(){function e(){}return function(t){if(!$a(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Cn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Fn;++t<n;)this.add(e[t])}function Dn(e){var t=this.__data__=new Nn(e);this.size=t.size}function zn(e,t){var n=Oa(e),r=!n&&Ca(e),o=!n&&!r&&Da(e),i=!n&&!r&&!o&&Qa(e),a=n||r||o||i,c=a?Tt(e.length,ve):[],l=c.length;for(var u in e)!t&&!xe.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||li(u,l))||c.push(u);return c}function Wn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Mn(e,t){return Ei(yo(e),Zn(t,0,e.length))}function Un(e){return Ei(yo(e))}function Vn(e,t,n){(void 0!==n&&!Ba(e[t],n)||void 0===n&&!(t in e))&&Hn(e,t,n)}function $n(e,t,n){var r=e[t];xe.call(e,t)&&Ba(r,n)&&(void 0!==n||t in e)||Hn(e,t,n)}function qn(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Yn(e,t){return e&&_o(t,wc(t),e)}function Hn(e,t,n){"__proto__"==t&&bt?bt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Kn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:vc(e,t[n]);return i}function Zn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,c=1&t,u=2&t,p=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!$a(e))return e;var k=Oa(e);if(k){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&xe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return yo(e,a)}else{var C=oi(e),O=C==d||C==m;if(Da(e))return po(e,c);if(C==g||C==l||O&&!o){if(a=u||O?{}:ai(e),!c)return u?function(e,t){return _o(e,ri(e),t)}(e,function(e,t){return e&&_o(t,kc(t),e)}(a,e)):function(e,t){return _o(e,ni(e),t)}(e,Yn(a,e))}else{if(!Me[C])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case x:return mo(e);case s:case f:return new r(+e);case S:return function(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case E:case P:case R:case I:case T:case B:case"[object Uint8ClampedArray]":case A:case j:return ho(e,n);case h:return new r;case v:case _:return new r(e);case b:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case w:return o=e,Rn?me(Rn.call(o)):{}}var o}(e,C,c)}}i||(i=new Dn);var N=i.get(e);if(N)return N;i.set(e,a),Za(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):Ga(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var F=k?void 0:(p?u?Ho:Yo:u?kc:wc)(e);return ct(F||e,(function(r,o){F&&(r=e[o=r]),$n(a,o,Xn(r,t,n,o,e,i))})),a}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(i);return wi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=ft,a=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=dt(t,At(n))),r?(i=pt,a=!1):t.length>=200&&(i=Ct,a=!1,t=new Ln(t));e:for(;++o<c;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var p=u;p--;)if(t[p]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}Tn.templateSettings={escape:W,evaluate:M,interpolate:U,variable:"",imports:{_:Tn}},Tn.prototype=An.prototype,Tn.prototype.constructor=Tn,jn.prototype=Bn(An.prototype),jn.prototype.constructor=jn,Cn.prototype=Bn(An.prototype),Cn.prototype.constructor=Cn,On.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},On.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},On.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return xe.call(t,e)?t[e]:void 0},On.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:xe.call(t,e)},On.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=qn(t,e);return!(n<0)&&(n==t.length-1?t.pop():He.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=qn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return qn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(mn||Nn),string:new On}},Fn.prototype.delete=function(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t},Fn.prototype.get=function(e){return Qo(this,e).get(e)},Fn.prototype.has=function(e){return Qo(this,e).has(e)},Fn.prototype.set=function(e,t){var n=Qo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.clear=function(){this.__data__=new Nn,this.size=0},Dn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Dn.prototype.get=function(e){return this.__data__.get(e)},Dn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!mn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fn(r)}return n.set(e,t),this.size=n.size,this};var tr=xo(ur),nr=xo(sr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Ja(a):n(a,c)))var c=a,l=i}return l}function ir(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ar(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ci),o||(o=[]);++i<a;){var c=e[i];t>0&&n(c)?t>1?ar(c,t-1,n,r,o):mt(o,c):r||(o[o.length]=c)}return o}var cr=So(),lr=So(!0);function ur(e,t){return e&&cr(e,t,wc)}function sr(e,t){return e&&lr(e,t,wc)}function fr(e,t){return st(t,(function(t){return Ma(e[t])}))}function pr(e,t){for(var n=0,r=(t=lo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Oa(e)?r:mt(r,n(e))}function mr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Je&&Je in me(e)?function(e){var t=xe.call(e,Je),n=e[Je];try{e[Je]=void 0;var r=!0}catch(e){}var o=Pe.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Pe.call(e)}(e)}function hr(e,t){return e>t}function vr(e,t){return null!=e&&xe.call(e,t)}function gr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:ft,i=e[0].length,a=e.length,c=a,l=r(a),u=1/0,s=[];c--;){var f=e[c];c&&t&&(f=dt(f,At(t))),u=ln(f.length,u),l[c]=!n&&(t||i>=120&&f.length>=120)?new Ln(c&&f):void 0}f=e[0];var p=-1,d=l[0];e:for(;++p<i&&s.length<u;){var m=f[p],h=t?t(m):m;if(m=n||0!==m?m:0,!(d?Ct(d,h):o(s,h,n))){for(c=a;--c;){var v=l[c];if(!(v?Ct(v,h):o(e[c],h,n)))continue e}d&&d.push(h),s.push(m)}}return s}function yr(e,t,n){var r=null==(e=gi(e,t=lo(t,e)))?e:e[Ri(Wi(t))];return null==r?void 0:it(r,e,n)}function _r(e){return qa(e)&&mr(e)==l}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!qa(e)&&!qa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Oa(e),c=Oa(t),d=a?u:oi(e),m=c?u:oi(t),k=(d=d==l?g:d)==g,E=(m=m==l?g:m)==g,P=d==m;if(P&&Da(e)){if(!Da(t))return!1;a=!0,k=!1}if(P&&!k)return i||(i=new Dn),a||Qa(e)?qo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!i(new Oe(e),new Oe(t)));case s:case f:case v:return Ba(+e,+t);case p:return e.name==t.name&&e.message==t.message;case b:case _:return e==t+"";case h:var c=Mt;case y:var l=1&r;if(c||(c=$t),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var d=qo(c(e),c(t),r,o,i,a);return a.delete(e),d;case w:if(Rn)return Rn.call(e)==Rn.call(t)}return!1}(e,t,d,n,r,o,i);if(!(1&n)){var R=k&&xe.call(e,"__wrapped__"),I=E&&xe.call(t,"__wrapped__");if(R||I){var T=R?e.value():e,B=I?t.value():t;return i||(i=new Dn),o(T,B,n,r,i)}}if(!P)return!1;return i||(i=new Dn),function(e,t,n,r,o,i){var a=1&n,c=Yo(e),l=c.length,u=Yo(t).length;if(l!=u&&!a)return!1;var s=l;for(;s--;){var f=c[s];if(!(a?f in t:xe.call(t,f)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var m=!0;i.set(e,t),i.set(t,e);var h=a;for(;++s<l;){f=c[s];var v=e[f],g=t[f];if(r)var b=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(void 0===b?v===g||o(v,g,n,r,i):b)){m=!1;break}h||(h="constructor"==f)}if(m&&!h){var y=e.constructor,_=t.constructor;y==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(m=!1)}return i.delete(e),i.delete(t),m}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function kr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=me(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var l=(c=n[o])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new Dn;if(r)var p=r(u,s,l,e,t,f);if(!(void 0===p?wr(s,u,3,r,f):p))return!1}}return!0}function xr(e){return!(!$a(e)||(t=e,Ee&&Ee in t))&&(Ma(e)?Te:ae).test(Ii(e));var t}function Sr(e){return"function"==typeof e?e:null==e?Yc:"object"==typeof e?Oa(e)?Br(e[0],e[1]):Tr(e):nl(e)}function Er(e){if(!di(e))return an(e);var t=[];for(var n in me(e))xe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Pr(e){if(!$a(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=di(e),n=[];for(var r in e)("constructor"!=r||!t&&xe.call(e,r))&&n.push(r);return n}function Rr(e,t){return e<t}function Ir(e,t){var n=-1,o=Fa(e)?r(e.length):[];return tr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Tr(e){var t=ei(e);return 1==t.length&&t[0][2]?hi(t[0][0],t[0][1]):function(n){return n===e||kr(n,e,t)}}function Br(e,t){return si(e)&&mi(t)?hi(Ri(e),t):function(n){var r=vc(n,e);return void 0===r&&r===t?gc(n,e):wr(t,r,3)}}function Ar(e,t,n,r,o){e!==t&&cr(t,(function(i,a){if(o||(o=new Dn),$a(i))!function(e,t,n,r,o,i,a){var c=yi(e,n),l=yi(t,n),u=a.get(l);if(u)return void Vn(e,n,u);var s=i?i(c,l,n+"",e,t,a):void 0,f=void 0===s;if(f){var p=Oa(l),d=!p&&Da(l),m=!p&&!d&&Qa(l);s=l,p||d||m?Oa(c)?s=c:La(c)?s=yo(c):d?(f=!1,s=po(l,!0)):m?(f=!1,s=ho(l,!0)):s=[]:Ha(l)||Ca(l)?(s=c,Ca(c)?s=cc(c):$a(c)&&!Ma(c)||(s=ai(l))):f=!1}f&&(a.set(l,s),o(s,l,r,i,a),a.delete(l));Vn(e,n,s)}(e,t,a,n,Ar,r,o);else{var c=r?r(yi(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Vn(e,a,c)}}),kc)}function jr(e,t){var n=e.length;if(n)return li(t+=t<0?n:0,n)?e[t]:void 0}function Cr(e,t,n){t=t.length?dt(t,(function(e){return Oa(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Yc];var r=-1;return t=dt(t,At(Jo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Ir(e,(function(e,n,o){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;for(;++r<a;){var l=vo(o[r],i[r]);if(l){if(r>=c)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=pr(e,a);n(c,a)&&Ur(i,lo(a,e),c)}return i}function Nr(e,t,n,r){var o=r?kt:wt,i=-1,a=t.length,c=e;for(e===t&&(t=yo(t)),n&&(c=dt(e,At(n)));++i<a;)for(var l=0,u=t[i],s=n?n(u):u;(l=o(c,s,l,r))>-1;)c!==e&&He.call(c,l,1),He.call(e,l,1);return e}function Fr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;li(o)?He.call(e,o,1):eo(e,o)}}return e}function Lr(e,t){return e+en(fn()*(t-e+1))}function Dr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function zr(e,t){return ki(vi(e,t,Yc),e+"")}function Wr(e){return Wn(Bc(e))}function Mr(e,t){var n=Bc(e);return Ei(n,Zn(t,0,n.length))}function Ur(e,t,n,r){if(!$a(e))return e;for(var o=-1,i=(t=lo(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var l=Ri(t[o]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var s=c[l];void 0===(u=r?r(s,l,c):void 0)&&(u=$a(s)?s:li(t[o+1])?[]:{})}$n(c,l,u),c=c[l]}return e}var Vr=yn?function(e,t){return yn.set(e,t),e}:Yc,$r=bt?function(e,t){return bt(e,"toString",{configurable:!0,enumerable:!1,value:$c(t),writable:!0})}:Yc;function qr(e){return Ei(Bc(e))}function Gr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Yr(e,t){var n;return tr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Hr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Ja(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Kr(e,t,Yc,n)}function Kr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,c=null===t,l=Ja(t),u=void 0===t;o<i;){var s=en((o+i)/2),f=n(e[s]),p=void 0!==f,d=null===f,m=f==f,h=Ja(f);if(a)var v=r||m;else v=u?m&&(r||p):c?m&&p&&(r||!d):l?m&&p&&!d&&(r||!h):!d&&!h&&(r?f<=t:f<t);v?o=s+1:i=s}return ln(i,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Ba(c,l)){var l=c;i[o++]=0===a?0:a}}return i}function Xr(e){return"number"==typeof e?e:Ja(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Oa(e))return dt(e,Jr)+"";if(Ja(e))return In?In.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ft,i=e.length,a=!0,c=[],l=c;if(n)a=!1,o=pt;else if(i>=200){var u=t?null:zo(e);if(u)return $t(u);a=!1,o=Ct,l=new Ln}else l=t?[]:c;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else o(l,f,n)||(l!==c&&l.push(f),c.push(s))}return c}function eo(e,t){return null==(e=gi(e,t=lo(t,e)))||delete e[Ri(Wi(t))]}function to(e,t,n,r){return Ur(e,t,n(pr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Gr(e,r?0:i,r?i+1:o):Gr(e,r?i+1:0,r?o:i)}function ro(e,t){var n=e;return n instanceof Cn&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,mt([e],t.args))}),n)}function oo(e,t,n){var o=e.length;if(o<2)return o?Qr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var c=e[i],l=-1;++l<o;)l!=i&&(a[i]=er(a[i]||c,e[l],t,n));return Qr(ar(a,1),t,n)}function io(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a}function ao(e){return La(e)?e:[]}function co(e){return"function"==typeof e?e:Yc}function lo(e,t){return Oa(e)?e:si(e,t)?[e]:Pi(lc(e))}var uo=zr;function so(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=Pt||function(e){return Ye.clearTimeout(e)};function po(e,t){if(t)return e.slice();var n=e.length,r=Fe?Fe(n):new e.constructor(n);return e.copy(r),r}function mo(e){var t=new e.constructor(e.byteLength);return new Oe(t).set(new Oe(e)),t}function ho(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function vo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ja(e),a=void 0!==t,c=null===t,l=t==t,u=Ja(t);if(!c&&!u&&!i&&e>t||i&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!l)return-1}return 0}function go(e,t,n,o){for(var i=-1,a=e.length,c=n.length,l=-1,u=t.length,s=cn(a-c,0),f=r(u+s),p=!o;++l<u;)f[l]=t[l];for(;++i<c;)(p||i<a)&&(f[n[i]]=e[i]);for(;s--;)f[l++]=e[i++];return f}function bo(e,t,n,o){for(var i=-1,a=e.length,c=-1,l=n.length,u=-1,s=t.length,f=cn(a-l,0),p=r(f+s),d=!o;++i<f;)p[i]=e[i];for(var m=i;++u<s;)p[m+u]=t[u];for(;++c<l;)(d||i<a)&&(p[m+n[c]]=e[i++]);return p}function yo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function _o(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),o?Hn(n,c,l):$n(n,c,l)}return n}function wo(e,t){return function(n,r){var o=Oa(n)?at:Gn,i=t?t():{};return o(n,e,Jo(r,2),i)}}function ko(e){return zr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}function xo(e,t){return function(n,r){if(null==n)return n;if(!Fa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=me(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function So(e){return function(t,n,r){for(var o=-1,i=me(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}function Eo(e){return function(t){var n=Wt(t=lc(t))?Yt(t):void 0,r=n?n[0]:t.charAt(0),o=n?so(n,1).join(""):t.slice(1);return r[e]()+o}}function Po(e){return function(t){return ht(Mc(Cc(t).replace(je,"")),e,"")}}function Ro(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Bn(e.prototype),r=e.apply(n,t);return $a(r)?r:n}}function Io(e){return function(t,n,r){var o=me(t);if(!Fa(t)){var i=Jo(n,3);t=wc(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function To(e){return Go((function(t){var n=t.length,r=n,o=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(i);if(o&&!c&&"wrapper"==Zo(a))var c=new jn([],!0)}for(r=c?r:n;++r<n;){var l=Zo(a=t[r]),u="wrapper"==l?Ko(a):void 0;c=u&&fi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[Zo(u[0])].apply(c,u[3]):1==a.length&&fi(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Oa(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Bo(e,t,n,o,i,a,c,l,u,s){var f=128&t,p=1&t,d=2&t,m=24&t,h=512&t,v=d?void 0:Ro(e);return function g(){for(var b=arguments.length,y=r(b),_=b;_--;)y[_]=arguments[_];if(m)var w=Xo(g),k=Ft(y,w);if(o&&(y=go(y,o,i,m)),a&&(y=bo(y,a,c,m)),b-=k,m&&b<s){var x=Vt(y,w);return Lo(e,t,Bo,g.placeholder,n,y,x,l,u,s-b)}var S=p?n:this,E=d?S[e]:e;return b=y.length,l?y=bi(y,l):h&&b>1&&y.reverse(),f&&u<b&&(y.length=u),this&&this!==Ye&&this instanceof g&&(E=v||Ro(E)),E.apply(S,y)}}function Ao(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Jr(n),r=Jr(r)):(n=Xr(n),r=Xr(r)),o=e(n,r)}return o}}function Co(e){return Go((function(t){return t=dt(t,At(Jo())),zr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Oo(e,t){var n=(t=void 0===t?" ":Jr(t)).length;if(n<2)return n?Dr(t,e):t;var r=Dr(t,Qt(e/Gt(t)));return Wt(t)?so(Yt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&ui(t,n,o)&&(n=o=void 0),t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n,o){for(var i=-1,a=cn(Qt((t-e)/(n||1)),0),c=r(a);a--;)c[o?a:++i]=e,e+=n;return c}(t,n,o=void 0===o?t<n?1:-1:rc(o),e)}}function Fo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ac(t),n=ac(n)),e(t,n)}}function Lo(e,t,n,r,o,i,a,c,l,u){var s=8&t;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var f=[e,t,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,c,l,u],p=n.apply(void 0,f);return fi(e)&&_i(p,f),p.placeholder=r,xi(p,e,t)}function Do(e){var t=de[e];return function(e,n){if(e=ac(e),(n=null==n?0:ln(oc(n),292))&&rn(e)){var r=(lc(e)+"e").split("e");return+((r=(lc(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zo=vn&&1/$t(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Jc;function Wo(e){return function(t){var n=oi(t);return n==h?Mt(t):n==y?qt(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Mo(e,t,n,o,c,l,u,s){var f=2&t;if(!f&&"function"!=typeof e)throw new ge(i);var p=o?o.length:0;if(p||(t&=-97,o=c=void 0),u=void 0===u?u:cn(oc(u),0),s=void 0===s?s:oc(s),p-=c?c.length:0,64&t){var d=o,m=c;o=c=void 0}var h=f?void 0:Ko(e),v=[e,t,n,o,c,d,m,l,u,s];if(h&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,c=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?go(u,l,t[4]):l,e[4]=u?Vt(e[3],a):t[4]}(l=t[5])&&(u=e[5],e[5]=u?bo(u,l,t[6]):l,e[6]=u?Vt(e[5],a):t[6]);(l=t[7])&&(e[7]=l);128&r&&(e[8]=null==e[8]?t[8]:ln(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(v,h),e=v[0],t=v[1],n=v[2],o=v[3],c=v[4],!(s=v[9]=void 0===v[9]?f?0:e.length:cn(v[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var o=Ro(e);return function i(){for(var a=arguments.length,c=r(a),l=a,u=Xo(i);l--;)c[l]=arguments[l];var s=a<3&&c[0]!==u&&c[a-1]!==u?[]:Vt(c,u);if((a-=s.length)<n)return Lo(e,t,Bo,i.placeholder,void 0,c,s,void 0,void 0,n-a);var f=this&&this!==Ye&&this instanceof i?o:e;return it(f,this,c)}}(e,t,s):32!=t&&33!=t||c.length?Bo.apply(void 0,v):function(e,t,n,o){var i=1&t,a=Ro(e);return function t(){for(var c=-1,l=arguments.length,u=-1,s=o.length,f=r(s+l),p=this&&this!==Ye&&this instanceof t?a:e;++u<s;)f[u]=o[u];for(;l--;)f[u++]=arguments[++c];return it(p,i?n:this,f)}}(e,t,n,o);else var g=function(e,t,n){var r=1&t,o=Ro(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return xi((h?Vr:_i)(g,v),e,t)}function Uo(e,t,n,r){return void 0===e||Ba(e,_e[n])&&!xe.call(r,n)?t:e}function Vo(e,t,n,r,o,i){return $a(e)&&$a(t)&&(i.set(t,e),Ar(e,t,void 0,Vo,i),i.delete(t)),e}function $o(e){return Ha(e)?void 0:e}function qo(e,t,n,r,o,i){var a=1&n,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=i.get(e),s=i.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,d=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var m=e[f],h=t[f];if(r)var v=a?r(h,m,f,t,e,i):r(m,h,f,e,t,i);if(void 0!==v){if(v)continue;p=!1;break}if(d){if(!gt(t,(function(e,t){if(!Ct(d,t)&&(m===e||o(m,e,n,r,i)))return d.push(t)}))){p=!1;break}}else if(m!==h&&!o(m,h,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Go(e){return ki(vi(e,void 0,Ni),e+"")}function Yo(e){return dr(e,wc,ni)}function Ho(e){return dr(e,kc,ri)}var Ko=yn?function(e){return yn.get(e)}:Jc;function Zo(e){for(var t=e.name+"",n=_n[t],r=xe.call(_n,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Xo(e){return(xe.call(Tn,"placeholder")?Tn:e).placeholder}function Jo(){var e=Tn.iteratee||Hc;return e=e===Hc?Sr:e,arguments.length?e(arguments[0],arguments[1]):e}function Qo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ei(e){for(var t=wc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,mi(o)]}return t}function ti(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xr(n)?n:void 0}var ni=tn?function(e){return null==e?[]:(e=me(e),st(tn(e),(function(t){return Ge.call(e,t)})))}:il,ri=tn?function(e){for(var t=[];e;)mt(t,ni(e)),e=Ue(e);return t}:il,oi=mr;function ii(e,t,n){for(var r=-1,o=(t=lo(t,e)).length,i=!1;++r<o;){var a=Ri(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Va(o)&&li(a,o)&&(Oa(e)||Ca(e))}function ai(e){return"function"!=typeof e.constructor||di(e)?{}:Bn(Ue(e))}function ci(e){return Oa(e)||Ca(e)||!!(Ke&&e&&e[Ke])}function li(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,n){if(!$a(n))return!1;var r=typeof t;return!!("number"==r?Fa(n)&&li(t,n.length):"string"==r&&t in n)&&Ba(n[t],e)}function si(e,t){if(Oa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ja(e))||($.test(e)||!V.test(e)||null!=t&&e in me(t))}function fi(e){var t=Zo(e),n=Tn[t];if("function"!=typeof n||!(t in Cn.prototype))return!1;if(e===n)return!0;var r=Ko(n);return!!r&&e===r[0]}(dn&&oi(new dn(new ArrayBuffer(1)))!=S||mn&&oi(new mn)!=h||hn&&"[object Promise]"!=oi(hn.resolve())||vn&&oi(new vn)!=y||gn&&oi(new gn)!=k)&&(oi=function(e){var t=mr(e),n=t==g?e.constructor:void 0,r=n?Ii(n):"";if(r)switch(r){case wn:return S;case kn:return h;case xn:return"[object Promise]";case Sn:return y;case En:return k}return t});var pi=we?Ma:al;function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function mi(e){return e==e&&!$a(e)}function hi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function vi(e,t,n){return t=cn(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=cn(o.length-t,0),c=r(a);++i<a;)c[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(c),it(e,this,l)}}function gi(e,t){return t.length<2?e:pr(e,Gr(t,0,-1))}function bi(e,t){for(var n=e.length,r=ln(t.length,n),o=yo(e);r--;){var i=t[r];e[r]=li(i,n)?o[i]:void 0}return e}function yi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var _i=Si(Vr),wi=Jt||function(e,t){return Ye.setTimeout(e,t)},ki=Si($r);function xi(e,t,n){var r=t+"";return ki(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ct(c,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(J):[]}(r),n)))}function Si(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ei(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Lr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Pi=function(e){var t=Sa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(q,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||Ja(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ii(e){if(null!=e){try{return ke.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ti(e){if(e instanceof Cn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bi=zr((function(e,t){return La(e)?er(e,ar(t,1,La,!0)):[]})),Ai=zr((function(e,t){var n=Wi(t);return La(n)&&(n=void 0),La(e)?er(e,ar(t,1,La,!0),Jo(n,2)):[]})),ji=zr((function(e,t){var n=Wi(t);return La(n)&&(n=void 0),La(e)?er(e,ar(t,1,La,!0),void 0,n):[]}));function Ci(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),_t(e,Jo(t,3),o)}function Oi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=oc(n),o=n<0?cn(r+o,0):ln(o,r-1)),_t(e,Jo(t,3),o,!0)}function Ni(e){return(null==e?0:e.length)?ar(e,1):[]}function Fi(e){return e&&e.length?e[0]:void 0}var Li=zr((function(e){var t=dt(e,ao);return t.length&&t[0]===e[0]?br(t):[]})),Di=zr((function(e){var t=Wi(e),n=dt(e,ao);return t===Wi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Jo(t,2)):[]})),zi=zr((function(e){var t=Wi(e),n=dt(e,ao);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function Wi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Mi=zr(Ui);function Ui(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Vi=Go((function(e,t){var n=null==e?0:e.length,r=Kn(e,t);return Fr(e,dt(t,(function(e){return li(e,n)?+e:e})).sort(vo)),r}));function $i(e){return null==e?e:pn.call(e)}var qi=zr((function(e){return Qr(ar(e,1,La,!0))})),Gi=zr((function(e){var t=Wi(e);return La(t)&&(t=void 0),Qr(ar(e,1,La,!0),Jo(t,2))})),Yi=zr((function(e){var t=Wi(e);return t="function"==typeof t?t:void 0,Qr(ar(e,1,La,!0),void 0,t)}));function Hi(e){if(!e||!e.length)return[];var t=0;return e=st(e,(function(e){if(La(e))return t=cn(e.length,t),!0})),Tt(t,(function(t){return dt(e,Et(t))}))}function Ki(e,t){if(!e||!e.length)return[];var n=Hi(e);return null==t?n:dt(n,(function(e){return it(t,void 0,e)}))}var Zi=zr((function(e,t){return La(e)?er(e,t):[]})),Xi=zr((function(e){return oo(st(e,La))})),Ji=zr((function(e){var t=Wi(e);return La(t)&&(t=void 0),oo(st(e,La),Jo(t,2))})),Qi=zr((function(e){var t=Wi(e);return t="function"==typeof t?t:void 0,oo(st(e,La),void 0,t)})),ea=zr(Hi);var ta=zr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ki(e,n)}));function na(e){var t=Tn(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var oa=Go((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Kn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Cn&&li(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ia=wo((function(e,t,n){xe.call(e,n)?++e[n]:Hn(e,n,1)}));var aa=Io(Ci),ca=Io(Oi);function la(e,t){return(Oa(e)?ct:tr)(e,Jo(t,3))}function ua(e,t){return(Oa(e)?lt:nr)(e,Jo(t,3))}var sa=wo((function(e,t,n){xe.call(e,n)?e[n].push(t):Hn(e,n,[t])}));var fa=zr((function(e,t,n){var o=-1,i="function"==typeof t,a=Fa(e)?r(e.length):[];return tr(e,(function(e){a[++o]=i?it(t,e,n):yr(e,t,n)})),a})),pa=wo((function(e,t,n){Hn(e,n,t)}));function da(e,t){return(Oa(e)?dt:Ir)(e,Jo(t,3))}var ma=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Cr(e,ar(t,1),[])})),va=Xt||function(){return Ye.Date.now()};function ga(e,t,n){return t=n?void 0:t,Mo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=zr((function(e,t,n){var r=1;if(n.length){var o=Vt(n,Xo(ya));r|=32}return Mo(e,r,t,n,o)})),_a=zr((function(e,t,n){var r=3;if(n.length){var o=Vt(n,Xo(_a));r|=32}return Mo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,c,l,u,s=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ge(i);function m(t){var n=r,i=o;return r=o=void 0,s=t,c=e.apply(i,n)}function h(e){return s=e,l=wi(g,t),f?m(e):c}function v(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-s>=a}function g(){var e=va();if(v(e))return b(e);l=wi(g,function(e){var n=t-(e-u);return p?ln(n,a-(e-s)):n}(e))}function b(e){return l=void 0,d&&r?m(e):(r=o=void 0,c)}function y(){var e=va(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return h(u);if(p)return fo(l),l=wi(g,t),m(u)}return void 0===l&&(l=wi(g,t)),c}return t=ac(t)||0,$a(n)&&(f=!!n.leading,a=(p="maxWait"in n)?cn(ac(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==l&&fo(l),s=0,r=u=o=l=void 0},y.flush=function(){return void 0===l?c:b(va())},y}var ka=zr((function(e,t){return Qn(e,1,t)})),xa=zr((function(e,t,n){return Qn(e,ac(t)||0,n)}));function Sa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Sa.Cache||Fn),n}function Ea(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Sa.Cache=Fn;var Pa=uo((function(e,t){var n=(t=1==t.length&&Oa(t[0])?dt(t[0],At(Jo())):dt(ar(t,1),At(Jo()))).length;return zr((function(r){for(var o=-1,i=ln(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Ra=zr((function(e,t){return Mo(e,32,void 0,t,Vt(t,Xo(Ra)))})),Ia=zr((function(e,t){return Mo(e,64,void 0,t,Vt(t,Xo(Ia)))})),Ta=Go((function(e,t){return Mo(e,256,void 0,void 0,void 0,t)}));function Ba(e,t){return e===t||e!=e&&t!=t}var Aa=Fo(hr),ja=Fo((function(e,t){return e>=t})),Ca=_r(function(){return arguments}())?_r:function(e){return qa(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Oa=r.isArray,Na=Qe?At(Qe):function(e){return qa(e)&&mr(e)==x};function Fa(e){return null!=e&&Va(e.length)&&!Ma(e)}function La(e){return qa(e)&&Fa(e)}var Da=nn||al,za=et?At(et):function(e){return qa(e)&&mr(e)==f};function Wa(e){if(!qa(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ha(e)}function Ma(e){if(!$a(e))return!1;var t=mr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ua(e){return"number"==typeof e&&e==oc(e)}function Va(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $a(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qa(e){return null!=e&&"object"==typeof e}var Ga=tt?At(tt):function(e){return qa(e)&&oi(e)==h};function Ya(e){return"number"==typeof e||qa(e)&&mr(e)==v}function Ha(e){if(!qa(e)||mr(e)!=g)return!1;var t=Ue(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==Re}var Ka=nt?At(nt):function(e){return qa(e)&&mr(e)==b};var Za=rt?At(rt):function(e){return qa(e)&&oi(e)==y};function Xa(e){return"string"==typeof e||!Oa(e)&&qa(e)&&mr(e)==_}function Ja(e){return"symbol"==typeof e||qa(e)&&mr(e)==w}var Qa=ot?At(ot):function(e){return qa(e)&&Va(e.length)&&!!We[mr(e)]};var ec=Fo(Rr),tc=Fo((function(e,t){return e<=t}));function nc(e){if(!e)return[];if(Fa(e))return Xa(e)?Yt(e):yo(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=oi(e);return(t==h?Mt:t==y?$t:Bc)(e)}function rc(e){return e?(e=ac(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oc(e){var t=rc(e),n=t%1;return t==t?n?t-n:t:0}function ic(e){return e?Zn(oc(e),0,4294967295):0}function ac(e){if("number"==typeof e)return e;if(Ja(e))return NaN;if($a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Bt(e);var n=ie.test(e);return n||ce.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function cc(e){return _o(e,kc(e))}function lc(e){return null==e?"":Jr(e)}var uc=ko((function(e,t){if(di(t)||Fa(t))_o(t,wc(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),sc=ko((function(e,t){_o(t,kc(t),e)})),fc=ko((function(e,t,n,r){_o(t,kc(t),e,r)})),pc=ko((function(e,t,n,r){_o(t,wc(t),e,r)})),dc=Go(Kn);var mc=zr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=kc(i),c=-1,l=a.length;++c<l;){var u=a[c],s=e[u];(void 0===s||Ba(s,_e[u])&&!xe.call(e,u))&&(e[u]=i[u])}return e})),hc=zr((function(e){return e.push(void 0,Vo),it(Sc,void 0,e)}));function vc(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function gc(e,t){return null!=e&&ii(e,t,gr)}var bc=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),e[t]=n}),$c(Yc)),yc=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),xe.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),_c=zr(yr);function wc(e){return Fa(e)?zn(e):Er(e)}function kc(e){return Fa(e)?zn(e,!0):Pr(e)}var xc=ko((function(e,t,n){Ar(e,t,n)})),Sc=ko((function(e,t,n,r){Ar(e,t,n,r)})),Ec=Go((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=lo(t,e),r||(r=t.length>1),t})),_o(e,Ho(e),n),r&&(n=Xn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Pc=Go((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return gc(e,n)}))}(e,t)}));function Rc(e,t){if(null==e)return{};var n=dt(Ho(e),(function(e){return[e]}));return t=Jo(t),Or(e,n,(function(e,n){return t(e,n[0])}))}var Ic=Wo(wc),Tc=Wo(kc);function Bc(e){return null==e?[]:jt(e,wc(e))}var Ac=Po((function(e,t,n){return t=t.toLowerCase(),e+(n?jc(t):t)}));function jc(e){return Wc(lc(e).toLowerCase())}function Cc(e){return(e=lc(e))&&e.replace(ue,Lt).replace(Ce,"")}var Oc=Po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nc=Po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fc=Eo("toLowerCase");var Lc=Po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dc=Po((function(e,t,n){return e+(n?" ":"")+Wc(t)}));var zc=Po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Wc=Eo("toUpperCase");function Mc(e,t,n){return e=lc(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}var Uc=zr((function(e,t){try{return it(e,void 0,t)}catch(e){return Wa(e)?e:new K(e)}})),Vc=Go((function(e,t){return ct(t,(function(t){t=Ri(t),Hn(e,t,ya(e[t],e))})),e}));function $c(e){return function(){return e}}var qc=To(),Gc=To(!0);function Yc(e){return e}function Hc(e){return Sr("function"==typeof e?e:Xn(e,1))}var Kc=zr((function(e,t){return function(n){return yr(n,e,t)}})),Zc=zr((function(e,t){return function(n){return yr(e,n,t)}}));function Xc(e,t,n){var r=wc(t),o=fr(t,r);null!=n||$a(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,wc(t)));var i=!($a(n)&&"chain"in n&&!n.chain),a=Ma(e);return ct(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mt([this.value()],arguments))})})),e}function Jc(){}var Qc=Co(dt),el=Co(ut),tl=Co(gt);function nl(e){return si(e)?Et(Ri(e)):function(e){return function(t){return pr(t,e)}}(e)}var rl=No(),ol=No(!0);function il(){return[]}function al(){return!1}var cl=jo((function(e,t){return e+t}),0),ll=Do("ceil"),ul=jo((function(e,t){return e/t}),1),sl=Do("floor");var fl,pl=jo((function(e,t){return e*t}),1),dl=Do("round"),ml=jo((function(e,t){return e-t}),0);return Tn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){if(--e<1)return t.apply(this,arguments)}},Tn.ary=ga,Tn.assign=uc,Tn.assignIn=sc,Tn.assignInWith=fc,Tn.assignWith=pc,Tn.at=dc,Tn.before=ba,Tn.bind=ya,Tn.bindAll=Vc,Tn.bindKey=_a,Tn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Oa(e)?e:[e]},Tn.chain=na,Tn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:cn(oc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Qt(o/t));i<o;)c[a++]=Gr(e,i,i+=t);return c},Tn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Tn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return mt(Oa(n)?yo(n):[n],ar(t,1))},Tn.cond=function(e){var t=null==e?0:e.length,n=Jo();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ge(i);return[n(e[0]),e[1]]})):[],zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},Tn.conforms=function(e){return function(e){var t=wc(e);return function(n){return Jn(n,e,t)}}(Xn(e,1))},Tn.constant=$c,Tn.countBy=ia,Tn.create=function(e,t){var n=Bn(e);return null==t?n:Yn(n,t)},Tn.curry=function e(t,n,r){var o=Mo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Tn.curryRight=function e(t,n,r){var o=Mo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Tn.debounce=wa,Tn.defaults=mc,Tn.defaultsDeep=hc,Tn.defer=ka,Tn.delay=xa,Tn.difference=Bi,Tn.differenceBy=Ai,Tn.differenceWith=ji,Tn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:oc(t))<0?0:t,r):[]},Tn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,0,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t):[]},Tn.dropRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0,!0):[]},Tn.dropWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0):[]},Tn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ui(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=oc(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:oc(r))<0&&(r+=o),r=n>r?0:ic(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Tn.filter=function(e,t){return(Oa(e)?st:ir)(e,Jo(t,3))},Tn.flatMap=function(e,t){return ar(da(e,t),1)},Tn.flatMapDeep=function(e,t){return ar(da(e,t),1/0)},Tn.flatMapDepth=function(e,t,n){return n=void 0===n?1:oc(n),ar(da(e,t),n)},Tn.flatten=Ni,Tn.flattenDeep=function(e){return(null==e?0:e.length)?ar(e,1/0):[]},Tn.flattenDepth=function(e,t){return(null==e?0:e.length)?ar(e,t=void 0===t?1:oc(t)):[]},Tn.flip=function(e){return Mo(e,512)},Tn.flow=qc,Tn.flowRight=Gc,Tn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Tn.functions=function(e){return null==e?[]:fr(e,wc(e))},Tn.functionsIn=function(e){return null==e?[]:fr(e,kc(e))},Tn.groupBy=sa,Tn.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},Tn.intersection=Li,Tn.intersectionBy=Di,Tn.intersectionWith=zi,Tn.invert=bc,Tn.invertBy=yc,Tn.invokeMap=fa,Tn.iteratee=Hc,Tn.keyBy=pa,Tn.keys=wc,Tn.keysIn=kc,Tn.map=da,Tn.mapKeys=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Hn(n,t(e,r,o),e)})),n},Tn.mapValues=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Hn(n,r,t(e,r,o))})),n},Tn.matches=function(e){return Tr(Xn(e,1))},Tn.matchesProperty=function(e,t){return Br(e,Xn(t,1))},Tn.memoize=Sa,Tn.merge=xc,Tn.mergeWith=Sc,Tn.method=Kc,Tn.methodOf=Zc,Tn.mixin=Xc,Tn.negate=Ea,Tn.nthArg=function(e){return e=oc(e),zr((function(t){return jr(t,e)}))},Tn.omit=Ec,Tn.omitBy=function(e,t){return Rc(e,Ea(Jo(t)))},Tn.once=function(e){return ba(2,e)},Tn.orderBy=function(e,t,n,r){return null==e?[]:(Oa(t)||(t=null==t?[]:[t]),Oa(n=r?void 0:n)||(n=null==n?[]:[n]),Cr(e,t,n))},Tn.over=Qc,Tn.overArgs=Pa,Tn.overEvery=el,Tn.overSome=tl,Tn.partial=Ra,Tn.partialRight=Ia,Tn.partition=ma,Tn.pick=Pc,Tn.pickBy=Rc,Tn.property=nl,Tn.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},Tn.pull=Mi,Tn.pullAll=Ui,Tn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Jo(n,2)):e},Tn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},Tn.pullAt=Vi,Tn.range=rl,Tn.rangeRight=ol,Tn.rearg=Ta,Tn.reject=function(e,t){return(Oa(e)?st:ir)(e,Ea(Jo(t,3)))},Tn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Jo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Fr(e,o),n},Tn.rest=function(e,t){if("function"!=typeof e)throw new ge(i);return zr(e,t=void 0===t?t:oc(t))},Tn.reverse=$i,Tn.sampleSize=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),(Oa(e)?Mn:Mr)(e,t)},Tn.set=function(e,t,n){return null==e?e:Ur(e,t,n)},Tn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Ur(e,t,n,r)},Tn.shuffle=function(e){return(Oa(e)?Un:qr)(e)},Tn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ui(e,t,n)?(t=0,n=r):(t=null==t?0:oc(t),n=void 0===n?r:oc(n)),Gr(e,t,n)):[]},Tn.sortBy=ha,Tn.sortedUniq=function(e){return e&&e.length?Zr(e):[]},Tn.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Jo(t,2)):[]},Tn.split=function(e,t,n){return n&&"number"!=typeof n&&ui(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=lc(e))&&("string"==typeof t||null!=t&&!Ka(t))&&!(t=Jr(t))&&Wt(e)?so(Yt(e),0,n):e.split(t,n):[]},Tn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:cn(oc(t),0),zr((function(n){var r=n[t],o=so(n,0,t);return r&&mt(o,r),it(e,this,o)}))},Tn.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},Tn.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:oc(t))<0?0:t):[]},Tn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t,r):[]},Tn.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},Tn.takeWhile=function(e,t){return e&&e.length?no(e,Jo(t,3)):[]},Tn.tap=function(e,t){return t(e),e},Tn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ge(i);return $a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},Tn.thru=ra,Tn.toArray=nc,Tn.toPairs=Ic,Tn.toPairsIn=Tc,Tn.toPath=function(e){return Oa(e)?dt(e,Ri):Ja(e)?[e]:yo(Pi(lc(e)))},Tn.toPlainObject=cc,Tn.transform=function(e,t,n){var r=Oa(e),o=r||Da(e)||Qa(e);if(t=Jo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:$a(e)&&Ma(i)?Bn(Ue(e)):{}}return(o?ct:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Tn.unary=function(e){return ga(e,1)},Tn.union=qi,Tn.unionBy=Gi,Tn.unionWith=Yi,Tn.uniq=function(e){return e&&e.length?Qr(e):[]},Tn.uniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},Tn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},Tn.unset=function(e,t){return null==e||eo(e,t)},Tn.unzip=Hi,Tn.unzipWith=Ki,Tn.update=function(e,t,n){return null==e?e:to(e,t,co(n))},Tn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,co(n),r)},Tn.values=Bc,Tn.valuesIn=function(e){return null==e?[]:jt(e,kc(e))},Tn.without=Zi,Tn.words=Mc,Tn.wrap=function(e,t){return Ra(co(t),e)},Tn.xor=Xi,Tn.xorBy=Ji,Tn.xorWith=Qi,Tn.zip=ea,Tn.zipObject=function(e,t){return io(e||[],t||[],$n)},Tn.zipObjectDeep=function(e,t){return io(e||[],t||[],Ur)},Tn.zipWith=ta,Tn.entries=Ic,Tn.entriesIn=Tc,Tn.extend=sc,Tn.extendWith=fc,Xc(Tn,Tn),Tn.add=cl,Tn.attempt=Uc,Tn.camelCase=Ac,Tn.capitalize=jc,Tn.ceil=ll,Tn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ac(n))==n?n:0),void 0!==t&&(t=(t=ac(t))==t?t:0),Zn(ac(e),t,n)},Tn.clone=function(e){return Xn(e,4)},Tn.cloneDeep=function(e){return Xn(e,5)},Tn.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},Tn.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},Tn.conformsTo=function(e,t){return null==t||Jn(e,t,wc(t))},Tn.deburr=Cc,Tn.defaultTo=function(e,t){return null==e||e!=e?t:e},Tn.divide=ul,Tn.endsWith=function(e,t,n){e=lc(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Zn(oc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Tn.eq=Ba,Tn.escape=function(e){return(e=lc(e))&&z.test(e)?e.replace(L,Dt):e},Tn.escapeRegExp=function(e){return(e=lc(e))&&Y.test(e)?e.replace(G,"\\$&"):e},Tn.every=function(e,t,n){var r=Oa(e)?ut:rr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Tn.find=aa,Tn.findIndex=Ci,Tn.findKey=function(e,t){return yt(e,Jo(t,3),ur)},Tn.findLast=ca,Tn.findLastIndex=Oi,Tn.findLastKey=function(e,t){return yt(e,Jo(t,3),sr)},Tn.floor=sl,Tn.forEach=la,Tn.forEachRight=ua,Tn.forIn=function(e,t){return null==e?e:cr(e,Jo(t,3),kc)},Tn.forInRight=function(e,t){return null==e?e:lr(e,Jo(t,3),kc)},Tn.forOwn=function(e,t){return e&&ur(e,Jo(t,3))},Tn.forOwnRight=function(e,t){return e&&sr(e,Jo(t,3))},Tn.get=vc,Tn.gt=Aa,Tn.gte=ja,Tn.has=function(e,t){return null!=e&&ii(e,t,vr)},Tn.hasIn=gc,Tn.head=Fi,Tn.identity=Yc,Tn.includes=function(e,t,n,r){e=Fa(e)?e:Bc(e),n=n&&!r?oc(n):0;var o=e.length;return n<0&&(n=cn(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},Tn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),wt(e,t,o)},Tn.inRange=function(e,t,n){return t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n){return e>=ln(t,n)&&e<cn(t,n)}(e=ac(e),t,n)},Tn.invoke=_c,Tn.isArguments=Ca,Tn.isArray=Oa,Tn.isArrayBuffer=Na,Tn.isArrayLike=Fa,Tn.isArrayLikeObject=La,Tn.isBoolean=function(e){return!0===e||!1===e||qa(e)&&mr(e)==s},Tn.isBuffer=Da,Tn.isDate=za,Tn.isElement=function(e){return qa(e)&&1===e.nodeType&&!Ha(e)},Tn.isEmpty=function(e){if(null==e)return!0;if(Fa(e)&&(Oa(e)||"string"==typeof e||"function"==typeof e.splice||Da(e)||Qa(e)||Ca(e)))return!e.length;var t=oi(e);if(t==h||t==y)return!e.size;if(di(e))return!Er(e).length;for(var n in e)if(xe.call(e,n))return!1;return!0},Tn.isEqual=function(e,t){return wr(e,t)},Tn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Tn.isError=Wa,Tn.isFinite=function(e){return"number"==typeof e&&rn(e)},Tn.isFunction=Ma,Tn.isInteger=Ua,Tn.isLength=Va,Tn.isMap=Ga,Tn.isMatch=function(e,t){return e===t||kr(e,t,ei(t))},Tn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,kr(e,t,ei(t),n)},Tn.isNaN=function(e){return Ya(e)&&e!=+e},Tn.isNative=function(e){if(pi(e))throw new K("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(e)},Tn.isNil=function(e){return null==e},Tn.isNull=function(e){return null===e},Tn.isNumber=Ya,Tn.isObject=$a,Tn.isObjectLike=qa,Tn.isPlainObject=Ha,Tn.isRegExp=Ka,Tn.isSafeInteger=function(e){return Ua(e)&&e>=-9007199254740991&&e<=9007199254740991},Tn.isSet=Za,Tn.isString=Xa,Tn.isSymbol=Ja,Tn.isTypedArray=Qa,Tn.isUndefined=function(e){return void 0===e},Tn.isWeakMap=function(e){return qa(e)&&oi(e)==k},Tn.isWeakSet=function(e){return qa(e)&&"[object WeakSet]"==mr(e)},Tn.join=function(e,t){return null==e?"":on.call(e,t)},Tn.kebabCase=Oc,Tn.last=Wi,Tn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=oc(n))<0?cn(r+o,0):ln(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):_t(e,xt,o,!0)},Tn.lowerCase=Nc,Tn.lowerFirst=Fc,Tn.lt=ec,Tn.lte=tc,Tn.max=function(e){return e&&e.length?or(e,Yc,hr):void 0},Tn.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),hr):void 0},Tn.mean=function(e){return St(e,Yc)},Tn.meanBy=function(e,t){return St(e,Jo(t,2))},Tn.min=function(e){return e&&e.length?or(e,Yc,Rr):void 0},Tn.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Rr):void 0},Tn.stubArray=il,Tn.stubFalse=al,Tn.stubObject=function(){return{}},Tn.stubString=function(){return""},Tn.stubTrue=function(){return!0},Tn.multiply=pl,Tn.nth=function(e,t){return e&&e.length?jr(e,oc(t)):void 0},Tn.noConflict=function(){return Ye._===this&&(Ye._=Ie),this},Tn.noop=Jc,Tn.now=va,Tn.pad=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Oo(en(o),n)+e+Oo(Qt(o),n)},Tn.padEnd=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&r<t?e+Oo(t-r,n):e},Tn.padStart=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&r<t?Oo(t-r,n)+e:e},Tn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),sn(lc(e).replace(H,""),t||0)},Tn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ui(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=rc(e),void 0===t?(t=e,e=0):t=rc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return ln(e+o*(t-e+Ve("1e-"+((o+"").length-1))),t)}return Lr(e,t)},Tn.reduce=function(e,t,n){var r=Oa(e)?ht:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},Tn.reduceRight=function(e,t,n){var r=Oa(e)?vt:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},Tn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),Dr(lc(e),t)},Tn.replace=function(){var e=arguments,t=lc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Tn.result=function(e,t,n){var r=-1,o=(t=lo(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ri(t[r])];void 0===i&&(r=o,i=n),e=Ma(i)?i.call(e):i}return e},Tn.round=dl,Tn.runInContext=e,Tn.sample=function(e){return(Oa(e)?Wn:Wr)(e)},Tn.size=function(e){if(null==e)return 0;if(Fa(e))return Xa(e)?Gt(e):e.length;var t=oi(e);return t==h||t==y?e.size:Er(e).length},Tn.snakeCase=Lc,Tn.some=function(e,t,n){var r=Oa(e)?gt:Yr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Tn.sortedIndex=function(e,t){return Hr(e,t)},Tn.sortedIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2))},Tn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Hr(e,t);if(r<n&&Ba(e[r],t))return r}return-1},Tn.sortedLastIndex=function(e,t){return Hr(e,t,!0)},Tn.sortedLastIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2),!0)},Tn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Hr(e,t,!0)-1;if(Ba(e[n],t))return n}return-1},Tn.startCase=Dc,Tn.startsWith=function(e,t,n){return e=lc(e),n=null==n?0:Zn(oc(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},Tn.subtract=ml,Tn.sum=function(e){return e&&e.length?It(e,Yc):0},Tn.sumBy=function(e,t){return e&&e.length?It(e,Jo(t,2)):0},Tn.template=function(e,t,n){var r=Tn.templateSettings;n&&ui(e,t,n)&&(t=void 0),e=lc(e),t=fc({},t,r,Uo);var o,i,a=fc({},t.imports,r.imports,Uo),c=wc(a),l=jt(a,c),u=0,s=t.interpolate||se,f="__p += '",p=he((t.escape||se).source+"|"+s.source+"|"+(s===U?ne:se).source+"|"+(t.evaluate||se).source+"|$","g"),d="//# sourceURL="+(xe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ze+"]")+"\n";e.replace(p,(function(t,n,r,a,c,l){return r||(r=a),f+=e.slice(u,l).replace(fe,zt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),c&&(i=!0,f+="';\n"+c+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var m=xe.call(t,"variable")&&t.variable;if(m){if(ee.test(m))throw new K("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(C,""):f).replace(O,"$1").replace(N,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=Uc((function(){return pe(c,d+"return "+f).apply(void 0,l)}));if(h.source=f,Wa(h))throw h;return h},Tn.times=function(e,t){if((e=oc(e))<1||e>9007199254740991)return[];var n=4294967295,r=ln(e,4294967295);e-=4294967295;for(var o=Tt(r,t=Jo(t));++n<e;)t(n);return o},Tn.toFinite=rc,Tn.toInteger=oc,Tn.toLength=ic,Tn.toLower=function(e){return lc(e).toLowerCase()},Tn.toNumber=ac,Tn.toSafeInteger=function(e){return e?Zn(oc(e),-9007199254740991,9007199254740991):0===e?e:0},Tn.toString=lc,Tn.toUpper=function(e){return lc(e).toUpperCase()},Tn.trim=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return Bt(e);if(!e||!(t=Jr(t)))return e;var r=Yt(e),o=Yt(t);return so(r,Ot(r,o),Nt(r,o)+1).join("")},Tn.trimEnd=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return e.slice(0,Ht(e)+1);if(!e||!(t=Jr(t)))return e;var r=Yt(e);return so(r,0,Nt(r,Yt(t))+1).join("")},Tn.trimStart=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return e.replace(H,"");if(!e||!(t=Jr(t)))return e;var r=Yt(e);return so(r,Ot(r,Yt(t))).join("")},Tn.truncate=function(e,t){var n=30,r="...";if($a(t)){var o="separator"in t?t.separator:o;n="length"in t?oc(t.length):n,r="omission"in t?Jr(t.omission):r}var i=(e=lc(e)).length;if(Wt(e)){var a=Yt(e);i=a.length}if(n>=i)return e;var c=n-Gt(r);if(c<1)return r;var l=a?so(a,0,c).join(""):e.slice(0,c);if(void 0===o)return l+r;if(a&&(c+=l.length-c),Ka(o)){if(e.slice(c).search(o)){var u,s=l;for(o.global||(o=he(o.source,lc(re.exec(o))+"g")),o.lastIndex=0;u=o.exec(s);)var f=u.index;l=l.slice(0,void 0===f?c:f)}}else if(e.indexOf(Jr(o),c)!=c){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},Tn.unescape=function(e){return(e=lc(e))&&D.test(e)?e.replace(F,Kt):e},Tn.uniqueId=function(e){var t=++Se;return lc(e)+t},Tn.upperCase=zc,Tn.upperFirst=Wc,Tn.each=la,Tn.eachRight=ua,Tn.first=Fi,Xc(Tn,(fl={},ur(Tn,(function(e,t){xe.call(Tn.prototype,t)||(fl[t]=e)})),fl),{chain:!1}),Tn.VERSION="4.17.21",ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Tn[e].placeholder=Tn})),ct(["drop","take"],(function(e,t){Cn.prototype[e]=function(n){n=void 0===n?1:cn(oc(n),0);var r=this.__filtered__&&!t?new Cn(this):this.clone();return r.__filtered__?r.__takeCount__=ln(n,r.__takeCount__):r.__views__.push({size:ln(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Cn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Cn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Cn.prototype[e]=function(){return this[n](1).value()[0]}})),ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Cn.prototype[e]=function(){return this.__filtered__?new Cn(this):this[n](1)}})),Cn.prototype.compact=function(){return this.filter(Yc)},Cn.prototype.find=function(e){return this.filter(e).head()},Cn.prototype.findLast=function(e){return this.reverse().find(e)},Cn.prototype.invokeMap=zr((function(e,t){return"function"==typeof e?new Cn(this):this.map((function(n){return yr(n,e,t)}))})),Cn.prototype.reject=function(e){return this.filter(Ea(Jo(e)))},Cn.prototype.slice=function(e,t){e=oc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Cn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oc(t))<0?n.dropRight(-t):n.take(t-e)),n)},Cn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Cn.prototype.toArray=function(){return this.take(4294967295)},ur(Cn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Tn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Tn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof Cn,l=a[0],u=c||Oa(t),s=function(e){var t=o.apply(Tn,mt([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,m=c&&!p;if(!i&&u){t=m?t:new Cn(this);var h=e.apply(t,a);return h.__actions__.push({func:ra,args:[s],thisArg:void 0}),new jn(h,f)}return d&&m?e.apply(this,a):(h=this.thru(s),d?r?h.value()[0]:h.value():h)})})),ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Tn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Oa(o)?o:[],e)}return this[n]((function(n){return t.apply(Oa(n)?n:[],e)}))}})),ur(Cn.prototype,(function(e,t){var n=Tn[t];if(n){var r=n.name+"";xe.call(_n,r)||(_n[r]=[]),_n[r].push({name:t,func:n})}})),_n[Bo(void 0,2).name]=[{name:"wrapper",func:void 0}],Cn.prototype.clone=function(){var e=new Cn(this.__wrapped__);return e.__actions__=yo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yo(this.__views__),e},Cn.prototype.reverse=function(){if(this.__filtered__){var e=new Cn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Cn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Oa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=ln(t,e+a);break;case"takeRight":e=cn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,c=i.end,l=c-a,u=r?c:a-1,s=this.__iteratees__,f=s.length,p=0,d=ln(l,this.__takeCount__);if(!n||!r&&o==l&&d==l)return ro(e,this.__actions__);var m=[];e:for(;l--&&p<d;){for(var h=-1,v=e[u+=t];++h<f;){var g=s[h],b=g.iteratee,y=g.type,_=b(v);if(2==y)v=_;else if(!_){if(1==y)continue e;break e}}m[p++]=v}return m},Tn.prototype.at=oa,Tn.prototype.chain=function(){return na(this)},Tn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Tn.prototype.next=function(){void 0===this.__values__&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Tn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Ti(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Tn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Cn){var t=e;return this.__actions__.length&&(t=new Cn(this)),(t=t.reverse()).__actions__.push({func:ra,args:[$i],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru($i)},Tn.prototype.toJSON=Tn.prototype.valueOf=Tn.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Tn.prototype.first=Tn.prototype.head,Xe&&(Tn.prototype[Xe]=function(){return this}),Tn}();Ye._=Zt,void 0===(o=function(){return Zt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(7),n(8)(e))},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return c(u(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function c(e,t){var n,r,a,c,l,u,s,f,p,d=1,m=e.length,h="";for(r=0;r<m;r++)if("string"==typeof e[r])h+=e[r];else if("object"==typeof e[r]){if((c=e[r]).keys)for(n=t[d],a=0;a<c.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',c.keys[a],c.keys[a-1]));n=n[c.keys[a]]}else n=c.param_no?t[c.param_no]:t[d++];if(o.not_type.test(c.type)&&o.not_primitive.test(c.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(c.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(c.type)&&(f=n>=0),c.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,c.width?parseInt(c.width):0);break;case"e":n=c.precision?parseFloat(n).toExponential(c.precision):parseFloat(n).toExponential();break;case"f":n=c.precision?parseFloat(n).toFixed(c.precision):parseFloat(n);break;case"g":n=c.precision?String(Number(n.toPrecision(c.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=c.precision?n.substring(0,c.precision):n;break;case"t":n=String(!!n),n=c.precision?n.substring(0,c.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=c.precision?n.substring(0,c.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=c.precision?n.substring(0,c.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(c.type)?h+=n:(!o.number.test(c.type)||f&&!c.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),u=c.pad_char?"0"===c.pad_char?"0":c.pad_char.charAt(1):" ",s=c.width-(p+n).length,l=c.width&&s>0?u.repeat(s):"",h+=c.align?p+n+l:"0"===u?p+l+n:l+p+n)}return h}var l=Object.create(null);function u(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],u=[];if(null===(u=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(c=c.substring(u[0].length));)if(null!==(u=o.key_access.exec(c)))a.push(u[1]);else{if(null===(u=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,c=n,l=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<l;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==n&&(c===r&&(r=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return c={args:i,val:e.apply(null,i)},n?(n.prev=c,c.next=n):r=c,o===t.maxSize?(r=r.prev).next=null:o++,n=c,c.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},function(e,t,n){var r=n(1),o=n(6);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'*,:before,:after{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}#ast-block-templates-button-wrap{flex-basis:100%}#ast-block-templates-button{margin:2px;height:33px;font-size:13px;align-items:center;display:flex}#ast-block-templates-button .logo{width:16px;height:16px;margin-right:8px;padding:0}#ast-block-templates-button .uagb-template-button-logo{height:22px;width:22px;margin-left:-2px}.ast-block-templates-button{padding:10px}#ast-block-templates-modal{border-radius:3px;box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);overflow:hidden;background-color:#f1f3f5;max-width:85%;height:calc(100vh - 4em);z-index:9999;margin:2em auto}#ast-block-templates-modal>.inner{position:relative}@media screen and (max-width: 782px){#ast-block-templates-modal{padding:0 20px}}.ast-block-templates-grid-blocks .inner .button-actions .button:first-child{margin-right:5px}.ast-block-templates-grid-blocks .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:8px 15px;flex-direction:row;align-items:center}@media only screen and (min-width: 768px){.ast-block-templates-grid-blocks .ast-block-templates-grid .item{width:33.33%}}.ast-block-templates-grid-pages,.ast-block-templates-grid-blocks{display:none}.ast-block-templates-grid-pages.active,.ast-block-templates-grid-blocks.active{display:block}@media only screen and (min-width: 768px){.ast-block-templates-single-site-preview .ast-block-templates-grid .item,.ast-block-templates-grid-pages .ast-block-templates-grid .item{width:25%}}.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item{margin:0 3% 3.6% 0;border:none;position:relative;margin:0 4% 4% 0;position:relative;width:30.6%;box-sizing:border-box;align-content:flex-start}.ast-block-templates-grid .item .inner{margin:0;box-shadow:0 1px 20px 0 rgba(0,0,0,.07);background:#fff;position:relative;border-radius:2px;overflow:initial;border:1px solid #ddd;transition:all .4s}.ast-block-templates-grid .item .screenshot{background-position:center top;background-size:100%;background-repeat:no-repeat;border-top-left-radius:2px;border-top-right-radius:2px;overflow:hidden;background-color:#e5e5e5;position:relative;display:block}.ast-block-templates-grid .item .screenshot:after{content:"";display:block;padding-top:118%}.ast-block-templates-grid .item .heading-wrap{background-color:#fff;display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;background:#fff;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-top:1px solid #eee;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{font-weight:normal}.ast-block-templates-grid .item .inner:hover .preview{opacity:1;visibility:visible}.ast-block-templates-grid .item .preview{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0;visibility:hidden;float:none;transition:all .3s}.ast-block-templates-grid .item .preview .preview-inner{position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);font-size:20px;color:#d5dadf}.ast-block-templates-grid .item .import{cursor:pointer;position:relative}.ast-block-templates-grid .item .import .components-spinner{position:absolute;left:-25px;margin:0;top:-2px}.ast-block-templates-grid .item .import .dashicons{height:auto;width:auto;font-size:initial;padding-right:3px}.image-loading{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:image-placeholder;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #fafafa 8%, #f4f4f4 38%, #fafafa 54%);position:relative}@keyframes image-placeholder{0%{background-position:-150px 0}100%{background-position:150px 0}}.ast-block-templates-grid{display:flex;flex-wrap:wrap}@media only screen and (min-width: 768px){.ast-block-templates-grid{margin:0}.ast-block-templates-grid .item{width:25%;padding:1.1%;margin:0;box-shadow:none}}#ast-block-templates-modal-wrap{opacity:0;visibility:hidden;position:fixed;height:100%;width:100%;bottom:0;left:0;background-color:rgba(0,0,0,.8);z-index:9999;user-select:none}#ast-block-templates-modal-wrap .ast-block-templates-grid>.components-spinner{margin:8em auto auto}#ast-block-templates-modal-wrap.open{opacity:1;visibility:visible}#ast-block-templates-modal-wrap .filter-wrap{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px 0;padding-left:12.55px}#ast-block-templates-modal-wrap .filter-wrap select{margin-right:10px;position:relative;background-size:12px 12px;height:28px;color:#6d7882;border-radius:3px;border-color:#d5dadf;font-size:12px;padding:0 20px 0 10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}#ast-block-templates-modal-wrap .filters{display:flex;justify-content:space-between;align-items:center}#ast-block-templates-modal-wrap .loading{position:relative;background-color:#e2e2e2}#ast-block-templates-modal-wrap .loading:after{display:block;content:"";position:absolute;width:100%;height:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%);background:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));background:linear-gradient(90deg, #ffffff1c, rgba(255, 255, 255, 0.2), #ffffff2b);-webkit-animation:loading 1.5s infinite;animation:loading 1.5s infinite}@-webkit-keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}',""]),t.default=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(1),o=n(10);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.ast-block-templates-tooltip{width:105px;font-size:12px;position:absolute;bottom:-33px;background:#fff;box-shadow:0 3px 10px rgba(25,30,35,.12);padding:4px;border-radius:2px;display:none;z-index:999}.ast-block-templates-tooltip:before{border:5px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;top:-5px;left:45%;left:calc(50% - 5px);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:0px}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(12);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-sync{position:relative;padding:0 18px;cursor:pointer;color:#6d7882;border-left:1px solid #e6e9ec;display:flex;justify-content:center;align-items:center}.ast-block-templates-sync:hover .ast-block-templates-icon{color:#6d7882}.ast-block-templates-sync .ast-block-templates-icon{font-size:16px;color:#a4afb7}.ast-block-templates-sync .ast-block-templates-tooltip{text-align:center;width:100px}.ast-block-templates-sync:hover .ast-block-templates-tooltip{display:block}.ast-block-templates-sync__title{position:absolute;bottom:-15px;left:-139px;background:#fff;width:200px;border-radius:0px;padding:3px 8px;text-align:left;border:1px solid #e6e9ec;opacity:0;visibility:hidden}.ast-block-templates-sync--processing .ast-block-templates-icon{animation:rotation 2s infinite linear}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(14);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-layout{border-right:1px solid #eee;padding:0 15px;text-align:center;cursor:pointer;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;position:relative}.back-to-layout.show{opacity:1;visibility:visible}.back-to-layout .ast-block-templates-icon{font-size:24px}.back-to-layout:hover .ast-block-templates-tooltip{display:block}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(16);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".logo-wrap{border-right:1px solid #e6e9ec;display:flex;align-items:center;justify-content:center;cursor:pointer}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}.logo{height:38px;padding:0 8px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(18);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header-menu{display:flex;flex:1;align-items:center;justify-content:center;padding-right:70px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;width:108px;padding:18px 0;display:inline-block;text-align:center;font-weight:600;color:#444;font-size:13px;border-bottom:3px solid transparent;cursor:pointer}.header-menu-item:hover{color:#0073aa}.header-menu-item.active{border-color:#0073aa;background-image:linear-gradient(to bottom, #f1f3f5, #fff);color:#0073aa}.header-menu-item .dashicons{width:auto;height:auto;font-size:initial;margin-right:8px}.header-menu-item .ast-block-templates-icon{margin-right:10px;font-size:16px}.header{display:flex;background-color:#fff;box-shadow:25px 0 30px rgba(28,39,60,.09);border-bottom:1px solid #ddd;align-items:stretch;position:relative}.header h2{padding:10px 15px}.header .close{padding:0 15px;cursor:pointer;color:#a4afb7;border-left:1px solid #e6e9ec;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:22px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(20);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header .search-form{position:absolute;right:122px;top:9px}.header .search-form input::-webkit-input-placeholder{color:#a4afb7}.header .search-form .button{border:none;padding:0px 5px;line-height:0;background:0 0;position:absolute;right:15px;bottom:0;color:#a4afb7;top:0}.header .search-form .button:hover{background:transparent}.header .search-form.have-input input:focus+.button,.header .search-form.have-input input:hover+.button{opacity:0;visibility:hidden}.header .search-form input{border-left:none;border-right:none;border-top:none;border-bottom:1px solid #f1f3f5;font-weight:300;width:250px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #e9e9e9;box-shadow:none}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#f1f3f4}.header .search-form svg{fill:#a9a9a9;width:18px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(22);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-block-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-block-button .components-spinner,.ast-template-import-block-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-block-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-block-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(24);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".no-search-result{padding:7em 0;text-align:center;color:#6d7882;flex:1;right:0;top:0em !important}.no-search-result h3{margin-bottom:1.2em;font-size:1.3rem;font-weight:normal;color:#666;margin-top:0}.no-search-result p{font-size:13px;margin:0}.no-search-result-description a{text-decoration:none}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(26);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-templates{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#fafafa;border-color:#999;color:#23282d;margin-top:25px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(28);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-page-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-page-button .components-spinner,.ast-template-import-page-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-page-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-page-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(30);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-popup-wrap{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(49,49,49,.5);z-index:9}.ast-block-templates-popup-wrap.hide{display:none;opacity:0}.ast-block-templates-popup{background:#f2f2f2;margin:0 auto;width:660px;max-height:420px;transform:translate(-50%, -40%);box-sizing:border-box;position:fixed;background-color:#f1f3f5;z-index:100059;text-align:left;top:40%;left:50%;box-shadow:0 3px 6px rgba(0,0,0,.3);border-radius:2px}.ast-block-templates-popup-header{background:#fff;margin-top:0;box-shadow:0 0 8px rgba(0,0,0,.1);margin-bottom:.5em;display:flex;justify-content:space-between}.ast-block-templates-popup-footer{padding:1em 1em 1em 2em;z-index:30;box-sizing:border-box;border-top:1px solid #dcdcdc}.ast-block-templates-popup-footer .button{margin-right:10px}.ast-block-templates-popup-content{display:block;padding:1em 1em 1em 2em;background:#f1f3f5;min-height:200px;overflow:auto;position:relative}.ast-block-templates-popup-heading{font-size:1.3em;margin:0;font-weight:600;padding:1em 1em 1em 2em}.ast-block-templates-popup-close-icon{width:53px;cursor:pointer;border-left:1px solid #eee;color:#aaa;display:flex;align-items:center;justify-content:center;padding:1em 1em 1em 1em}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-single-site-preview .ast-block-templates-grid .item{width:47%;padding:0;margin:0 6% 6% 0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item:nth-child(even){margin-right:0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .heading-wrap{padding:8px 14px}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .title{font-weight:500;font-size:13px;background:#fff}.ast-block-templates-single-site-preview .ast-block-templates-grid .item.active .inner{border-color:#5b9dd9;border-radius:2px}.ast-block-templates-single-site-preview{display:flex;position:fixed;left:30px;right:30px;height:80vh;padding-top:14px;max-width:80%;margin:0 auto}.ast-block-templates-single-page-preview{width:65%;flex:1;margin-bottom:3em}.ast-block-templates-single-page-preview img{width:100%}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 270px);overflow-y:auto;border-radius:2px;box-shadow:0 0 16px 0 rgba(0,0,0,.12);height:100vh}.ast-block-templates-grid-preview{width:35%}.ast-block-templates-grid-preview .ast-block-templates-grid{overflow-y:auto;max-height:calc(100vh - 250px);padding-right:30px;margin-right:-35px;margin-left:0}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner{border:1px solid #e2e2e2}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner:hover{box-shadow:0 3px 12px rgba(0,0,0,.14)}.ast-block-templates-grid-preview .ast-block-templates-grid .item .screenshot:after{padding-top:114%}.ast-block-templates-pages-title{color:#9e9e9e;text-decoration:none;font-weight:500;position:relative;font-size:13px;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0 0 32px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{max-height:calc(100vh - 210px);overflow-y:auto;box-shadow:0 0 16px 0 rgba(0,0,0,.12);margin:1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(36);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{text-align:center}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content .ast-block-templates-notice-message{margin:.5em 0;padding:2px}.ast-block-templates-content .ast-block-templates-notice{position:relative;margin:0 1.1% 20px 1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content{height:88vh;height:calc(100vh - 108px);overflow-y:auto;padding:30px;color:#444}.ast-block-templates-content img{max-width:100%;vertical-align:middle}.ast-block-templates-content .title{margin:0;font-size:14px;color:#444;margin-bottom:5px}.ast-block-templates-content .title b{font-weight:900}.ast-block-templates-content .sub-title{font-weight:300;font-size:13px}.ast-block-templates-full-preview::-webkit-scrollbar,.ast-block-templates-content::-webkit-scrollbar,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.ast-block-templates-full-preview::-webkit-scrollbar-thumb,.ast-block-templates-content::-webkit-scrollbar-thumb,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-thumb,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.ast-block-templates-full-preview::-webkit-scrollbar-track,.ast-block-templates-content::-webkit-scrollbar-track,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-track,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(42);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".footer{background:#fff;border-top:1px solid #ebebeb;display:flex;padding:0 30px;position:absolute;bottom:0;right:0;left:0;justify-content:space-between;box-shadow:0 -2px 8px rgba(0,0,0,.05)}.footer .dashicons{vertical-align:middle;font-size:initial}.footer .left,.footer .right{display:flex;justify-content:center;align-items:center}.footer .button{margin:10px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(44);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){var r=n(1),o=n(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.used-blocks-info{width:250px;position:absolute;bottom:60px;background:#fff;box-shadow:0 -3px 10px rgba(25,30,35,.12);padding:15px 18px;border-radius:2px;right:38px;display:none}.used-blocks-info.show{display:block}.used-blocks-info:after{border:8px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;bottom:-8px;left:40%;border-top-style:solid;border-left-color:transparent;border-right-color:transparent;border-bottom:none;margin-left:0px}.used-blocks-info h3{margin:15px 0 8px 0;font-size:14px;font-weight:500;border-bottom:1px solid #e4e7ea;padding-bottom:8px}.used-blocks-info h3:first-child{margin-top:0}.used-blocks-info ol{margin-left:15px}.used-blocks-info ol li:last-child{margin-bottom:0}.footer .used-blocks-icon{border-left:1px solid #e6e9ec;border-right:1px solid #e6e9ec;margin-right:20px;padding:25px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:20px;color:#555d66}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){"use strict";n.r(t);n(5);var r=n(2),o=n.n(r),i=function(e,t,n){var o=AstBlockTemplatesVars.allBlocks,i=[];e&&(i=o.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var a=[];return n&&(a=o.filter((function(e){var t=Object.values(e.tag);if(t.length){for(var r in t)if(t[r].toLowerCase().includes(n.toLowerCase()))return!0;return!1}return!0}))),(e||n)&&(o=Object(r.unionBy)(i,a,"ID")),t&&(o=o.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o},a=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],i=o.pages||{};if(Object.values(i).length)for(var a in i)i[a]["site-ID"]=o.ID,i[a]["site-title"]=o.title,t.push(i[a])}var c=[];e&&(c=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];e&&(l=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var u=[];return e&&(u=t.filter((function(t){if("tag"in t){var n=Object.values(t.tag)||[];if(n.length)for(var r in n)if(n[r].toLowerCase().includes(e.toLowerCase()))return!0;return!1}return!0}))),e&&(t=Object(r.unionBy)(c,u,l,"ID")),t};function c(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={togglePopup:!1,allBlocks:AstBlockTemplatesVars.allBlocks,allSites:AstBlockTemplatesVars.allSites,allPages:[],currentScreen:"all-sites-grid",previousScreen:"",filterBlocksByCategory:"",filterBlocksByColor:"",filterBlocksBySearchTerm:"",filterPagesByPageType:"",filterPagesBySearchTerm:"",pagePreview:{},sitePreview:{},fullWidthPagePreview:{},fullWidthBlockPreview:{},notice:{},importItemInfo:{},displayDynamicPopup:!1},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return l(l({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return l(l({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return l(l({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return l(l({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return l(l({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return l(l({},e),{},{notice:t.notice});if("SET_SEARCH_PAGE_PREVIEW"===t.type){var n=[],r=t.item["site-ID"]||"";return r&&(n=e.allSites.filter((function(e){return r===e.ID})))&&(n=n[0]),l(l({},e),{},{sitePreview:n,pagePreview:t.item})}if("SET_CURRENT_SCREEN"===t.type){var o="all-sites-grid"===t.currentScreen||"all-blocks-grid"===t.currentScree?"":e.currentScreen;return l(l({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}return"SET_PREVIOUS_SCREEN"===t.type?l(l({},e),{},{previousScreen:t.previousScreen}):"TOGGLE_POPUP"===t.type?l(l({},s),{},{togglePopup:!e.togglePopup}):"SET_SITE_PREVIEW"===t.type?l(l({},e),{},{sitePreview:t.sitePreview}):"SET_PAGE_PREVIEW"===t.type?l(l({},e),{},{pagePreview:t.pagePreview}):"SET_FULL_PREVIEW"===t.type?l(l({},e),{},{fullWidthPreview:t.fullWidthPreview}):"SET_FILTER_BLOCKS_BY_CATEGORY"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,t.filterBlocksByCategory,e.filterBlocksBySearchTerm),filterBlocksByCategory:t.filterBlocksByCategory}):"SET_FILTER_BLOCKS_BY_COLOR"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,e.filterBlocksByCategory,e.filterBlocksBySearchTerm),filterBlocksByColor:t.filterBlocksByColor}):"SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type?l(l({},e),{},{allBlocks:i(t.filterBlocksBySearchTerm,e.filterBlocksByCategory,t.filterBlocksBySearchTerm),filterBlocksBySearchTerm:t.filterBlocksBySearchTerm}):"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?l(l({},e),{},{allPages:a(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):l(l({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?l(l({},e),{},{allPages:t.allPages}):e};function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(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 d(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={getTogglePopup:function(e){return e.togglePopup},getAllBlocks:function(e){return e.allBlocks},getAllSites:function(e){return e.allSites},getCount:function(e){return e.count},getCurrentScreen:function(e){return e.currentScreen},getPreviousScreen:function(e){return e.previousScreen},getSearchTerm:function(e){return e.searchTerm},getSitePreview:function(e){return e.sitePreview},getNotice:function(e){return e.notice},getImportItemInfo:function(e){return e.importItemInfo},getPagePreview:function(e){return e.pagePreview},getFullWidthPreview:function(e){return e.fullWidthPreview},getFilterBlocksByCategory:function(e){return e.filterBlocksByCategory},getFilterBlocksByColor:function(e){return e.filterBlocksByColor},getFilterBlocksBySearchTerm:function(e){return e.filterBlocksBySearchTerm},getFilterPagesByPageType:function(e){return e.filterPagesByPageType},getFilterPagesBySearchTerm:function(e){return e.filterPagesBySearchTerm},getFullWidthPagePreview:function(e){return e.fullWidthPagePreview},getFullWidthBlockPreview:function(e){return e.fullWidthBlockPreview},getAllPages:function(e){return e.allPages},getBlockSearchInput:function(e){return e.blockSearchInput},getDisplayDynamicPopup:function(e){return e.displayDynamicPopup}},h={setTogglePopup:function(){return{type:"TOGGLE_POPUP"}},setFullWidthPagePreview:function(e){return{type:"FULL_WIDTH_PAGE_PREVIEW",fullWidthPagePreview:e}},setFullWidthBlockPreview:function(e){return{type:"FULL_WIDTH_BLOCK_PREVIEW",fullWidthBlockPreview:e}},setCurrentScreen:function(e){return{type:"SET_CURRENT_SCREEN",currentScreen:e}},setPreviousScreen:function(e){return{type:"SET_PREVIOUS_SCREEN",previousScreen:e}},setSitePreview:function(e){return{type:"SET_SITE_PREVIEW",sitePreview:e}},setSearchPagePreview:function(e){return{type:"SET_SEARCH_PAGE_PREVIEW",item:e}},setNotice:function(e){return{type:"SET_NOTICE",notice:e}},setPagePreview:function(e){return{type:"SET_PAGE_PREVIEW",pagePreview:e}},setFullWidthPreview:function(e){return{type:"SET_FULL_PREVIEW",fullWidthPreview:e}},setSearchTerm:function(e){return{type:"SEARCH_TERM",searchTerm:e}},setFilterBlocksByCategory:function(e){return{type:"SET_FILTER_BLOCKS_BY_CATEGORY",filterBlocksByCategory:e}},setFilterBlocksByColor:function(e){return{type:"SET_FILTER_BLOCKS_BY_COLOR",filterBlocksByColor:e}},setImportItemInfo:function(e){return{type:"SET_IMPORT_ITEM_INFO",importItemInfo:e}},setFilterBlocksBySearchTerm:function(e){return{type:"SET_FILTER_BLOCKS_BY_SEARCH_TERM",filterBlocksBySearchTerm:e}},setFilterPagesByPageType:function(e){return{type:"SET_FILTER_PAGES_BY_PAGE_TYPE",filterPagesByPageType:e}},setFilterPagesBySearchTerm:function(e){return{type:"SET_FILTER_PAGES_BY_SEARCH_TERM",filterPagesBySearchTerm:e}},setAllPages:function(e){return{type:"SET_ALL_PAGES",allPages:e}},setState:function(e){return{type:"SET_STATE",state:e}},setDisplayDynamicPopup:function(e){return{type:"SET_DISPLAY_DYNAMIC_POPUP",displayDynamicPopup:e}}};(function(e){var t,n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return n.apply(void 0,arguments)}};t=[].map((function(e){return e(o)})),n=r.flowRight.apply(void 0,p(t))(e.dispatch),e.dispatch=n})((0,wp.data.registerStore)("ast-block-templates",{reducer:f,actions:h,selectors:m}));var v,g,b,y,_=n(4),w=n.n(_),k=n(3),x=n.n(k),S=w()(console.error);function E(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x.a.sprintf.apply(x.a,[e].concat(n))}catch(t){return S("sprintf error: \n\n"+t.toString()),e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}v={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},g=["(","?"],b={")":["("],":":["?","?:"]},y=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var R={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function I(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(y);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(b[n]){if(b[n][0]===o){n=b[n][1]||n;break}}else if(g.indexOf(o)>=0||v[o]<v[n]){a.push(o);break}i.push(o)}b[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,c,l=[];for(n=0;n<e.length;n++){if(a=e[n],i=R[a]){for(r=i.length,o=Array(r);r--;)o[r]=l.pop();try{c=i.apply(null,o)}catch(e){return e}}else c=t.hasOwnProperty(a)?t[a]:+a;l.push(c)}return l[0]}(t,e)}}var T={contextDelimiter:"",onMissingKey:null};function B(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},T)this.options[n]=void 0!==t&&n in t?t[n]:T[n]}function A(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 j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}B.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=I(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},B.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,c;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(c=this.data[e][a])&&c[i]?c[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var C={"":{plural_forms:function(e){return 1===e?0:1}}},O=/^i18n\.(n?gettext|has_translation)(_|$)/;var N=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var F=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var L=function(e,t){return function(n,r,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,a=e[t];if(F(n)&&N(r))if("function"==typeof o)if("number"==typeof i){var c={callback:o,priority:i,namespace:r};if(a[n]){var l,u=a[n].handlers;for(l=u.length;l>0&&!(i>=u[l-1].priority);l--);l===u.length?u[l]=c:u.splice(l,0,c),a.__current.forEach((function(e){e.name===n&&e.currentIndex>=l&&e.currentIndex++}))}else a[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){var i=e[t];if(F(r)&&(n||N(o))){if(!i[r])return 0;var a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else for(var c=i[r].handlers,l=function(e){c[e].namespace===o&&(c.splice(e,1),a++,i.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},u=c.length-1;u>=0;u--)l(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}}};var z=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var W=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,c=new Array(a>1?a-1:0),l=1;l<a;l++)c[l-1]=arguments[l];if(!i||!i.length)return n?c[0]:void 0;var u={name:r,currentIndex:0};for(o.__current.push(u);u.currentIndex<i.length;){var s=i[u.currentIndex],f=s.callback.apply(null,c);n&&(c[0]=f),u.currentIndex++}return o.__current.pop(),n?c[0]:void 0}};var M=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var U=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var V=function(e,t){return function(n){var r=e[t];if(F(n))return r[n]&&r[n].runs?r[n].runs:0}},$=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=L(this,"actions"),this.addFilter=L(this,"filters"),this.removeAction=D(this,"actions"),this.removeFilter=D(this,"filters"),this.hasAction=z(this,"actions"),this.hasFilter=z(this,"filters"),this.removeAllActions=D(this,"actions",!0),this.removeAllFilters=D(this,"filters",!0),this.doAction=W(this,"actions"),this.applyFilters=W(this,"filters",!0),this.currentAction=M(this,"actions"),this.currentFilter=M(this,"filters"),this.doingAction=U(this,"actions"),this.doingFilter=U(this,"filters"),this.didAction=V(this,"actions"),this.didFilter=V(this,"filters")};var q=function(){return new $}(),G=(q.addAction,q.addFilter,q.removeAction,q.removeFilter,q.hasAction,q.hasFilter,q.removeAllActions,q.removeAllFilters,q.doAction,q.applyFilters,q.currentAction,q.currentFilter,q.doingAction,q.doingFilter,q.didAction,q.didFilter,q.actions,q.filters,function(e,t,n){var r=new B({}),o=new Set,i=function(){o.forEach((function(e){return e()}))},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=j(j(j({},C),r.data[t]),e),r.data[t][""]=j(j({},C[""]),r.data[t][""])},c=function(e,t){a(e,t),i()},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},s=function(e,t,r){var o=l(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+u(r),o,e,t,r)):o};if(e&&c(e,t),n){var f=function(e){O.test(e)&&i()};n.addAction("hookAdded","core/i18n",f),n.addAction("hookRemoved","core/i18n",f)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:c,resetLocaleData:function(e,t){r.data={},r.pluralForms={},c(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=l(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+u(t),r,e,t)):r},_x:s,_n:function(e,t,r,o){var i=l(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+u(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=l(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===s("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,c=t?t+""+e:e,l=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[c]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,o),l=n.applyFilters("i18n.has_translation_"+u(o),l,e,t,o)),l}}}(void 0,void 0,q)),Y=(G.getLocaleData.bind(G),G.setLocaleData.bind(G),G.resetLocaleData.bind(G),G.subscribe.bind(G),G.__.bind(G)),H=(G._x.bind(G),G._n.bind(G),G._nx.bind(G),G.isRTL.bind(G),G.hasTranslation.bind(G),wp.element),K=H.createPortal,Z=H.memo,X=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(Z((function(e){var t=e.onSetTogglePopup;return K(React.createElement("button",{onClick:t,id:"ast-block-templates-button",className:"button button-primary"},AstBlockTemplatesVars.display_button_logo&&""===AstBlockTemplatesVars.white_label_name?React.createElement("img",{src:AstBlockTemplatesVars.button_logo,className:"logo ".concat(AstBlockTemplatesVars.button_class)}):"",AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#9E9E9E";e&&console.log("%c ".concat(e," "),"color: ".concat(n,"; font-weight: lighter;"),t)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return J(e,t,"#F20404")},ee=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function te(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ne(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){te(i,r,o,a,c,"next",e)}function c(e){te(i,r,o,a,c,"throw",e)}a(void 0)}))}}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)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}(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 ie=wp.compose.compose,ae=wp.data,ce=ae.withSelect,le=ae.withDispatch,ue=wp.element,se=ue.useState,fe=ue.memo,pe=wp.ajax.post,de=ie(le((function(e){return{setNotice:e("ast-block-templates").setNotice}})),ce((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(fe((function(e){var t=e.setNotice,n=re(se({isProcessing:"",buttonText:"Sync Library"}),2),r=n[0],o=n[1],i=r.isProcessing,a=r.buttonText,c=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-update-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){t({type:"success",message:"Template library refreshed!"}),o({isProcessing:"complete",buttonText:"Sync Complete"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=function(){var e=ne(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-sites",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," site..")}),t===n&&c()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),u=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-get-sites-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status){o({isProcessing:"process",buttonText:"Importing Sites.."});for(var t=e.data,n=1;n<=t;n++)l(n,t)}else o({isProcessing:"complete",buttonText:"Importing Sites Failed"})})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(){var e=ne(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-blocks",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," block..")}),t===n&&u()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),f=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-get-blocks-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status)for(var t=e.data,n=1;n<=t;n++)s(n,t);else o({isProcessing:"complete",buttonText:"Importing Pages Failed"})})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-categories",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){f()})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pe({action:"ast-block-templates-check-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?"updated"===e.data?(o({isProcessing:"complete",buttonText:"Library is up-to date!"}),t({type:"success",message:"Template library refreshed!"})):p():(t({type:"error",message:"Error! ".concat(e.message)}),o({isProcessing:"complete",buttonText:"Error! ".concat(e.message)}))})).fail((function(e){Q("fail",e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),Q("Complete: Failed",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}();return React.createElement("span",{className:"ast-block-templates-sync ".concat("process"===i?"ast-block-templates-sync--processing":""),onClick:function(e){e.preventDefault(),t({type:"info",message:"Syncing template library in the background. The process can take anywhere between 2 to 3 minutes. We will notify you once done."}),o({isProcessing:"process",buttonText:"Syncing libray.."}),d()}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-refresh"}),React.createElement("span",{className:"ast-block-templates-sync__title"},a),React.createElement(ee,{message:"Sync Library"}))}))),me=(n(13),wp.compose.compose),he=wp.data,ve=he.withSelect,ge=he.withDispatch,be=wp.element.memo,ye=me(ve((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getPreviousScreen;return{currentScreen:n(),previousScreen:r()}})),ge((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(be((function(e){var t=e.currentScreen,n=e.previousScreen,r=e.setCurrentScreen,o="full-width-block-preview"===t||"full-width-page-preview"===t||"all-single-site-pages"===t?"show":"",i="full-width-block-preview"===t?"Back to Patterns":"Back to Pages";return React.createElement("div",{className:"back-to-layout ".concat(o),onClick:function(){r("full-width-page-preview"===t||"full-width-block-preview"===t?"all-single-site-pages"===n?"all-single-site-pages":"all-blocks-grid":"all-sites-grid")}},React.createElement(ee,{message:i}),React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-chevron-left"}))}))),_e=(n(15),wp.compose.compose),we=wp.data.withDispatch,ke=wp.element.memo,xe=_e(we((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(ke((function(e){var t=e.setCurrentScreen;return React.createElement("div",{className:"logo-wrap ".concat(""!==AstBlockTemplatesVars.white_label_name?"white-label":""),onClick:function(){return t("all-sites-grid")}},""!==AstBlockTemplatesVars.white_label_name?React.createElement("div",{className:"logo"},AstBlockTemplatesVars.white_label_name):React.createElement("img",{src:AstBlockTemplatesVars.popup_logo_uri,className:"logo"}))}))),Se=wp.compose.compose,Ee=wp.data,Pe=Ee.withSelect,Re=Ee.withDispatch,Ie=wp.element.memo,Te=Se(Pe((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{preview:n(),currentScreen:r()}})),Re((function(e){var t=e("ast-block-templates"),n=t.setAllPages,r=t.setSitePreview,o=t.setTogglePopup,i=t.setCurrentScreen,a=t.setFilterPagesBySearchTerm,c=t.setFilterBlocksBySearchTerm;return{updateCurrentScreen:function(e){n([]),r({}),a(""),c(""),i(e)},onSetSitePreview:r,onSetTogglePopup:o}})))(Ie((function(e){var t=e.currentScreen,n=e.updateCurrentScreen;return React.createElement("div",{className:"header-menu"},React.createElement("div",{className:"header-menu-item ".concat("all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?"active":""),onClick:function(){return n("all-sites-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-file"}),Y("Pages")),React.createElement("div",{className:"header-menu-item ".concat("all-blocks-grid"===t||"full-width-block-preview"===t?"active":""),onClick:function(){return n("all-blocks-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-layers"}),Y("Patterns")))}))),Be=wp.compose.compose,Ae=wp.data,je=Ae.withSelect,Ce=Ae.withDispatch,Oe=wp.element.memo,Ne=Be(je((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{sitePreview:n(),currentScreen:r()}})),Ce((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setTogglePopup;t.setCurrentScreen;return{setSitePreview:n,onSetTogglePopup:r}})))(Oe((function(e){var t=e.onSetTogglePopup;return React.createElement("div",{className:"close",onClick:function(e){t(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")}},React.createElement("i",{className:"dashicons dashicons-no-alt"}))})));n(17),n(19);function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Le(e,t)}(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 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 De=wp.element,ze=De.memo,We=De.useState,Me=De.useEffect,Ue=ze((function(e){var t=e.onSearch,n=e.value,r=e.searchInputRef,o=e.placeholder,i=Fe(We(""),2),a=i[0],c=i[1],l=o||Y("Search..","ast-block-templates");return Me((function(){c(n)})),React.createElement("div",{className:"search-form ".concat(a?"have-input":"")},React.createElement("input",{ref:r,type:"search",name:"search",value:n,placeholder:l,onChange:function(e){t(e)}}),React.createElement("button",{className:"button"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"})))})),Ve=wp.element.memo,$e=wp.compose.compose,qe=wp.data,Ge=qe.withSelect,Ye=qe.withDispatch,He=$e(Ge((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getFilterPagesBySearchTerm,o=t.getFilterBlocksBySearchTerm;return{currentScreen:n(),filterPagesBySearchTerm:r(),filterBlocksBySearchTerm:o()}})),Ye((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm,r=t.setFilterPagesBySearchTerm,o=t.setCurrentScreen,i=t.setPagePreview,a=t.setSitePreview,c=t.setFullWidthBlockPreview;return{setFilterBlocksBySearchTerm:function(e){o("all-blocks-grid"),c({}),n(e)},insertBlocks:e("core/block-editor").insertBlocks,setFilterPagesBySearchTerm:function(e){o("all-sites-grid"),r(e),i({}),a({})}}})))(Ve((function(e){var t=e.currentScreen,n=e.filterPagesBySearchTerm,r=e.filterBlocksBySearchTerm,o=e.setFilterBlocksBySearchTerm,i=e.setFilterPagesBySearchTerm;return React.createElement("div",{className:"header"},React.createElement(xe,null),React.createElement(ye,null),React.createElement(Te,null),"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(Ue,{placeholder:"Search Templates..",value:n,onSearch:function(e){i(e.target.value)}}):React.createElement(Ue,{placeholder:"Search Patterns..",value:r,onSearch:function(e){o(e.target.value)}}),React.createElement(de,null),React.createElement(Ne,null))}))),Ke=wp.ajax.post,Ze=wp.blocks.parse;var Xe=function(e,t,n,r,o){Ke({action:"ast_block_templates_importer",api_uri:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){!function(e,t,n,r,o){Ke({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){r(Ze(e),t,n),o(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))}(e,r,o,t,n)})).fail((function(e){Q("fail",e)}))},Je=function(e){return new Promise((function(t,n){var r=new window.FormData;r.append("action","ast_block_templates_activate_plugin"),r.append("init",e.init),r.append("security",AstBlockTemplatesVars._ajax_nonce),wp.apiFetch({url:AstBlockTemplatesVars.ajax_url,method:"POST",body:r}).then((function(e){e.success?t(e):n(e)}))}))},Qe=function(e){return new Promise((function(t,n){wp.updates.queue.push({action:"install-plugin",data:{slug:e.slug,init:e.init,name:e.name,success:function(n){t(n,e)},error:function(t){n(t,e)}}}),wp.updates.queueChecker()}))};function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var nt={stdClass:function(){},stringify:function(e){var t=new Map([[1/0,"d:INF;"],[-1/0,"d:-INF;"],[NaN,"d:NAN;"],[null,"N;"],[void 0,"N;"]]),n=function(e){return e?encodeURI(e).match(/(%.)?./g).length:0},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'"';return"".concat(n(e),":").concat(t[0]).concat(e).concat(t[t.length-1])},o=0;return function e(n){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=i,"string"==typeof n)return"s:".concat(r(n),";");if("number"==typeof n)return"".concat(Math.round(n)===n?"i":"d",":").concat((""+n).toUpperCase().replace(/(-?\d)E/,"$1.0E"),";");if("boolean"==typeof n)return"b:".concat(+n,";");var a=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+a],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var c=Object.entries(n).filter((function(e){var t=tt(e,2);t[0];return"function"!=typeof t[1]}));return(a?"a":"O:".concat(r(n.constructor.name)))+":".concat(c.length,":{").concat(c.map((function(t){var n=tt(t,2),r=n[0],o=n[1];return e(a&&/^\d{1,16}$/.test(r)?+r:r,!1)+e(o)})).join(""),"}")}(e)},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stdClass=nt.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;throw new Error("Error at ".concat(r,": ").concat(t,"\n").concat(e,"\n").concat(" ".repeat(r),"^"))},a=function(t,r){return t===e.slice(n,n+=t.length)?r:i("Expected '".concat(t,"'"),n-t.length)};function c(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";a(":");var c=t.exec(e.slice(n));return c||i("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=c[0].length,a(o,c[0])}function l(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var c=e.charCodeAt(n++);t-=c<128?1:c<2048||c>>11==27?2:3}return t?i("Invalid string length",o-2):a(r,e.slice(o,n))}var u=function(e){return e?t[e]?Object.create(t[e].prototype):new(et({},e,(function(){}))[e]):{}},s=function(){return c(/^[01]/,"a '0' or '1'",";")},f=function(){return+c(/^-?\d+/,"an integer",";")},p=function(e){return+c(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l(p(':"'),'"'+e)};function m(){var e=c(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function h(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):i("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function v(e){for(var t=0,n=p(":{");t<n;t++)e[h()]=y();return a("}",e)}function g(){var e=v({});return Object.keys(e).some((function(e,t){return e!=t}))?e:Object.values(e)}function b(e){return"function"!=typeof e.unserialize&&i("Instance of ".concat(e.constructor.name,' does not have an "unserialize" method')),e.unserialize(l(p(":{"))),a("}",e)}function y(){var t=e[n++].toLowerCase(),o=r.push(null)-1,c="n"===t?a(";",null):"s"===t?d(";"):"b"===t?s():"i"===t?f():"d"===t?m():"a"===t?g():"o"===t?v(u(d())):"c"===t?b(u(d())):"r"===t?r[f()]:i("Unexpected type ".concat(t),n-1);return"r"!==t&&(r[o]=c),c}var _=y();return n!==e.length&&i("Unexpected trailing character"),_}},rt=function(e,t){return fetch("https://websitedemos.net/wp-json/wp/v2/".concat(t,"/").concat(e)).then((function(e){return e.json()}))};n(21);function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return it(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(e,t)}(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 it(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 at=wp.compose.compose,ct=wp.data,lt=ct.useSelect,ut=ct.withSelect,st=ct.withDispatch,ft=wp.ajax.post,pt=wp.blocks.parse,dt=wp.element,mt=dt.useState,ht=dt.memo,vt=(dt.useEffect,dt.useCallback,wp.components.Spinner),gt=at(ut((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getSitePreview;return{importItemInfo:n(),sitePreview:o(),currentScreen:r()}})),st((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{setImportItemInfo:n,onSetTogglePopup:r,insertBlocks:e("core/block-editor").insertBlocks}})))(ht((function(e){var t=e.setImportItemInfo,n=(e.liveRequest,e.requiredPlugins,e.importItemInfo),r=e.title,o=e.btnClass,i=e.currentScreen,a=e.insertBlocks,c=e.onSetTogglePopup,l=e.item,u=e.withIcon,s=ot(mt(n),2),f=s[0],p=(s[1],o||""),d=ot(mt(r||"Import"),2),m=d[0],h=d[1],v="full-width-block-preview"===i?"show":"",g=ot(mt(!1),2),b=g[0],y=g[1],_=lt((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),w=_.insertIndex,k=_.insertClientID,x=function(){Je({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){E()})).catch((function(e){y(!1),h("Activation failed!")}))},S=function(){var e=f.original_content;ft({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){b=!1,a(pt(e),w,k),c(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))},E=function(){var e=f["post-meta"]["astra-site-wpforms-path"]||"";e?function(e){ft({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){S()})).fail((function(e){y(!1),h("WPForms import failed!")}))}(e):S()};return React.createElement("div",{className:"ast-template-import-block-button ".concat(v," ").concat(p),onClick:function(){y(!0),rt(l.ID,"astra-blocks").then((function(e){t(e),f=e,(e["post-meta"]["astra-blocks-required-plugins"]?nt.parse(e["post-meta"]["astra-blocks-required-plugins"]):[]).length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Qe({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){x()})).catch((function(e){y(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?x():E():E()})).catch((function(e){}))}},b?React.createElement(React.Fragment,null,React.createElement(vt,null)," Importing.."):React.createElement(React.Fragment,null,u?React.createElement("i",{className:"dashicons dashicons-download"}):"",m))}))),bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__};function yt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _t(e,t)}(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 _t(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 wt=wp.compose.compose,kt=wp.data.withDispatch,xt=wp.element,St=xt.memo,Et=xt.useEffect,Pt=xt.useState,Rt=(wp.ajax.post,wt(kt((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=t.setFullWidthBlockPreview,o=t.setCurrentScreen;return{setImportItemInfo:n,updateFullWidthBlockPreview:function(e){r(e),o("full-width-block-preview")}}})))(St((function(e){var t=e.setImportItemInfo,n=e.updateFullWidthBlockPreview,r=e.item,o=e.InitMasonry,i=r["thumbnail-image-url"]||"",a=r["featured-image-url"]||"",c=function(e){t(e),n(e)},l=yt(Pt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),u=l[0],s=l[1],f=yt(Pt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),p=f[0],d=f[1];return Et((function(){var e=!0,t=new Image;t.src=i;var n=new Image;return n.src=a,t.onload=function(){e&&(s(t.src),o())},n.onload=function(){e&&(d(n.src),o())},function(){e=!1}})),React.createElement("div",{className:"item single-block"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"thumbnail",onClick:function(){t(r),n(r),c(r)}},React.createElement("img",{srcSet:"".concat(p,", ").concat(u),src:u}),React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(r.title)),React.createElement("div",{className:"button-actions"},React.createElement("button",{className:"button",onClick:function(){c(r)}},"Preview"),React.createElement(gt,{withIcon:!1,btnClass:"button button-primary",title:"Import",liveRequest:!0,item:r})))))})))),It=wp.compose.compose,Tt=wp.element.memo,Bt=wp.data,At=Bt.withSelect,jt=Bt.withDispatch,Ct=It(At((function(e){return{filterBlocksByCategory:(0,e("ast-block-templates").getFilterBlocksByCategory)()}})),jt((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(Tt((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory;return AstBlockTemplatesVars.allCategories?React.createElement("div",{className:"blocks-category"},React.createElement("select",{onChange:function(e){n(e.target.value)},defaultValue:t},React.createElement("option",{value:""},Y("All")),AstBlockTemplatesVars.allCategories.map((function(e){return React.createElement("option",{key:e.id,value:e.id}," ",e.name," ")})))):""}))),Ot=(0,wp.element.memo)((function(){return React.createElement("div",{className:"filter-wrap ast-block-templates-block-grid-filters"},React.createElement("div",{className:"filters"},React.createElement(Ct,null)))})),Nt=(n(23),function(e){var t=e.children;return React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,"Sorry No Results Found."),React.createElement("div",{className:"no-search-result-description"},React.createElement("p",null,"Don't see a template you would like to import?",React.createElement("br",null),AstBlockTemplatesVars.display_suggestion_link&&React.createElement("a",{target:"_blank",href:AstBlockTemplatesVars.suggestion_link},"Make a Template Suggestion!"))),t)}),Ft=(n(25),function(e){var t=e.afterClick;return React.createElement("span",null,React.createElement("span",{className:"back-to-templates",onClick:function(e){t&&t(e)}},Y("Back to Templates","ast-block-templates")))}),Lt=wp.compose.compose,Dt=wp.data,zt=Dt.withSelect,Wt=Dt.withDispatch,Mt=wp.element,Ut=Mt.memo,Vt=Mt.useEffect,$t=(Mt.useState,Lt(Wt((function(e){return{setFilterBlocksBySearchTerm:e("ast-block-templates").setFilterBlocksBySearchTerm}})),zt((function(e){return{allBlocks:(0,e("ast-block-templates").getAllBlocks)()}})))(Ut((function(e){var t=e.setFilterBlocksBySearchTerm,n=e.allBlocks,r=(e.imagesLoad,e.setImagesLoaded,Object.values(n));Vt((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var o=function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&new Masonry(e)};return React.createElement("div",{className:"ast-block-templates-grid-blocks active"},React.createElement(Ot,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},r.length?r.map((function(e){return React.createElement(Rt,{key:e.ID,item:e,InitMasonry:o})})):React.createElement(Nt,null,React.createElement(Ft,{afterClick:function(e){t("")}}))))}))));n(27);function qt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gt(e,t)}(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 Gt(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 Yt=wp.compose.compose,Ht=wp.data,Kt=Ht.useSelect,Zt=Ht.withSelect,Xt=Ht.withDispatch,Jt=wp.element,Qt=Jt.useState,en=Jt.memo,tn=wp.components.Spinner,nn=wp.ajax.post,rn=Yt(Zt((function(e){var t=e("ast-block-templates"),n=t.getPagePreview,r=t.getImportItemInfo,o=t.getCurrentScreen,i=t.getSitePreview;return{pagePreview:n(),importItemInfo:r(),sitePreview:i(),currentScreen:o()}})),Xt((function(e){var t=e("ast-block-templates"),n=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{onSetTogglePopup:n,insertBlocks:e("core/block-editor").insertBlocks}})))(en((function(e){var t=e.title,n=e.currentScreen,r=e.insertBlocks,o=e.onSetTogglePopup,i=e.item,a=(e.importItemInfo,e.withIcon),c=e.pagePreview,l=a||!0,u=t||"Import",s=[],f="full-width-page-preview"===n?"show":"",p=qt(Qt(!1),2),d=p[0],m=p[1],h=c["required-plugins"]?c["required-plugins"].filter((function(e){return"wpforms-lite"===e.slug})):[],v=Kt((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),g=v.insertIndex,b=v.insertClientID,y=function(){Je({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){_()})).catch((function(e){}))},_=function(){var e=s["astra-site-wpforms-path"]||"";console.log("WPForms path"),console.log(e),e?w(e):Xe(i["astra-page-api-url"],r,o,g,b)},w=function(e){nn({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){Xe(i["astra-page-api-url"],r,o,g,b)})).fail((function(e){}))};return React.createElement("button",{className:"button button-primary ast-template-import-page-button ".concat(f),onClick:function(){m(!0),rt(i.ID,"site-pages").then((function(e){s=e,h.length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Qe({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){y()})).catch((function(e){console.log(e)})):"inactive"===AstBlockTemplatesVars.wpforms_status?y():_():_()}))}},d?React.createElement(React.Fragment,null,React.createElement(tn,null)," Importing.."):React.createElement(React.Fragment,null,!0===l?React.createElement("i",{className:"dashicons dashicons-download","aria-hidden":"true"}):"",u))}))),on=(n(29),wp.compose.compose),an=wp.data,cn=an.withSelect,ln=an.withDispatch,un=wp.element,sn=un.Fragment,fn=un.memo,pn=un.useEffect,dn=on(cn((function(e){var t=e("ast-block-templates"),n=t.getDisplayDynamicPopup;return{pagePreview:(0,t.getPagePreview)(),displayDynamicPopup:n()}})),ln((function(e){return{setDisplayDynamicPopup:e("ast-block-templates").setDisplayDynamicPopup}})))(fn((function(e){var t=e.pagePreview,n=e.displayDynamicPopup,r=e.setDisplayDynamicPopup,o=!1===n?"hide":"",i=function(){r(!1)},a=function(e){e.target===document.querySelector(".ast-block-templates-popup-wrap")&&i()};return pn((function(){return document.addEventListener("click",a),function(){document.removeEventListener("click",a)}})),React.createElement(sn,null,React.createElement("div",{className:"ast-block-templates-popup-wrap ".concat(o)},React.createElement("div",{className:"ast-block-templates-popup"},React.createElement("div",{className:"ast-block-templates-popup-header"},React.createElement("h3",{className:"ast-block-templates-popup-heading"},Y("Heads Up!","ast-block-templates")),React.createElement("span",{className:"ast-block-templates-popup-close-icon",onClick:i},React.createElement("span",{className:"dashicons close dashicons-no-alt"}))),React.createElement("div",{className:"ast-block-templates-popup-content"},React.createElement("p",null,Y("The page template you are about to import contains a dynamic widget/module. Please note this dynamic data will not be available with the imported page.","ast-block-templates")),React.createElement("p",null,Y("You will need to add it manually on the page.","ast-block-templates"))),React.createElement("div",{className:"ast-block-templates-popup-footer"},React.createElement(rn,{title:E(Y('Skip & Import "%s" Page',"ast-block-templates"),t.title),item:t,withIcon:!1}),React.createElement("div",{className:"button",onClick:i},Y("Cancel","ast-block-templates"))))))}))),mn=wp.compose.compose,hn=wp.data,vn=hn.withSelect,gn=hn.withDispatch,bn=wp.element.memo,yn=mn(vn((function(e){return{pagePreview:(0,e("ast-block-templates").getPagePreview)()}})),gn((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setImportItemInfo:t.setImportItemInfo,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(bn((function(e){e.updateFullWidthPagePreview;var t=e.item,n=e.pagePreview,r=e.setPagePreview,o=e.setImportItemInfo,i=t["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site ".concat(n.ID===t.ID?"active":"")},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){o(t),r(t)},style:{backgroundImage:"url('".concat(i,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(t.title)))))}))),_n=(n(31),wp.element),wn=_n.memo,kn=_n.Fragment;var xn=(0,wp.compose.compose)((0,wp.data.withSelect)((function(e){var t=e("ast-block-templates"),n=t.getPagePreview;return{sitePreview:(0,t.getSitePreview)(),pagePreview:n()}})))(wn((function(e){var t=e.sitePreview,n=e.pagePreview,r=Object.values(t.pages)||[],o=n["featured-image-url"];return React.createElement(kn,null,React.createElement(dn,null),React.createElement("div",{className:"ast-block-templates-single-site-preview"},React.createElement("div",{className:"ast-block-templates-single-page-preview"},React.createElement("h2",{className:"ast-block-templates-site-title"},bt(t.title)),React.createElement("div",{className:"screenshot"},React.createElement("img",{src:o}))),React.createElement("div",{className:"ast-block-templates-grid-preview"},React.createElement("h2",{className:"ast-block-templates-pages-title"},Y("Page Templates","ast-block-templates")),React.createElement("div",{className:"ast-block-templates-grid"},r.length?r.map((function(e){return React.createElement(yn,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Y("No Result Found","ast-block-templates")),React.createElement("p",null,Y("The search result not found. Try another search.","ast-block-templates")))))))})));function Sn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return En(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return En(e,t)}(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 En(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 Pn=wp.compose.compose,Rn=wp.data,In=Rn.withSelect,Tn=Rn.withDispatch,Bn=wp.element,An=Bn.memo,jn=Bn.useState,Cn=Bn.useEffect,On=Pn(In((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Tn((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setPagePreview,o=t.setCurrentScreen;return{setSitePreview:function(e){var t=Object.values(e.pages).length?Object.values(e.pages)[0]:[];r(t),n(e),o("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(An((function(e){var t=e.setSitePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"",i=n.pages?n.pages.length:0,a=i<=1?"Template":"Templates",c=Sn(jn("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),l=c[0],u=c[1];return Cn((function(){var e=!0,t=new Image;return t.src=o,t.onload=function(){e&&u(t.src)},function(){e=!1}}),[l]),React.createElement("div",{className:"item single-site",onClick:function(e){t(n),r(n)}},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",style:{backgroundImage:"url('".concat(l,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(n.title)),i?React.createElement("div",{className:"sub-title"},"".concat(i," ").concat(a)):"")))}))),Nn=wp.compose.compose,Fn=wp.data,Ln=Fn.withSelect,Dn=(Fn.withDispatch,wp.element),zn=(Dn.useEffect,Dn.useState,Dn.memo),Wn=Dn.Fragment,Mn=Nn(Ln((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getCurrentScreen,o=t.getAllSites;return{currentScreen:r(),allSites:o(),allPages:n()}})))(zn((function(e){e.allPages;var t=e.allSites,n=(e.currentScreen,Object.values(t));return React.createElement(Wn,null,n.length?n.map((function(e){return React.createElement(On,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Y("No Sites Result Found")," "),React.createElement("p",null,Y("The search result not found. Try another search."))))}))),Un=wp.compose.compose,Vn=wp.data,$n=Vn.withSelect,qn=Vn.withDispatch,Gn=wp.element.memo,Yn=Un($n((function(e){return{preview:e("ast-block-templates").getSitePreview}})),qn((function(e){var t=e("ast-block-templates"),n=t.setSearchPagePreview,r=t.setCurrentScreen;return{setSearchPagePreview:function(e){n(e),r("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(Gn((function(e){var t=e.setSearchPagePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){t(n),r(n)},style:{backgroundImage:"url('".concat(o,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(n["site-title"])),React.createElement("div",{className:"sub-title"},bt(n.title)))))}))),Hn=wp.compose.compose,Kn=wp.data,Zn=Kn.withSelect,Xn=Kn.withDispatch,Jn=wp.element,Qn=Jn.memo,er=Jn.Fragment,tr=Hn(Xn((function(e){var t=e("ast-block-templates");return{setPagePreview:t.setPagePreview,setFilterPagesBySearchTerm:t.setFilterPagesBySearchTerm}})),Zn((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getFilterPagesBySearchTerm;return{allPages:n(),filterPagesBySearchTerm:r()}})))(Qn((function(e){var t=e.setPagePreview,n=e.setFilterPagesBySearchTerm,r=e.allPages,o=Object.values(r);return React.createElement(er,null,o.length?o.map((function(e){return React.createElement(Yn,{key:e.ID,item:e})})):React.createElement(Nt,null,React.createElement(Ft,{afterClick:function(e){t({}),n("")}})))}))),nr=wp.compose.compose,rr=wp.data,or=rr.withSelect,ir=rr.withDispatch,ar=wp.element,cr=ar.memo;ar.useEffect;var lr=nr(ir((function(e){return{setFilterPagesBySearchTerm:e("ast-block-templates").setFilterPagesBySearchTerm}})),or((function(e){return{filterPagesBySearchTerm:(0,e("ast-block-templates").getFilterPagesBySearchTerm)()}})))(cr((function(e){var t=e.filterPagesBySearchTerm;return React.createElement("div",{className:"ast-block-templates-grid-pages active"},React.createElement("div",{id:"ast-block-templates-sites",className:"ast-block-templates-grid ".concat(t.length?"ast-block-templates-pages-grid":"ast-block-templates-sites-grid")},t.length?React.createElement(tr,null):React.createElement(Mn,null)))}))),ur=(n(33),wp.compose.compose),sr=wp.element.memo,fr=wp.data,pr=fr.withSelect,dr=(fr.withDispatch,ur(pr((function(e){return{blockPreview:(0,e("ast-block-templates").getFullWidthBlockPreview)()}})))(sr((function(e){var t=e.blockPreview["featured-image-url"]||"".concat(AstBlockTemplatesVars.uri,"dist/placeholder.png");return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),mr=(n(35),wp.compose.compose),hr=wp.element.memo,vr=wp.data,gr=vr.withSelect,br=(vr.withDispatch,mr(gr((function(e){return{pagePreview:(0,e("ast-block-templates").getFullWidthPagePreview)()}})))(hr((function(e){var t=e.pagePreview["featured-image-url"]||"";return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),yr=function(){return React.createElement("div",null,"All signle pages")},_r=(n(37),wp.compose.compose),wr=wp.data,kr=wr.withSelect,xr=wr.withDispatch,Sr=wp.element.memo,Er=_r(xr((function(e){return{setNotice:e("ast-block-templates").setNotice}})),kr((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(Sr((function(e){var t=e.notice,n=e.setNotice;if(Object.keys(t).length){var r=t.type,o=t.message;return React.createElement("div",{className:"ast-block-templates-notice notice notice-".concat(r)},React.createElement("div",{className:"ast-block-templates-notice-message"},o),React.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return n({})}},React.createElement("span",{className:"screen-reader-text"},"Dismiss")))}}))),Pr=(n(39),wp.element),Rr=Pr.useEffect,Ir=Pr.memo,Tr=wp.compose.compose,Br=wp.data.withSelect,Ar=function(e){var t=e.filterPagesBySearchTerm,n=e.currentScreen;return"all-single-pages"===n?React.createElement(yr,null):"all-blocks-grid"===n?React.createElement($t,null):t||"all-single-site-pages"!==n?"all-sites-grid"===n?React.createElement(lr,null):"full-width-block-preview"===n?React.createElement(dr,null):"full-width-page-preview"===n?React.createElement(br,null):void 0:React.createElement(xn,null)},jr=Tr(Br((function(e){var t=e("ast-block-templates"),n=t.getFilterPagesBySearchTerm,r=t.getSitePreview,o=t.getCurrentScreen,i=t.getTogglePopup;return{filterPagesBySearchTerm:n(),sitePreview:r(),currentScreen:o(),togglePopup:i()}})))(Ir((function(e){var t=e.sitePreview,n=e.currentScreen,r=e.togglePopup;return Rr((function(){!0===r&&(document.body.classList.add("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.add("open"))}),[r,n,t]),React.createElement("div",{className:"ast-block-templates-content"},React.createElement(Er,null),React.createElement(Ar,{currentScreen:n}))})));n(41),n(43),n(45);function Cr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Or(e,t)}(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 Or(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 Nr=wp.compose.compose,Fr=wp.data,Lr=Fr.withSelect,Dr=Fr.withDispatch,zr=wp.element,Wr=zr.memo,Mr=zr.useState,Ur=Nr(Lr((function(e){return{importItemInfo:(0,e("ast-block-templates").getImportItemInfo)()}})),Dr((function(e){return{setImportItemInfo:e("ast-block-templates").setImportItemInfo}})))(Wr((function(e){var t=e.requiredPlugins;if(t.length){var n=Cr(Mr(!1),2),r=n[0],o=n[1];return React.createElement("div",{className:"used-blocks"},React.createElement("div",{className:"used-blocks-info ".concat(r?"show":"")},React.createElement("h3",null,"Install Required Plugins"),React.createElement("ul",null,t.map((function(e,t){return React.createElement("li",{key:t},e.name)})))),React.createElement("span",{className:"used-blocks-icon dashicons dashicons-editor-help",onClick:function(){return o(!r)}}))}}))),Vr=wp.compose.compose,$r=wp.data,qr=$r.withSelect,Gr=$r.withDispatch,Yr=wp.element,Hr=Yr.memo,Kr=Yr.Fragment,Zr=Vr(qr((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getPagePreview;return{importItemInfo:n(),pagePreview:o(),currentScreen:r()}})),Gr((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setDisplayDynamicPopup:t.setDisplayDynamicPopup,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(Hr((function(e){e.importItemInfo;var t=e.pagePreview,n=e.setDisplayDynamicPopup,r=t["astra-page-url"]?t["astra-page-url"]:"",o=!(!t["dynamic-page"]||"yes"!==t["dynamic-page"]);return React.createElement(Kr,null,React.createElement("a",{className:"button",href:r,target:"_blank"},'Preview "',t.title,'" Page'," ",React.createElement("i",{className:"dashicons dashicons-external"})),o?React.createElement("button",{className:"button button-primary",onClick:function(e){n(!0)}},'Import "'.concat(t.title,'" Page')):React.createElement(rn,{title:'Import "'.concat(t.title,'" Page'),item:t}))}))),Xr=(n(47),wp.compose.compose),Jr=wp.data,Qr=Jr.withSelect,eo=Jr.withDispatch,to=wp.element,no=to.memo,ro=to.Fragment,oo=Xr(Qr((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getFullWidthBlockPreview;return{importItemInfo:n(),fullWidthBlockPreview:r()}})),eo((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(no((function(e){var t,n=e.importItemInfo,r=e.fullWidthBlockPreview,o=r.url?r.url:"";return t=n["required-plugins"]?n["required-plugins"]:[],React.createElement(ro,null,React.createElement("div",{className:"left"},React.createElement("a",{className:"button",href:o,target:"_blank"},"Preview Pattern",React.createElement("i",{className:"dashicons dashicons-external"}))),React.createElement("div",{className:"right"},React.createElement(Ur,{requiredPlugins:t}),React.createElement(gt,{btnClass:"button button-primary",title:"Import Pattern",item:r,requiredPlugins:t})))}))),io=wp.compose.compose,ao=wp.data.withSelect,co=wp.element.memo,lo=io(ao((function(e){return{currentScreen:(0,e("ast-block-templates").getCurrentScreen)()}})))(co((function(e){var t=e.currentScreen;if("all-single-site-pages"===t||"full-width-block-preview"===t)return React.createElement("div",{className:"footer"},"all-single-site-pages"===t?React.createElement(Zr,null):React.createElement(oo,null))}))),uo=wp.element,so=uo.Fragment,fo=uo.useEffect,po=uo.memo,mo=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(po((function(e){var t=e.onSetTogglePopup,n=function(e){e.target===document.getElementById("ast-block-templates-modal-wrap")&&(document.body.classList.remove("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),t())};return fo((function(){return document.addEventListener("click",n),function(){document.removeEventListener("click",n)}})),React.createElement(so,null,React.createElement(X,null),React.createElement("div",{className:"inner"},React.createElement(He,null),React.createElement(jr,null),React.createElement(lo,null)))})));function ho(){wp.data.subscribe((function(){setTimeout((function(){!function(){if(!document.querySelector("#editor .edit-post-header__toolbar"))return;if(document.querySelector("#ast-block-templates-button-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-button-wrap",document.querySelector("#editor .edit-post-header__toolbar").appendChild(e)}(),function(){if(document.getElementById("ast-block-templates-modal-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-modal-wrap",e.classList.add(AstBlockTemplatesVars.popup_class),e.innerHTML='<div id="ast-block-templates-modal"></div>',document.body.appendChild(e),wp.element.render(React.createElement(mo,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",ho),document.addEventListener("DOMContentLoaded",ho)}]);
|
6 |
* Released under MIT license <https://lodash.com/license>
|
7 |
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
8 |
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
9 |
+
*/(function(){var i="Expected a function",a="__lodash_placeholder__",c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",u="[object Array]",s="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",h="[object Map]",v="[object Number]",g="[object Object]",b="[object RegExp]",y="[object Set]",w="[object String]",_="[object Symbol]",k="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",T="[object Int32Array]",B="[object Uint8Array]",j="[object Uint16Array]",A="[object Uint32Array]",C=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,D=RegExp(F.source),z=RegExp(L.source),W=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(G.source),H=/^\s+|\s+$/g,K=/^\s+/,X=/\s+$/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ce=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",me="[\\ud800-\\udfff]",he="["+de+"]",ve="["+pe+"]",ge="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+de+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_e="\\ud83c[\\udffb-\\udfff]",ke="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+ye+"|"+we+")",Re="(?:"+Ee+"|"+we+")",Ie="(?:"+ve+"|"+_e+")"+"?",Te="[\\ufe0e\\ufe0f]?"+Ie+("(?:\\u200d(?:"+[ke,xe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ie+")*"),Be="(?:"+[be,xe,Se].join("|")+")"+Te,je="(?:"+[ke+ve+"?",ve,xe,Se,me].join("|")+")",Ae=RegExp("['’]","g"),Ce=RegExp(ve,"g"),Oe=RegExp(_e+"(?="+_e+")|"+je+Te,"g"),Ne=RegExp([Ee+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Ee,"$"].join("|")+")",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Ee+Pe,"$"].join("|")+")",Ee+"?"+Pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Be].join("|"),"g"),Fe=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,We={};We[E]=We[P]=We[R]=We[I]=We[T]=We[B]=We["[object Uint8ClampedArray]"]=We[j]=We[A]=!0,We[l]=We[u]=We[x]=We[s]=We[S]=We[f]=We[p]=We[d]=We[h]=We[v]=We[g]=We[b]=We[y]=We[w]=We[k]=!1;var Me={};Me[l]=Me[u]=Me[x]=Me[S]=Me[s]=Me[f]=Me[E]=Me[P]=Me[R]=Me[I]=Me[T]=Me[h]=Me[v]=Me[g]=Me[b]=Me[y]=Me[w]=Me[_]=Me[B]=Me["[object Uint8ClampedArray]"]=Me[j]=Me[A]=!0,Me[p]=Me[d]=Me[k]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,$e=parseInt,qe="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,Ye=qe||Ge||Function("return this")(),He=t&&!t.nodeType&&t,Ke=He&&"object"==typeof r&&r&&!r.nodeType&&r,Xe=Ke&&Ke.exports===He,Ze=Xe&&qe.process,Je=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Ze&&Ze.binding&&Ze.binding("util")}catch(e){}}(),Qe=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function st(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ft(e,t){return!!(null==e?0:e.length)&&_t(e,t,0)>-1}function pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ht(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=Et("length");function yt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function wt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function _t(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):wt(e,xt,n)}function kt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function xt(e){return e!=e}function St(e,t){var n=null==e?0:e.length;return n?It(e,t)/n:NaN}function Et(e){return function(t){return null==t?void 0:t[e]}}function Pt(e){return function(t){return null==e?void 0:e[t]}}function Rt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function It(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Tt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Bt(e){return function(t){return e(t)}}function jt(e,t){return dt(t,(function(t){return e[t]}))}function At(e,t){return e.has(t)}function Ct(e,t){for(var n=-1,r=e.length;++n<r&&_t(t,e[n],0)>-1;);return n}function Ot(e,t){for(var n=e.length;n--&&_t(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Ft=Pt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Lt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Dt(e){return"\\"+Ue[e]}function zt(e){return Fe.test(e)}function Wt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Mt(e,t){return function(n){return e(t(n))}}function Ut(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var c=e[n];c!==t&&c!==a||(e[n]=a,i[o++]=n)}return i}function Vt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function $t(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function qt(e){return zt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):bt(e)}function Gt(e){return zt(e)?function(e){return e.match(Oe)||[]}(e):function(e){return e.split("")}(e)}var Yt=Pt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Ht=function e(t){var n,r=(t=null==t?Ye:Ht.defaults(Ye.Object(),t,Ht.pick(Ye,De))).Array,o=t.Date,pe=t.Error,de=t.Function,me=t.Math,he=t.Object,ve=t.RegExp,ge=t.String,be=t.TypeError,ye=r.prototype,we=de.prototype,_e=he.prototype,ke=t["__core-js_shared__"],xe=we.toString,Se=_e.hasOwnProperty,Ee=0,Pe=(n=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Re=_e.toString,Ie=xe.call(he),Te=Ye._,Be=ve("^"+xe.call(Se).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),je=Xe?t.Buffer:void 0,Oe=t.Symbol,Fe=t.Uint8Array,Ue=je?je.allocUnsafe:void 0,qe=Mt(he.getPrototypeOf,he),Ge=he.create,He=_e.propertyIsEnumerable,Ke=ye.splice,Ze=Oe?Oe.isConcatSpreadable:void 0,Je=Oe?Oe.iterator:void 0,bt=Oe?Oe.toStringTag:void 0,Pt=function(){try{var e=ei(he,"defineProperty");return e({},"",{}),e}catch(e){}}(),Kt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Xt=o&&o.now!==Ye.Date.now&&o.now,Zt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Jt=me.ceil,Qt=me.floor,en=he.getOwnPropertySymbols,tn=je?je.isBuffer:void 0,nn=t.isFinite,rn=ye.join,on=Mt(he.keys,he),an=me.max,cn=me.min,ln=o.now,un=t.parseInt,sn=me.random,fn=ye.reverse,pn=ei(t,"DataView"),dn=ei(t,"Map"),mn=ei(t,"Promise"),hn=ei(t,"Set"),vn=ei(t,"WeakMap"),gn=ei(he,"create"),bn=vn&&new vn,yn={},wn=Ri(pn),_n=Ri(dn),kn=Ri(mn),xn=Ri(hn),Sn=Ri(vn),En=Oe?Oe.prototype:void 0,Pn=En?En.valueOf:void 0,Rn=En?En.toString:void 0;function In(e){if($a(e)&&!Ca(e)&&!(e instanceof An)){if(e instanceof jn)return e;if(Se.call(e,"__wrapped__"))return Ii(e)}return new jn(e)}var Tn=function(){function e(){}return function(t){if(!Va(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Bn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function An(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Cn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Nn;++t<n;)this.add(e[t])}function Ln(e){var t=this.__data__=new On(e);this.size=t.size}function Dn(e,t){var n=Ca(e),r=!n&&Aa(e),o=!n&&!r&&La(e),i=!n&&!r&&!o&&Ja(e),a=n||r||o||i,c=a?Tt(e.length,ge):[],l=c.length;for(var u in e)!t&&!Se.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ci(u,l))||c.push(u);return c}function zn(e){var t=e.length;return t?e[Fr(0,t-1)]:void 0}function Wn(e,t){return Si(bo(e),Kn(t,0,e.length))}function Mn(e){return Si(bo(e))}function Un(e,t,n){(void 0!==n&&!Ta(e[t],n)||void 0===n&&!(t in e))&&Yn(e,t,n)}function Vn(e,t,n){var r=e[t];Se.call(e,t)&&Ta(r,n)&&(void 0!==n||t in e)||Yn(e,t,n)}function $n(e,t){for(var n=e.length;n--;)if(Ta(e[n][0],t))return n;return-1}function qn(e,t,n,r){return er(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Gn(e,t){return e&&yo(t,wc(t),e)}function Yn(e,t,n){"__proto__"==t&&Pt?Pt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Hn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:hc(e,t[n]);return i}function Kn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,c=1&t,u=2&t,p=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Va(e))return e;var k=Ca(e);if(k){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return bo(e,a)}else{var C=ri(e),O=C==d||C==m;if(La(e))return fo(e,c);if(C==g||C==l||O&&!o){if(a=u||O?{}:ii(e),!c)return u?function(e,t){return yo(e,ni(e),t)}(e,function(e,t){return e&&yo(t,_c(t),e)}(a,e)):function(e,t){return yo(e,ti(e),t)}(e,Gn(a,e))}else{if(!Me[C])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case x:return po(e);case s:case f:return new r(+e);case S:return function(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case E:case P:case R:case I:case T:case B:case"[object Uint8ClampedArray]":case j:case A:return mo(e,n);case h:return new r;case v:case w:return new r(e);case b:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case _:return o=e,Pn?he(Pn.call(o)):{}}var o}(e,C,c)}}i||(i=new Ln);var N=i.get(e);if(N)return N;i.set(e,a),Ka(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):qa(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var F=k?void 0:(p?u?Yo:Go:u?_c:wc)(e);return ct(F||e,(function(r,o){F&&(r=e[o=r]),Vn(a,o,Xn(r,t,n,o,e,i))})),a}function Zn(e,t,n){var r=n.length;if(null==e)return!r;for(e=he(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Jn(e,t,n){if("function"!=typeof e)throw new be(i);return wi((function(){e.apply(void 0,n)}),t)}function Qn(e,t,n,r){var o=-1,i=ft,a=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=dt(t,Bt(n))),r?(i=pt,a=!1):t.length>=200&&(i=At,a=!1,t=new Fn(t));e:for(;++o<c;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var p=u;p--;)if(t[p]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}In.templateSettings={escape:W,evaluate:M,interpolate:U,variable:"",imports:{_:In}},In.prototype=Bn.prototype,In.prototype.constructor=In,jn.prototype=Tn(Bn.prototype),jn.prototype.constructor=jn,An.prototype=Tn(Bn.prototype),An.prototype.constructor=An,Cn.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},Cn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Cn.prototype.get=function(e){var t=this.__data__;if(gn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(t,e)?t[e]:void 0},Cn.prototype.has=function(e){var t=this.__data__;return gn?void 0!==t[e]:Se.call(t,e)},Cn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=gn&&void 0===t?"__lodash_hash_undefined__":t,this},On.prototype.clear=function(){this.__data__=[],this.size=0},On.prototype.delete=function(e){var t=this.__data__,n=$n(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,!0)},On.prototype.get=function(e){var t=this.__data__,n=$n(t,e);return n<0?void 0:t[n][1]},On.prototype.has=function(e){return $n(this.__data__,e)>-1},On.prototype.set=function(e,t){var n=this.__data__,r=$n(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Cn,map:new(dn||On),string:new Cn}},Nn.prototype.delete=function(e){var t=Jo(this,e).delete(e);return this.size-=t?1:0,t},Nn.prototype.get=function(e){return Jo(this,e).get(e)},Nn.prototype.has=function(e){return Jo(this,e).has(e)},Nn.prototype.set=function(e,t){var n=Jo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Fn.prototype.add=Fn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Fn.prototype.has=function(e){return this.__data__.has(e)},Ln.prototype.clear=function(){this.__data__=new On,this.size=0},Ln.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ln.prototype.get=function(e){return this.__data__.get(e)},Ln.prototype.has=function(e){return this.__data__.has(e)},Ln.prototype.set=function(e,t){var n=this.__data__;if(n instanceof On){var r=n.__data__;if(!dn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(e,t),this.size=n.size,this};var er=ko(lr),tr=ko(ur,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Za(a):n(a,c)))var c=a,l=i}return l}function or(e,t){var n=[];return er(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ai),o||(o=[]);++i<a;){var c=e[i];t>0&&n(c)?t>1?ir(c,t-1,n,r,o):mt(o,c):r||(o[o.length]=c)}return o}var ar=xo(),cr=xo(!0);function lr(e,t){return e&&ar(e,t,wc)}function ur(e,t){return e&&cr(e,t,wc)}function sr(e,t){return st(t,(function(t){return Wa(e[t])}))}function fr(e,t){for(var n=0,r=(t=co(t,e)).length;null!=e&&n<r;)e=e[Pi(t[n++])];return n&&n==r?e:void 0}function pr(e,t,n){var r=t(e);return Ca(e)?r:mt(r,n(e))}function dr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":bt&&bt in he(e)?function(e){var t=Se.call(e,bt),n=e[bt];try{e[bt]=void 0;var r=!0}catch(e){}var o=Re.call(e);r&&(t?e[bt]=n:delete e[bt]);return o}(e):function(e){return Re.call(e)}(e)}function mr(e,t){return e>t}function hr(e,t){return null!=e&&Se.call(e,t)}function vr(e,t){return null!=e&&t in he(e)}function gr(e,t,n){for(var o=n?pt:ft,i=e[0].length,a=e.length,c=a,l=r(a),u=1/0,s=[];c--;){var f=e[c];c&&t&&(f=dt(f,Bt(t))),u=cn(f.length,u),l[c]=!n&&(t||i>=120&&f.length>=120)?new Fn(c&&f):void 0}f=e[0];var p=-1,d=l[0];e:for(;++p<i&&s.length<u;){var m=f[p],h=t?t(m):m;if(m=n||0!==m?m:0,!(d?At(d,h):o(s,h,n))){for(c=a;--c;){var v=l[c];if(!(v?At(v,h):o(e[c],h,n)))continue e}d&&d.push(h),s.push(m)}}return s}function br(e,t,n){var r=null==(e=vi(e,t=co(t,e)))?e:e[Pi(zi(t))];return null==r?void 0:it(r,e,n)}function yr(e){return $a(e)&&dr(e)==l}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!$a(e)&&!$a(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Ca(e),c=Ca(t),d=a?u:ri(e),m=c?u:ri(t),k=(d=d==l?g:d)==g,E=(m=m==l?g:m)==g,P=d==m;if(P&&La(e)){if(!La(t))return!1;a=!0,k=!1}if(P&&!k)return i||(i=new Ln),a||Ja(e)?$o(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!i(new Fe(e),new Fe(t)));case s:case f:case v:return Ta(+e,+t);case p:return e.name==t.name&&e.message==t.message;case b:case w:return e==t+"";case h:var c=Wt;case y:var l=1&r;if(c||(c=Vt),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var d=$o(c(e),c(t),r,o,i,a);return a.delete(e),d;case _:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,d,n,r,o,i);if(!(1&n)){var R=k&&Se.call(e,"__wrapped__"),I=E&&Se.call(t,"__wrapped__");if(R||I){var T=R?e.value():e,B=I?t.value():t;return i||(i=new Ln),o(T,B,n,r,i)}}if(!P)return!1;return i||(i=new Ln),function(e,t,n,r,o,i){var a=1&n,c=Go(e),l=c.length,u=Go(t).length;if(l!=u&&!a)return!1;var s=l;for(;s--;){var f=c[s];if(!(a?f in t:Se.call(t,f)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var m=!0;i.set(e,t),i.set(t,e);var h=a;for(;++s<l;){f=c[s];var v=e[f],g=t[f];if(r)var b=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(void 0===b?v===g||o(v,g,n,r,i):b)){m=!1;break}h||(h="constructor"==f)}if(m&&!h){var y=e.constructor,w=t.constructor;y==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w||(m=!1)}return i.delete(e),i.delete(t),m}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function _r(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=he(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var l=(c=n[o])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new Ln;if(r)var p=r(u,s,l,e,t,f);if(!(void 0===p?wr(s,u,3,r,f):p))return!1}}return!0}function kr(e){return!(!Va(e)||(t=e,Pe&&Pe in t))&&(Wa(e)?Be:ae).test(Ri(e));var t}function xr(e){return"function"==typeof e?e:null==e?Gc:"object"==typeof e?Ca(e)?Tr(e[0],e[1]):Ir(e):tl(e)}function Sr(e){if(!pi(e))return on(e);var t=[];for(var n in he(e))Se.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Er(e){if(!Va(e))return function(e){var t=[];if(null!=e)for(var n in he(e))t.push(n);return t}(e);var t=pi(e),n=[];for(var r in e)("constructor"!=r||!t&&Se.call(e,r))&&n.push(r);return n}function Pr(e,t){return e<t}function Rr(e,t){var n=-1,o=Na(e)?r(e.length):[];return er(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Ir(e){var t=Qo(e);return 1==t.length&&t[0][2]?mi(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}}function Tr(e,t){return ui(e)&&di(t)?mi(Pi(e),t):function(n){var r=hc(n,e);return void 0===r&&r===t?vc(n,e):wr(t,r,3)}}function Br(e,t,n,r,o){e!==t&&ar(t,(function(i,a){if(o||(o=new Ln),Va(i))!function(e,t,n,r,o,i,a){var c=bi(e,n),l=bi(t,n),u=a.get(l);if(u)return void Un(e,n,u);var s=i?i(c,l,n+"",e,t,a):void 0,f=void 0===s;if(f){var p=Ca(l),d=!p&&La(l),m=!p&&!d&&Ja(l);s=l,p||d||m?Ca(c)?s=c:Fa(c)?s=bo(c):d?(f=!1,s=fo(l,!0)):m?(f=!1,s=mo(l,!0)):s=[]:Ya(l)||Aa(l)?(s=c,Aa(c)?s=ac(c):Va(c)&&!Wa(c)||(s=ii(l))):f=!1}f&&(a.set(l,s),o(s,l,r,i,a),a.delete(l));Un(e,n,s)}(e,t,a,n,Br,r,o);else{var c=r?r(bi(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Un(e,a,c)}}),_c)}function jr(e,t){var n=e.length;if(n)return ci(t+=t<0?n:0,n)?e[t]:void 0}function Ar(e,t,n){t=t.length?dt(t,(function(e){return Ca(e)?function(t){return fr(t,1===e.length?e[0]:e)}:e})):[Gc];var r=-1;return t=dt(t,Bt(Zo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Rr(e,(function(e,n,o){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;for(;++r<a;){var l=ho(o[r],i[r]);if(l){if(r>=c)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Cr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=fr(e,a);n(c,a)&&Mr(i,co(a,e),c)}return i}function Or(e,t,n,r){var o=r?kt:_t,i=-1,a=t.length,c=e;for(e===t&&(t=bo(t)),n&&(c=dt(e,Bt(n)));++i<a;)for(var l=0,u=t[i],s=n?n(u):u;(l=o(c,s,l,r))>-1;)c!==e&&Ke.call(c,l,1),Ke.call(e,l,1);return e}function Nr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ci(o)?Ke.call(e,o,1):Qr(e,o)}}return e}function Fr(e,t){return e+Qt(sn()*(t-e+1))}function Lr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Qt(t/2))&&(e+=e)}while(t);return n}function Dr(e,t){return _i(hi(e,t,Gc),e+"")}function zr(e){return zn(Tc(e))}function Wr(e,t){var n=Tc(e);return Si(n,Kn(t,0,n.length))}function Mr(e,t,n,r){if(!Va(e))return e;for(var o=-1,i=(t=co(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var l=Pi(t[o]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var s=c[l];void 0===(u=r?r(s,l,c):void 0)&&(u=Va(s)?s:ci(t[o+1])?[]:{})}Vn(c,l,u),c=c[l]}return e}var Ur=bn?function(e,t){return bn.set(e,t),e}:Gc,Vr=Pt?function(e,t){return Pt(e,"toString",{configurable:!0,enumerable:!1,value:Vc(t),writable:!0})}:Gc;function $r(e){return Si(Tc(e))}function qr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Gr(e,t){var n;return er(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Yr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Za(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Hr(e,t,Gc,n)}function Hr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,c=null===t,l=Za(t),u=void 0===t;o<i;){var s=Qt((o+i)/2),f=n(e[s]),p=void 0!==f,d=null===f,m=f==f,h=Za(f);if(a)var v=r||m;else v=u?m&&(r||p):c?m&&p&&(r||!d):l?m&&p&&!d&&(r||!h):!d&&!h&&(r?f<=t:f<t);v?o=s+1:i=s}return cn(i,4294967294)}function Kr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Ta(c,l)){var l=c;i[o++]=0===a?0:a}}return i}function Xr(e){return"number"==typeof e?e:Za(e)?NaN:+e}function Zr(e){if("string"==typeof e)return e;if(Ca(e))return dt(e,Zr)+"";if(Za(e))return Rn?Rn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Jr(e,t,n){var r=-1,o=ft,i=e.length,a=!0,c=[],l=c;if(n)a=!1,o=pt;else if(i>=200){var u=t?null:Do(e);if(u)return Vt(u);a=!1,o=At,l=new Fn}else l=t?[]:c;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else o(l,f,n)||(l!==c&&l.push(f),c.push(s))}return c}function Qr(e,t){return null==(e=vi(e,t=co(t,e)))||delete e[Pi(zi(t))]}function eo(e,t,n,r){return Mr(e,t,n(fr(e,t)),r)}function to(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?qr(e,r?0:i,r?i+1:o):qr(e,r?i+1:0,r?o:i)}function no(e,t){var n=e;return n instanceof An&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,mt([e],t.args))}),n)}function ro(e,t,n){var o=e.length;if(o<2)return o?Jr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var c=e[i],l=-1;++l<o;)l!=i&&(a[i]=Qn(a[i]||c,e[l],t,n));return Jr(ir(a,1),t,n)}function oo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a}function io(e){return Fa(e)?e:[]}function ao(e){return"function"==typeof e?e:Gc}function co(e,t){return Ca(e)?e:ui(e,t)?[e]:Ei(cc(e))}var lo=Dr;function uo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:qr(e,t,n)}var so=Kt||function(e){return Ye.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function po(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function mo(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ho(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Za(e),a=void 0!==t,c=null===t,l=t==t,u=Za(t);if(!c&&!u&&!i&&e>t||i&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!l)return-1}return 0}function vo(e,t,n,o){for(var i=-1,a=e.length,c=n.length,l=-1,u=t.length,s=an(a-c,0),f=r(u+s),p=!o;++l<u;)f[l]=t[l];for(;++i<c;)(p||i<a)&&(f[n[i]]=e[i]);for(;s--;)f[l++]=e[i++];return f}function go(e,t,n,o){for(var i=-1,a=e.length,c=-1,l=n.length,u=-1,s=t.length,f=an(a-l,0),p=r(f+s),d=!o;++i<f;)p[i]=e[i];for(var m=i;++u<s;)p[m+u]=t[u];for(;++c<l;)(d||i<a)&&(p[m+n[c]]=e[i++]);return p}function bo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function yo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),o?Yn(n,c,l):Vn(n,c,l)}return n}function wo(e,t){return function(n,r){var o=Ca(n)?at:qn,i=t?t():{};return o(n,e,Zo(r,2),i)}}function _o(e){return Dr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&li(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=he(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}function ko(e,t){return function(n,r){if(null==n)return n;if(!Na(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=he(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function xo(e){return function(t,n,r){for(var o=-1,i=he(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}function So(e){return function(t){var n=zt(t=cc(t))?Gt(t):void 0,r=n?n[0]:t.charAt(0),o=n?uo(n,1).join(""):t.slice(1);return r[e]()+o}}function Eo(e){return function(t){return ht(Wc(Ac(t).replace(Ae,"")),e,"")}}function Po(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Tn(e.prototype),r=e.apply(n,t);return Va(r)?r:n}}function Ro(e){return function(t,n,r){var o=he(t);if(!Na(t)){var i=Zo(n,3);t=wc(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Io(e){return qo((function(t){var n=t.length,r=n,o=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new be(i);if(o&&!c&&"wrapper"==Ko(a))var c=new jn([],!0)}for(r=c?r:n;++r<n;){var l=Ko(a=t[r]),u="wrapper"==l?Ho(a):void 0;c=u&&si(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[Ko(u[0])].apply(c,u[3]):1==a.length&&si(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Ca(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function To(e,t,n,o,i,a,c,l,u,s){var f=128&t,p=1&t,d=2&t,m=24&t,h=512&t,v=d?void 0:Po(e);return function g(){for(var b=arguments.length,y=r(b),w=b;w--;)y[w]=arguments[w];if(m)var _=Xo(g),k=Nt(y,_);if(o&&(y=vo(y,o,i,m)),a&&(y=go(y,a,c,m)),b-=k,m&&b<s){var x=Ut(y,_);return Fo(e,t,To,g.placeholder,n,y,x,l,u,s-b)}var S=p?n:this,E=d?S[e]:e;return b=y.length,l?y=gi(y,l):h&&b>1&&y.reverse(),f&&u<b&&(y.length=u),this&&this!==Ye&&this instanceof g&&(E=v||Po(E)),E.apply(S,y)}}function Bo(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Zr(n),r=Zr(r)):(n=Xr(n),r=Xr(r)),o=e(n,r)}return o}}function Ao(e){return qo((function(t){return t=dt(t,Bt(Zo())),Dr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Co(e,t){var n=(t=void 0===t?" ":Zr(t)).length;if(n<2)return n?Lr(t,e):t;var r=Lr(t,Jt(e/qt(t)));return zt(t)?uo(Gt(r),0,e).join(""):r.slice(0,e)}function Oo(e){return function(t,n,o){return o&&"number"!=typeof o&&li(t,n,o)&&(n=o=void 0),t=nc(t),void 0===n?(n=t,t=0):n=nc(n),function(e,t,n,o){for(var i=-1,a=an(Jt((t-e)/(n||1)),0),c=r(a);a--;)c[o?a:++i]=e,e+=n;return c}(t,n,o=void 0===o?t<n?1:-1:nc(o),e)}}function No(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ic(t),n=ic(n)),e(t,n)}}function Fo(e,t,n,r,o,i,a,c,l,u){var s=8&t;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var f=[e,t,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,c,l,u],p=n.apply(void 0,f);return si(e)&&yi(p,f),p.placeholder=r,ki(p,e,t)}function Lo(e){var t=me[e];return function(e,n){if(e=ic(e),(n=null==n?0:cn(rc(n),292))&&nn(e)){var r=(cc(e)+"e").split("e");return+((r=(cc(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Do=hn&&1/Vt(new hn([,-0]))[1]==1/0?function(e){return new hn(e)}:Zc;function zo(e){return function(t){var n=ri(t);return n==h?Wt(t):n==y?$t(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Wo(e,t,n,o,c,l,u,s){var f=2&t;if(!f&&"function"!=typeof e)throw new be(i);var p=o?o.length:0;if(p||(t&=-97,o=c=void 0),u=void 0===u?u:an(rc(u),0),s=void 0===s?s:rc(s),p-=c?c.length:0,64&t){var d=o,m=c;o=c=void 0}var h=f?void 0:Ho(e),v=[e,t,n,o,c,d,m,l,u,s];if(h&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,c=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?vo(u,l,t[4]):l,e[4]=u?Ut(e[3],a):t[4]}(l=t[5])&&(u=e[5],e[5]=u?go(u,l,t[6]):l,e[6]=u?Ut(e[5],a):t[6]);(l=t[7])&&(e[7]=l);128&r&&(e[8]=null==e[8]?t[8]:cn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(v,h),e=v[0],t=v[1],n=v[2],o=v[3],c=v[4],!(s=v[9]=void 0===v[9]?f?0:e.length:an(v[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var o=Po(e);return function i(){for(var a=arguments.length,c=r(a),l=a,u=Xo(i);l--;)c[l]=arguments[l];var s=a<3&&c[0]!==u&&c[a-1]!==u?[]:Ut(c,u);if((a-=s.length)<n)return Fo(e,t,To,i.placeholder,void 0,c,s,void 0,void 0,n-a);var f=this&&this!==Ye&&this instanceof i?o:e;return it(f,this,c)}}(e,t,s):32!=t&&33!=t||c.length?To.apply(void 0,v):function(e,t,n,o){var i=1&t,a=Po(e);return function t(){for(var c=-1,l=arguments.length,u=-1,s=o.length,f=r(s+l),p=this&&this!==Ye&&this instanceof t?a:e;++u<s;)f[u]=o[u];for(;l--;)f[u++]=arguments[++c];return it(p,i?n:this,f)}}(e,t,n,o);else var g=function(e,t,n){var r=1&t,o=Po(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return ki((h?Ur:yi)(g,v),e,t)}function Mo(e,t,n,r){return void 0===e||Ta(e,_e[n])&&!Se.call(r,n)?t:e}function Uo(e,t,n,r,o,i){return Va(e)&&Va(t)&&(i.set(t,e),Br(e,t,void 0,Uo,i),i.delete(t)),e}function Vo(e){return Ya(e)?void 0:e}function $o(e,t,n,r,o,i){var a=1&n,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=i.get(e),s=i.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,d=2&n?new Fn:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var m=e[f],h=t[f];if(r)var v=a?r(h,m,f,t,e,i):r(m,h,f,e,t,i);if(void 0!==v){if(v)continue;p=!1;break}if(d){if(!gt(t,(function(e,t){if(!At(d,t)&&(m===e||o(m,e,n,r,i)))return d.push(t)}))){p=!1;break}}else if(m!==h&&!o(m,h,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function qo(e){return _i(hi(e,void 0,Oi),e+"")}function Go(e){return pr(e,wc,ti)}function Yo(e){return pr(e,_c,ni)}var Ho=bn?function(e){return bn.get(e)}:Zc;function Ko(e){for(var t=e.name+"",n=yn[t],r=Se.call(yn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Xo(e){return(Se.call(In,"placeholder")?In:e).placeholder}function Zo(){var e=In.iteratee||Yc;return e=e===Yc?xr:e,arguments.length?e(arguments[0],arguments[1]):e}function Jo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Qo(e){for(var t=wc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,di(o)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return kr(n)?n:void 0}var ti=en?function(e){return null==e?[]:(e=he(e),st(en(e),(function(t){return He.call(e,t)})))}:ol,ni=en?function(e){for(var t=[];e;)mt(t,ti(e)),e=qe(e);return t}:ol,ri=dr;function oi(e,t,n){for(var r=-1,o=(t=co(t,e)).length,i=!1;++r<o;){var a=Pi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ua(o)&&ci(a,o)&&(Ca(e)||Aa(e))}function ii(e){return"function"!=typeof e.constructor||pi(e)?{}:Tn(qe(e))}function ai(e){return Ca(e)||Aa(e)||!!(Ze&&e&&e[Ze])}function ci(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function li(e,t,n){if(!Va(n))return!1;var r=typeof t;return!!("number"==r?Na(n)&&ci(t,n.length):"string"==r&&t in n)&&Ta(n[t],e)}function ui(e,t){if(Ca(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Za(e))||($.test(e)||!V.test(e)||null!=t&&e in he(t))}function si(e){var t=Ko(e),n=In[t];if("function"!=typeof n||!(t in An.prototype))return!1;if(e===n)return!0;var r=Ho(n);return!!r&&e===r[0]}(pn&&ri(new pn(new ArrayBuffer(1)))!=S||dn&&ri(new dn)!=h||mn&&"[object Promise]"!=ri(mn.resolve())||hn&&ri(new hn)!=y||vn&&ri(new vn)!=k)&&(ri=function(e){var t=dr(e),n=t==g?e.constructor:void 0,r=n?Ri(n):"";if(r)switch(r){case wn:return S;case _n:return h;case kn:return"[object Promise]";case xn:return y;case Sn:return k}return t});var fi=ke?Wa:il;function pi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function di(e){return e==e&&!Va(e)}function mi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in he(n)))}}function hi(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=an(o.length-t,0),c=r(a);++i<a;)c[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(c),it(e,this,l)}}function vi(e,t){return t.length<2?e:fr(e,qr(t,0,-1))}function gi(e,t){for(var n=e.length,r=cn(t.length,n),o=bo(e);r--;){var i=t[r];e[r]=ci(i,n)?o[i]:void 0}return e}function bi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var yi=xi(Ur),wi=Zt||function(e,t){return Ye.setTimeout(e,t)},_i=xi(Vr);function ki(e,t,n){var r=t+"";return _i(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ct(c,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Q):[]}(r),n)))}function xi(e){var t=0,n=0;return function(){var r=ln(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Si(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Fr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Ei=function(e){var t=xa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(q,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Pi(e){if("string"==typeof e||Za(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ri(e){if(null!=e){try{return xe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ii(e){if(e instanceof An)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=bo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ti=Dr((function(e,t){return Fa(e)?Qn(e,ir(t,1,Fa,!0)):[]})),Bi=Dr((function(e,t){var n=zi(t);return Fa(n)&&(n=void 0),Fa(e)?Qn(e,ir(t,1,Fa,!0),Zo(n,2)):[]})),ji=Dr((function(e,t){var n=zi(t);return Fa(n)&&(n=void 0),Fa(e)?Qn(e,ir(t,1,Fa,!0),void 0,n):[]}));function Ai(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rc(n);return o<0&&(o=an(r+o,0)),wt(e,Zo(t,3),o)}function Ci(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=rc(n),o=n<0?an(r+o,0):cn(o,r-1)),wt(e,Zo(t,3),o,!0)}function Oi(e){return(null==e?0:e.length)?ir(e,1):[]}function Ni(e){return e&&e.length?e[0]:void 0}var Fi=Dr((function(e){var t=dt(e,io);return t.length&&t[0]===e[0]?gr(t):[]})),Li=Dr((function(e){var t=zi(e),n=dt(e,io);return t===zi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?gr(n,Zo(t,2)):[]})),Di=Dr((function(e){var t=zi(e),n=dt(e,io);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?gr(n,void 0,t):[]}));function zi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Wi=Dr(Mi);function Mi(e,t){return e&&e.length&&t&&t.length?Or(e,t):e}var Ui=qo((function(e,t){var n=null==e?0:e.length,r=Hn(e,t);return Nr(e,dt(t,(function(e){return ci(e,n)?+e:e})).sort(ho)),r}));function Vi(e){return null==e?e:fn.call(e)}var $i=Dr((function(e){return Jr(ir(e,1,Fa,!0))})),qi=Dr((function(e){var t=zi(e);return Fa(t)&&(t=void 0),Jr(ir(e,1,Fa,!0),Zo(t,2))})),Gi=Dr((function(e){var t=zi(e);return t="function"==typeof t?t:void 0,Jr(ir(e,1,Fa,!0),void 0,t)}));function Yi(e){if(!e||!e.length)return[];var t=0;return e=st(e,(function(e){if(Fa(e))return t=an(e.length,t),!0})),Tt(t,(function(t){return dt(e,Et(t))}))}function Hi(e,t){if(!e||!e.length)return[];var n=Yi(e);return null==t?n:dt(n,(function(e){return it(t,void 0,e)}))}var Ki=Dr((function(e,t){return Fa(e)?Qn(e,t):[]})),Xi=Dr((function(e){return ro(st(e,Fa))})),Zi=Dr((function(e){var t=zi(e);return Fa(t)&&(t=void 0),ro(st(e,Fa),Zo(t,2))})),Ji=Dr((function(e){var t=zi(e);return t="function"==typeof t?t:void 0,ro(st(e,Fa),void 0,t)})),Qi=Dr(Yi);var ea=Dr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Hi(e,n)}));function ta(e){var t=In(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=qo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Hn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof An&&ci(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=wo((function(e,t,n){Se.call(e,n)?++e[n]:Yn(e,n,1)}));var ia=Ro(Ai),aa=Ro(Ci);function ca(e,t){return(Ca(e)?ct:er)(e,Zo(t,3))}function la(e,t){return(Ca(e)?lt:tr)(e,Zo(t,3))}var ua=wo((function(e,t,n){Se.call(e,n)?e[n].push(t):Yn(e,n,[t])}));var sa=Dr((function(e,t,n){var o=-1,i="function"==typeof t,a=Na(e)?r(e.length):[];return er(e,(function(e){a[++o]=i?it(t,e,n):br(e,t,n)})),a})),fa=wo((function(e,t,n){Yn(e,n,t)}));function pa(e,t){return(Ca(e)?dt:Rr)(e,Zo(t,3))}var da=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ma=Dr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),Ar(e,ir(t,1),[])})),ha=Xt||function(){return Ye.Date.now()};function va(e,t,n){return t=n?void 0:t,Wo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ga(e,t){var n;if("function"!=typeof t)throw new be(i);return e=rc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ba=Dr((function(e,t,n){var r=1;if(n.length){var o=Ut(n,Xo(ba));r|=32}return Wo(e,r,t,n,o)})),ya=Dr((function(e,t,n){var r=3;if(n.length){var o=Ut(n,Xo(ya));r|=32}return Wo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,c,l,u,s=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new be(i);function m(t){var n=r,i=o;return r=o=void 0,s=t,c=e.apply(i,n)}function h(e){return s=e,l=wi(g,t),f?m(e):c}function v(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-s>=a}function g(){var e=ha();if(v(e))return b(e);l=wi(g,function(e){var n=t-(e-u);return p?cn(n,a-(e-s)):n}(e))}function b(e){return l=void 0,d&&r?m(e):(r=o=void 0,c)}function y(){var e=ha(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return h(u);if(p)return so(l),l=wi(g,t),m(u)}return void 0===l&&(l=wi(g,t)),c}return t=ic(t)||0,Va(n)&&(f=!!n.leading,a=(p="maxWait"in n)?an(ic(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==l&&so(l),s=0,r=u=o=l=void 0},y.flush=function(){return void 0===l?c:b(ha())},y}var _a=Dr((function(e,t){return Jn(e,1,t)})),ka=Dr((function(e,t,n){return Jn(e,ic(t)||0,n)}));function xa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new be(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xa.Cache||Nn),n}function Sa(e){if("function"!=typeof e)throw new be(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}xa.Cache=Nn;var Ea=lo((function(e,t){var n=(t=1==t.length&&Ca(t[0])?dt(t[0],Bt(Zo())):dt(ir(t,1),Bt(Zo()))).length;return Dr((function(r){for(var o=-1,i=cn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Pa=Dr((function(e,t){return Wo(e,32,void 0,t,Ut(t,Xo(Pa)))})),Ra=Dr((function(e,t){return Wo(e,64,void 0,t,Ut(t,Xo(Ra)))})),Ia=qo((function(e,t){return Wo(e,256,void 0,void 0,void 0,t)}));function Ta(e,t){return e===t||e!=e&&t!=t}var Ba=No(mr),ja=No((function(e,t){return e>=t})),Aa=yr(function(){return arguments}())?yr:function(e){return $a(e)&&Se.call(e,"callee")&&!He.call(e,"callee")},Ca=r.isArray,Oa=Qe?Bt(Qe):function(e){return $a(e)&&dr(e)==x};function Na(e){return null!=e&&Ua(e.length)&&!Wa(e)}function Fa(e){return $a(e)&&Na(e)}var La=tn||il,Da=et?Bt(et):function(e){return $a(e)&&dr(e)==f};function za(e){if(!$a(e))return!1;var t=dr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ya(e)}function Wa(e){if(!Va(e))return!1;var t=dr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ma(e){return"number"==typeof e&&e==rc(e)}function Ua(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Va(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function $a(e){return null!=e&&"object"==typeof e}var qa=tt?Bt(tt):function(e){return $a(e)&&ri(e)==h};function Ga(e){return"number"==typeof e||$a(e)&&dr(e)==v}function Ya(e){if(!$a(e)||dr(e)!=g)return!1;var t=qe(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&xe.call(n)==Ie}var Ha=nt?Bt(nt):function(e){return $a(e)&&dr(e)==b};var Ka=rt?Bt(rt):function(e){return $a(e)&&ri(e)==y};function Xa(e){return"string"==typeof e||!Ca(e)&&$a(e)&&dr(e)==w}function Za(e){return"symbol"==typeof e||$a(e)&&dr(e)==_}var Ja=ot?Bt(ot):function(e){return $a(e)&&Ua(e.length)&&!!We[dr(e)]};var Qa=No(Pr),ec=No((function(e,t){return e<=t}));function tc(e){if(!e)return[];if(Na(e))return Xa(e)?Gt(e):bo(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ri(e);return(t==h?Wt:t==y?Vt:Tc)(e)}function nc(e){return e?(e=ic(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rc(e){var t=nc(e),n=t%1;return t==t?n?t-n:t:0}function oc(e){return e?Kn(rc(e),0,4294967295):0}function ic(e){if("number"==typeof e)return e;if(Za(e))return NaN;if(Va(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Va(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(H,"");var n=ie.test(e);return n||ce.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function ac(e){return yo(e,_c(e))}function cc(e){return null==e?"":Zr(e)}var lc=_o((function(e,t){if(pi(t)||Na(t))yo(t,wc(t),e);else for(var n in t)Se.call(t,n)&&Vn(e,n,t[n])})),uc=_o((function(e,t){yo(t,_c(t),e)})),sc=_o((function(e,t,n,r){yo(t,_c(t),e,r)})),fc=_o((function(e,t,n,r){yo(t,wc(t),e,r)})),pc=qo(Hn);var dc=Dr((function(e,t){e=he(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&li(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=_c(i),c=-1,l=a.length;++c<l;){var u=a[c],s=e[u];(void 0===s||Ta(s,_e[u])&&!Se.call(e,u))&&(e[u]=i[u])}return e})),mc=Dr((function(e){return e.push(void 0,Uo),it(xc,void 0,e)}));function hc(e,t,n){var r=null==e?void 0:fr(e,t);return void 0===r?n:r}function vc(e,t){return null!=e&&oi(e,t,vr)}var gc=Bo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Re.call(t)),e[t]=n}),Vc(Gc)),bc=Bo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Re.call(t)),Se.call(e,t)?e[t].push(n):e[t]=[n]}),Zo),yc=Dr(br);function wc(e){return Na(e)?Dn(e):Sr(e)}function _c(e){return Na(e)?Dn(e,!0):Er(e)}var kc=_o((function(e,t,n){Br(e,t,n)})),xc=_o((function(e,t,n,r){Br(e,t,n,r)})),Sc=qo((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=co(t,e),r||(r=t.length>1),t})),yo(e,Yo(e),n),r&&(n=Xn(n,7,Vo));for(var o=t.length;o--;)Qr(n,t[o]);return n}));var Ec=qo((function(e,t){return null==e?{}:function(e,t){return Cr(e,t,(function(t,n){return vc(e,n)}))}(e,t)}));function Pc(e,t){if(null==e)return{};var n=dt(Yo(e),(function(e){return[e]}));return t=Zo(t),Cr(e,n,(function(e,n){return t(e,n[0])}))}var Rc=zo(wc),Ic=zo(_c);function Tc(e){return null==e?[]:jt(e,wc(e))}var Bc=Eo((function(e,t,n){return t=t.toLowerCase(),e+(n?jc(t):t)}));function jc(e){return zc(cc(e).toLowerCase())}function Ac(e){return(e=cc(e))&&e.replace(ue,Ft).replace(Ce,"")}var Cc=Eo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Oc=Eo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Nc=So("toLowerCase");var Fc=Eo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Lc=Eo((function(e,t,n){return e+(n?" ":"")+zc(t)}));var Dc=Eo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),zc=So("toUpperCase");function Wc(e,t,n){return e=cc(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var Mc=Dr((function(e,t){try{return it(e,void 0,t)}catch(e){return za(e)?e:new pe(e)}})),Uc=qo((function(e,t){return ct(t,(function(t){t=Pi(t),Yn(e,t,ba(e[t],e))})),e}));function Vc(e){return function(){return e}}var $c=Io(),qc=Io(!0);function Gc(e){return e}function Yc(e){return xr("function"==typeof e?e:Xn(e,1))}var Hc=Dr((function(e,t){return function(n){return br(n,e,t)}})),Kc=Dr((function(e,t){return function(n){return br(e,n,t)}}));function Xc(e,t,n){var r=wc(t),o=sr(t,r);null!=n||Va(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=sr(t,wc(t)));var i=!(Va(n)&&"chain"in n&&!n.chain),a=Wa(e);return ct(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=bo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mt([this.value()],arguments))})})),e}function Zc(){}var Jc=Ao(dt),Qc=Ao(ut),el=Ao(gt);function tl(e){return ui(e)?Et(Pi(e)):function(e){return function(t){return fr(t,e)}}(e)}var nl=Oo(),rl=Oo(!0);function ol(){return[]}function il(){return!1}var al=jo((function(e,t){return e+t}),0),cl=Lo("ceil"),ll=jo((function(e,t){return e/t}),1),ul=Lo("floor");var sl,fl=jo((function(e,t){return e*t}),1),pl=Lo("round"),dl=jo((function(e,t){return e-t}),0);return In.after=function(e,t){if("function"!=typeof t)throw new be(i);return e=rc(e),function(){if(--e<1)return t.apply(this,arguments)}},In.ary=va,In.assign=lc,In.assignIn=uc,In.assignInWith=sc,In.assignWith=fc,In.at=pc,In.before=ga,In.bind=ba,In.bindAll=Uc,In.bindKey=ya,In.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ca(e)?e:[e]},In.chain=ta,In.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:an(rc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Jt(o/t));i<o;)c[a++]=qr(e,i,i+=t);return c},In.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},In.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return mt(Ca(n)?bo(n):[n],ir(t,1))},In.cond=function(e){var t=null==e?0:e.length,n=Zo();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new be(i);return[n(e[0]),e[1]]})):[],Dr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},In.conforms=function(e){return function(e){var t=wc(e);return function(n){return Zn(n,e,t)}}(Xn(e,1))},In.constant=Vc,In.countBy=oa,In.create=function(e,t){var n=Tn(e);return null==t?n:Gn(n,t)},In.curry=function e(t,n,r){var o=Wo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},In.curryRight=function e(t,n,r){var o=Wo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},In.debounce=wa,In.defaults=dc,In.defaultsDeep=mc,In.defer=_a,In.delay=ka,In.difference=Ti,In.differenceBy=Bi,In.differenceWith=ji,In.drop=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=n||void 0===t?1:rc(t))<0?0:t,r):[]},In.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,0,(t=r-(t=n||void 0===t?1:rc(t)))<0?0:t):[]},In.dropRightWhile=function(e,t){return e&&e.length?to(e,Zo(t,3),!0,!0):[]},In.dropWhile=function(e,t){return e&&e.length?to(e,Zo(t,3),!0):[]},In.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&li(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=rc(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:rc(r))<0&&(r+=o),r=n>r?0:oc(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},In.filter=function(e,t){return(Ca(e)?st:or)(e,Zo(t,3))},In.flatMap=function(e,t){return ir(pa(e,t),1)},In.flatMapDeep=function(e,t){return ir(pa(e,t),1/0)},In.flatMapDepth=function(e,t,n){return n=void 0===n?1:rc(n),ir(pa(e,t),n)},In.flatten=Oi,In.flattenDeep=function(e){return(null==e?0:e.length)?ir(e,1/0):[]},In.flattenDepth=function(e,t){return(null==e?0:e.length)?ir(e,t=void 0===t?1:rc(t)):[]},In.flip=function(e){return Wo(e,512)},In.flow=$c,In.flowRight=qc,In.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},In.functions=function(e){return null==e?[]:sr(e,wc(e))},In.functionsIn=function(e){return null==e?[]:sr(e,_c(e))},In.groupBy=ua,In.initial=function(e){return(null==e?0:e.length)?qr(e,0,-1):[]},In.intersection=Fi,In.intersectionBy=Li,In.intersectionWith=Di,In.invert=gc,In.invertBy=bc,In.invokeMap=sa,In.iteratee=Yc,In.keyBy=fa,In.keys=wc,In.keysIn=_c,In.map=pa,In.mapKeys=function(e,t){var n={};return t=Zo(t,3),lr(e,(function(e,r,o){Yn(n,t(e,r,o),e)})),n},In.mapValues=function(e,t){var n={};return t=Zo(t,3),lr(e,(function(e,r,o){Yn(n,r,t(e,r,o))})),n},In.matches=function(e){return Ir(Xn(e,1))},In.matchesProperty=function(e,t){return Tr(e,Xn(t,1))},In.memoize=xa,In.merge=kc,In.mergeWith=xc,In.method=Hc,In.methodOf=Kc,In.mixin=Xc,In.negate=Sa,In.nthArg=function(e){return e=rc(e),Dr((function(t){return jr(t,e)}))},In.omit=Sc,In.omitBy=function(e,t){return Pc(e,Sa(Zo(t)))},In.once=function(e){return ga(2,e)},In.orderBy=function(e,t,n,r){return null==e?[]:(Ca(t)||(t=null==t?[]:[t]),Ca(n=r?void 0:n)||(n=null==n?[]:[n]),Ar(e,t,n))},In.over=Jc,In.overArgs=Ea,In.overEvery=Qc,In.overSome=el,In.partial=Pa,In.partialRight=Ra,In.partition=da,In.pick=Ec,In.pickBy=Pc,In.property=tl,In.propertyOf=function(e){return function(t){return null==e?void 0:fr(e,t)}},In.pull=Wi,In.pullAll=Mi,In.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Or(e,t,Zo(n,2)):e},In.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Or(e,t,void 0,n):e},In.pullAt=Ui,In.range=nl,In.rangeRight=rl,In.rearg=Ia,In.reject=function(e,t){return(Ca(e)?st:or)(e,Sa(Zo(t,3)))},In.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Zo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Nr(e,o),n},In.rest=function(e,t){if("function"!=typeof e)throw new be(i);return Dr(e,t=void 0===t?t:rc(t))},In.reverse=Vi,In.sampleSize=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rc(t),(Ca(e)?Wn:Wr)(e,t)},In.set=function(e,t,n){return null==e?e:Mr(e,t,n)},In.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Mr(e,t,n,r)},In.shuffle=function(e){return(Ca(e)?Mn:$r)(e)},In.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&li(e,t,n)?(t=0,n=r):(t=null==t?0:rc(t),n=void 0===n?r:rc(n)),qr(e,t,n)):[]},In.sortBy=ma,In.sortedUniq=function(e){return e&&e.length?Kr(e):[]},In.sortedUniqBy=function(e,t){return e&&e.length?Kr(e,Zo(t,2)):[]},In.split=function(e,t,n){return n&&"number"!=typeof n&&li(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=cc(e))&&("string"==typeof t||null!=t&&!Ha(t))&&!(t=Zr(t))&&zt(e)?uo(Gt(e),0,n):e.split(t,n):[]},In.spread=function(e,t){if("function"!=typeof e)throw new be(i);return t=null==t?0:an(rc(t),0),Dr((function(n){var r=n[t],o=uo(n,0,t);return r&&mt(o,r),it(e,this,o)}))},In.tail=function(e){var t=null==e?0:e.length;return t?qr(e,1,t):[]},In.take=function(e,t,n){return e&&e.length?qr(e,0,(t=n||void 0===t?1:rc(t))<0?0:t):[]},In.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=r-(t=n||void 0===t?1:rc(t)))<0?0:t,r):[]},In.takeRightWhile=function(e,t){return e&&e.length?to(e,Zo(t,3),!1,!0):[]},In.takeWhile=function(e,t){return e&&e.length?to(e,Zo(t,3)):[]},In.tap=function(e,t){return t(e),e},In.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new be(i);return Va(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},In.thru=na,In.toArray=tc,In.toPairs=Rc,In.toPairsIn=Ic,In.toPath=function(e){return Ca(e)?dt(e,Pi):Za(e)?[e]:bo(Ei(cc(e)))},In.toPlainObject=ac,In.transform=function(e,t,n){var r=Ca(e),o=r||La(e)||Ja(e);if(t=Zo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Va(e)&&Wa(i)?Tn(qe(e)):{}}return(o?ct:lr)(e,(function(e,r,o){return t(n,e,r,o)})),n},In.unary=function(e){return va(e,1)},In.union=$i,In.unionBy=qi,In.unionWith=Gi,In.uniq=function(e){return e&&e.length?Jr(e):[]},In.uniqBy=function(e,t){return e&&e.length?Jr(e,Zo(t,2)):[]},In.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Jr(e,void 0,t):[]},In.unset=function(e,t){return null==e||Qr(e,t)},In.unzip=Yi,In.unzipWith=Hi,In.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},In.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},In.values=Tc,In.valuesIn=function(e){return null==e?[]:jt(e,_c(e))},In.without=Ki,In.words=Wc,In.wrap=function(e,t){return Pa(ao(t),e)},In.xor=Xi,In.xorBy=Zi,In.xorWith=Ji,In.zip=Qi,In.zipObject=function(e,t){return oo(e||[],t||[],Vn)},In.zipObjectDeep=function(e,t){return oo(e||[],t||[],Mr)},In.zipWith=ea,In.entries=Rc,In.entriesIn=Ic,In.extend=uc,In.extendWith=sc,Xc(In,In),In.add=al,In.attempt=Mc,In.camelCase=Bc,In.capitalize=jc,In.ceil=cl,In.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ic(n))==n?n:0),void 0!==t&&(t=(t=ic(t))==t?t:0),Kn(ic(e),t,n)},In.clone=function(e){return Xn(e,4)},In.cloneDeep=function(e){return Xn(e,5)},In.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},In.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},In.conformsTo=function(e,t){return null==t||Zn(e,t,wc(t))},In.deburr=Ac,In.defaultTo=function(e,t){return null==e||e!=e?t:e},In.divide=ll,In.endsWith=function(e,t,n){e=cc(e),t=Zr(t);var r=e.length,o=n=void 0===n?r:Kn(rc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},In.eq=Ta,In.escape=function(e){return(e=cc(e))&&z.test(e)?e.replace(L,Lt):e},In.escapeRegExp=function(e){return(e=cc(e))&&Y.test(e)?e.replace(G,"\\$&"):e},In.every=function(e,t,n){var r=Ca(e)?ut:nr;return n&&li(e,t,n)&&(t=void 0),r(e,Zo(t,3))},In.find=ia,In.findIndex=Ai,In.findKey=function(e,t){return yt(e,Zo(t,3),lr)},In.findLast=aa,In.findLastIndex=Ci,In.findLastKey=function(e,t){return yt(e,Zo(t,3),ur)},In.floor=ul,In.forEach=ca,In.forEachRight=la,In.forIn=function(e,t){return null==e?e:ar(e,Zo(t,3),_c)},In.forInRight=function(e,t){return null==e?e:cr(e,Zo(t,3),_c)},In.forOwn=function(e,t){return e&&lr(e,Zo(t,3))},In.forOwnRight=function(e,t){return e&&ur(e,Zo(t,3))},In.get=hc,In.gt=Ba,In.gte=ja,In.has=function(e,t){return null!=e&&oi(e,t,hr)},In.hasIn=vc,In.head=Ni,In.identity=Gc,In.includes=function(e,t,n,r){e=Na(e)?e:Tc(e),n=n&&!r?rc(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&_t(e,t,n)>-1},In.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rc(n);return o<0&&(o=an(r+o,0)),_t(e,t,o)},In.inRange=function(e,t,n){return t=nc(t),void 0===n?(n=t,t=0):n=nc(n),function(e,t,n){return e>=cn(t,n)&&e<an(t,n)}(e=ic(e),t,n)},In.invoke=yc,In.isArguments=Aa,In.isArray=Ca,In.isArrayBuffer=Oa,In.isArrayLike=Na,In.isArrayLikeObject=Fa,In.isBoolean=function(e){return!0===e||!1===e||$a(e)&&dr(e)==s},In.isBuffer=La,In.isDate=Da,In.isElement=function(e){return $a(e)&&1===e.nodeType&&!Ya(e)},In.isEmpty=function(e){if(null==e)return!0;if(Na(e)&&(Ca(e)||"string"==typeof e||"function"==typeof e.splice||La(e)||Ja(e)||Aa(e)))return!e.length;var t=ri(e);if(t==h||t==y)return!e.size;if(pi(e))return!Sr(e).length;for(var n in e)if(Se.call(e,n))return!1;return!0},In.isEqual=function(e,t){return wr(e,t)},In.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},In.isError=za,In.isFinite=function(e){return"number"==typeof e&&nn(e)},In.isFunction=Wa,In.isInteger=Ma,In.isLength=Ua,In.isMap=qa,In.isMatch=function(e,t){return e===t||_r(e,t,Qo(t))},In.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,_r(e,t,Qo(t),n)},In.isNaN=function(e){return Ga(e)&&e!=+e},In.isNative=function(e){if(fi(e))throw new pe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return kr(e)},In.isNil=function(e){return null==e},In.isNull=function(e){return null===e},In.isNumber=Ga,In.isObject=Va,In.isObjectLike=$a,In.isPlainObject=Ya,In.isRegExp=Ha,In.isSafeInteger=function(e){return Ma(e)&&e>=-9007199254740991&&e<=9007199254740991},In.isSet=Ka,In.isString=Xa,In.isSymbol=Za,In.isTypedArray=Ja,In.isUndefined=function(e){return void 0===e},In.isWeakMap=function(e){return $a(e)&&ri(e)==k},In.isWeakSet=function(e){return $a(e)&&"[object WeakSet]"==dr(e)},In.join=function(e,t){return null==e?"":rn.call(e,t)},In.kebabCase=Cc,In.last=zi,In.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rc(n))<0?an(r+o,0):cn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):wt(e,xt,o,!0)},In.lowerCase=Oc,In.lowerFirst=Nc,In.lt=Qa,In.lte=ec,In.max=function(e){return e&&e.length?rr(e,Gc,mr):void 0},In.maxBy=function(e,t){return e&&e.length?rr(e,Zo(t,2),mr):void 0},In.mean=function(e){return St(e,Gc)},In.meanBy=function(e,t){return St(e,Zo(t,2))},In.min=function(e){return e&&e.length?rr(e,Gc,Pr):void 0},In.minBy=function(e,t){return e&&e.length?rr(e,Zo(t,2),Pr):void 0},In.stubArray=ol,In.stubFalse=il,In.stubObject=function(){return{}},In.stubString=function(){return""},In.stubTrue=function(){return!0},In.multiply=fl,In.nth=function(e,t){return e&&e.length?jr(e,rc(t)):void 0},In.noConflict=function(){return Ye._===this&&(Ye._=Te),this},In.noop=Zc,In.now=ha,In.pad=function(e,t,n){e=cc(e);var r=(t=rc(t))?qt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Co(Qt(o),n)+e+Co(Jt(o),n)},In.padEnd=function(e,t,n){e=cc(e);var r=(t=rc(t))?qt(e):0;return t&&r<t?e+Co(t-r,n):e},In.padStart=function(e,t,n){e=cc(e);var r=(t=rc(t))?qt(e):0;return t&&r<t?Co(t-r,n)+e:e},In.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(cc(e).replace(K,""),t||0)},In.random=function(e,t,n){if(n&&"boolean"!=typeof n&&li(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=nc(e),void 0===t?(t=e,e=0):t=nc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=sn();return cn(e+o*(t-e+Ve("1e-"+((o+"").length-1))),t)}return Fr(e,t)},In.reduce=function(e,t,n){var r=Ca(e)?ht:Rt,o=arguments.length<3;return r(e,Zo(t,4),n,o,er)},In.reduceRight=function(e,t,n){var r=Ca(e)?vt:Rt,o=arguments.length<3;return r(e,Zo(t,4),n,o,tr)},In.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rc(t),Lr(cc(e),t)},In.replace=function(){var e=arguments,t=cc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},In.result=function(e,t,n){var r=-1,o=(t=co(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Pi(t[r])];void 0===i&&(r=o,i=n),e=Wa(i)?i.call(e):i}return e},In.round=pl,In.runInContext=e,In.sample=function(e){return(Ca(e)?zn:zr)(e)},In.size=function(e){if(null==e)return 0;if(Na(e))return Xa(e)?qt(e):e.length;var t=ri(e);return t==h||t==y?e.size:Sr(e).length},In.snakeCase=Fc,In.some=function(e,t,n){var r=Ca(e)?gt:Gr;return n&&li(e,t,n)&&(t=void 0),r(e,Zo(t,3))},In.sortedIndex=function(e,t){return Yr(e,t)},In.sortedIndexBy=function(e,t,n){return Hr(e,t,Zo(n,2))},In.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Yr(e,t);if(r<n&&Ta(e[r],t))return r}return-1},In.sortedLastIndex=function(e,t){return Yr(e,t,!0)},In.sortedLastIndexBy=function(e,t,n){return Hr(e,t,Zo(n,2),!0)},In.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Yr(e,t,!0)-1;if(Ta(e[n],t))return n}return-1},In.startCase=Lc,In.startsWith=function(e,t,n){return e=cc(e),n=null==n?0:Kn(rc(n),0,e.length),t=Zr(t),e.slice(n,n+t.length)==t},In.subtract=dl,In.sum=function(e){return e&&e.length?It(e,Gc):0},In.sumBy=function(e,t){return e&&e.length?It(e,Zo(t,2)):0},In.template=function(e,t,n){var r=In.templateSettings;n&&li(e,t,n)&&(t=void 0),e=cc(e),t=sc({},t,r,Mo);var o,i,a=sc({},t.imports,r.imports,Mo),c=wc(a),l=jt(a,c),u=0,s=t.interpolate||se,f="__p += '",p=ve((t.escape||se).source+"|"+s.source+"|"+(s===U?ne:se).source+"|"+(t.evaluate||se).source+"|$","g"),d="//# sourceURL="+(Se.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ze+"]")+"\n";e.replace(p,(function(t,n,r,a,c,l){return r||(r=a),f+=e.slice(u,l).replace(fe,Dt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),c&&(i=!0,f+="';\n"+c+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var m=Se.call(t,"variable")&&t.variable;m||(f="with (obj) {\n"+f+"\n}\n"),f=(i?f.replace(C,""):f).replace(O,"$1").replace(N,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=Mc((function(){return de(c,d+"return "+f).apply(void 0,l)}));if(h.source=f,za(h))throw h;return h},In.times=function(e,t){if((e=rc(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var o=Tt(r,t=Zo(t));++n<e;)t(n);return o},In.toFinite=nc,In.toInteger=rc,In.toLength=oc,In.toLower=function(e){return cc(e).toLowerCase()},In.toNumber=ic,In.toSafeInteger=function(e){return e?Kn(rc(e),-9007199254740991,9007199254740991):0===e?e:0},In.toString=cc,In.toUpper=function(e){return cc(e).toUpperCase()},In.trim=function(e,t,n){if((e=cc(e))&&(n||void 0===t))return e.replace(H,"");if(!e||!(t=Zr(t)))return e;var r=Gt(e),o=Gt(t);return uo(r,Ct(r,o),Ot(r,o)+1).join("")},In.trimEnd=function(e,t,n){if((e=cc(e))&&(n||void 0===t))return e.replace(X,"");if(!e||!(t=Zr(t)))return e;var r=Gt(e);return uo(r,0,Ot(r,Gt(t))+1).join("")},In.trimStart=function(e,t,n){if((e=cc(e))&&(n||void 0===t))return e.replace(K,"");if(!e||!(t=Zr(t)))return e;var r=Gt(e);return uo(r,Ct(r,Gt(t))).join("")},In.truncate=function(e,t){var n=30,r="...";if(Va(t)){var o="separator"in t?t.separator:o;n="length"in t?rc(t.length):n,r="omission"in t?Zr(t.omission):r}var i=(e=cc(e)).length;if(zt(e)){var a=Gt(e);i=a.length}if(n>=i)return e;var c=n-qt(r);if(c<1)return r;var l=a?uo(a,0,c).join(""):e.slice(0,c);if(void 0===o)return l+r;if(a&&(c+=l.length-c),Ha(o)){if(e.slice(c).search(o)){var u,s=l;for(o.global||(o=ve(o.source,cc(re.exec(o))+"g")),o.lastIndex=0;u=o.exec(s);)var f=u.index;l=l.slice(0,void 0===f?c:f)}}else if(e.indexOf(Zr(o),c)!=c){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},In.unescape=function(e){return(e=cc(e))&&D.test(e)?e.replace(F,Yt):e},In.uniqueId=function(e){var t=++Ee;return cc(e)+t},In.upperCase=Dc,In.upperFirst=zc,In.each=ca,In.eachRight=la,In.first=Ni,Xc(In,(sl={},lr(In,(function(e,t){Se.call(In.prototype,t)||(sl[t]=e)})),sl),{chain:!1}),In.VERSION="4.17.20",ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){In[e].placeholder=In})),ct(["drop","take"],(function(e,t){An.prototype[e]=function(n){n=void 0===n?1:an(rc(n),0);var r=this.__filtered__&&!t?new An(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},An.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;An.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Zo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");An.prototype[e]=function(){return this[n](1).value()[0]}})),ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");An.prototype[e]=function(){return this.__filtered__?new An(this):this[n](1)}})),An.prototype.compact=function(){return this.filter(Gc)},An.prototype.find=function(e){return this.filter(e).head()},An.prototype.findLast=function(e){return this.reverse().find(e)},An.prototype.invokeMap=Dr((function(e,t){return"function"==typeof e?new An(this):this.map((function(n){return br(n,e,t)}))})),An.prototype.reject=function(e){return this.filter(Sa(Zo(e)))},An.prototype.slice=function(e,t){e=rc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new An(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rc(t))<0?n.dropRight(-t):n.take(t-e)),n)},An.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},An.prototype.toArray=function(){return this.take(4294967295)},lr(An.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=In[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(In.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof An,l=a[0],u=c||Ca(t),s=function(e){var t=o.apply(In,mt([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,m=c&&!p;if(!i&&u){t=m?t:new An(this);var h=e.apply(t,a);return h.__actions__.push({func:na,args:[s],thisArg:void 0}),new jn(h,f)}return d&&m?e.apply(this,a):(h=this.thru(s),d?r?h.value()[0]:h.value():h)})})),ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);In.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ca(o)?o:[],e)}return this[n]((function(n){return t.apply(Ca(n)?n:[],e)}))}})),lr(An.prototype,(function(e,t){var n=In[t];if(n){var r=n.name+"";Se.call(yn,r)||(yn[r]=[]),yn[r].push({name:t,func:n})}})),yn[To(void 0,2).name]=[{name:"wrapper",func:void 0}],An.prototype.clone=function(){var e=new An(this.__wrapped__);return e.__actions__=bo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=bo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=bo(this.__views__),e},An.prototype.reverse=function(){if(this.__filtered__){var e=new An(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},An.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ca(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=cn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,c=i.end,l=c-a,u=r?c:a-1,s=this.__iteratees__,f=s.length,p=0,d=cn(l,this.__takeCount__);if(!n||!r&&o==l&&d==l)return no(e,this.__actions__);var m=[];e:for(;l--&&p<d;){for(var h=-1,v=e[u+=t];++h<f;){var g=s[h],b=g.iteratee,y=g.type,w=b(v);if(2==y)v=w;else if(!w){if(1==y)continue e;break e}}m[p++]=v}return m},In.prototype.at=ra,In.prototype.chain=function(){return ta(this)},In.prototype.commit=function(){return new jn(this.value(),this.__chain__)},In.prototype.next=function(){void 0===this.__values__&&(this.__values__=tc(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},In.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Ii(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},In.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof An){var t=e;return this.__actions__.length&&(t=new An(this)),(t=t.reverse()).__actions__.push({func:na,args:[Vi],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru(Vi)},In.prototype.toJSON=In.prototype.valueOf=In.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},In.prototype.first=In.prototype.head,Je&&(In.prototype[Je]=function(){return this}),In}();Ye._=Ht,void 0===(o=function(){return Ht}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(7),n(8)(e))},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return c(u(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function c(e,t){var n,r,a,c,l,u,s,f,p,d=1,m=e.length,h="";for(r=0;r<m;r++)if("string"==typeof e[r])h+=e[r];else if("object"==typeof e[r]){if((c=e[r]).keys)for(n=t[d],a=0;a<c.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',c.keys[a],c.keys[a-1]));n=n[c.keys[a]]}else n=c.param_no?t[c.param_no]:t[d++];if(o.not_type.test(c.type)&&o.not_primitive.test(c.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(c.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(c.type)&&(f=n>=0),c.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,c.width?parseInt(c.width):0);break;case"e":n=c.precision?parseFloat(n).toExponential(c.precision):parseFloat(n).toExponential();break;case"f":n=c.precision?parseFloat(n).toFixed(c.precision):parseFloat(n);break;case"g":n=c.precision?String(Number(n.toPrecision(c.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=c.precision?n.substring(0,c.precision):n;break;case"t":n=String(!!n),n=c.precision?n.substring(0,c.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=c.precision?n.substring(0,c.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=c.precision?n.substring(0,c.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(c.type)?h+=n:(!o.number.test(c.type)||f&&!c.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),u=c.pad_char?"0"===c.pad_char?"0":c.pad_char.charAt(1):" ",s=c.width-(p+n).length,l=c.width&&s>0?u.repeat(s):"",h+=c.align?p+n+l:"0"===u?p+l+n:l+p+n)}return h}var l=Object.create(null);function u(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],u=[];if(null===(u=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(c=c.substring(u[0].length));)if(null!==(u=o.key_access.exec(c)))a.push(u[1]);else{if(null===(u=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,c=n,l=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<l;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==n&&(c===r&&(r=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return c={args:i,val:e.apply(null,i)},n?(n.prev=c,c.next=n):r=c,o===t.maxSize?(r=r.prev).next=null:o++,n=c,c.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},function(e,t,n){var r=n(1),o=n(6);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'*,:before,:after{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}#ast-block-templates-button-wrap{flex-basis:100%}#ast-block-templates-button{margin:2px;height:33px;font-size:13px;align-items:center;display:flex}#ast-block-templates-button .logo{width:16px;height:16px;margin-right:8px;padding:0}#ast-block-templates-button .uagb-template-button-logo{height:22px;width:22px;margin-left:-2px}.ast-block-templates-button{padding:10px}#ast-block-templates-modal{border-radius:3px;box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);overflow:hidden;background-color:#f1f3f5;max-width:85%;height:calc(100vh - 4em);z-index:9999;margin:2em auto}#ast-block-templates-modal>.inner{position:relative}@media screen and (max-width: 782px){#ast-block-templates-modal{padding:0 20px}}.ast-block-templates-grid-blocks .inner .button-actions .button:first-child{margin-right:5px}.ast-block-templates-grid-blocks .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:8px 15px;flex-direction:row;align-items:center}@media only screen and (min-width: 768px){.ast-block-templates-grid-blocks .ast-block-templates-grid .item{width:33.33%}}.ast-block-templates-grid-pages,.ast-block-templates-grid-blocks{display:none}.ast-block-templates-grid-pages.active,.ast-block-templates-grid-blocks.active{display:block}@media only screen and (min-width: 768px){.ast-block-templates-single-site-preview .ast-block-templates-grid .item,.ast-block-templates-grid-pages .ast-block-templates-grid .item{width:25%}}.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item{margin:0 3% 3.6% 0;border:none;position:relative;margin:0 4% 4% 0;position:relative;width:30.6%;box-sizing:border-box;align-content:flex-start}.ast-block-templates-grid .item .inner{margin:0;box-shadow:0 1px 20px 0 rgba(0,0,0,.07);background:#fff;position:relative;border-radius:2px;overflow:initial;border:1px solid #ddd;transition:all .4s}.ast-block-templates-grid .item .screenshot{background-position:center top;background-size:100%;background-repeat:no-repeat;border-top-left-radius:2px;border-top-right-radius:2px;overflow:hidden;background-color:#e5e5e5;position:relative;display:block}.ast-block-templates-grid .item .screenshot:after{content:"";display:block;padding-top:118%}.ast-block-templates-grid .item .heading-wrap{background-color:#fff;display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;background:#fff;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-top:1px solid #eee;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{font-weight:normal}.ast-block-templates-grid .item .inner:hover .preview{opacity:1;visibility:visible}.ast-block-templates-grid .item .preview{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0;visibility:hidden;float:none;transition:all .3s}.ast-block-templates-grid .item .preview .preview-inner{position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);font-size:20px;color:#d5dadf}.ast-block-templates-grid .item .import{cursor:pointer;position:relative}.ast-block-templates-grid .item .import .components-spinner{position:absolute;left:-25px;margin:0;top:-2px}.ast-block-templates-grid .item .import .dashicons{height:auto;width:auto;font-size:initial;padding-right:3px}.image-loading{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:image-placeholder;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #fafafa 8%, #f4f4f4 38%, #fafafa 54%);position:relative}@keyframes image-placeholder{0%{background-position:-150px 0}100%{background-position:150px 0}}.ast-block-templates-grid{display:flex;flex-wrap:wrap}@media only screen and (min-width: 768px){.ast-block-templates-grid{margin:0}.ast-block-templates-grid .item{width:25%;padding:1.1%;margin:0;box-shadow:none}}#ast-block-templates-modal-wrap{opacity:0;visibility:hidden;position:fixed;height:100%;width:100%;bottom:0;left:0;background-color:rgba(0,0,0,.8);z-index:9999;user-select:none}#ast-block-templates-modal-wrap .ast-block-templates-grid>.components-spinner{margin:8em auto auto}#ast-block-templates-modal-wrap.open{opacity:1;visibility:visible}#ast-block-templates-modal-wrap .filter-wrap{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px 0;padding-left:12.55px}#ast-block-templates-modal-wrap .filter-wrap select{margin-right:10px;position:relative;background-size:12px 12px;height:28px;color:#6d7882;border-radius:3px;border-color:#d5dadf;font-size:12px;padding:0 20px 0 10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}#ast-block-templates-modal-wrap .filters{display:flex;justify-content:space-between;align-items:center}#ast-block-templates-modal-wrap .loading{position:relative;background-color:#e2e2e2}#ast-block-templates-modal-wrap .loading:after{display:block;content:"";position:absolute;width:100%;height:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%);background:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));background:linear-gradient(90deg, #ffffff1c, rgba(255, 255, 255, 0.2), #ffffff2b);-webkit-animation:loading 1.5s infinite;animation:loading 1.5s infinite}@-webkit-keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}',""]),t.default=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(1),o=n(10);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.ast-block-templates-tooltip{width:105px;font-size:12px;position:absolute;bottom:-33px;background:#fff;box-shadow:0 3px 10px rgba(25,30,35,.12);padding:4px;border-radius:2px;display:none;z-index:999}.ast-block-templates-tooltip:before{border:5px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;top:-5px;left:45%;left:calc(50% - 5px);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:0px}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(12);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-sync{position:relative;padding:0 18px;cursor:pointer;color:#6d7882;border-left:1px solid #e6e9ec;display:flex;justify-content:center;align-items:center}.ast-block-templates-sync:hover .ast-block-templates-icon{color:#6d7882}.ast-block-templates-sync .ast-block-templates-icon{font-size:16px;color:#a4afb7}.ast-block-templates-sync .ast-block-templates-tooltip{text-align:center;width:100px}.ast-block-templates-sync:hover .ast-block-templates-tooltip{display:block}.ast-block-templates-sync__title{position:absolute;bottom:-15px;left:-139px;background:#fff;width:200px;border-radius:0px;padding:3px 8px;text-align:left;border:1px solid #e6e9ec;opacity:0;visibility:hidden}.ast-block-templates-sync--processing .ast-block-templates-icon{animation:rotation 2s infinite linear}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(14);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-layout{border-right:1px solid #eee;padding:0 15px;text-align:center;cursor:pointer;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;position:relative}.back-to-layout.show{opacity:1;visibility:visible}.back-to-layout .ast-block-templates-icon{font-size:24px}.back-to-layout:hover .ast-block-templates-tooltip{display:block}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(16);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".logo-wrap{border-right:1px solid #e6e9ec;display:flex;align-items:center;justify-content:center;cursor:pointer}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}.logo{height:38px;padding:0 8px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(18);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header-menu{display:flex;flex:1;align-items:center;justify-content:center;padding-right:70px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;width:108px;padding:18px 0;display:inline-block;text-align:center;font-weight:600;color:#444;font-size:13px;border-bottom:3px solid transparent;cursor:pointer}.header-menu-item:hover{color:#0073aa}.header-menu-item.active{border-color:#0073aa;background-image:linear-gradient(to bottom, #f1f3f5, #fff);color:#0073aa}.header-menu-item .dashicons{width:auto;height:auto;font-size:initial;margin-right:8px}.header-menu-item .ast-block-templates-icon{margin-right:10px;font-size:16px}.header{display:flex;background-color:#fff;box-shadow:25px 0 30px rgba(28,39,60,.09);border-bottom:1px solid #ddd;align-items:stretch;position:relative}.header h2{padding:10px 15px}.header .close{padding:0 15px;cursor:pointer;color:#a4afb7;border-left:1px solid #e6e9ec;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:22px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(20);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header .search-form{position:absolute;right:122px;top:9px}.header .search-form input::-webkit-input-placeholder{color:#a4afb7}.header .search-form .button{border:none;padding:0px 5px;line-height:0;background:0 0;position:absolute;right:15px;bottom:0;color:#a4afb7;top:0}.header .search-form .button:hover{background:transparent}.header .search-form.have-input input:focus+.button,.header .search-form.have-input input:hover+.button{opacity:0;visibility:hidden}.header .search-form input{border-left:none;border-right:none;border-top:none;border-bottom:1px solid #f1f3f5;font-weight:300;width:250px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #e9e9e9;box-shadow:none}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#f1f3f4}.header .search-form svg{fill:#a9a9a9;width:18px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(22);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-block-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-block-button .components-spinner,.ast-template-import-block-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-block-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-block-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(24);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".no-search-result{padding:7em 0;text-align:center;color:#6d7882;flex:1;right:0;top:0em !important}.no-search-result h3{margin-bottom:1.2em;font-size:1.3rem;font-weight:normal;color:#666;margin-top:0}.no-search-result p{font-size:13px;margin:0}.no-search-result-description a{text-decoration:none}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(26);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-templates{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#fafafa;border-color:#999;color:#23282d;margin-top:25px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(28);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-page-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-page-button .components-spinner,.ast-template-import-page-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-page-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-page-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(30);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-popup-wrap{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(49,49,49,.5);z-index:9}.ast-block-templates-popup-wrap.hide{display:none;opacity:0}.ast-block-templates-popup{background:#f2f2f2;margin:0 auto;width:660px;max-height:420px;transform:translate(-50%, -40%);box-sizing:border-box;position:fixed;background-color:#f1f3f5;z-index:100059;text-align:left;top:40%;left:50%;box-shadow:0 3px 6px rgba(0,0,0,.3);border-radius:2px}.ast-block-templates-popup-header{background:#fff;margin-top:0;box-shadow:0 0 8px rgba(0,0,0,.1);margin-bottom:.5em;display:flex;justify-content:space-between}.ast-block-templates-popup-footer{padding:1em 1em 1em 2em;z-index:30;box-sizing:border-box;border-top:1px solid #dcdcdc}.ast-block-templates-popup-footer .button{margin-right:10px}.ast-block-templates-popup-content{display:block;padding:1em 1em 1em 2em;background:#f1f3f5;min-height:200px;overflow:auto;position:relative}.ast-block-templates-popup-heading{font-size:1.3em;margin:0;font-weight:600;padding:1em 1em 1em 2em}.ast-block-templates-popup-close-icon{width:53px;cursor:pointer;border-left:1px solid #eee;color:#aaa;display:flex;align-items:center;justify-content:center;padding:1em 1em 1em 1em}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-single-site-preview .ast-block-templates-grid .item{width:47%;padding:0;margin:0 6% 6% 0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item:nth-child(even){margin-right:0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .heading-wrap{padding:8px 14px}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .title{font-weight:500;font-size:13px;background:#fff}.ast-block-templates-single-site-preview .ast-block-templates-grid .item.active .inner{border-color:#5b9dd9;border-radius:2px}.ast-block-templates-single-site-preview{display:flex;position:fixed;left:30px;right:30px;height:80vh;padding-top:14px;max-width:80%;margin:0 auto}.ast-block-templates-single-page-preview{width:65%;flex:1;margin-bottom:3em}.ast-block-templates-single-page-preview img{width:100%}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 270px);overflow-y:auto;border-radius:2px;box-shadow:0 0 16px 0 rgba(0,0,0,.12);height:100vh}.ast-block-templates-grid-preview{width:35%}.ast-block-templates-grid-preview .ast-block-templates-grid{overflow-y:auto;max-height:calc(100vh - 250px);padding-right:30px;margin-right:-35px;margin-left:0}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner{border:1px solid #e2e2e2}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner:hover{box-shadow:0 3px 12px rgba(0,0,0,.14)}.ast-block-templates-grid-preview .ast-block-templates-grid .item .screenshot:after{padding-top:114%}.ast-block-templates-pages-title{color:#9e9e9e;text-decoration:none;font-weight:500;position:relative;font-size:13px;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0 0 32px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{max-height:calc(100vh - 210px);overflow-y:auto;box-shadow:0 0 16px 0 rgba(0,0,0,.12);margin:1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(36);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{text-align:center}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content .ast-block-templates-notice-message{margin:.5em 0;padding:2px}.ast-block-templates-content .ast-block-templates-notice{position:relative;margin:0 1.1% 20px 1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content{height:88vh;height:calc(100vh - 108px);overflow-y:auto;padding:30px;color:#444}.ast-block-templates-content img{max-width:100%;vertical-align:middle}.ast-block-templates-content .title{margin:0;font-size:14px;color:#444;margin-bottom:5px}.ast-block-templates-content .title b{font-weight:900}.ast-block-templates-content .sub-title{font-weight:300;font-size:13px}.ast-block-templates-full-preview::-webkit-scrollbar,.ast-block-templates-content::-webkit-scrollbar,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.ast-block-templates-full-preview::-webkit-scrollbar-thumb,.ast-block-templates-content::-webkit-scrollbar-thumb,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-thumb,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.ast-block-templates-full-preview::-webkit-scrollbar-track,.ast-block-templates-content::-webkit-scrollbar-track,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-track,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(42);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".footer{background:#fff;border-top:1px solid #ebebeb;display:flex;padding:0 30px;position:absolute;bottom:0;right:0;left:0;justify-content:space-between;box-shadow:0 -2px 8px rgba(0,0,0,.05)}.footer .dashicons{vertical-align:middle;font-size:initial}.footer .left,.footer .right{display:flex;justify-content:center;align-items:center}.footer .button{margin:10px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(44);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){var r=n(1),o=n(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.used-blocks-info{width:250px;position:absolute;bottom:60px;background:#fff;box-shadow:0 -3px 10px rgba(25,30,35,.12);padding:15px 18px;border-radius:2px;right:38px;display:none}.used-blocks-info.show{display:block}.used-blocks-info:after{border:8px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;bottom:-8px;left:40%;border-top-style:solid;border-left-color:transparent;border-right-color:transparent;border-bottom:none;margin-left:0px}.used-blocks-info h3{margin:15px 0 8px 0;font-size:14px;font-weight:500;border-bottom:1px solid #e4e7ea;padding-bottom:8px}.used-blocks-info h3:first-child{margin-top:0}.used-blocks-info ol{margin-left:15px}.used-blocks-info ol li:last-child{margin-bottom:0}.footer .used-blocks-icon{border-left:1px solid #e6e9ec;border-right:1px solid #e6e9ec;margin-right:20px;padding:25px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:20px;color:#555d66}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){"use strict";n.r(t);n(5);var r=n(2),o=n.n(r),i=function(e,t,n){var o=AstBlockTemplatesVars.allBlocks,i=[];e&&(i=o.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var a=[];return n&&(a=o.filter((function(e){var t=Object.values(e.tag);if(t.length){for(var r in t)if(t[r].toLowerCase().includes(n.toLowerCase()))return!0;return!1}return!0}))),(e||n)&&(o=Object(r.unionBy)(i,a,"ID")),t&&(o=o.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o},a=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],i=o.pages||{};if(Object.values(i).length)for(var a in i)i[a]["site-ID"]=o.ID,i[a]["site-title"]=o.title,t.push(i[a])}var c=[];e&&(c=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];e&&(l=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var u=[];return e&&(u=t.filter((function(t){if("tag"in t){var n=Object.values(t.tag)||[];if(n.length)for(var r in n)if(n[r].toLowerCase().includes(e.toLowerCase()))return!0;return!1}return!0}))),e&&(t=Object(r.unionBy)(c,u,l,"ID")),t};function c(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={togglePopup:!1,allBlocks:AstBlockTemplatesVars.allBlocks,allSites:AstBlockTemplatesVars.allSites,allPages:[],currentScreen:"all-sites-grid",previousScreen:"",filterBlocksByCategory:"",filterBlocksByColor:"",filterBlocksBySearchTerm:"",filterPagesByPageType:"",filterPagesBySearchTerm:"",pagePreview:{},sitePreview:{},fullWidthPagePreview:{},fullWidthBlockPreview:{},notice:{},importItemInfo:{},displayDynamicPopup:!1},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return l(l({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return l(l({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return l(l({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return l(l({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return l(l({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return l(l({},e),{},{notice:t.notice});if("SET_SEARCH_PAGE_PREVIEW"===t.type){var n=[],r=t.item["site-ID"]||"";return r&&(n=e.allSites.filter((function(e){return r===e.ID})))&&(n=n[0]),l(l({},e),{},{sitePreview:n,pagePreview:t.item})}if("SET_CURRENT_SCREEN"===t.type){var o="all-sites-grid"===t.currentScreen||"all-blocks-grid"===t.currentScree?"":e.currentScreen;return l(l({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}return"SET_PREVIOUS_SCREEN"===t.type?l(l({},e),{},{previousScreen:t.previousScreen}):"TOGGLE_POPUP"===t.type?l(l({},s),{},{togglePopup:!e.togglePopup}):"SET_SITE_PREVIEW"===t.type?l(l({},e),{},{sitePreview:t.sitePreview}):"SET_PAGE_PREVIEW"===t.type?l(l({},e),{},{pagePreview:t.pagePreview}):"SET_FULL_PREVIEW"===t.type?l(l({},e),{},{fullWidthPreview:t.fullWidthPreview}):"SET_FILTER_BLOCKS_BY_CATEGORY"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,t.filterBlocksByCategory,e.filterBlocksBySearchTerm),filterBlocksByCategory:t.filterBlocksByCategory}):"SET_FILTER_BLOCKS_BY_COLOR"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,e.filterBlocksByCategory,e.filterBlocksBySearchTerm),filterBlocksByColor:t.filterBlocksByColor}):"SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type?l(l({},e),{},{allBlocks:i(t.filterBlocksBySearchTerm,e.filterBlocksByCategory,t.filterBlocksBySearchTerm),filterBlocksBySearchTerm:t.filterBlocksBySearchTerm}):"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?l(l({},e),{},{allPages:a(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):l(l({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?l(l({},e),{},{allPages:t.allPages}):e};function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(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 d(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={getTogglePopup:function(e){return e.togglePopup},getAllBlocks:function(e){return e.allBlocks},getAllSites:function(e){return e.allSites},getCount:function(e){return e.count},getCurrentScreen:function(e){return e.currentScreen},getPreviousScreen:function(e){return e.previousScreen},getSearchTerm:function(e){return e.searchTerm},getSitePreview:function(e){return e.sitePreview},getNotice:function(e){return e.notice},getImportItemInfo:function(e){return e.importItemInfo},getPagePreview:function(e){return e.pagePreview},getFullWidthPreview:function(e){return e.fullWidthPreview},getFilterBlocksByCategory:function(e){return e.filterBlocksByCategory},getFilterBlocksByColor:function(e){return e.filterBlocksByColor},getFilterBlocksBySearchTerm:function(e){return e.filterBlocksBySearchTerm},getFilterPagesByPageType:function(e){return e.filterPagesByPageType},getFilterPagesBySearchTerm:function(e){return e.filterPagesBySearchTerm},getFullWidthPagePreview:function(e){return e.fullWidthPagePreview},getFullWidthBlockPreview:function(e){return e.fullWidthBlockPreview},getAllPages:function(e){return e.allPages},getBlockSearchInput:function(e){return e.blockSearchInput},getDisplayDynamicPopup:function(e){return e.displayDynamicPopup}},h={setTogglePopup:function(){return{type:"TOGGLE_POPUP"}},setFullWidthPagePreview:function(e){return{type:"FULL_WIDTH_PAGE_PREVIEW",fullWidthPagePreview:e}},setFullWidthBlockPreview:function(e){return{type:"FULL_WIDTH_BLOCK_PREVIEW",fullWidthBlockPreview:e}},setCurrentScreen:function(e){return{type:"SET_CURRENT_SCREEN",currentScreen:e}},setPreviousScreen:function(e){return{type:"SET_PREVIOUS_SCREEN",previousScreen:e}},setSitePreview:function(e){return{type:"SET_SITE_PREVIEW",sitePreview:e}},setSearchPagePreview:function(e){return{type:"SET_SEARCH_PAGE_PREVIEW",item:e}},setNotice:function(e){return{type:"SET_NOTICE",notice:e}},setPagePreview:function(e){return{type:"SET_PAGE_PREVIEW",pagePreview:e}},setFullWidthPreview:function(e){return{type:"SET_FULL_PREVIEW",fullWidthPreview:e}},setSearchTerm:function(e){return{type:"SEARCH_TERM",searchTerm:e}},setFilterBlocksByCategory:function(e){return{type:"SET_FILTER_BLOCKS_BY_CATEGORY",filterBlocksByCategory:e}},setFilterBlocksByColor:function(e){return{type:"SET_FILTER_BLOCKS_BY_COLOR",filterBlocksByColor:e}},setImportItemInfo:function(e){return{type:"SET_IMPORT_ITEM_INFO",importItemInfo:e}},setFilterBlocksBySearchTerm:function(e){return{type:"SET_FILTER_BLOCKS_BY_SEARCH_TERM",filterBlocksBySearchTerm:e}},setFilterPagesByPageType:function(e){return{type:"SET_FILTER_PAGES_BY_PAGE_TYPE",filterPagesByPageType:e}},setFilterPagesBySearchTerm:function(e){return{type:"SET_FILTER_PAGES_BY_SEARCH_TERM",filterPagesBySearchTerm:e}},setAllPages:function(e){return{type:"SET_ALL_PAGES",allPages:e}},setState:function(e){return{type:"SET_STATE",state:e}},setDisplayDynamicPopup:function(e){return{type:"SET_DISPLAY_DYNAMIC_POPUP",displayDynamicPopup:e}}};(function(e){var t,n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return n.apply(void 0,arguments)}};t=[].map((function(e){return e(o)})),n=r.flowRight.apply(void 0,p(t))(e.dispatch),e.dispatch=n})((0,wp.data.registerStore)("ast-block-templates",{reducer:f,actions:h,selectors:m}));var v,g,b,y,w=n(4),_=n.n(w),k=n(3),x=n.n(k),S=_()(console.error);function E(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x.a.sprintf.apply(x.a,[e].concat(n))}catch(t){return S("sprintf error: \n\n"+t.toString()),e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}v={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},g=["(","?"],b={")":["("],":":["?","?:"]},y=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var R={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function I(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(y);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(b[n]){if(b[n][0]===o){n=b[n][1]||n;break}}else if(g.indexOf(o)>=0||v[o]<v[n]){a.push(o);break}i.push(o)}b[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,c,l=[];for(n=0;n<e.length;n++){if(a=e[n],i=R[a]){for(r=i.length,o=Array(r);r--;)o[r]=l.pop();try{c=i.apply(null,o)}catch(e){return e}}else c=t.hasOwnProperty(a)?t[a]:+a;l.push(c)}return l[0]}(t,e)}}var T={contextDelimiter:"",onMissingKey:null};function B(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},T)this.options[n]=void 0!==t&&n in t?t[n]:T[n]}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 A(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){P(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}B.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=I(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},B.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,c;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(c=this.data[e][a])&&c[i]?c[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var C,O,N,F,L,D,z={"":{plural_forms:function(e){return 1===e?0:1}}},W=(N=new B({}),F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";N.data[t]=A(A(A({},z),N.data[t]),e),N.data[t][""]=A(A({},z[""]),N.data[t][""])},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return N.data[e]||F(void 0,e),N.dcnpgettext(e,t,n,r,o)},D=function(e,t,n){return L(n,t,e)},C&&F(C,O),{setLocaleData:F,__:function(e,t){return L(t,void 0,e)},_x:D,_n:function(e,t,n,r){return L(r,void 0,e,t,n)},_nx:function(e,t,n,r,o){return L(o,r,e,t,n)},isRTL:function(){return"rtl"===D("ltr","text direction")}}),M=(W.setLocaleData.bind(W),W.__.bind(W)),U=(W._x.bind(W),W._n.bind(W),W._nx.bind(W),W.isRTL.bind(W),wp.element),V=U.createPortal,$=U.memo,q=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))($((function(e){var t=e.onSetTogglePopup;return V(React.createElement("button",{onClick:t,id:"ast-block-templates-button",className:"button button-primary"},AstBlockTemplatesVars.display_button_logo&&""===AstBlockTemplatesVars.white_label_name?React.createElement("img",{src:AstBlockTemplatesVars.button_logo,className:"logo ".concat(AstBlockTemplatesVars.button_class)}):"",AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#9E9E9E";e&&console.log("%c ".concat(e," "),"color: ".concat(n,"; font-weight: lighter;"),t)},Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return G(e,t,"#F20404")},H=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function K(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function X(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){K(i,r,o,a,c,"next",e)}function c(e){K(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(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 J(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 Q=wp.compose.compose,ee=wp.data,te=ee.withSelect,ne=ee.withDispatch,re=wp.element,oe=re.useState,ie=re.memo,ae=wp.ajax.post,ce=Q(ne((function(e){return{setNotice:e("ast-block-templates").setNotice}})),te((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(ie((function(e){var t=e.setNotice,n=Z(oe({isProcessing:"",buttonText:"Sync Library"}),2),r=n[0],o=n[1],i=r.isProcessing,a=r.buttonText,c=function(){var e=X(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae({action:"ast-block-templates-update-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){t({type:"success",message:"Template library refreshed!"}),o({isProcessing:"complete",buttonText:"Sync Complete"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=function(){var e=X(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae({action:"ast-block-templates-import-sites",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," site..")}),t===n&&c()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),u=function(){var e=X(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae({action:"ast-block-templates-get-sites-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status){o({isProcessing:"process",buttonText:"Importing Sites.."});for(var t=e.data,n=1;n<=t;n++)l(n,t)}else o({isProcessing:"complete",buttonText:"Importing Sites Failed"})})).fail((function(e){Y("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(){var e=X(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae({action:"ast-block-templates-import-blocks",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," block..")}),t===n&&u()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),f=function(){var e=X(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae({action:"ast-block-templates-get-blocks-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status)for(var t=e.data,n=1;n<=t;n++)s(n,t);else o({isProcessing:"complete",buttonText:"Importing Pages Failed"})})).fail((function(e){Y("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=X(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae({action:"ast-block-templates-import-categories",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){f()})).fail((function(e){Y("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=X(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ae({action:"ast-block-templates-check-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?"updated"===e.data?(o({isProcessing:"complete",buttonText:"Library is up-to date!"}),t({type:"success",message:"Template library refreshed!"})):p():(t({type:"error",message:"Error! ".concat(e.message)}),o({isProcessing:"complete",buttonText:"Error! ".concat(e.message)}))})).fail((function(e){Y("fail",e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),Y("Complete: Failed",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}();return React.createElement("span",{className:"ast-block-templates-sync ".concat("process"===i?"ast-block-templates-sync--processing":""),onClick:function(e){e.preventDefault(),t({type:"info",message:"Syncing template library in the background. The process can take anywhere between 2 to 3 minutes. We will notify you once done."}),o({isProcessing:"process",buttonText:"Syncing libray.."}),d()}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-refresh"}),React.createElement("span",{className:"ast-block-templates-sync__title"},a),React.createElement(H,{message:"Sync Library"}))}))),le=(n(13),wp.compose.compose),ue=wp.data,se=ue.withSelect,fe=ue.withDispatch,pe=wp.element.memo,de=le(se((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getPreviousScreen;return{currentScreen:n(),previousScreen:r()}})),fe((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(pe((function(e){var t=e.currentScreen,n=e.previousScreen,r=e.setCurrentScreen,o="full-width-block-preview"===t||"full-width-page-preview"===t||"all-single-site-pages"===t?"show":"",i="full-width-block-preview"===t?"Back to Patterns":"Back to Pages";return React.createElement("div",{className:"back-to-layout ".concat(o),onClick:function(){r("full-width-page-preview"===t||"full-width-block-preview"===t?"all-single-site-pages"===n?"all-single-site-pages":"all-blocks-grid":"all-sites-grid")}},React.createElement(H,{message:i}),React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-chevron-left"}))}))),me=(n(15),wp.compose.compose),he=wp.data.withDispatch,ve=wp.element.memo,ge=me(he((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(ve((function(e){var t=e.setCurrentScreen;return React.createElement("div",{className:"logo-wrap ".concat(""!==AstBlockTemplatesVars.white_label_name?"white-label":""),onClick:function(){return t("all-sites-grid")}},""!==AstBlockTemplatesVars.white_label_name?React.createElement("div",{className:"logo"},AstBlockTemplatesVars.white_label_name):React.createElement("img",{src:AstBlockTemplatesVars.popup_logo_uri,className:"logo"}))}))),be=wp.compose.compose,ye=wp.data,we=ye.withSelect,_e=ye.withDispatch,ke=wp.element.memo,xe=be(we((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{preview:n(),currentScreen:r()}})),_e((function(e){var t=e("ast-block-templates"),n=t.setAllPages,r=t.setSitePreview,o=t.setTogglePopup,i=t.setCurrentScreen,a=t.setFilterPagesBySearchTerm,c=t.setFilterBlocksBySearchTerm;return{updateCurrentScreen:function(e){n([]),r({}),a(""),c(""),i(e)},onSetSitePreview:r,onSetTogglePopup:o}})))(ke((function(e){var t=e.currentScreen,n=e.updateCurrentScreen;return React.createElement("div",{className:"header-menu"},React.createElement("div",{className:"header-menu-item ".concat("all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?"active":""),onClick:function(){return n("all-sites-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-file"}),M("Pages")),React.createElement("div",{className:"header-menu-item ".concat("all-blocks-grid"===t||"full-width-block-preview"===t?"active":""),onClick:function(){return n("all-blocks-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-layers"}),M("Patterns")))}))),Se=wp.compose.compose,Ee=wp.data,Pe=Ee.withSelect,Re=Ee.withDispatch,Ie=wp.element.memo,Te=Se(Pe((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{sitePreview:n(),currentScreen:r()}})),Re((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setTogglePopup;t.setCurrentScreen;return{setSitePreview:n,onSetTogglePopup:r}})))(Ie((function(e){var t=e.onSetTogglePopup;return React.createElement("div",{className:"close",onClick:function(e){t(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")}},React.createElement("i",{className:"dashicons dashicons-no-alt"}))})));n(17),n(19);function Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(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 je(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=wp.element,Ce=Ae.memo,Oe=Ae.useState,Ne=Ae.useEffect,Fe=Ce((function(e){var t=e.onSearch,n=e.value,r=e.searchInputRef,o=e.placeholder,i=Be(Oe(""),2),a=i[0],c=i[1],l=o||M("Search..","ast-block-templates");return Ne((function(){c(n)})),React.createElement("div",{className:"search-form ".concat(a?"have-input":"")},React.createElement("input",{ref:r,type:"search",name:"search",value:n,placeholder:l,onChange:function(e){t(e)}}),React.createElement("button",{className:"button"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"})))})),Le=wp.element.memo,De=wp.compose.compose,ze=wp.data,We=ze.withSelect,Me=ze.withDispatch,Ue=De(We((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getFilterPagesBySearchTerm,o=t.getFilterBlocksBySearchTerm;return{currentScreen:n(),filterPagesBySearchTerm:r(),filterBlocksBySearchTerm:o()}})),Me((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm,r=t.setFilterPagesBySearchTerm,o=t.setCurrentScreen,i=t.setPagePreview,a=t.setSitePreview,c=t.setFullWidthBlockPreview;return{setFilterBlocksBySearchTerm:function(e){o("all-blocks-grid"),c({}),n(e)},insertBlocks:e("core/block-editor").insertBlocks,setFilterPagesBySearchTerm:function(e){o("all-sites-grid"),r(e),i({}),a({})}}})))(Le((function(e){var t=e.currentScreen,n=e.filterPagesBySearchTerm,r=e.filterBlocksBySearchTerm,o=e.setFilterBlocksBySearchTerm,i=e.setFilterPagesBySearchTerm;return React.createElement("div",{className:"header"},React.createElement(ge,null),React.createElement(de,null),React.createElement(xe,null),"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(Fe,{placeholder:"Search Templates..",value:n,onSearch:function(e){i(e.target.value)}}):React.createElement(Fe,{placeholder:"Search Patterns..",value:r,onSearch:function(e){o(e.target.value)}}),React.createElement(ce,null),React.createElement(Te,null))}))),Ve=wp.ajax.post,$e=wp.blocks.parse;var qe=function(e,t,n,r,o){Ve({action:"ast_block_templates_importer",api_uri:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){!function(e,t,n,r,o){Ve({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){r($e(e),t,n),o(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))}(e,r,o,t,n)})).fail((function(e){Y("fail",e)}))},Ge=function(e){return new Promise((function(t,n){var r=new window.FormData;r.append("action","ast_block_templates_activate_plugin"),r.append("init",e.init),r.append("security",AstBlockTemplatesVars._ajax_nonce),wp.apiFetch({url:AstBlockTemplatesVars.ajax_url,method:"POST",body:r}).then((function(e){e.success?t(e):n(e)}))}))},Ye=function(e){return new Promise((function(t,n){wp.updates.queue.push({action:"install-plugin",data:{slug:e.slug,init:e.init,name:e.name,success:function(n){t(n,e)},error:function(t){n(t,e)}}}),wp.updates.queueChecker()}))};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}function Ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Xe={stdClass:function(){},stringify:function(e){var t=new Map([[1/0,"d:INF;"],[-1/0,"d:-INF;"],[NaN,"d:NAN;"],[null,"N;"],[void 0,"N;"]]),n=function(e){return e?encodeURI(e).match(/(%.)?./g).length:0},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'"';return"".concat(n(e),":").concat(t[0]).concat(e).concat(t[t.length-1])},o=0;return function e(n){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=i,"string"==typeof n)return"s:".concat(r(n),";");if("number"==typeof n)return"".concat(Math.round(n)===n?"i":"d",":").concat((""+n).toUpperCase().replace(/(-?\d)E/,"$1.0E"),";");if("boolean"==typeof n)return"b:".concat(+n,";");var a=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+a],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var c=Object.entries(n).filter((function(e){var t=Ke(e,2);t[0];return"function"!=typeof t[1]}));return(a?"a":"O:".concat(r(n.constructor.name)))+":".concat(c.length,":{").concat(c.map((function(t){var n=Ke(t,2),r=n[0],o=n[1];return e(a&&/^\d{1,16}$/.test(r)?+r:r,!1)+e(o)})).join(""),"}")}(e)},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stdClass=Xe.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;throw new Error("Error at ".concat(r,": ").concat(t,"\n").concat(e,"\n").concat(" ".repeat(r),"^"))},a=function(t,r){return t===e.slice(n,n+=t.length)?r:i("Expected '".concat(t,"'"),n-t.length)};function c(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";a(":");var c=t.exec(e.slice(n));return c||i("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=c[0].length,a(o,c[0])}function l(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var c=e.charCodeAt(n++);t-=c<128?1:c<2048||c>>11==27?2:3}return t?i("Invalid string length",o-2):a(r,e.slice(o,n))}var u=function(e){return e?t[e]?Object.create(t[e].prototype):new(He({},e,(function(){}))[e]):{}},s=function(){return c(/^[01]/,"a '0' or '1'",";")},f=function(){return+c(/^-?\d+/,"an integer",";")},p=function(e){return+c(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l(p(':"'),'"'+e)};function m(){var e=c(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function h(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):i("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function v(e){for(var t=0,n=p(":{");t<n;t++)e[h()]=y();return a("}",e)}function g(){var e=v({});return Object.keys(e).some((function(e,t){return e!=t}))?e:Object.values(e)}function b(e){return"function"!=typeof e.unserialize&&i("Instance of ".concat(e.constructor.name,' does not have an "unserialize" method')),e.unserialize(l(p(":{"))),a("}",e)}function y(){var t=e[n++].toLowerCase(),o=r.push(null)-1,c="n"===t?a(";",null):"s"===t?d(";"):"b"===t?s():"i"===t?f():"d"===t?m():"a"===t?g():"o"===t?v(u(d())):"c"===t?b(u(d())):"r"===t?r[f()]:i("Unexpected type ".concat(t),n-1);return"r"!==t&&(r[o]=c),c}var w=y();return n!==e.length&&i("Unexpected trailing character"),w}},Ze=function(e,t){return fetch("https://websitedemos.net/wp-json/wp/v2/".concat(t,"/").concat(e)).then((function(e){return e.json()}))};n(21);function Je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qe(e,t)}(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 Qe(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 et=wp.compose.compose,tt=wp.data,nt=tt.useSelect,rt=tt.withSelect,ot=tt.withDispatch,it=wp.ajax.post,at=wp.blocks.parse,ct=wp.element,lt=ct.useState,ut=ct.memo,st=(ct.useEffect,ct.useCallback,wp.components.Spinner),ft=et(rt((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getSitePreview;return{importItemInfo:n(),sitePreview:o(),currentScreen:r()}})),ot((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{setImportItemInfo:n,onSetTogglePopup:r,insertBlocks:e("core/block-editor").insertBlocks}})))(ut((function(e){var t=e.setImportItemInfo,n=(e.liveRequest,e.requiredPlugins,e.importItemInfo),r=e.title,o=e.btnClass,i=e.currentScreen,a=e.insertBlocks,c=e.onSetTogglePopup,l=e.item,u=e.withIcon,s=Je(lt(n),2),f=s[0],p=(s[1],o||""),d=Je(lt(r||"Import"),2),m=d[0],h=d[1],v="full-width-block-preview"===i?"show":"",g=Je(lt(!1),2),b=g[0],y=g[1],w=nt((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),_=w.insertIndex,k=w.insertClientID,x=function(){Ge({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){E()})).catch((function(e){y(!1),h("Activation failed!")}))},S=function(){var e=f.original_content;it({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){b=!1,a(at(e),_,k),c(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))},E=function(){var e=f["post-meta"]["astra-site-wpforms-path"]||"";e?function(e){it({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){S()})).fail((function(e){y(!1),h("WPForms import failed!")}))}(e):S()};return React.createElement("div",{className:"ast-template-import-block-button ".concat(v," ").concat(p),onClick:function(){y(!0),Ze(l.ID,"astra-blocks").then((function(e){t(e),f=e,(e["post-meta"]["astra-blocks-required-plugins"]?Xe.parse(e["post-meta"]["astra-blocks-required-plugins"]):[]).length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Ye({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){x()})).catch((function(e){y(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?x():E():E()})).catch((function(e){}))}},b?React.createElement(React.Fragment,null,React.createElement(st,null)," Importing.."):React.createElement(React.Fragment,null,u?React.createElement("i",{className:"dashicons dashicons-download"}):"",m))}))),pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__};function dt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mt(e,t)}(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 mt(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 ht=wp.compose.compose,vt=wp.data.withDispatch,gt=wp.element,bt=gt.memo,yt=gt.useEffect,wt=gt.useState,_t=(wp.ajax.post,ht(vt((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=t.setFullWidthBlockPreview,o=t.setCurrentScreen;return{setImportItemInfo:n,updateFullWidthBlockPreview:function(e){r(e),o("full-width-block-preview")}}})))(bt((function(e){var t=e.setImportItemInfo,n=e.updateFullWidthBlockPreview,r=e.item,o=e.InitMasonry,i=r["thumbnail-image-url"]||"",a=r["featured-image-url"]||"",c=function(e){t(e),n(e)},l=dt(wt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),u=l[0],s=l[1],f=dt(wt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),p=f[0],d=f[1];return yt((function(){var e=!0,t=new Image;t.src=i;var n=new Image;return n.src=a,t.onload=function(){e&&(s(t.src),o())},n.onload=function(){e&&(d(n.src),o())},function(){e=!1}})),React.createElement("div",{className:"item single-block"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"thumbnail",onClick:function(){t(r),n(r),c(r)}},React.createElement("img",{srcSet:"".concat(p,", ").concat(u),src:u}),React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},pt(r.title)),React.createElement("div",{className:"button-actions"},React.createElement("button",{className:"button",onClick:function(){c(r)}},"Preview"),React.createElement(ft,{withIcon:!1,btnClass:"button button-primary",title:"Import",liveRequest:!0,item:r})))))})))),kt=wp.compose.compose,xt=wp.element.memo,St=wp.data,Et=St.withSelect,Pt=St.withDispatch,Rt=kt(Et((function(e){return{filterBlocksByCategory:(0,e("ast-block-templates").getFilterBlocksByCategory)()}})),Pt((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(xt((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory;return AstBlockTemplatesVars.allCategories?React.createElement("div",{className:"blocks-category"},React.createElement("select",{onChange:function(e){n(e.target.value)},defaultValue:t},React.createElement("option",{value:""},M("All")),AstBlockTemplatesVars.allCategories.map((function(e){return React.createElement("option",{key:e.id,value:e.id}," ",e.name," ")})))):""}))),It=(0,wp.element.memo)((function(){return React.createElement("div",{className:"filter-wrap ast-block-templates-block-grid-filters"},React.createElement("div",{className:"filters"},React.createElement(Rt,null)))})),Tt=(n(23),function(e){var t=e.children;return React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,"Sorry No Results Found."),React.createElement("div",{className:"no-search-result-description"},React.createElement("p",null,"Don't see a template you would like to import?",React.createElement("br",null),AstBlockTemplatesVars.display_suggestion_link&&React.createElement("a",{target:"_blank",href:AstBlockTemplatesVars.suggestion_link},"Make a Template Suggestion!"))),t)}),Bt=(n(25),function(e){var t=e.afterClick;return React.createElement("span",null,React.createElement("span",{className:"back-to-templates",onClick:function(e){t&&t(e)}},M("Back to Templates","ast-block-templates")))}),jt=wp.compose.compose,At=wp.data,Ct=At.withSelect,Ot=At.withDispatch,Nt=wp.element,Ft=Nt.memo,Lt=Nt.useEffect,Dt=(Nt.useState,jt(Ot((function(e){return{setFilterBlocksBySearchTerm:e("ast-block-templates").setFilterBlocksBySearchTerm}})),Ct((function(e){return{allBlocks:(0,e("ast-block-templates").getAllBlocks)()}})))(Ft((function(e){var t=e.setFilterBlocksBySearchTerm,n=e.allBlocks,r=(e.imagesLoad,e.setImagesLoaded,Object.values(n));Lt((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var o=function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&new Masonry(e)};return React.createElement("div",{className:"ast-block-templates-grid-blocks active"},React.createElement(It,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},r.length?r.map((function(e){return React.createElement(_t,{key:e.ID,item:e,InitMasonry:o})})):React.createElement(Tt,null,React.createElement(Bt,{afterClick:function(e){t("")}}))))}))));n(27);function zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Wt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wt(e,t)}(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 Wt(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 Mt=wp.compose.compose,Ut=wp.data,Vt=Ut.useSelect,$t=Ut.withSelect,qt=Ut.withDispatch,Gt=wp.element,Yt=Gt.useState,Ht=Gt.memo,Kt=wp.components.Spinner,Xt=wp.ajax.post,Zt=Mt($t((function(e){var t=e("ast-block-templates"),n=t.getPagePreview,r=t.getImportItemInfo,o=t.getCurrentScreen,i=t.getSitePreview;return{pagePreview:n(),importItemInfo:r(),sitePreview:i(),currentScreen:o()}})),qt((function(e){var t=e("ast-block-templates"),n=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{onSetTogglePopup:n,insertBlocks:e("core/block-editor").insertBlocks}})))(Ht((function(e){var t=e.title,n=e.currentScreen,r=e.insertBlocks,o=e.onSetTogglePopup,i=e.item,a=(e.importItemInfo,e.withIcon),c=e.pagePreview,l=a||!0,u=t||"Import",s=[],f="full-width-page-preview"===n?"show":"",p=zt(Yt(!1),2),d=p[0],m=p[1],h=c["required-plugins"]?c["required-plugins"].filter((function(e){return"wpforms-lite"===e.slug})):[],v=Vt((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),g=v.insertIndex,b=v.insertClientID,y=function(){Ge({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){w()})).catch((function(e){}))},w=function(){var e=s["astra-site-wpforms-path"]||"";console.log("WPForms path"),console.log(e),e?_(e):qe(i["astra-page-api-url"],r,o,g,b)},_=function(e){Xt({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){qe(i["astra-page-api-url"],r,o,g,b)})).fail((function(e){}))};return React.createElement("button",{className:"button button-primary ast-template-import-page-button ".concat(f),onClick:function(){m(!0),Ze(i.ID,"site-pages").then((function(e){s=e,h.length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Ye({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){y()})).catch((function(e){console.log(e)})):"inactive"===AstBlockTemplatesVars.wpforms_status?y():w():w()}))}},d?React.createElement(React.Fragment,null,React.createElement(Kt,null)," Importing.."):React.createElement(React.Fragment,null,!0===l?React.createElement("i",{className:"dashicons dashicons-download","aria-hidden":"true"}):"",u))}))),Jt=(n(29),wp.compose.compose),Qt=wp.data,en=Qt.withSelect,tn=Qt.withDispatch,nn=wp.element,rn=nn.Fragment,on=nn.memo,an=nn.useEffect,cn=Jt(en((function(e){var t=e("ast-block-templates"),n=t.getDisplayDynamicPopup;return{pagePreview:(0,t.getPagePreview)(),displayDynamicPopup:n()}})),tn((function(e){return{setDisplayDynamicPopup:e("ast-block-templates").setDisplayDynamicPopup}})))(on((function(e){var t=e.pagePreview,n=e.displayDynamicPopup,r=e.setDisplayDynamicPopup,o=!1===n?"hide":"",i=function(){r(!1)},a=function(e){e.target===document.querySelector(".ast-block-templates-popup-wrap")&&i()};return an((function(){return document.addEventListener("click",a),function(){document.removeEventListener("click",a)}})),React.createElement(rn,null,React.createElement("div",{className:"ast-block-templates-popup-wrap ".concat(o)},React.createElement("div",{className:"ast-block-templates-popup"},React.createElement("div",{className:"ast-block-templates-popup-header"},React.createElement("h3",{className:"ast-block-templates-popup-heading"},M("Heads Up!","ast-block-templates")),React.createElement("span",{className:"ast-block-templates-popup-close-icon",onClick:i},React.createElement("span",{className:"dashicons close dashicons-no-alt"}))),React.createElement("div",{className:"ast-block-templates-popup-content"},React.createElement("p",null,M("The page template you are about to import contains a dynamic widget/module. Please note this dynamic data will not be available with the imported page.","ast-block-templates")),React.createElement("p",null,M("You will need to add it manually on the page.","ast-block-templates"))),React.createElement("div",{className:"ast-block-templates-popup-footer"},React.createElement(Zt,{title:E(M('Skip & Import "%s" Page',"ast-block-templates"),t.title),item:t,withIcon:!1}),React.createElement("div",{className:"button",onClick:i},M("Cancel","ast-block-templates"))))))}))),ln=wp.compose.compose,un=wp.data,sn=un.withSelect,fn=un.withDispatch,pn=wp.element.memo,dn=ln(sn((function(e){return{pagePreview:(0,e("ast-block-templates").getPagePreview)()}})),fn((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setImportItemInfo:t.setImportItemInfo,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(pn((function(e){e.updateFullWidthPagePreview;var t=e.item,n=e.pagePreview,r=e.setPagePreview,o=e.setImportItemInfo,i=t["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site ".concat(n.ID===t.ID?"active":"")},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){o(t),r(t)},style:{backgroundImage:"url('".concat(i,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},pt(t.title)))))}))),mn=(n(31),wp.element),hn=mn.memo,vn=mn.Fragment;var gn=(0,wp.compose.compose)((0,wp.data.withSelect)((function(e){var t=e("ast-block-templates"),n=t.getPagePreview;return{sitePreview:(0,t.getSitePreview)(),pagePreview:n()}})))(hn((function(e){var t=e.sitePreview,n=e.pagePreview,r=Object.values(t.pages)||[],o=n["featured-image-url"];return React.createElement(vn,null,React.createElement(cn,null),React.createElement("div",{className:"ast-block-templates-single-site-preview"},React.createElement("div",{className:"ast-block-templates-single-page-preview"},React.createElement("h2",{className:"ast-block-templates-site-title"},pt(t.title)),React.createElement("div",{className:"screenshot"},React.createElement("img",{src:o}))),React.createElement("div",{className:"ast-block-templates-grid-preview"},React.createElement("h2",{className:"ast-block-templates-pages-title"},M("Page Templates","ast-block-templates")),React.createElement("div",{className:"ast-block-templates-grid"},r.length?r.map((function(e){return React.createElement(dn,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,M("No Result Found","ast-block-templates")),React.createElement("p",null,M("The search result not found. Try another search.","ast-block-templates")))))))})));function bn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yn(e,t)}(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 yn(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 wn=wp.compose.compose,_n=wp.data,kn=_n.withSelect,xn=_n.withDispatch,Sn=wp.element,En=Sn.memo,Pn=Sn.useState,Rn=Sn.useEffect,In=wn(kn((function(e){return{preview:e("ast-block-templates").getSitePreview}})),xn((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setPagePreview,o=t.setCurrentScreen;return{setSitePreview:function(e){var t=Object.values(e.pages).length?Object.values(e.pages)[0]:[];r(t),n(e),o("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(En((function(e){var t=e.setSitePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"",i=n.pages?n.pages.length:0,a=i<=1?"Template":"Templates",c=bn(Pn("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),l=c[0],u=c[1];return Rn((function(){var e=!0,t=new Image;return t.src=o,t.onload=function(){e&&u(t.src)},function(){e=!1}}),[l]),React.createElement("div",{className:"item single-site",onClick:function(e){t(n),r(n)}},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",style:{backgroundImage:"url('".concat(l,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},pt(n.title)),i?React.createElement("div",{className:"sub-title"},"".concat(i," ").concat(a)):"")))}))),Tn=wp.compose.compose,Bn=wp.data,jn=Bn.withSelect,An=(Bn.withDispatch,wp.element),Cn=(An.useEffect,An.useState,An.memo),On=An.Fragment,Nn=Tn(jn((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getCurrentScreen,o=t.getAllSites;return{currentScreen:r(),allSites:o(),allPages:n()}})))(Cn((function(e){e.allPages;var t=e.allSites,n=(e.currentScreen,Object.values(t));return React.createElement(On,null,n.length?n.map((function(e){return React.createElement(In,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,M("No Sites Result Found")," "),React.createElement("p",null,M("The search result not found. Try another search."))))}))),Fn=wp.compose.compose,Ln=wp.data,Dn=Ln.withSelect,zn=Ln.withDispatch,Wn=wp.element.memo,Mn=Fn(Dn((function(e){return{preview:e("ast-block-templates").getSitePreview}})),zn((function(e){var t=e("ast-block-templates"),n=t.setSearchPagePreview,r=t.setCurrentScreen;return{setSearchPagePreview:function(e){n(e),r("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(Wn((function(e){var t=e.setSearchPagePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){t(n),r(n)},style:{backgroundImage:"url('".concat(o,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},pt(n["site-title"])),React.createElement("div",{className:"sub-title"},pt(n.title)))))}))),Un=wp.compose.compose,Vn=wp.data,$n=Vn.withSelect,qn=Vn.withDispatch,Gn=wp.element,Yn=Gn.memo,Hn=Gn.Fragment,Kn=Un(qn((function(e){var t=e("ast-block-templates");return{setPagePreview:t.setPagePreview,setFilterPagesBySearchTerm:t.setFilterPagesBySearchTerm}})),$n((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getFilterPagesBySearchTerm;return{allPages:n(),filterPagesBySearchTerm:r()}})))(Yn((function(e){var t=e.setPagePreview,n=e.setFilterPagesBySearchTerm,r=e.allPages,o=Object.values(r);return React.createElement(Hn,null,o.length?o.map((function(e){return React.createElement(Mn,{key:e.ID,item:e})})):React.createElement(Tt,null,React.createElement(Bt,{afterClick:function(e){t({}),n("")}})))}))),Xn=wp.compose.compose,Zn=wp.data,Jn=Zn.withSelect,Qn=Zn.withDispatch,er=wp.element,tr=er.memo;er.useEffect;var nr=Xn(Qn((function(e){return{setFilterPagesBySearchTerm:e("ast-block-templates").setFilterPagesBySearchTerm}})),Jn((function(e){return{filterPagesBySearchTerm:(0,e("ast-block-templates").getFilterPagesBySearchTerm)()}})))(tr((function(e){var t=e.filterPagesBySearchTerm;return React.createElement("div",{className:"ast-block-templates-grid-pages active"},React.createElement("div",{id:"ast-block-templates-sites",className:"ast-block-templates-grid ".concat(t.length?"ast-block-templates-pages-grid":"ast-block-templates-sites-grid")},t.length?React.createElement(Kn,null):React.createElement(Nn,null)))}))),rr=(n(33),wp.compose.compose),or=wp.element.memo,ir=wp.data,ar=ir.withSelect,cr=(ir.withDispatch,rr(ar((function(e){return{blockPreview:(0,e("ast-block-templates").getFullWidthBlockPreview)()}})))(or((function(e){var t=e.blockPreview["featured-image-url"]||"".concat(AstBlockTemplatesVars.uri,"dist/placeholder.png");return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),lr=(n(35),wp.compose.compose),ur=wp.element.memo,sr=wp.data,fr=sr.withSelect,pr=(sr.withDispatch,lr(fr((function(e){return{pagePreview:(0,e("ast-block-templates").getFullWidthPagePreview)()}})))(ur((function(e){var t=e.pagePreview["featured-image-url"]||"";return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),dr=function(){return React.createElement("div",null,"All signle pages")},mr=(n(37),wp.compose.compose),hr=wp.data,vr=hr.withSelect,gr=hr.withDispatch,br=wp.element.memo,yr=mr(gr((function(e){return{setNotice:e("ast-block-templates").setNotice}})),vr((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(br((function(e){var t=e.notice,n=e.setNotice;if(Object.keys(t).length){var r=t.type,o=t.message;return React.createElement("div",{className:"ast-block-templates-notice notice notice-".concat(r)},React.createElement("div",{className:"ast-block-templates-notice-message"},o),React.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return n({})}},React.createElement("span",{className:"screen-reader-text"},"Dismiss")))}}))),wr=(n(39),wp.element),_r=wr.useEffect,kr=wr.memo,xr=wp.compose.compose,Sr=wp.data.withSelect,Er=function(e){var t=e.filterPagesBySearchTerm,n=e.currentScreen;return"all-single-pages"===n?React.createElement(dr,null):"all-blocks-grid"===n?React.createElement(Dt,null):t||"all-single-site-pages"!==n?"all-sites-grid"===n?React.createElement(nr,null):"full-width-block-preview"===n?React.createElement(cr,null):"full-width-page-preview"===n?React.createElement(pr,null):void 0:React.createElement(gn,null)},Pr=xr(Sr((function(e){var t=e("ast-block-templates"),n=t.getFilterPagesBySearchTerm,r=t.getSitePreview,o=t.getCurrentScreen,i=t.getTogglePopup;return{filterPagesBySearchTerm:n(),sitePreview:r(),currentScreen:o(),togglePopup:i()}})))(kr((function(e){var t=e.sitePreview,n=e.currentScreen,r=e.togglePopup;return _r((function(){!0===r&&(document.body.classList.add("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.add("open"))}),[r,n,t]),React.createElement("div",{className:"ast-block-templates-content"},React.createElement(yr,null),React.createElement(Er,{currentScreen:n}))})));n(41),n(43),n(45);function Rr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ir(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ir(e,t)}(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 Ir(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 Tr=wp.compose.compose,Br=wp.data,jr=Br.withSelect,Ar=Br.withDispatch,Cr=wp.element,Or=Cr.memo,Nr=Cr.useState,Fr=Tr(jr((function(e){return{importItemInfo:(0,e("ast-block-templates").getImportItemInfo)()}})),Ar((function(e){return{setImportItemInfo:e("ast-block-templates").setImportItemInfo}})))(Or((function(e){var t=e.requiredPlugins;if(t.length){var n=Rr(Nr(!1),2),r=n[0],o=n[1];return React.createElement("div",{className:"used-blocks"},React.createElement("div",{className:"used-blocks-info ".concat(r?"show":"")},React.createElement("h3",null,"Install Required Plugins"),React.createElement("ul",null,t.map((function(e,t){return React.createElement("li",{key:t},e.name)})))),React.createElement("span",{className:"used-blocks-icon dashicons dashicons-editor-help",onClick:function(){return o(!r)}}))}}))),Lr=wp.compose.compose,Dr=wp.data,zr=Dr.withSelect,Wr=Dr.withDispatch,Mr=wp.element,Ur=Mr.memo,Vr=Mr.Fragment,$r=Lr(zr((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getPagePreview;return{importItemInfo:n(),pagePreview:o(),currentScreen:r()}})),Wr((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setDisplayDynamicPopup:t.setDisplayDynamicPopup,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(Ur((function(e){e.importItemInfo;var t=e.pagePreview,n=e.setDisplayDynamicPopup,r=t["astra-page-url"]?t["astra-page-url"]:"",o=!(!t["dynamic-page"]||"yes"!==t["dynamic-page"]);return React.createElement(Vr,null,React.createElement("a",{className:"button",href:r,target:"_blank"},'Preview "',t.title,'" Page'," ",React.createElement("i",{className:"dashicons dashicons-external"})),o?React.createElement("button",{className:"button button-primary",onClick:function(e){n(!0)}},'Import "'.concat(t.title,'" Page')):React.createElement(Zt,{title:'Import "'.concat(t.title,'" Page'),item:t}))}))),qr=(n(47),wp.compose.compose),Gr=wp.data,Yr=Gr.withSelect,Hr=Gr.withDispatch,Kr=wp.element,Xr=Kr.memo,Zr=Kr.Fragment,Jr=qr(Yr((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getFullWidthBlockPreview;return{importItemInfo:n(),fullWidthBlockPreview:r()}})),Hr((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(Xr((function(e){var t,n=e.importItemInfo,r=e.fullWidthBlockPreview,o=r.url?r.url:"";return t=n["required-plugins"]?n["required-plugins"]:[],React.createElement(Zr,null,React.createElement("div",{className:"left"},React.createElement("a",{className:"button",href:o,target:"_blank"},"Preview Pattern",React.createElement("i",{className:"dashicons dashicons-external"}))),React.createElement("div",{className:"right"},React.createElement(Fr,{requiredPlugins:t}),React.createElement(ft,{btnClass:"button button-primary",title:"Import Pattern",item:r,requiredPlugins:t})))}))),Qr=wp.compose.compose,eo=wp.data.withSelect,to=wp.element.memo,no=Qr(eo((function(e){return{currentScreen:(0,e("ast-block-templates").getCurrentScreen)()}})))(to((function(e){var t=e.currentScreen;if("all-single-site-pages"===t||"full-width-block-preview"===t)return React.createElement("div",{className:"footer"},"all-single-site-pages"===t?React.createElement($r,null):React.createElement(Jr,null))}))),ro=wp.element,oo=ro.Fragment,io=ro.useEffect,ao=ro.memo,co=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(ao((function(e){var t=e.onSetTogglePopup,n=function(e){e.target===document.getElementById("ast-block-templates-modal-wrap")&&(document.body.classList.remove("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),t())};return io((function(){return document.addEventListener("click",n),function(){document.removeEventListener("click",n)}})),React.createElement(oo,null,React.createElement(q,null),React.createElement("div",{className:"inner"},React.createElement(Ue,null),React.createElement(Pr,null),React.createElement(no,null)))})));function lo(){wp.data.subscribe((function(){setTimeout((function(){!function(){if(!document.querySelector("#editor .edit-post-header__toolbar"))return;if(document.querySelector("#ast-block-templates-button-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-button-wrap",document.querySelector("#editor .edit-post-header__toolbar").appendChild(e)}(),function(){if(document.getElementById("ast-block-templates-modal-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-modal-wrap",e.classList.add(AstBlockTemplatesVars.popup_class),e.innerHTML='<div id="ast-block-templates-modal"></div>',document.body.appendChild(e),wp.element.render(React.createElement(co,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",lo),document.addEventListener("DOMContentLoaded",lo)}]);
|
inc/lib/ast-block-templates/version.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
{
|
2 |
-
"ast-block-templates": "1.0.
|
3 |
}
|
1 |
{
|
2 |
+
"ast-block-templates": "1.0.4"
|
3 |
}
|
languages/astra-sites.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Starter Templates package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Starter Templates 2.6.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
-
"POT-Creation-Date: 2021-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -229,9 +229,9 @@ msgstr ""
|
|
229 |
#: inc/classes/class-astra-sites-importer.php:780
|
230 |
#: inc/classes/class-astra-sites-importer.php:823
|
231 |
#: inc/classes/class-astra-sites-importer.php:861
|
232 |
-
#: inc/classes/class-astra-sites.php:329 inc/classes/class-astra-sites.php:
|
233 |
-
#: inc/classes/class-astra-sites.php:
|
234 |
-
#: inc/classes/class-astra-sites.php:
|
235 |
msgid "You are not allowed to perform this action"
|
236 |
msgstr ""
|
237 |
|
@@ -299,8 +299,8 @@ msgid "The demo you are importing is a premium demo."
|
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/classes/class-astra-sites-page.php:433
|
302 |
-
#: inc/classes/class-astra-sites.php:
|
303 |
-
#: inc/classes/class-astra-sites.php:
|
304 |
msgid "Get Agency Bundle"
|
305 |
msgstr ""
|
306 |
|
@@ -333,121 +333,125 @@ msgid ""
|
|
333 |
"page builder from the list below."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: inc/classes/class-astra-sites-page.php:
|
337 |
msgid "My Favorite"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: inc/classes/class-astra-sites-page.php:
|
341 |
msgid "Sync Library"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: inc/classes/class-astra-sites-page.php:
|
345 |
-
#: inc/classes/class-astra-sites-page.php:
|
346 |
-
#: inc/classes/class-astra-sites-page.php:
|
347 |
-
#: inc/classes/class-astra-sites.php:
|
348 |
#: inc/includes/templates.php:35
|
349 |
msgid "All"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: inc/classes/class-astra-sites-page.php:
|
353 |
msgid "Free"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: inc/classes/class-astra-sites-page.php:
|
357 |
#: inc/includes/admin-page.php:333 inc/includes/admin-page.php:394
|
358 |
-
#: inc/includes/templates.php:30 inc/includes/templates.php:
|
359 |
-
#: inc/includes/templates.php:
|
360 |
msgid "Agency"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: inc/classes/class-astra-sites-page.php:
|
364 |
msgid "Search..."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: inc/classes/class-astra-sites-page.php:
|
368 |
-
msgid "
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: inc/classes/class-astra-sites-page.php:
|
|
|
|
|
|
|
|
|
372 |
msgid "Elementor"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: inc/classes/class-astra-sites-page.php:
|
376 |
msgid "Beaver Builder"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: inc/classes/class-astra-sites-page.php:
|
380 |
msgid "Brizy"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: inc/classes/class-astra-sites-page.php:
|
384 |
#. translators: 1: The number of years in an interval of time.
|
385 |
msgid "%s year"
|
386 |
msgid_plural "%s years"
|
387 |
msgstr[0] ""
|
388 |
msgstr[1] ""
|
389 |
|
390 |
-
#: inc/classes/class-astra-sites-page.php:
|
391 |
#. translators: 1: The number of months in an interval of time.
|
392 |
msgid "%s month"
|
393 |
msgid_plural "%s months"
|
394 |
msgstr[0] ""
|
395 |
msgstr[1] ""
|
396 |
|
397 |
-
#: inc/classes/class-astra-sites-page.php:
|
398 |
#. translators: 1: The number of weeks in an interval of time.
|
399 |
msgid "%s week"
|
400 |
msgid_plural "%s weeks"
|
401 |
msgstr[0] ""
|
402 |
msgstr[1] ""
|
403 |
|
404 |
-
#: inc/classes/class-astra-sites-page.php:
|
405 |
#. translators: 1: The number of days in an interval of time.
|
406 |
msgid "%s day"
|
407 |
msgid_plural "%s days"
|
408 |
msgstr[0] ""
|
409 |
msgstr[1] ""
|
410 |
|
411 |
-
#: inc/classes/class-astra-sites-page.php:
|
412 |
#. translators: 1: The number of hours in an interval of time.
|
413 |
msgid "%s hour"
|
414 |
msgid_plural "%s hours"
|
415 |
msgstr[0] ""
|
416 |
msgstr[1] ""
|
417 |
|
418 |
-
#: inc/classes/class-astra-sites-page.php:
|
419 |
#. translators: 1: The number of minutes in an interval of time.
|
420 |
msgid "%s minute"
|
421 |
msgid_plural "%s minutes"
|
422 |
msgstr[0] ""
|
423 |
msgstr[1] ""
|
424 |
|
425 |
-
#: inc/classes/class-astra-sites-page.php:
|
426 |
#. translators: 1: The number of seconds in an interval of time.
|
427 |
msgid "%s second"
|
428 |
msgid_plural "%s seconds"
|
429 |
msgstr[0] ""
|
430 |
msgstr[1] ""
|
431 |
|
432 |
-
#: inc/classes/class-astra-sites-page.php:
|
433 |
msgid "now"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: inc/classes/class-astra-sites-page.php:
|
437 |
msgid ""
|
438 |
"ERROR! Cron schedules are disabled by setting constant DISABLE_WP_CRON to "
|
439 |
"true.<br/>To start the import process please enable the cron by setting the "
|
440 |
"constant to false. E.g. define( 'DISABLE_WP_CRON', false );"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: inc/classes/class-astra-sites-page.php:
|
444 |
msgid ""
|
445 |
"ERROR! Cron schedules are disabled by setting constant ALTERNATE_WP_CRON to "
|
446 |
"true.<br/>To start the import process please enable the cron by setting the "
|
447 |
"constant to false. E.g. define( 'ALTERNATE_WP_CRON', false );"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: inc/classes/class-astra-sites-page.php:
|
451 |
#. translators: 1: The HTTP response code.
|
452 |
msgid "Unexpected HTTP response code: %s"
|
453 |
msgstr ""
|
@@ -625,183 +629,202 @@ msgstr ""
|
|
625 |
msgid "Provided API URL is empty! Please try again!"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: inc/classes/class-astra-sites.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
629 |
msgid "Theme Activated"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: inc/classes/class-astra-sites.php:
|
633 |
msgid "User does not have permission!"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: inc/classes/class-astra-sites.php:
|
637 |
msgid "See Library"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: inc/classes/class-astra-sites.php:
|
641 |
msgid "Animals"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: inc/classes/class-astra-sites.php:
|
645 |
msgid "Architecture/Buildings"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: inc/classes/class-astra-sites.php:
|
649 |
msgid "Backgrounds/Textures"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: inc/classes/class-astra-sites.php:
|
653 |
msgid "Beauty/Fashion"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: inc/classes/class-astra-sites.php:
|
657 |
msgid "Business/Finance"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: inc/classes/class-astra-sites.php:
|
661 |
msgid "Computer/Communication"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: inc/classes/class-astra-sites.php:
|
665 |
msgid "Education"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: inc/classes/class-astra-sites.php:
|
669 |
msgid "Emotions"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: inc/classes/class-astra-sites.php:
|
673 |
msgid "Food/Drink"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: inc/classes/class-astra-sites.php:
|
677 |
msgid "Health/Medical"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: inc/classes/class-astra-sites.php:
|
681 |
msgid "Industry/Craft"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: inc/classes/class-astra-sites.php:
|
685 |
msgid "Music"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: inc/classes/class-astra-sites.php:
|
689 |
msgid "Nature/Landscapes"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: inc/classes/class-astra-sites.php:
|
693 |
msgid "People"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: inc/classes/class-astra-sites.php:
|
697 |
msgid "Places/Monuments"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: inc/classes/class-astra-sites.php:
|
701 |
msgid "Religion"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: inc/classes/class-astra-sites.php:
|
705 |
msgid "Science/Technology"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: inc/classes/class-astra-sites.php:
|
709 |
msgid "Sports"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: inc/classes/class-astra-sites.php:
|
713 |
msgid "Transportation/Traffic"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: inc/classes/class-astra-sites.php:
|
717 |
msgid "Travel/Vacation"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: inc/classes/class-astra-sites.php:
|
721 |
msgid "Popular"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: inc/classes/class-astra-sites.php:
|
725 |
msgid "Latest"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: inc/classes/class-astra-sites.php:
|
729 |
msgid "Upcoming"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: inc/classes/class-astra-sites.php:
|
733 |
msgid "Editor's Choice"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: inc/classes/class-astra-sites.php:
|
737 |
msgid "Any Orientation"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: inc/classes/class-astra-sites.php:
|
741 |
msgid "Vertical"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: inc/classes/class-astra-sites.php:
|
745 |
msgid "Horizontal"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: inc/classes/class-astra-sites.php:
|
749 |
msgid "Free Images from Pixabay"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: inc/classes/class-astra-sites.php:
|
753 |
msgid "Pixabay Search - Ex: flowers"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: inc/classes/class-astra-sites.php:
|
757 |
msgid "Downloading..."
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: inc/classes/class-astra-sites.php:
|
761 |
msgid "Validating..."
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: inc/classes/class-astra-sites.php:
|
765 |
msgid "Please enter an API key."
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: inc/classes/class-astra-sites.php:
|
769 |
msgid "An error occured with code "
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: inc/classes/class-astra-sites.php:
|
773 |
msgid "Installed! Activating.."
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: inc/classes/class-astra-sites.php:
|
777 |
msgid "Activating..."
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: inc/classes/class-astra-sites.php:
|
781 |
msgid "Activated!"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: inc/classes/class-astra-sites.php:
|
785 |
msgid "Installing..."
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: inc/classes/class-astra-sites.php:
|
789 |
msgid "Upgrade"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: inc/classes/class-astra-sites.php:
|
793 |
msgid ""
|
794 |
"Syncing template library in the background. The process can take anywhere "
|
795 |
"between 2 to 3 minutes. We will notify you once done."
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: inc/classes/class-astra-sites.php:
|
799 |
msgid ""
|
800 |
"Some of the files required during the import process are "
|
801 |
"missing.<br/><br/>Please try again after some time."
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: inc/classes/class-astra-sites.php:
|
805 |
msgid ""
|
806 |
"<p>WordPress debug mode is currently enabled on your website. This has "
|
807 |
"interrupted the import process..</p><p>Kindly disable debug mode and try "
|
@@ -810,8 +833,8 @@ msgid ""
|
|
810 |
"mode.</p><p><code>define('WP_DEBUG', false);</code></p>"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: inc/classes/class-astra-sites.php:
|
814 |
-
#: inc/classes/class-astra-sites.php:
|
815 |
#. translators: %s is a documentation link.
|
816 |
msgid ""
|
817 |
"<p>Your website is facing a temporary issue in connecting the template "
|
@@ -819,199 +842,212 @@ msgid ""
|
|
819 |
"the issue and continue importing template.</p>"
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: inc/classes/class-astra-sites.php:
|
823 |
#. translators: %s are white label strings.
|
824 |
msgid ""
|
825 |
"Warning! %1$s Import process is not complete. Don't close the window until "
|
826 |
"import process complete. Do you still want to leave the window?"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: inc/classes/class-astra-sites.php:
|
830 |
msgid "Done! View Site"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: inc/classes/class-astra-sites.php:
|
834 |
#. translators: %s is a template name
|
835 |
msgid "Import \"%s\" Template"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: inc/classes/class-astra-sites.php:
|
839 |
msgid "Installing Required Plugins.."
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: inc/classes/class-astra-sites.php:
|
843 |
#. translators: %s are white label strings.
|
844 |
msgid "Installing %1$s Theme.."
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: inc/classes/class-astra-sites.php:
|
848 |
msgid "Dismiss this notice."
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: inc/classes/class-astra-sites.php:
|
852 |
msgid "One Last Step.."
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: inc/classes/class-astra-sites.php:
|
856 |
msgid "Your Selected Website is Being Imported."
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: inc/classes/class-astra-sites.php:
|
860 |
msgid "Your Selected Template is Being Imported."
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: inc/classes/class-astra-sites.php:
|
864 |
msgid ""
|
865 |
"We have sent you a surprise gift on your email address! Please check your "
|
866 |
"inbox!"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: inc/classes/class-astra-sites.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
870 |
msgid "XMLReader Support Missing"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: inc/classes/class-astra-sites.php:
|
874 |
#. translators: %s doc link.
|
875 |
msgid ""
|
876 |
"You're close to importing the template. To complete the process, enable "
|
877 |
"XMLReader support on your website.."
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: inc/classes/class-astra-sites.php:
|
881 |
-
#: inc/classes/class-astra-sites.php:
|
882 |
-
#: inc/classes/class-astra-sites.php:
|
883 |
-
#. translators: %s doc link.
|
884 |
msgid ""
|
885 |
"Read an article <a href=\"%s\" target=\"_blank\">here</a> to resolve the "
|
886 |
"issue."
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: inc/classes/class-astra-sites.php:
|
890 |
msgid "cURL Support Missing"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: inc/classes/class-astra-sites.php:
|
894 |
#. translators: %s doc link.
|
895 |
msgid "To run a smooth import, kindly enable cURL support on your website."
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: inc/classes/class-astra-sites.php:
|
899 |
msgid "Disable Debug Mode"
|
900 |
msgstr ""
|
901 |
|
902 |
-
#: inc/classes/class-astra-sites.php:
|
903 |
#. translators: %s doc link.
|
904 |
msgid ""
|
905 |
"WordPress debug mode is currently enabled on your website. With this, any "
|
906 |
"errors from third-party plugins might affect the import process."
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: inc/classes/class-astra-sites.php:
|
910 |
msgid ""
|
911 |
"Kindly disable it to continue importing the Starter Template. To do so, you "
|
912 |
"can add the following code into the wp-config.php file."
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: inc/classes/class-astra-sites.php:
|
916 |
msgid "Update Plugin"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: inc/classes/class-astra-sites.php:
|
920 |
#. translators: %s update page link.
|
921 |
msgid "Updates are available for plugins used in this starter template."
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: inc/classes/class-astra-sites.php:
|
925 |
msgid ""
|
926 |
"Kindly <a href=\"%s\" target=\"_blank\">update</a> them for a successful "
|
927 |
"import. Skipping this step might break the template design/feature."
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: inc/classes/class-astra-sites.php:
|
931 |
-
#: inc/includes/templates.php:
|
932 |
msgid "Required Plugins Missing"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: inc/classes/class-astra-sites.php:
|
936 |
msgid ""
|
937 |
"This starter template requires premium plugins. As these are third party "
|
938 |
"premium plugins, you'll need to purchase, install and activate them first."
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: inc/classes/class-astra-sites.php:
|
942 |
msgid "Dynamic Page"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: inc/classes/class-astra-sites.php:
|
946 |
msgid ""
|
947 |
"The page template you are about to import contains a dynamic widget/module. "
|
948 |
"Please note this dynamic data will not be available with the imported page."
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: inc/classes/class-astra-sites.php:
|
952 |
msgid "You will need to add it manually on the page."
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: inc/classes/class-astra-sites.php:
|
956 |
msgid "This dynamic content will be available when you import the entire site."
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: inc/classes/class-astra-sites.php:
|
960 |
#. translators: %s are link.
|
961 |
msgid ""
|
962 |
"This is a premium website demo available only with the Agency Bundles you "
|
963 |
"can purchase it from <a href=\"%s\" target=\"_blank\">here</a>."
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: inc/classes/class-astra-sites.php:
|
967 |
#. translators: %s are link.
|
968 |
msgid ""
|
969 |
"This is a premium template available with 'Agency' packages. <a href=\"%s\" "
|
970 |
"target=\"_blank\">Validate Your License</a> Key to import this template."
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: inc/classes/class-astra-sites.php:
|
974 |
msgid "Template"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: inc/classes/class-astra-sites.php:
|
978 |
msgid "Block"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: inc/classes/class-astra-sites.php:
|
982 |
msgid "Dismiss"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: inc/classes/class-astra-sites.php:
|
986 |
msgid "Install Required Plugins"
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: inc/classes/class-astra-sites.php:
|
990 |
#. translators: %s are link.
|
991 |
msgid ""
|
992 |
"You can locate <strong>Starter Templates Settings</strong> under the "
|
993 |
"<strong>Page Settings</strong> of the Style Tab."
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: inc/classes/class-astra-sites.php:
|
997 |
msgid "Read More →"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: inc/classes/class-astra-sites.php:
|
1001 |
msgid "Error: You don't have the required permissions to install plugins."
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: inc/classes/class-astra-sites.php:
|
1005 |
msgid "Plugin Activated"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: inc/classes/class-astra-sites.php:
|
1009 |
msgid ""
|
1010 |
"Insufficient Permission. Please contact your Super Admin to allow the "
|
1011 |
"install required plugin permissions."
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: inc/classes/class-astra-sites.php:
|
1015 |
msgid "Template library refreshed!"
|
1016 |
msgstr ""
|
1017 |
|
@@ -1248,14 +1284,14 @@ msgstr ""
|
|
1248 |
|
1249 |
#: inc/includes/admin-page.php:110 inc/includes/admin-page.php:116
|
1250 |
#: inc/includes/admin-page.php:118 inc/includes/admin-page.php:504
|
1251 |
-
#: inc/includes/admin-page.php:
|
1252 |
-
#: inc/includes/templates.php:
|
1253 |
msgid "Skip & Import"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
#: inc/includes/admin-page.php:111 inc/includes/admin-page.php:119
|
1257 |
-
#: inc/includes/admin-page.php:505 inc/includes/admin-page.php:
|
1258 |
-
#: inc/includes/admin-page.php:
|
1259 |
msgid "Cancel"
|
1260 |
msgstr ""
|
1261 |
|
@@ -1264,15 +1300,15 @@ msgid "Update"
|
|
1264 |
msgstr ""
|
1265 |
|
1266 |
#: inc/includes/admin-page.php:130 inc/includes/image-templates.php:54
|
1267 |
-
#: inc/includes/image-templates.php:92 inc/includes/templates.php:
|
1268 |
-
#: inc/includes/templates.php:
|
1269 |
-
#: inc/includes/templates.php:
|
1270 |
msgid "Sorry No Results Found."
|
1271 |
msgstr ""
|
1272 |
|
1273 |
#: inc/includes/admin-page.php:139 inc/includes/image-templates.php:96
|
1274 |
-
#: inc/includes/templates.php:
|
1275 |
-
#: inc/includes/templates.php:
|
1276 |
#. translators: %1$s External Link
|
1277 |
msgid ""
|
1278 |
"Don't see a template you would like to import?<br><a target=\"_blank\" "
|
@@ -1280,8 +1316,8 @@ msgid ""
|
|
1280 |
msgstr ""
|
1281 |
|
1282 |
#: inc/includes/admin-page.php:142 inc/includes/admin-page.php:165
|
1283 |
-
#: inc/includes/templates.php:
|
1284 |
-
#: inc/includes/templates.php:
|
1285 |
msgid "Back to Templates"
|
1286 |
msgstr ""
|
1287 |
|
@@ -1306,8 +1342,8 @@ msgid "Make as Unfavorite"
|
|
1306 |
msgstr ""
|
1307 |
|
1308 |
#: inc/includes/admin-page.php:244 inc/includes/admin-page.php:333
|
1309 |
-
#: inc/includes/admin-page.php:394 inc/includes/templates.php:
|
1310 |
-
#: inc/includes/templates.php:
|
1311 |
#. translators: %s are white label strings.
|
1312 |
#. translators: %s are white label strings.
|
1313 |
#. translators: %1$s External Link
|
@@ -1427,107 +1463,136 @@ msgid "View Template"
|
|
1427 |
msgstr ""
|
1428 |
|
1429 |
#: inc/includes/admin-page.php:637
|
1430 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1431 |
msgstr ""
|
1432 |
|
1433 |
-
#: inc/includes/admin-page.php:
|
1434 |
msgid "Heads Up!"
|
1435 |
msgstr ""
|
1436 |
|
1437 |
-
#: inc/includes/admin-page.php:
|
1438 |
msgid "Beginner"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
-
#: inc/includes/admin-page.php:
|
1442 |
msgid "Intermediate"
|
1443 |
msgstr ""
|
1444 |
|
1445 |
-
#: inc/includes/admin-page.php:
|
1446 |
msgid "Expert"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
-
#: inc/includes/admin-page.php:
|
1450 |
msgid "Field is required"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
-
#: inc/includes/admin-page.php:
|
1454 |
msgid "I'm a WordPress:"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
-
#: inc/includes/admin-page.php:
|
1458 |
msgid "Myself/My company"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#: inc/includes/admin-page.php:
|
1462 |
msgid "My client"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
-
#: inc/includes/admin-page.php:
|
1466 |
msgid "I'm building website for:"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
-
#: inc/includes/admin-page.php:
|
1470 |
msgid "First name is required"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: inc/includes/admin-page.php:
|
1474 |
msgid "Your First Name"
|
1475 |
msgstr ""
|
1476 |
|
1477 |
-
#: inc/includes/admin-page.php:
|
1478 |
msgid "Email address is required"
|
1479 |
msgstr ""
|
1480 |
|
1481 |
-
#: inc/includes/admin-page.php:
|
1482 |
msgid "Your Work Email"
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: inc/includes/admin-page.php:
|
1486 |
msgid ""
|
1487 |
"To get access to exclusive starter templates, themes and updates, enter "
|
1488 |
"your details below:"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#: inc/includes/admin-page.php:
|
1492 |
msgid "Submit and Start Importing"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#: inc/includes/admin-page.php:
|
1496 |
#. translators: %1$s and %3$s are opening anchor tags, and %2$s and %4$s is
|
1497 |
#. closing anchor tags.
|
1498 |
msgid "By submitting, you agree to our %1$sTerms%2$s and %3$sPrivacy Policy%4$s."
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: inc/includes/admin-page.php:
|
1502 |
msgid "Skip"
|
1503 |
msgstr ""
|
1504 |
|
1505 |
-
#: inc/includes/admin-page.php:
|
1506 |
msgid ""
|
1507 |
"To serve more beautiful starter templates, we would like to know more about "
|
1508 |
"you:"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
-
#: inc/includes/admin-page.php:
|
1512 |
msgid "Advanced Options"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
-
#: inc/includes/admin-page.php:
|
1516 |
msgid "Install & Activate Astra Theme"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
-
#: inc/includes/admin-page.php:
|
1520 |
msgid ""
|
1521 |
"To import the site in the original format, you would need the Astra theme "
|
1522 |
"activated. You can import it with any other theme, but the site might lose "
|
1523 |
"some of the design settings and look a bit different."
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#: inc/includes/admin-page.php:
|
1527 |
msgid "Import Customizer Settings"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#: inc/includes/admin-page.php:
|
1531 |
#. translators: %s are white label strings.
|
1532 |
msgid ""
|
1533 |
"%1$s customizer serves global settings that give uniform design to the "
|
@@ -1535,61 +1600,61 @@ msgid ""
|
|
1535 |
"settings."
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: inc/includes/admin-page.php:
|
1539 |
msgid "Import Widgets"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
-
#: inc/includes/admin-page.php:
|
1543 |
msgid ""
|
1544 |
"Plugins needed to import this template are missing. Required plugins will "
|
1545 |
"be installed and activated automatically."
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: inc/includes/admin-page.php:
|
1549 |
msgid "Import Content"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
-
#: inc/includes/admin-page.php:
|
1553 |
msgid ""
|
1554 |
"Selecting this option will import dummy pages, posts, images, and menus. If "
|
1555 |
"you do not want to import dummy content, please uncheck this option."
|
1556 |
msgstr ""
|
1557 |
|
1558 |
-
#: inc/includes/admin-page.php:
|
1559 |
#. translators: %s is the dynamic string.
|
1560 |
msgid ""
|
1561 |
"The import process can take a few minutes depending on the size of the %s "
|
1562 |
"and speed of the connection."
|
1563 |
msgstr ""
|
1564 |
|
1565 |
-
#: inc/includes/admin-page.php:
|
1566 |
#. translators: %s is the dynamic string.
|
1567 |
msgid "Please do NOT close this browser window until the %s is imported completely."
|
1568 |
msgstr ""
|
1569 |
|
1570 |
-
#: inc/includes/admin-page.php:
|
1571 |
msgid "Next"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
-
#: inc/includes/admin-page.php:
|
1575 |
msgid "Import"
|
1576 |
msgstr ""
|
1577 |
|
1578 |
-
#: inc/includes/admin-page.php:
|
1579 |
msgid "Delete Previously Imported Site"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
-
#: inc/includes/admin-page.php:
|
1583 |
msgid ""
|
1584 |
"WARNING: Selecting this option will delete all data from the previous "
|
1585 |
"import. Choose this option only if this is intended."
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: inc/includes/admin-page.php:
|
1589 |
msgid "You can find the backup to the current customizer settings at "
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: inc/includes/admin-page.php:
|
1593 |
msgid "/wp-content/uploads/astra-sites/"
|
1594 |
msgstr ""
|
1595 |
|
@@ -1609,65 +1674,53 @@ msgstr ""
|
|
1609 |
msgid "Save & Insert"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
-
#: inc/includes/templates.php:43
|
1613 |
-
msgid "Filter by Color"
|
1614 |
-
msgstr ""
|
1615 |
-
|
1616 |
#: inc/includes/templates.php:44
|
1617 |
-
msgid "Light"
|
1618 |
-
msgstr ""
|
1619 |
-
|
1620 |
-
#: inc/includes/templates.php:45
|
1621 |
-
msgid "Dark"
|
1622 |
-
msgstr ""
|
1623 |
-
|
1624 |
-
#: inc/includes/templates.php:51
|
1625 |
msgid "SEARCH"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
-
#: inc/includes/templates.php:
|
1629 |
msgid "Back to Pages"
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#: inc/includes/templates.php:
|
1633 |
msgid "Back to Layout"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
-
#: inc/includes/templates.php:
|
1637 |
msgid "Pages"
|
1638 |
msgstr ""
|
1639 |
|
1640 |
-
#: inc/includes/templates.php:
|
1641 |
msgid "Blocks"
|
1642 |
msgstr ""
|
1643 |
|
1644 |
-
#: inc/includes/templates.php:
|
1645 |
msgid "Close"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
-
#: inc/includes/templates.php:
|
1649 |
msgid "INSERT"
|
1650 |
msgstr ""
|
1651 |
|
1652 |
-
#: inc/includes/templates.php:
|
1653 |
msgid "Get Access!"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
-
#: inc/includes/templates.php:
|
1657 |
msgid "Insert"
|
1658 |
msgstr ""
|
1659 |
|
1660 |
-
#: inc/includes/templates.php:
|
1661 |
msgid ""
|
1662 |
"This starter site requires premium plugins. As these are third party "
|
1663 |
"premium plugins, you'll need to purchase, install and activate them first."
|
1664 |
msgstr ""
|
1665 |
|
1666 |
-
#: inc/includes/templates.php:
|
1667 |
msgid "Import "
|
1668 |
msgstr ""
|
1669 |
|
1670 |
-
#: inc/includes/templates.php:
|
1671 |
msgid "Save "
|
1672 |
msgstr ""
|
1673 |
|
@@ -1708,4 +1761,4 @@ msgstr ""
|
|
1708 |
#: inc/classes/class-astra-sites-importer-log.php:368
|
1709 |
msgctxt "PHP Version"
|
1710 |
msgid "We recommend to use php 5.4 or higher"
|
1711 |
-
msgstr ""
|
2 |
# This file is distributed under the same license as the Starter Templates package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Starter Templates 2.6.5\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
+
"POT-Creation-Date: 2021-05-18 06:00:32+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
229 |
#: inc/classes/class-astra-sites-importer.php:780
|
230 |
#: inc/classes/class-astra-sites-importer.php:823
|
231 |
#: inc/classes/class-astra-sites-importer.php:861
|
232 |
+
#: inc/classes/class-astra-sites.php:329 inc/classes/class-astra-sites.php:541
|
233 |
+
#: inc/classes/class-astra-sites.php:645 inc/classes/class-astra-sites.php:718
|
234 |
+
#: inc/classes/class-astra-sites.php:909 inc/classes/class-astra-sites.php:928
|
235 |
msgid "You are not allowed to perform this action"
|
236 |
msgstr ""
|
237 |
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/classes/class-astra-sites-page.php:433
|
302 |
+
#: inc/classes/class-astra-sites.php:1298
|
303 |
+
#: inc/classes/class-astra-sites.php:1541
|
304 |
msgid "Get Agency Bundle"
|
305 |
msgstr ""
|
306 |
|
333 |
"page builder from the list below."
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: inc/classes/class-astra-sites-page.php:583
|
337 |
msgid "My Favorite"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: inc/classes/class-astra-sites-page.php:588 inc/includes/templates.php:120
|
341 |
msgid "Sync Library"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: inc/classes/class-astra-sites-page.php:677
|
345 |
+
#: inc/classes/class-astra-sites-page.php:679
|
346 |
+
#: inc/classes/class-astra-sites-page.php:691
|
347 |
+
#: inc/classes/class-astra-sites.php:1122 inc/includes/templates.php:28
|
348 |
#: inc/includes/templates.php:35
|
349 |
msgid "All"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: inc/classes/class-astra-sites-page.php:696 inc/includes/templates.php:29
|
353 |
msgid "Free"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: inc/classes/class-astra-sites-page.php:701 inc/includes/admin-page.php:244
|
357 |
#: inc/includes/admin-page.php:333 inc/includes/admin-page.php:394
|
358 |
+
#: inc/includes/templates.php:30 inc/includes/templates.php:171
|
359 |
+
#: inc/includes/templates.php:298 inc/includes/templates.php:384
|
360 |
msgid "Agency"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: inc/classes/class-astra-sites-page.php:709 inc/includes/templates.php:43
|
364 |
msgid "Search..."
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: inc/classes/class-astra-sites-page.php:783
|
368 |
+
msgid "Gutenberg"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: inc/classes/class-astra-sites-page.php:785
|
372 |
+
msgid "The default WordPress editor"
|
373 |
+
msgstr ""
|
374 |
+
|
375 |
+
#: inc/classes/class-astra-sites-page.php:789
|
376 |
msgid "Elementor"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: inc/classes/class-astra-sites-page.php:794
|
380 |
msgid "Beaver Builder"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: inc/classes/class-astra-sites-page.php:799
|
384 |
msgid "Brizy"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: inc/classes/class-astra-sites-page.php:897
|
388 |
#. translators: 1: The number of years in an interval of time.
|
389 |
msgid "%s year"
|
390 |
msgid_plural "%s years"
|
391 |
msgstr[0] ""
|
392 |
msgstr[1] ""
|
393 |
|
394 |
+
#: inc/classes/class-astra-sites-page.php:899
|
395 |
#. translators: 1: The number of months in an interval of time.
|
396 |
msgid "%s month"
|
397 |
msgid_plural "%s months"
|
398 |
msgstr[0] ""
|
399 |
msgstr[1] ""
|
400 |
|
401 |
+
#: inc/classes/class-astra-sites-page.php:901
|
402 |
#. translators: 1: The number of weeks in an interval of time.
|
403 |
msgid "%s week"
|
404 |
msgid_plural "%s weeks"
|
405 |
msgstr[0] ""
|
406 |
msgstr[1] ""
|
407 |
|
408 |
+
#: inc/classes/class-astra-sites-page.php:903
|
409 |
#. translators: 1: The number of days in an interval of time.
|
410 |
msgid "%s day"
|
411 |
msgid_plural "%s days"
|
412 |
msgstr[0] ""
|
413 |
msgstr[1] ""
|
414 |
|
415 |
+
#: inc/classes/class-astra-sites-page.php:905
|
416 |
#. translators: 1: The number of hours in an interval of time.
|
417 |
msgid "%s hour"
|
418 |
msgid_plural "%s hours"
|
419 |
msgstr[0] ""
|
420 |
msgstr[1] ""
|
421 |
|
422 |
+
#: inc/classes/class-astra-sites-page.php:907
|
423 |
#. translators: 1: The number of minutes in an interval of time.
|
424 |
msgid "%s minute"
|
425 |
msgid_plural "%s minutes"
|
426 |
msgstr[0] ""
|
427 |
msgstr[1] ""
|
428 |
|
429 |
+
#: inc/classes/class-astra-sites-page.php:909
|
430 |
#. translators: 1: The number of seconds in an interval of time.
|
431 |
msgid "%s second"
|
432 |
msgid_plural "%s seconds"
|
433 |
msgstr[0] ""
|
434 |
msgstr[1] ""
|
435 |
|
436 |
+
#: inc/classes/class-astra-sites-page.php:913
|
437 |
msgid "now"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: inc/classes/class-astra-sites-page.php:967
|
441 |
msgid ""
|
442 |
"ERROR! Cron schedules are disabled by setting constant DISABLE_WP_CRON to "
|
443 |
"true.<br/>To start the import process please enable the cron by setting the "
|
444 |
"constant to false. E.g. define( 'DISABLE_WP_CRON', false );"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: inc/classes/class-astra-sites-page.php:971
|
448 |
msgid ""
|
449 |
"ERROR! Cron schedules are disabled by setting constant ALTERNATE_WP_CRON to "
|
450 |
"true.<br/>To start the import process please enable the cron by setting the "
|
451 |
"constant to false. E.g. define( 'ALTERNATE_WP_CRON', false );"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: inc/classes/class-astra-sites-page.php:1007
|
455 |
#. translators: 1: The HTTP response code.
|
456 |
msgid "Unexpected HTTP response code: %s"
|
457 |
msgstr ""
|
629 |
msgid "Provided API URL is empty! Please try again!"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: inc/classes/class-astra-sites.php:391
|
633 |
+
#. translators: %s Error Message
|
634 |
+
msgid "API Request could not be performed - %s"
|
635 |
+
msgstr ""
|
636 |
+
|
637 |
+
#: inc/classes/class-astra-sites.php:396
|
638 |
+
#. translators: %s Error Message
|
639 |
+
msgid "API Request has failed - %s"
|
640 |
+
msgstr ""
|
641 |
+
|
642 |
+
#: inc/classes/class-astra-sites.php:423
|
643 |
+
msgid "Internal Server Error."
|
644 |
+
msgstr ""
|
645 |
+
|
646 |
+
#: inc/classes/class-astra-sites.php:429
|
647 |
+
#. translators: %s IP address.
|
648 |
+
msgid "The IP %1$s is blocked with the error code: %2$s"
|
649 |
+
msgstr ""
|
650 |
+
|
651 |
+
#: inc/classes/class-astra-sites.php:936
|
652 |
msgid "Theme Activated"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: inc/classes/class-astra-sites.php:982
|
656 |
msgid "User does not have permission!"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: inc/classes/class-astra-sites.php:1059
|
660 |
msgid "See Library"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: inc/classes/class-astra-sites.php:1123
|
664 |
msgid "Animals"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: inc/classes/class-astra-sites.php:1124
|
668 |
msgid "Architecture/Buildings"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: inc/classes/class-astra-sites.php:1125
|
672 |
msgid "Backgrounds/Textures"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: inc/classes/class-astra-sites.php:1126
|
676 |
msgid "Beauty/Fashion"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: inc/classes/class-astra-sites.php:1127
|
680 |
msgid "Business/Finance"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: inc/classes/class-astra-sites.php:1128
|
684 |
msgid "Computer/Communication"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: inc/classes/class-astra-sites.php:1129
|
688 |
msgid "Education"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: inc/classes/class-astra-sites.php:1130
|
692 |
msgid "Emotions"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: inc/classes/class-astra-sites.php:1131
|
696 |
msgid "Food/Drink"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: inc/classes/class-astra-sites.php:1132
|
700 |
msgid "Health/Medical"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: inc/classes/class-astra-sites.php:1133
|
704 |
msgid "Industry/Craft"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: inc/classes/class-astra-sites.php:1134
|
708 |
msgid "Music"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: inc/classes/class-astra-sites.php:1135
|
712 |
msgid "Nature/Landscapes"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: inc/classes/class-astra-sites.php:1136
|
716 |
msgid "People"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: inc/classes/class-astra-sites.php:1137
|
720 |
msgid "Places/Monuments"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: inc/classes/class-astra-sites.php:1138
|
724 |
msgid "Religion"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: inc/classes/class-astra-sites.php:1139
|
728 |
msgid "Science/Technology"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: inc/classes/class-astra-sites.php:1140
|
732 |
msgid "Sports"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: inc/classes/class-astra-sites.php:1141
|
736 |
msgid "Transportation/Traffic"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: inc/classes/class-astra-sites.php:1142
|
740 |
msgid "Travel/Vacation"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: inc/classes/class-astra-sites.php:1145
|
744 |
msgid "Popular"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: inc/classes/class-astra-sites.php:1146
|
748 |
msgid "Latest"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: inc/classes/class-astra-sites.php:1147
|
752 |
msgid "Upcoming"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: inc/classes/class-astra-sites.php:1148
|
756 |
msgid "Editor's Choice"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: inc/classes/class-astra-sites.php:1151
|
760 |
msgid "Any Orientation"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: inc/classes/class-astra-sites.php:1152
|
764 |
msgid "Vertical"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: inc/classes/class-astra-sites.php:1153
|
768 |
msgid "Horizontal"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: inc/classes/class-astra-sites.php:1155
|
772 |
msgid "Free Images from Pixabay"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: inc/classes/class-astra-sites.php:1156
|
776 |
msgid "Pixabay Search - Ex: flowers"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: inc/classes/class-astra-sites.php:1157
|
780 |
msgid "Downloading..."
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: inc/classes/class-astra-sites.php:1158
|
784 |
msgid "Validating..."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: inc/classes/class-astra-sites.php:1159
|
788 |
msgid "Please enter an API key."
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: inc/classes/class-astra-sites.php:1160
|
792 |
msgid "An error occured with code "
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: inc/classes/class-astra-sites.php:1212
|
796 |
msgid "Installed! Activating.."
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: inc/classes/class-astra-sites.php:1213
|
800 |
msgid "Activating..."
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: inc/classes/class-astra-sites.php:1214
|
804 |
msgid "Activated!"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: inc/classes/class-astra-sites.php:1215
|
808 |
msgid "Installing..."
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: inc/classes/class-astra-sites.php:1300
|
812 |
msgid "Upgrade"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: inc/classes/class-astra-sites.php:1304
|
816 |
msgid ""
|
817 |
"Syncing template library in the background. The process can take anywhere "
|
818 |
"between 2 to 3 minutes. We will notify you once done."
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: inc/classes/class-astra-sites.php:1305
|
822 |
msgid ""
|
823 |
"Some of the files required during the import process are "
|
824 |
"missing.<br/><br/>Please try again after some time."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: inc/classes/class-astra-sites.php:1306
|
828 |
msgid ""
|
829 |
"<p>WordPress debug mode is currently enabled on your website. This has "
|
830 |
"interrupted the import process..</p><p>Kindly disable debug mode and try "
|
833 |
"mode.</p><p><code>define('WP_DEBUG', false);</code></p>"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: inc/classes/class-astra-sites.php:1308
|
837 |
+
#: inc/classes/class-astra-sites.php:1310
|
838 |
#. translators: %s is a documentation link.
|
839 |
msgid ""
|
840 |
"<p>Your website is facing a temporary issue in connecting the template "
|
842 |
"the issue and continue importing template.</p>"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: inc/classes/class-astra-sites.php:1314
|
846 |
#. translators: %s are white label strings.
|
847 |
msgid ""
|
848 |
"Warning! %1$s Import process is not complete. Don't close the window until "
|
849 |
"import process complete. Do you still want to leave the window?"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: inc/classes/class-astra-sites.php:1315
|
853 |
msgid "Done! View Site"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: inc/classes/class-astra-sites.php:1318
|
857 |
#. translators: %s is a template name
|
858 |
msgid "Import \"%s\" Template"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: inc/classes/class-astra-sites.php:1321
|
862 |
msgid "Installing Required Plugins.."
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: inc/classes/class-astra-sites.php:1323
|
866 |
#. translators: %s are white label strings.
|
867 |
msgid "Installing %1$s Theme.."
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: inc/classes/class-astra-sites.php:1345
|
871 |
msgid "Dismiss this notice."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: inc/classes/class-astra-sites.php:1347 inc/includes/admin-page.php:761
|
875 |
msgid "One Last Step.."
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: inc/classes/class-astra-sites.php:1348 inc/includes/admin-page.php:784
|
879 |
msgid "Your Selected Website is Being Imported."
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: inc/classes/class-astra-sites.php:1349 inc/includes/admin-page.php:786
|
883 |
msgid "Your Selected Template is Being Imported."
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: inc/classes/class-astra-sites.php:1351
|
887 |
msgid ""
|
888 |
"We have sent you a surprise gift on your email address! Please check your "
|
889 |
"inbox!"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: inc/classes/class-astra-sites.php:1353
|
893 |
+
msgid "Looks like the template you are importing is temporarily not available."
|
894 |
+
msgstr ""
|
895 |
+
|
896 |
+
#: inc/classes/class-astra-sites.php:1354
|
897 |
+
msgid ""
|
898 |
+
"We could not start the import process and this is the message from "
|
899 |
+
"WordPress:"
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
+
#: inc/classes/class-astra-sites.php:1355
|
903 |
+
msgid "We could not start the import process."
|
904 |
+
msgstr ""
|
905 |
+
|
906 |
+
#: inc/classes/class-astra-sites.php:1404
|
907 |
msgid "XMLReader Support Missing"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: inc/classes/class-astra-sites.php:1406
|
911 |
#. translators: %s doc link.
|
912 |
msgid ""
|
913 |
"You're close to importing the template. To complete the process, enable "
|
914 |
"XMLReader support on your website.."
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: inc/classes/class-astra-sites.php:1406
|
918 |
+
#: inc/classes/class-astra-sites.php:1411
|
919 |
+
#: inc/classes/class-astra-sites.php:1416
|
|
|
920 |
msgid ""
|
921 |
"Read an article <a href=\"%s\" target=\"_blank\">here</a> to resolve the "
|
922 |
"issue."
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: inc/classes/class-astra-sites.php:1409
|
926 |
msgid "cURL Support Missing"
|
927 |
msgstr ""
|
928 |
|
929 |
+
#: inc/classes/class-astra-sites.php:1411
|
930 |
#. translators: %s doc link.
|
931 |
msgid "To run a smooth import, kindly enable cURL support on your website."
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: inc/classes/class-astra-sites.php:1414
|
935 |
msgid "Disable Debug Mode"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: inc/classes/class-astra-sites.php:1416
|
939 |
#. translators: %s doc link.
|
940 |
msgid ""
|
941 |
"WordPress debug mode is currently enabled on your website. With this, any "
|
942 |
"errors from third-party plugins might affect the import process."
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: inc/classes/class-astra-sites.php:1416
|
946 |
msgid ""
|
947 |
"Kindly disable it to continue importing the Starter Template. To do so, you "
|
948 |
"can add the following code into the wp-config.php file."
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: inc/classes/class-astra-sites.php:1419
|
952 |
msgid "Update Plugin"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: inc/classes/class-astra-sites.php:1421
|
956 |
#. translators: %s update page link.
|
957 |
msgid "Updates are available for plugins used in this starter template."
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: inc/classes/class-astra-sites.php:1421
|
961 |
msgid ""
|
962 |
"Kindly <a href=\"%s\" target=\"_blank\">update</a> them for a successful "
|
963 |
"import. Skipping this step might break the template design/feature."
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: inc/classes/class-astra-sites.php:1424 inc/includes/admin-page.php:492
|
967 |
+
#: inc/includes/templates.php:432
|
968 |
msgid "Required Plugins Missing"
|
969 |
msgstr ""
|
970 |
|
971 |
+
#: inc/classes/class-astra-sites.php:1425 inc/includes/admin-page.php:496
|
972 |
msgid ""
|
973 |
"This starter template requires premium plugins. As these are third party "
|
974 |
"premium plugins, you'll need to purchase, install and activate them first."
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: inc/classes/class-astra-sites.php:1428
|
978 |
msgid "Dynamic Page"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: inc/classes/class-astra-sites.php:1429 inc/includes/admin-page.php:699
|
982 |
msgid ""
|
983 |
"The page template you are about to import contains a dynamic widget/module. "
|
984 |
"Please note this dynamic data will not be available with the imported page."
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: inc/classes/class-astra-sites.php:1429 inc/includes/admin-page.php:700
|
988 |
msgid "You will need to add it manually on the page."
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: inc/classes/class-astra-sites.php:1429 inc/includes/admin-page.php:701
|
992 |
msgid "This dynamic content will be available when you import the entire site."
|
993 |
msgstr ""
|
994 |
|
995 |
+
#: inc/classes/class-astra-sites.php:1515
|
996 |
#. translators: %s are link.
|
997 |
msgid ""
|
998 |
"This is a premium website demo available only with the Agency Bundles you "
|
999 |
"can purchase it from <a href=\"%s\" target=\"_blank\">here</a>."
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: inc/classes/class-astra-sites.php:1519
|
1003 |
#. translators: %s are link.
|
1004 |
msgid ""
|
1005 |
"This is a premium template available with 'Agency' packages. <a href=\"%s\" "
|
1006 |
"target=\"_blank\">Validate Your License</a> Key to import this template."
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: inc/classes/class-astra-sites.php:1545
|
1010 |
msgid "Template"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: inc/classes/class-astra-sites.php:1546
|
1014 |
msgid "Block"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: inc/classes/class-astra-sites.php:1547 inc/includes/templates.php:58
|
1018 |
msgid "Dismiss"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: inc/classes/class-astra-sites.php:1548 inc/includes/admin-page.php:846
|
1022 |
msgid "Install Required Plugins"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: inc/classes/class-astra-sites.php:1552
|
1026 |
#. translators: %s are link.
|
1027 |
msgid ""
|
1028 |
"You can locate <strong>Starter Templates Settings</strong> under the "
|
1029 |
"<strong>Page Settings</strong> of the Style Tab."
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: inc/classes/class-astra-sites.php:1554
|
1033 |
msgid "Read More →"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: inc/classes/class-astra-sites.php:1672
|
1037 |
msgid "Error: You don't have the required permissions to install plugins."
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: inc/classes/class-astra-sites.php:1708
|
1041 |
msgid "Plugin Activated"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: inc/classes/class-astra-sites.php:1832
|
1045 |
msgid ""
|
1046 |
"Insufficient Permission. Please contact your Super Admin to allow the "
|
1047 |
"install required plugin permissions."
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: inc/classes/class-astra-sites.php:2024
|
1051 |
msgid "Template library refreshed!"
|
1052 |
msgstr ""
|
1053 |
|
1284 |
|
1285 |
#: inc/includes/admin-page.php:110 inc/includes/admin-page.php:116
|
1286 |
#: inc/includes/admin-page.php:118 inc/includes/admin-page.php:504
|
1287 |
+
#: inc/includes/admin-page.php:704 inc/includes/admin-page.php:908
|
1288 |
+
#: inc/includes/templates.php:444
|
1289 |
msgid "Skip & Import"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
#: inc/includes/admin-page.php:111 inc/includes/admin-page.php:119
|
1293 |
+
#: inc/includes/admin-page.php:505 inc/includes/admin-page.php:705
|
1294 |
+
#: inc/includes/admin-page.php:909 inc/includes/templates.php:445
|
1295 |
msgid "Cancel"
|
1296 |
msgstr ""
|
1297 |
|
1300 |
msgstr ""
|
1301 |
|
1302 |
#: inc/includes/admin-page.php:130 inc/includes/image-templates.php:54
|
1303 |
+
#: inc/includes/image-templates.php:92 inc/includes/templates.php:226
|
1304 |
+
#: inc/includes/templates.php:309 inc/includes/templates.php:395
|
1305 |
+
#: inc/includes/templates.php:453
|
1306 |
msgid "Sorry No Results Found."
|
1307 |
msgstr ""
|
1308 |
|
1309 |
#: inc/includes/admin-page.php:139 inc/includes/image-templates.php:96
|
1310 |
+
#: inc/includes/templates.php:232 inc/includes/templates.php:315
|
1311 |
+
#: inc/includes/templates.php:401 inc/includes/templates.php:462
|
1312 |
#. translators: %1$s External Link
|
1313 |
msgid ""
|
1314 |
"Don't see a template you would like to import?<br><a target=\"_blank\" "
|
1316 |
msgstr ""
|
1317 |
|
1318 |
#: inc/includes/admin-page.php:142 inc/includes/admin-page.php:165
|
1319 |
+
#: inc/includes/templates.php:235 inc/includes/templates.php:318
|
1320 |
+
#: inc/includes/templates.php:404 inc/includes/templates.php:465
|
1321 |
msgid "Back to Templates"
|
1322 |
msgstr ""
|
1323 |
|
1342 |
msgstr ""
|
1343 |
|
1344 |
#: inc/includes/admin-page.php:244 inc/includes/admin-page.php:333
|
1345 |
+
#: inc/includes/admin-page.php:394 inc/includes/templates.php:171
|
1346 |
+
#: inc/includes/templates.php:298 inc/includes/templates.php:384
|
1347 |
#. translators: %s are white label strings.
|
1348 |
#. translators: %s are white label strings.
|
1349 |
#. translators: %1$s External Link
|
1463 |
msgstr ""
|
1464 |
|
1465 |
#: inc/includes/admin-page.php:637
|
1466 |
+
msgid ""
|
1467 |
+
"We could not start the import process. This is the message from HTTP "
|
1468 |
+
"request:"
|
1469 |
+
msgstr ""
|
1470 |
+
|
1471 |
+
#: inc/includes/admin-page.php:641
|
1472 |
+
#. translators: %s doc link.
|
1473 |
+
msgid ""
|
1474 |
+
"Please raise a <a href=\"%s\" target=\"_blank\">support request</a> so we "
|
1475 |
+
"can help you with it."
|
1476 |
+
msgstr ""
|
1477 |
+
|
1478 |
+
#: inc/includes/admin-page.php:657
|
1479 |
+
#. translators: %s doc link.
|
1480 |
+
msgid ""
|
1481 |
+
"We have listed the <a href=\"%s\" target=\"_blank\">possible solutions "
|
1482 |
+
"here</a> to help you resolve this."
|
1483 |
+
msgstr ""
|
1484 |
+
|
1485 |
+
#: inc/includes/admin-page.php:664
|
1486 |
+
#. translators: %s doc link.
|
1487 |
+
msgid ""
|
1488 |
+
"Please report this error <a href=\"%s\" target=\"_blank\">here</a> so we "
|
1489 |
+
"can fix it."
|
1490 |
+
msgstr ""
|
1491 |
+
|
1492 |
+
#: inc/includes/admin-page.php:671
|
1493 |
+
msgid ""
|
1494 |
+
"Please report this error <a href=\"#LINK\" target=\"_blank\">here</a> so we "
|
1495 |
+
"can fix it."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
+
#: inc/includes/admin-page.php:695
|
1499 |
msgid "Heads Up!"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: inc/includes/admin-page.php:715
|
1503 |
msgid "Beginner"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
+
#: inc/includes/admin-page.php:716
|
1507 |
msgid "Intermediate"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
+
#: inc/includes/admin-page.php:717
|
1511 |
msgid "Expert"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
+
#: inc/includes/admin-page.php:719 inc/includes/admin-page.php:728
|
1515 |
msgid "Field is required"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
+
#: inc/includes/admin-page.php:720
|
1519 |
msgid "I'm a WordPress:"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
+
#: inc/includes/admin-page.php:725
|
1523 |
msgid "Myself/My company"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
+
#: inc/includes/admin-page.php:726
|
1527 |
msgid "My client"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: inc/includes/admin-page.php:729
|
1531 |
msgid "I'm building website for:"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: inc/includes/admin-page.php:738
|
1535 |
msgid "First name is required"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
+
#: inc/includes/admin-page.php:739
|
1539 |
msgid "Your First Name"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
+
#: inc/includes/admin-page.php:743
|
1543 |
msgid "Email address is required"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
+
#: inc/includes/admin-page.php:744
|
1547 |
msgid "Your Work Email"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
+
#: inc/includes/admin-page.php:765
|
1551 |
msgid ""
|
1552 |
"To get access to exclusive starter templates, themes and updates, enter "
|
1553 |
"your details below:"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: inc/includes/admin-page.php:769
|
1557 |
msgid "Submit and Start Importing"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
+
#: inc/includes/admin-page.php:775
|
1561 |
#. translators: %1$s and %3$s are opening anchor tags, and %2$s and %4$s is
|
1562 |
#. closing anchor tags.
|
1563 |
msgid "By submitting, you agree to our %1$sTerms%2$s and %3$sPrivacy Policy%4$s."
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: inc/includes/admin-page.php:776
|
1567 |
msgid "Skip"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
+
#: inc/includes/admin-page.php:796
|
1571 |
msgid ""
|
1572 |
"To serve more beautiful starter templates, we would like to know more about "
|
1573 |
"you:"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: inc/includes/admin-page.php:801
|
1577 |
msgid "Advanced Options"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
+
#: inc/includes/admin-page.php:815
|
1581 |
msgid "Install & Activate Astra Theme"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
+
#: inc/includes/admin-page.php:816
|
1585 |
msgid ""
|
1586 |
"To import the site in the original format, you would need the Astra theme "
|
1587 |
"activated. You can import it with any other theme, but the site might lose "
|
1588 |
"some of the design settings and look a bit different."
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: inc/includes/admin-page.php:824
|
1592 |
msgid "Import Customizer Settings"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
+
#: inc/includes/admin-page.php:828
|
1596 |
#. translators: %s are white label strings.
|
1597 |
msgid ""
|
1598 |
"%1$s customizer serves global settings that give uniform design to the "
|
1600 |
"settings."
|
1601 |
msgstr ""
|
1602 |
|
1603 |
+
#: inc/includes/admin-page.php:839
|
1604 |
msgid "Import Widgets"
|
1605 |
msgstr ""
|
1606 |
|
1607 |
+
#: inc/includes/admin-page.php:849
|
1608 |
msgid ""
|
1609 |
"Plugins needed to import this template are missing. Required plugins will "
|
1610 |
"be installed and activated automatically."
|
1611 |
msgstr ""
|
1612 |
|
1613 |
+
#: inc/includes/admin-page.php:858
|
1614 |
msgid "Import Content"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: inc/includes/admin-page.php:861
|
1618 |
msgid ""
|
1619 |
"Selecting this option will import dummy pages, posts, images, and menus. If "
|
1620 |
"you do not want to import dummy content, please uncheck this option."
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: inc/includes/admin-page.php:879
|
1624 |
#. translators: %s is the dynamic string.
|
1625 |
msgid ""
|
1626 |
"The import process can take a few minutes depending on the size of the %s "
|
1627 |
"and speed of the connection."
|
1628 |
msgstr ""
|
1629 |
|
1630 |
+
#: inc/includes/admin-page.php:885
|
1631 |
#. translators: %s is the dynamic string.
|
1632 |
msgid "Please do NOT close this browser window until the %s is imported completely."
|
1633 |
msgstr ""
|
1634 |
|
1635 |
+
#: inc/includes/admin-page.php:902
|
1636 |
msgid "Next"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
+
#: inc/includes/admin-page.php:904
|
1640 |
msgid "Import"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: inc/includes/admin-page.php:919
|
1644 |
msgid "Delete Previously Imported Site"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
+
#: inc/includes/admin-page.php:920
|
1648 |
msgid ""
|
1649 |
"WARNING: Selecting this option will delete all data from the previous "
|
1650 |
"import. Choose this option only if this is intended."
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: inc/includes/admin-page.php:922
|
1654 |
msgid "You can find the backup to the current customizer settings at "
|
1655 |
msgstr ""
|
1656 |
|
1657 |
+
#: inc/includes/admin-page.php:922
|
1658 |
msgid "/wp-content/uploads/astra-sites/"
|
1659 |
msgstr ""
|
1660 |
|
1674 |
msgid "Save & Insert"
|
1675 |
msgstr ""
|
1676 |
|
|
|
|
|
|
|
|
|
1677 |
#: inc/includes/templates.php:44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1678 |
msgid "SEARCH"
|
1679 |
msgstr ""
|
1680 |
|
1681 |
+
#: inc/includes/templates.php:83
|
1682 |
msgid "Back to Pages"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: inc/includes/templates.php:105
|
1686 |
msgid "Back to Layout"
|
1687 |
msgstr ""
|
1688 |
|
1689 |
+
#: inc/includes/templates.php:109
|
1690 |
msgid "Pages"
|
1691 |
msgstr ""
|
1692 |
|
1693 |
+
#: inc/includes/templates.php:110
|
1694 |
msgid "Blocks"
|
1695 |
msgstr ""
|
1696 |
|
1697 |
+
#: inc/includes/templates.php:115 inc/includes/templates.php:116
|
1698 |
msgid "Close"
|
1699 |
msgstr ""
|
1700 |
|
1701 |
+
#: inc/includes/templates.php:215 inc/includes/templates.php:287
|
1702 |
msgid "INSERT"
|
1703 |
msgstr ""
|
1704 |
|
1705 |
+
#: inc/includes/templates.php:292
|
1706 |
msgid "Get Access!"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
+
#: inc/includes/templates.php:418
|
1710 |
msgid "Insert"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: inc/includes/templates.php:436
|
1714 |
msgid ""
|
1715 |
"This starter site requires premium plugins. As these are third party "
|
1716 |
"premium plugins, you'll need to purchase, install and activate them first."
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: inc/includes/templates.php:520
|
1720 |
msgid "Import "
|
1721 |
msgstr ""
|
1722 |
|
1723 |
+
#: inc/includes/templates.php:521
|
1724 |
msgid "Save "
|
1725 |
msgstr ""
|
1726 |
|
1761 |
#: inc/classes/class-astra-sites-importer-log.php:368
|
1762 |
msgctxt "PHP Version"
|
1763 |
msgid "We recommend to use php 5.4 or higher"
|
1764 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Astra Starter Sites
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.7
|
8 |
-
Stable tag: 2.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -149,6 +149,9 @@ We are open to suggestions and would love to work on topics that our users are l
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
152 |
v2.6.4 - 11-May-2021
|
153 |
Improvement: Added Quick links for a few important documents.
|
154 |
Improvement: Added dynamic category support for the Gutenberg templates.
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.7
|
8 |
+
Stable tag: 2.6.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
149 |
|
150 |
== Changelog ==
|
151 |
|
152 |
+
v2.6.5 - 18-May-2021
|
153 |
+
Improvement: Added better error messages to the failed import process.
|
154 |
+
|
155 |
v2.6.4 - 11-May-2021
|
156 |
Improvement: Added Quick links for a few important documents.
|
157 |
Improvement: Added dynamic category support for the Gutenberg templates.
|