Version Description
Download this release
Release Info
Developer | brainstormworg |
Plugin | Astra Starter Sites |
Version | 3.1.16 |
Comparing to | |
See all releases |
Code changes from version 3.1.15 to 3.1.16
- astra-sites.php +2 -2
- inc/assets/js/admin-page.js +47 -1
- inc/classes/class-astra-sites-importer.php +51 -0
- inc/classes/class-astra-sites.php +1 -0
- inc/lib/gutenberg-templates/ast-block-templates.php +2 -2
- inc/lib/gutenberg-templates/dist/null.js +1 -1
- inc/lib/gutenberg-templates/version.json +1 -1
- inc/lib/onboarding/assets/dist/main.asset.php +1 -1
- inc/lib/onboarding/assets/dist/main.js +1 -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: 3.1.
|
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', '3.1.
|
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: 3.1.16
|
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', '3.1.16' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/assets/js/admin-page.js
CHANGED
@@ -223,6 +223,7 @@ var AstraSitesAjaxQueue = (function () {
|
|
223 |
wxr_url: '',
|
224 |
wpforms_url: '',
|
225 |
cartflows_url: '',
|
|
|
226 |
options_data: '',
|
227 |
widgets_data: '',
|
228 |
enabled_extensions: '',
|
@@ -446,7 +447,8 @@ var AstraSitesAjaxQueue = (function () {
|
|
446 |
|
447 |
$(document).on('astra-sites-reset-data-done', AstraSitesAdmin._recheck_backup_options);
|
448 |
$(document).on('astra-sites-backup-settings-done', AstraSitesAdmin._startImportCartFlows);
|
449 |
-
$(document).on('astra-sites-import-cartflows-done', AstraSitesAdmin.
|
|
|
450 |
$(document).on('astra-sites-import-wpforms-done', AstraSitesAdmin._importCustomizerSettings);
|
451 |
$(document).on('astra-sites-import-customizer-settings-done', AstraSitesAdmin._importXML);
|
452 |
$(document).on('astra-sites-import-xml-done', AstraSitesAdmin.import_siteOptions);
|
@@ -2736,6 +2738,49 @@ var AstraSitesAjaxQueue = (function () {
|
|
2736 |
|
2737 |
},
|
2738 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2739 |
_startImportWPForms: function (event) {
|
2740 |
|
2741 |
if (AstraSitesAdmin._is_process_xml() && '' !== AstraSitesAdmin.wpforms_url) {
|
@@ -3874,6 +3919,7 @@ var AstraSitesAjaxQueue = (function () {
|
|
3874 |
AstraSitesAdmin.wxr_url = encodeURI(data['astra-site-wxr-path']) || '';
|
3875 |
AstraSitesAdmin.wpforms_url = encodeURI(data['astra-site-wpforms-path']) || '';
|
3876 |
AstraSitesAdmin.cartflows_url = encodeURI(data['astra-site-cartflows-path']) || '';
|
|
|
3877 |
AstraSitesAdmin.options_data = JSON.stringify(data['astra-site-options-data']) || '';
|
3878 |
AstraSitesAdmin.enabled_extensions = JSON.stringify(data['astra-enabled-extensions']) || '';
|
3879 |
AstraSitesAdmin.widgets_data = data['astra-site-widgets-data'] || '';
|
223 |
wxr_url: '',
|
224 |
wpforms_url: '',
|
225 |
cartflows_url: '',
|
226 |
+
spectra_settings: '',
|
227 |
options_data: '',
|
228 |
widgets_data: '',
|
229 |
enabled_extensions: '',
|
447 |
|
448 |
$(document).on('astra-sites-reset-data-done', AstraSitesAdmin._recheck_backup_options);
|
449 |
$(document).on('astra-sites-backup-settings-done', AstraSitesAdmin._startImportCartFlows);
|
450 |
+
$(document).on('astra-sites-import-cartflows-done', AstraSitesAdmin._startImportSpectraSettings);
|
451 |
+
$(document).on('astra-sites-import-spectra-settings-done', AstraSitesAdmin._startImportWPForms);
|
452 |
$(document).on('astra-sites-import-wpforms-done', AstraSitesAdmin._importCustomizerSettings);
|
453 |
$(document).on('astra-sites-import-customizer-settings-done', AstraSitesAdmin._importXML);
|
454 |
$(document).on('astra-sites-import-xml-done', AstraSitesAdmin.import_siteOptions);
|
2738 |
|
2739 |
},
|
2740 |
|
2741 |
+
_startImportSpectraSettings: function (event) {
|
2742 |
+
if (AstraSitesAdmin._is_process_xml() && '' !== AstraSitesAdmin.spectra_settings) {
|
2743 |
+
|
2744 |
+
$.ajax({
|
2745 |
+
url: astraSitesVars.ajaxurl,
|
2746 |
+
type: 'POST',
|
2747 |
+
dataType: 'json',
|
2748 |
+
data: {
|
2749 |
+
action: 'astra-sites-import-spectra-settings',
|
2750 |
+
spectra_settings: AstraSitesAdmin.spectra_settings,
|
2751 |
+
_ajax_nonce: astraSitesVars._ajax_nonce,
|
2752 |
+
},
|
2753 |
+
beforeSend: function () {
|
2754 |
+
console.groupCollapsed('Importing Spectra Settings');
|
2755 |
+
AstraSitesAdmin._log_title('Importing Spectra Settings..');
|
2756 |
+
AstraSitesAdmin._log(AstraSitesAdmin.spectra_settings);
|
2757 |
+
},
|
2758 |
+
})
|
2759 |
+
.fail(function (jqXHR) {
|
2760 |
+
AstraSitesAdmin._log(jqXHR);
|
2761 |
+
AstraSitesAdmin._failed( jqXHR.status + ' ' + jqXHR.statusText, 'Import Spectra Settings Failed!' );
|
2762 |
+
console.groupEnd();
|
2763 |
+
})
|
2764 |
+
.done(function (response) {
|
2765 |
+
AstraSitesAdmin._log(response);
|
2766 |
+
|
2767 |
+
// 1. Fail - Import Spectra Settings.
|
2768 |
+
if (false === response.success) {
|
2769 |
+
AstraSitesAdmin._failed( response.data, 'Import Spectra Settings Failed!' );
|
2770 |
+
console.groupEnd();
|
2771 |
+
} else {
|
2772 |
+
console.groupEnd();
|
2773 |
+
// 1. Pass - Import Spectra Settings.
|
2774 |
+
$(document).trigger(AstraSitesAdmin.action_slug + '-import-spectra-settings-done');
|
2775 |
+
}
|
2776 |
+
});
|
2777 |
+
|
2778 |
+
} else {
|
2779 |
+
$(document).trigger(AstraSitesAdmin.action_slug + '-import-spectra-settings-done');
|
2780 |
+
}
|
2781 |
+
|
2782 |
+
},
|
2783 |
+
|
2784 |
_startImportWPForms: function (event) {
|
2785 |
|
2786 |
if (AstraSitesAdmin._is_process_xml() && '' !== AstraSitesAdmin.wpforms_url) {
|
3919 |
AstraSitesAdmin.wxr_url = encodeURI(data['astra-site-wxr-path']) || '';
|
3920 |
AstraSitesAdmin.wpforms_url = encodeURI(data['astra-site-wpforms-path']) || '';
|
3921 |
AstraSitesAdmin.cartflows_url = encodeURI(data['astra-site-cartflows-path']) || '';
|
3922 |
+
AstraSitesAdmin.spectra_settings = encodeURI(data['astra-site-spectra-settings']) || '';
|
3923 |
AstraSitesAdmin.options_data = JSON.stringify(data['astra-site-options-data']) || '';
|
3924 |
AstraSitesAdmin.enabled_extensions = JSON.stringify(data['astra-enabled-extensions']) || '';
|
3925 |
AstraSitesAdmin.widgets_data = data['astra-site-widgets-data'] || '';
|
inc/classes/class-astra-sites-importer.php
CHANGED
@@ -56,6 +56,7 @@ if ( ! class_exists( 'Astra_Sites_Importer' ) ) {
|
|
56 |
// Import AJAX.
|
57 |
add_action( 'wp_ajax_astra-sites-import-wpforms', array( $this, 'import_wpforms' ) );
|
58 |
add_action( 'wp_ajax_astra-sites-import-cartflows', array( $this, 'import_cartflows' ) );
|
|
|
59 |
add_action( 'wp_ajax_astra-sites-import-customizer-settings', array( $this, 'import_customizer_settings' ) );
|
60 |
add_action( 'wp_ajax_astra-sites-import-prepare-xml', array( $this, 'prepare_xml_data' ) );
|
61 |
add_action( 'wp_ajax_astra-sites-import-options', array( $this, 'import_options' ) );
|
@@ -346,6 +347,56 @@ if ( ! class_exists( 'Astra_Sites_Importer' ) ) {
|
|
346 |
}
|
347 |
}
|
348 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
/**
|
350 |
* Import Customizer Settings.
|
351 |
*
|
56 |
// Import AJAX.
|
57 |
add_action( 'wp_ajax_astra-sites-import-wpforms', array( $this, 'import_wpforms' ) );
|
58 |
add_action( 'wp_ajax_astra-sites-import-cartflows', array( $this, 'import_cartflows' ) );
|
59 |
+
add_action( 'wp_ajax_astra-sites-import-spectra-settings', array( $this, 'import_spectra_settings' ) );
|
60 |
add_action( 'wp_ajax_astra-sites-import-customizer-settings', array( $this, 'import_customizer_settings' ) );
|
61 |
add_action( 'wp_ajax_astra-sites-import-prepare-xml', array( $this, 'prepare_xml_data' ) );
|
62 |
add_action( 'wp_ajax_astra-sites-import-options', array( $this, 'import_options' ) );
|
347 |
}
|
348 |
}
|
349 |
|
350 |
+
/**
|
351 |
+
* Import Spectra Settings
|
352 |
+
*
|
353 |
+
* @since 3.1.16
|
354 |
+
*
|
355 |
+
* @param string $url Spectra Settings JSON file URL.
|
356 |
+
* @return void
|
357 |
+
*/
|
358 |
+
public function import_spectra_settings( $url = '' ) {
|
359 |
+
|
360 |
+
$url = ( isset( $_REQUEST['spectra_settings'] ) ) ? urldecode( $_REQUEST['spectra_settings'] ) : urldecode( $url ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
361 |
+
if ( ! astra_sites_is_valid_url( $url ) ) {
|
362 |
+
/* Translators: %s is XML URL. */
|
363 |
+
wp_send_json_error( sprintf( __( 'Invalid Request URL - %s', 'astra-sites' ), $url ) );
|
364 |
+
}
|
365 |
+
|
366 |
+
if ( ! empty( $url ) && is_callable( 'UAGB_Admin_Helper::get_instance' ) ) {
|
367 |
+
|
368 |
+
// Download JSON file.
|
369 |
+
$file_path = Astra_Sites_Helper::download_file( $url );
|
370 |
+
|
371 |
+
if ( $file_path['success'] ) {
|
372 |
+
if ( isset( $file_path['data']['file'] ) ) {
|
373 |
+
|
374 |
+
$ext = strtolower( pathinfo( $file_path['data']['file'], PATHINFO_EXTENSION ) );
|
375 |
+
|
376 |
+
if ( 'json' === $ext ) {
|
377 |
+
$settings = json_decode( Astra_Sites::get_instance()->get_filesystem()->get_contents( $file_path['data']['file'] ), true );
|
378 |
+
|
379 |
+
if ( ! empty( $settings ) ) {
|
380 |
+
UAGB_Admin_Helper::get_instance()->update_admin_settings_shareable_data( $settings );
|
381 |
+
}
|
382 |
+
} else {
|
383 |
+
wp_send_json_error( __( 'Invalid file for Spectra Settings', 'astra-sites' ) );
|
384 |
+
}
|
385 |
+
} else {
|
386 |
+
wp_send_json_error( __( 'There was an error downloading the Spectra Settings file.', 'astra-sites' ) );
|
387 |
+
}
|
388 |
+
} else {
|
389 |
+
wp_send_json_error( __( 'There was an error downloading the Spectra Settings file.', 'astra-sites' ) );
|
390 |
+
}
|
391 |
+
}
|
392 |
+
|
393 |
+
if ( defined( 'WP_CLI' ) ) {
|
394 |
+
WP_CLI::line( 'Imported from ' . $url );
|
395 |
+
} elseif ( wp_doing_ajax() ) {
|
396 |
+
wp_send_json_success( $url );
|
397 |
+
}
|
398 |
+
}
|
399 |
+
|
400 |
/**
|
401 |
* Import Customizer Settings.
|
402 |
*
|
inc/classes/class-astra-sites.php
CHANGED
@@ -1774,6 +1774,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
|
|
1774 |
/* translators: %s URL to document. */
|
1775 |
'process_failed_secondary' => sprintf( __( '%1$sPlease report this <a href="%2$s" target="_blank">here</a>.%3$s', 'astra-sites' ), '<p>', esc_url( 'https://wpastra.com/starter-templates-support/?url=#DEMO_URL#&subject=#SUBJECT#' ), '</p>' ),
|
1776 |
'st_page_url' => admin_url( 'themes.php?page=starter-templates' ),
|
|
|
1777 |
'isRTLEnabled' => is_rtl(),
|
1778 |
/* translators: %s Anchor link to support URL. */
|
1779 |
'support_text' => sprintf( __( 'Please report this error %1$shere%2$s, so we can fix it.', 'astra-sites' ), '<a href="https://wpastra.com/support/open-a-ticket/" target="_blank">', '</a>' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
1774 |
/* translators: %s URL to document. */
|
1775 |
'process_failed_secondary' => sprintf( __( '%1$sPlease report this <a href="%2$s" target="_blank">here</a>.%3$s', 'astra-sites' ), '<p>', esc_url( 'https://wpastra.com/starter-templates-support/?url=#DEMO_URL#&subject=#SUBJECT#' ), '</p>' ),
|
1776 |
'st_page_url' => admin_url( 'themes.php?page=starter-templates' ),
|
1777 |
+
'staging_connected' => apply_filters( 'astra_sites_staging_connected', '' ),
|
1778 |
'isRTLEnabled' => is_rtl(),
|
1779 |
/* translators: %s Anchor link to support URL. */
|
1780 |
'support_text' => sprintf( __( 'Please report this error %1$shere%2$s, so we can fix it.', 'astra-sites' ), '<a href="https://wpastra.com/support/open-a-ticket/" target="_blank">', '</a>' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
inc/lib/gutenberg-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.1.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: ast-block-templates
|
@@ -24,7 +24,7 @@ if ( ! defined( 'AST_BLOCK_TEMPLATES_LIBRARY_URL' ) ) {
|
|
24 |
define( 'AST_BLOCK_TEMPLATES_LIBRARY_URL', apply_filters( 'ast_block_templates_library_url', 'https://websitedemos.net/' ) );
|
25 |
}
|
26 |
|
27 |
-
define( 'AST_BLOCK_TEMPLATES_VER', '1.1.
|
28 |
define( 'AST_BLOCK_TEMPLATES_FILE', __FILE__ );
|
29 |
define( 'AST_BLOCK_TEMPLATES_BASE', plugin_basename( AST_BLOCK_TEMPLATES_FILE ) );
|
30 |
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.1.7
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: ast-block-templates
|
24 |
define( 'AST_BLOCK_TEMPLATES_LIBRARY_URL', apply_filters( 'ast_block_templates_library_url', 'https://websitedemos.net/' ) );
|
25 |
}
|
26 |
|
27 |
+
define( 'AST_BLOCK_TEMPLATES_VER', '1.1.7' );
|
28 |
define( 'AST_BLOCK_TEMPLATES_FILE', __FILE__ );
|
29 |
define( 'AST_BLOCK_TEMPLATES_BASE', plugin_basename( AST_BLOCK_TEMPLATES_FILE ) );
|
30 |
define( 'AST_BLOCK_TEMPLATES_DIR', plugin_dir_path( AST_BLOCK_TEMPLATES_FILE ) );
|
inc/lib/gutenberg-templates/dist/null.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 a="Expected a function",i="__lodash_placeholder__",l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",s="[object Array]",u="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",g="[object Map]",h="[object Number]",v="[object Object]",b="[object RegExp]",y="[object Set]",w="[object String]",k="[object Symbol]",_="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",B="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",T="[object Uint8Array]",A="[object Uint16Array]",C="[object Uint32Array]",j=/\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),W=RegExp(L.source),z=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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,ae=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,le=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,se=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,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]",ge="["+de+"]",he="["+pe+"]",ve="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Be="(?:"+ye+"|"+we+")",Pe="(?:"+Ee+"|"+we+")",Re="(?:"+he+"|"+ke+")"+"?",Ie="[\\ufe0e\\ufe0f]?"+Re+("(?:\\u200d(?:"+[_e,xe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Re+")*"),Te="(?:"+[be,xe,Se].join("|")+")"+Ie,Ae="(?:"+[_e+he+"?",he,xe,Se,me].join("|")+")",Ce=RegExp("['’]","g"),je=RegExp(he,"g"),Oe=RegExp(ke+"(?="+ke+")|"+Ae+Ie,"g"),Ne=RegExp([Ee+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ge,Ee,"$"].join("|")+")",Pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ge,Ee+Be,"$"].join("|")+")",Ee+"?"+Be+"+(?:['’](?: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_])",ve,Te].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"],We=-1,ze={};ze[E]=ze[B]=ze[P]=ze[R]=ze[I]=ze[T]=ze["[object Uint8ClampedArray]"]=ze[A]=ze[C]=!0,ze[c]=ze[s]=ze[x]=ze[u]=ze[S]=ze[f]=ze[p]=ze[d]=ze[g]=ze[h]=ze[v]=ze[b]=ze[y]=ze[w]=ze[_]=!1;var Me={};Me[c]=Me[s]=Me[x]=Me[S]=Me[u]=Me[f]=Me[E]=Me[B]=Me[P]=Me[R]=Me[I]=Me[g]=Me[h]=Me[v]=Me[b]=Me[y]=Me[w]=Me[k]=Me[T]=Me["[object Uint8ClampedArray]"]=Me[A]=Me[C]=!0,Me[p]=Me[d]=Me[_]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ue=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 at(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 it(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function st(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 ut(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}function ft(e,t){return!!(null==e?0:e.length)&&kt(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 gt(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function ht(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 vt(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,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function kt(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 _t(e,t,n,r){for(var o=n-1,a=e.length;++o<a;)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?Rt(e,t)/n:NaN}function Et(e){return function(t){return null==t?void 0:t[e]}}function Bt(e){return function(t){return null==e?void 0:e[t]}}function Pt(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function Rt(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n}function It(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return e?e.slice(0,Ht(e)+1).replace(H,""):e}function At(e){return function(t){return e(t)}}function Ct(e,t){return dt(t,(function(t){return e[t]}))}function jt(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&kt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length;n--&&kt(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=Bt({"À":"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=Bt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Wt(e){return"\\"+Ve[e]}function zt(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 Vt(e,t){return function(n){return e(t(n))}}function Ut(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var l=e[n];l!==t&&l!==i||(e[n]=i,a[o++]=n)}return a}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 zt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):bt(e)}function Yt(e){return zt(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=Bt({"&":"&","<":"<",">":">",""":'"',"'":"'"});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,ge=t.RegExp,he=t.String,ve=t.TypeError,be=r.prototype,ye=pe.prototype,we=me.prototype,ke=t["__core-js_shared__"],_e=ye.toString,xe=we.hasOwnProperty,Se=0,Ee=(n=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=we.toString,Pe=_e.call(me),Re=Ye._,Ie=ge("^"+_e.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=Ze?t.Buffer:void 0,Ae=t.Symbol,Oe=t.Uint8Array,Fe=Te?Te.allocUnsafe:void 0,Ve=Vt(me.getPrototypeOf,me),qe=me.create,Ge=we.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=ta(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Bt=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=Te?Te.isBuffer:void 0,rn=t.isFinite,on=be.join,an=Vt(me.keys,me),ln=de.max,cn=de.min,sn=o.now,un=t.parseInt,fn=de.random,pn=be.reverse,dn=ta(t,"DataView"),mn=ta(t,"Map"),gn=ta(t,"Promise"),hn=ta(t,"Set"),vn=ta(t,"WeakMap"),bn=ta(me,"create"),yn=vn&&new vn,wn={},kn=Ra(dn),_n=Ra(mn),xn=Ra(gn),Sn=Ra(hn),En=Ra(vn),Bn=Ae?Ae.prototype:void 0,Pn=Bn?Bn.valueOf:void 0,Rn=Bn?Bn.toString:void 0;function In(e){if(qi(e)&&!Oi(e)&&!(e instanceof jn)){if(e instanceof Cn)return e;if(xe.call(e,"__wrapped__"))return Ia(e)}return new Cn(e)}var Tn=function(){function e(){}return function(t){if(!$i(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function Cn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function jn(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 Wn(e,t){var n=Oi(e),r=!n&&ji(e),o=!n&&!r&&Di(e),a=!n&&!r&&!o&&Qi(e),i=n||r||o||a,l=i?It(e.length,he):[],c=l.length;for(var s in e)!t&&!xe.call(e,s)||i&&("length"==s||o&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ca(s,c))||l.push(s);return l}function zn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Mn(e,t){return Ea(yo(e),Zn(t,0,e.length))}function Vn(e){return Ea(yo(e))}function Un(e,t,n){(void 0!==n&&!Ti(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)&&Ti(r,n)&&(void 0!==n||t in e)||Hn(e,t,n)}function qn(e,t){for(var n=e.length;n--;)if(Ti(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,a){t(r,e,n(e),a)})),r}function Yn(e,t){return e&&wo(t,kl(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,a=r(o),i=null==e;++n<o;)a[n]=i?void 0:hl(e,t[n]);return a}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,a){var i,l=1&t,s=2&t,p=4&t;if(n&&(i=o?n(e,r,o,a):n(e)),void 0!==i)return i;if(!$i(e))return e;var _=Oi(e);if(_){if(i=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),!l)return yo(e,i)}else{var j=oa(e),O=j==d||j==m;if(Di(e))return po(e,l);if(j==v||j==c||O&&!o){if(i=s||O?{}:ia(e),!l)return s?function(e,t){return wo(e,ra(e),t)}(e,function(e,t){return e&&wo(t,_l(t),e)}(i,e)):function(e,t){return wo(e,na(e),t)}(e,Yn(i,e))}else{if(!Me[j])return o?e:{};i=function(e,t,n){var r=e.constructor;switch(t){case x:return mo(e);case u: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 B:case P:case R:case I:case T:case"[object Uint8ClampedArray]":case A:case C:return go(e,n);case g:return new r;case h: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 k:return o=e,Pn?me(Pn.call(o)):{}}var o}(e,j,l)}}a||(a=new Dn);var N=a.get(e);if(N)return N;a.set(e,i),Zi(e)?e.forEach((function(r){i.add(Xn(r,t,n,r,e,a))})):Gi(e)&&e.forEach((function(r,o){i.set(o,Xn(r,t,n,o,e,a))}));var F=_?void 0:(p?s?Ho:Yo:s?_l:kl)(e);return lt(F||e,(function(r,o){F&&(r=e[o=r]),$n(i,o,Xn(r,t,n,o,e,a))})),i}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],a=t[o],i=e[o];if(void 0===i&&!(o in e)||!a(i))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ve(a);return ka((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,a=ft,i=!0,l=e.length,c=[],s=t.length;if(!l)return c;n&&(t=dt(t,At(n))),r?(a=pt,i=!1):t.length>=200&&(a=jt,i=!1,t=new Ln(t));e:for(;++o<l;){var u=e[o],f=null==n?u:n(u);if(u=r||0!==u?u:0,i&&f==f){for(var p=s;p--;)if(t[p]===f)continue e;c.push(u)}else a(t,f,r)||c.push(u)}return c}In.templateSettings={escape:z,evaluate:M,interpolate:V,variable:"",imports:{_:In}},In.prototype=An.prototype,In.prototype.constructor=In,Cn.prototype=Tn(An.prototype),Cn.prototype.constructor=Cn,jn.prototype=Tn(An.prototype),jn.prototype.constructor=jn,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(sr),nr=xo(ur,!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 a=e[r],i=t(a);if(null!=i&&(void 0===l?i==i&&!Ji(i):n(i,l)))var l=i,c=a}return c}function ar(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var a=-1,i=e.length;for(n||(n=la),o||(o=[]);++a<i;){var l=e[a];t>0&&n(l)?t>1?ir(l,t-1,n,r,o):mt(o,l):r||(o[o.length]=l)}return o}var lr=So(),cr=So(!0);function sr(e,t){return e&&lr(e,t,kl)}function ur(e,t){return e&&cr(e,t,kl)}function fr(e,t){return ut(t,(function(t){return Mi(e[t])}))}function pr(e,t){for(var n=0,r=(t=co(t,e)).length;null!=e&&n<r;)e=e[Pa(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Oi(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=Be.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Be.call(e)}(e)}function gr(e,t){return e>t}function hr(e,t){return null!=e&&xe.call(e,t)}function vr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:ft,a=e[0].length,i=e.length,l=i,c=r(i),s=1/0,u=[];l--;){var f=e[l];l&&t&&(f=dt(f,At(t))),s=cn(f.length,s),c[l]=!n&&(t||a>=120&&f.length>=120)?new Ln(l&&f):void 0}f=e[0];var p=-1,d=c[0];e:for(;++p<a&&u.length<s;){var m=f[p],g=t?t(m):m;if(m=n||0!==m?m:0,!(d?jt(d,g):o(u,g,n))){for(l=i;--l;){var h=c[l];if(!(h?jt(h,g):o(e[l],g,n)))continue e}d&&d.push(g),u.push(m)}}return u}function yr(e,t,n){var r=null==(e=va(e,t=co(t,e)))?e:e[Pa(za(t))];return null==r?void 0:at(r,e,n)}function wr(e){return qi(e)&&mr(e)==c}function kr(e,t,n,r,o){return e===t||(null==e||null==t||!qi(e)&&!qi(t)?e!=e&&t!=t:function(e,t,n,r,o,a){var i=Oi(e),l=Oi(t),d=i?s:oa(e),m=l?s:oa(t),_=(d=d==c?v:d)==v,E=(m=m==c?v:m)==v,B=d==m;if(B&&Di(e)){if(!Di(t))return!1;i=!0,_=!1}if(B&&!_)return a||(a=new Dn),i||Qi(e)?qo(e,t,n,r,o,a):function(e,t,n,r,o,a,i){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||!a(new Oe(e),new Oe(t)));case u:case f:case h:return Ti(+e,+t);case p:return e.name==t.name&&e.message==t.message;case b:case w:return e==t+"";case g:var l=Mt;case y:var c=1&r;if(l||(l=$t),e.size!=t.size&&!c)return!1;var s=i.get(e);if(s)return s==t;r|=2,i.set(e,t);var d=qo(l(e),l(t),r,o,a,i);return i.delete(e),d;case k:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,d,n,r,o,a);if(!(1&n)){var P=_&&xe.call(e,"__wrapped__"),R=E&&xe.call(t,"__wrapped__");if(P||R){var I=P?e.value():e,T=R?t.value():t;return a||(a=new Dn),o(I,T,n,r,a)}}if(!B)return!1;return a||(a=new Dn),function(e,t,n,r,o,a){var i=1&n,l=Yo(e),c=l.length,s=Yo(t).length;if(c!=s&&!i)return!1;var u=c;for(;u--;){var f=l[u];if(!(i?f in t:xe.call(t,f)))return!1}var p=a.get(e),d=a.get(t);if(p&&d)return p==t&&d==e;var m=!0;a.set(e,t),a.set(t,e);var g=i;for(;++u<c;){f=l[u];var h=e[f],v=t[f];if(r)var b=i?r(v,h,f,t,e,a):r(h,v,f,e,t,a);if(!(void 0===b?h===v||o(h,v,n,r,a):b)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){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 a.delete(e),a.delete(t),m}(e,t,n,r,o,a)}(e,t,n,r,kr,o))}function _r(e,t,n,r){var o=n.length,a=o,i=!r;if(null==e)return!a;for(e=me(e);o--;){var l=n[o];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=n[o])[0],s=e[c],u=l[1];if(i&&l[2]){if(void 0===s&&!(c in e))return!1}else{var f=new Dn;if(r)var p=r(s,u,c,e,t,f);if(!(void 0===p?kr(u,s,3,r,f):p))return!1}}return!0}function xr(e){return!(!$i(e)||(t=e,Ee&&Ee in t))&&(Mi(e)?Ie:ie).test(Ra(e));var t}function Sr(e){return"function"==typeof e?e:null==e?Yl:"object"==typeof e?Oi(e)?Tr(e[0],e[1]):Ir(e):nc(e)}function Er(e){if(!da(e))return an(e);var t=[];for(var n in me(e))xe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!$i(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=da(e),n=[];for(var r in e)("constructor"!=r||!t&&xe.call(e,r))&&n.push(r);return n}function Pr(e,t){return e<t}function Rr(e,t){var n=-1,o=Fi(e)?r(e.length):[];return tr(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}function Ir(e){var t=ea(e);return 1==t.length&&t[0][2]?ga(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}}function Tr(e,t){return ua(e)&&ma(t)?ga(Pa(e),t):function(n){var r=hl(n,e);return void 0===r&&r===t?vl(n,e):kr(t,r,3)}}function Ar(e,t,n,r,o){e!==t&&lr(t,(function(a,i){if(o||(o=new Dn),$i(a))!function(e,t,n,r,o,a,i){var l=ya(e,n),c=ya(t,n),s=i.get(c);if(s)return void Un(e,n,s);var u=a?a(l,c,n+"",e,t,i):void 0,f=void 0===u;if(f){var p=Oi(c),d=!p&&Di(c),m=!p&&!d&&Qi(c);u=c,p||d||m?Oi(l)?u=l:Li(l)?u=yo(l):d?(f=!1,u=po(c,!0)):m?(f=!1,u=go(c,!0)):u=[]:Hi(c)||ji(c)?(u=l,ji(l)?u=ll(l):$i(l)&&!Mi(l)||(u=ia(c))):f=!1}f&&(i.set(c,u),o(u,c,r,a,i),i.delete(c));Un(e,n,u)}(e,t,i,n,Ar,r,o);else{var l=r?r(ya(e,i),a,i+"",e,t,o):void 0;void 0===l&&(l=a),Un(e,i,l)}}),_l)}function Cr(e,t){var n=e.length;if(n)return ca(t+=t<0?n:0,n)?e[t]:void 0}function jr(e,t,n){t=t.length?dt(t,(function(e){return Oi(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Yl];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}(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,a=t.criteria,i=o.length,l=n.length;for(;++r<i;){var c=ho(o[r],a[r]);if(c){if(r>=l)return c;var s=n[r];return c*("desc"==s?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var i=t[r],l=pr(e,i);n(l,i)&&Vr(a,co(i,e),l)}return a}function Nr(e,t,n,r){var o=r?_t:kt,a=-1,i=t.length,l=e;for(e===t&&(t=yo(t)),n&&(l=dt(e,At(n)));++a<i;)for(var c=0,s=t[a],u=n?n(s):s;(c=o(l,u,c,r))>-1;)l!==e&&He.call(l,c,1),He.call(e,c,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!==a){var a=o;ca(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 Wr(e,t){return _a(ha(e,t,Yl),e+"")}function zr(e){return zn(Tl(e))}function Mr(e,t){var n=Tl(e);return Ea(n,Zn(t,0,n.length))}function Vr(e,t,n,r){if(!$i(e))return e;for(var o=-1,a=(t=co(t,e)).length,i=a-1,l=e;null!=l&&++o<a;){var c=Pa(t[o]),s=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=i){var u=l[c];void 0===(s=r?r(u,c,l):void 0)&&(s=$i(u)?u:ca(t[o+1])?[]:{})}$n(l,c,s),l=l[c]}return e}var Ur=yn?function(e,t){return yn.set(e,t),e}:Yl,$r=bt?function(e,t){return bt(e,"toString",{configurable:!0,enumerable:!1,value:$l(t),writable:!0})}:Yl;function qr(e){return Ea(Tl(e))}function Gr(e,t,n){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=r(a);++o<a;)i[o]=e[o+t];return i}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 a=r+o>>>1,i=e[a];null!==i&&!Ji(i)&&(n?i<=t:i<t)?r=a+1:o=a}return o}return Kr(e,t,Yl,n)}function Kr(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var i=(t=n(t))!=t,l=null===t,c=Ji(t),s=void 0===t;o<a;){var u=en((o+a)/2),f=n(e[u]),p=void 0!==f,d=null===f,m=f==f,g=Ji(f);if(i)var h=r||m;else h=s?m&&(r||p):l?m&&p&&(r||!d):c?m&&p&&!d&&(r||!g):!d&&!g&&(r?f<=t:f<t);h?o=u+1:a=u}return cn(a,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var i=e[n],l=t?t(i):i;if(!n||!Ti(l,c)){var c=l;a[o++]=0===i?0:i}}return a}function Xr(e){return"number"==typeof e?e:Ji(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Oi(e))return dt(e,Jr)+"";if(Ji(e))return Rn?Rn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ft,a=e.length,i=!0,l=[],c=l;if(n)i=!1,o=pt;else if(a>=200){var s=t?null:Wo(e);if(s)return $t(s);i=!1,o=jt,c=new Ln}else c=t?[]:l;e:for(;++r<a;){var u=e[r],f=t?t(u):u;if(u=n||0!==u?u:0,i&&f==f){for(var p=c.length;p--;)if(c[p]===f)continue e;t&&c.push(f),l.push(u)}else o(c,f,n)||(c!==l&&c.push(f),l.push(u))}return l}function eo(e,t){return null==(e=va(e,t=co(t,e)))||delete e[Pa(za(t))]}function to(e,t,n,r){return Vr(e,t,n(pr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,a=r?o:-1;(r?a--:++a<o)&&t(e[a],a,e););return n?Gr(e,r?0:a,r?a+1:o):Gr(e,r?a+1:0,r?o:a)}function ro(e,t){var n=e;return n instanceof jn&&(n=n.value()),gt(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 a=-1,i=r(o);++a<o;)for(var l=e[a],c=-1;++c<o;)c!=a&&(i[a]=er(i[a]||l,e[c],t,n));return Qr(ir(i,1),t,n)}function ao(e,t,n){for(var r=-1,o=e.length,a=t.length,i={};++r<o;){var l=r<a?t[r]:void 0;n(i,e[r],l)}return i}function io(e){return Li(e)?e:[]}function lo(e){return"function"==typeof e?e:Yl}function co(e,t){return Oi(e)?e:ua(e,t)?[e]:Ba(cl(e))}var so=Wr;function uo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=Bt||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 go(e,t){var n=t?mo(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,a=Ji(e),i=void 0!==t,l=null===t,c=t==t,s=Ji(t);if(!l&&!s&&!a&&e>t||a&&i&&c&&!l&&!s||r&&i&&c||!n&&c||!o)return 1;if(!r&&!a&&!s&&e<t||s&&n&&o&&!r&&!a||l&&n&&o||!i&&o||!c)return-1}return 0}function vo(e,t,n,o){for(var a=-1,i=e.length,l=n.length,c=-1,s=t.length,u=ln(i-l,0),f=r(s+u),p=!o;++c<s;)f[c]=t[c];for(;++a<l;)(p||a<i)&&(f[n[a]]=e[a]);for(;u--;)f[c++]=e[a++];return f}function bo(e,t,n,o){for(var a=-1,i=e.length,l=-1,c=n.length,s=-1,u=t.length,f=ln(i-c,0),p=r(f+u),d=!o;++a<f;)p[a]=e[a];for(var m=a;++s<u;)p[m+s]=t[s];for(;++l<c;)(d||a<i)&&(p[m+n[l]]=e[a++]);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 wo(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var l=t[a],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),o?Hn(n,l,c):$n(n,l,c)}return n}function ko(e,t){return function(n,r){var o=Oi(n)?it:Gn,a=t?t():{};return o(n,e,Jo(r,2),a)}}function _o(e){return Wr((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&sa(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=me(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t}))}function xo(e,t){return function(n,r){if(null==n)return n;if(!Fi(n))return e(n,r);for(var o=n.length,a=t?o:-1,i=me(n);(t?a--:++a<o)&&!1!==r(i[a],a,i););return n}}function So(e){return function(t,n,r){for(var o=-1,a=me(t),i=r(t),l=i.length;l--;){var c=i[e?l:++o];if(!1===n(a[c],c,a))break}return t}}function Eo(e){return function(t){var n=zt(t=cl(t))?Yt(t):void 0,r=n?n[0]:t.charAt(0),o=n?uo(n,1).join(""):t.slice(1);return r[e]()+o}}function Bo(e){return function(t){return gt(Ml(jl(t).replace(Ce,"")),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 $i(r)?r:n}}function Ro(e){return function(t,n,r){var o=me(t);if(!Fi(t)){var a=Jo(n,3);t=kl(t),n=function(e){return a(o[e],e,o)}}var i=e(t,n,r);return i>-1?o[a?t[i]:i]:void 0}}function Io(e){return Go((function(t){var n=t.length,r=n,o=Cn.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new ve(a);if(o&&!l&&"wrapper"==Zo(i))var l=new Cn([],!0)}for(r=l?r:n;++r<n;){var c=Zo(i=t[r]),s="wrapper"==c?Ko(i):void 0;l=s&&fa(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?l[Zo(s[0])].apply(l,s[3]):1==i.length&&fa(i)?l[c]():l.thru(i)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Oi(r))return l.plant(r).value();for(var o=0,a=n?t[o].apply(this,e):r;++o<n;)a=t[o].call(this,a);return a}}))}function To(e,t,n,o,a,i,l,c,s,u){var f=128&t,p=1&t,d=2&t,m=24&t,g=512&t,h=d?void 0:Po(e);return function v(){for(var b=arguments.length,y=r(b),w=b;w--;)y[w]=arguments[w];if(m)var k=Xo(v),_=Ft(y,k);if(o&&(y=vo(y,o,a,m)),i&&(y=bo(y,i,l,m)),b-=_,m&&b<u){var x=Ut(y,k);return Lo(e,t,To,v.placeholder,n,y,x,c,s,u-b)}var S=p?n:this,E=d?S[e]:e;return b=y.length,c?y=ba(y,c):g&&b>1&&y.reverse(),f&&s<b&&(y.length=s),this&&this!==Ye&&this instanceof v&&(E=h||Po(E)),E.apply(S,y)}}function Ao(e,t){return function(n,r){return function(e,t,n,r){return sr(e,(function(e,o,a){t(r,n(e),o,a)})),r}(n,e,t(r),{})}}function Co(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 jo(e){return Go((function(t){return t=dt(t,At(Jo())),Wr((function(n){var r=this;return e(t,(function(e){return at(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 zt(t)?uo(Yt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&sa(t,n,o)&&(n=o=void 0),t=rl(t),void 0===n?(n=t,t=0):n=rl(n),function(e,t,n,o){for(var a=-1,i=ln(Qt((t-e)/(n||1)),0),l=r(i);i--;)l[o?i:++a]=e,e+=n;return l}(t,n,o=void 0===o?t<n?1:-1:rl(o),e)}}function Fo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=il(t),n=il(n)),e(t,n)}}function Lo(e,t,n,r,o,a,i,l,c,s){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var f=[e,t,o,u?a:void 0,u?i:void 0,u?void 0:a,u?void 0:i,l,c,s],p=n.apply(void 0,f);return fa(e)&&wa(p,f),p.placeholder=r,xa(p,e,t)}function Do(e){var t=de[e];return function(e,n){if(e=il(e),(n=null==n?0:cn(ol(n),292))&&rn(e)){var r=(cl(e)+"e").split("e");return+((r=(cl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Wo=hn&&1/$t(new hn([,-0]))[1]==1/0?function(e){return new hn(e)}:Jl;function zo(e){return function(t){var n=oa(t);return n==g?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,l,c,s,u){var f=2&t;if(!f&&"function"!=typeof e)throw new ve(a);var p=o?o.length:0;if(p||(t&=-97,o=l=void 0),s=void 0===s?s:ln(ol(s),0),u=void 0===u?u:ol(u),p-=l?l.length:0,64&t){var d=o,m=l;o=l=void 0}var g=f?void 0:Ko(e),h=[e,t,n,o,l,d,m,c,s,u];if(g&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,l=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var s=e[3];e[3]=s?vo(s,c,t[4]):c,e[4]=s?Ut(e[3],i):t[4]}(c=t[5])&&(s=e[5],e[5]=s?bo(s,c,t[6]):c,e[6]=s?Ut(e[5],i):t[6]);(c=t[7])&&(e[7]=c);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}(h,g),e=h[0],t=h[1],n=h[2],o=h[3],l=h[4],!(u=h[9]=void 0===h[9]?f?0:e.length:ln(h[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,n){var o=Po(e);return function a(){for(var i=arguments.length,l=r(i),c=i,s=Xo(a);c--;)l[c]=arguments[c];var u=i<3&&l[0]!==s&&l[i-1]!==s?[]:Ut(l,s);if((i-=u.length)<n)return Lo(e,t,To,a.placeholder,void 0,l,u,void 0,void 0,n-i);var f=this&&this!==Ye&&this instanceof a?o:e;return at(f,this,l)}}(e,t,u):32!=t&&33!=t||l.length?To.apply(void 0,h):function(e,t,n,o){var a=1&t,i=Po(e);return function t(){for(var l=-1,c=arguments.length,s=-1,u=o.length,f=r(u+c),p=this&&this!==Ye&&this instanceof t?i:e;++s<u;)f[s]=o[s];for(;c--;)f[s++]=arguments[++l];return at(p,a?n:this,f)}}(e,t,n,o);else var v=function(e,t,n){var r=1&t,o=Po(e);return function t(){var a=this&&this!==Ye&&this instanceof t?o:e;return a.apply(r?n:this,arguments)}}(e,t,n);return xa((g?Ur:wa)(v,h),e,t)}function Vo(e,t,n,r){return void 0===e||Ti(e,we[n])&&!xe.call(r,n)?t:e}function Uo(e,t,n,r,o,a){return $i(e)&&$i(t)&&(a.set(t,e),Ar(e,t,void 0,Uo,a),a.delete(t)),e}function $o(e){return Hi(e)?void 0:e}function qo(e,t,n,r,o,a){var i=1&n,l=e.length,c=t.length;if(l!=c&&!(i&&c>l))return!1;var s=a.get(e),u=a.get(t);if(s&&u)return s==t&&u==e;var f=-1,p=!0,d=2&n?new Ln:void 0;for(a.set(e,t),a.set(t,e);++f<l;){var m=e[f],g=t[f];if(r)var h=i?r(g,m,f,t,e,a):r(m,g,f,e,t,a);if(void 0!==h){if(h)continue;p=!1;break}if(d){if(!vt(t,(function(e,t){if(!jt(d,t)&&(m===e||o(m,e,n,r,a)))return d.push(t)}))){p=!1;break}}else if(m!==g&&!o(m,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function Go(e){return _a(ha(e,void 0,Na),e+"")}function Yo(e){return dr(e,kl,na)}function Ho(e){return dr(e,_l,ra)}var Ko=yn?function(e){return yn.get(e)}:Jl;function Zo(e){for(var t=e.name+"",n=wn[t],r=xe.call(wn,t)?n.length:0;r--;){var o=n[r],a=o.func;if(null==a||a==e)return o.name}return t}function Xo(e){return(xe.call(In,"placeholder")?In:e).placeholder}function Jo(){var e=In.iteratee||Hl;return e=e===Hl?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 ea(e){for(var t=kl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ma(o)]}return t}function ta(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xr(n)?n:void 0}var na=tn?function(e){return null==e?[]:(e=me(e),ut(tn(e),(function(t){return Ge.call(e,t)})))}:ac,ra=tn?function(e){for(var t=[];e;)mt(t,na(e)),e=Ve(e);return t}:ac,oa=mr;function aa(e,t,n){for(var r=-1,o=(t=co(t,e)).length,a=!1;++r<o;){var i=Pa(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||++r!=o?a:!!(o=null==e?0:e.length)&&Ui(o)&&ca(i,o)&&(Oi(e)||ji(e))}function ia(e){return"function"!=typeof e.constructor||da(e)?{}:Tn(Ve(e))}function la(e){return Oi(e)||ji(e)||!!(Ke&&e&&e[Ke])}function ca(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ce.test(e))&&e>-1&&e%1==0&&e<t}function sa(e,t,n){if(!$i(n))return!1;var r=typeof t;return!!("number"==r?Fi(n)&&ca(t,n.length):"string"==r&&t in n)&&Ti(n[t],e)}function ua(e,t){if(Oi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ji(e))||($.test(e)||!U.test(e)||null!=t&&e in me(t))}function fa(e){var t=Zo(e),n=In[t];if("function"!=typeof n||!(t in jn.prototype))return!1;if(e===n)return!0;var r=Ko(n);return!!r&&e===r[0]}(dn&&oa(new dn(new ArrayBuffer(1)))!=S||mn&&oa(new mn)!=g||gn&&"[object Promise]"!=oa(gn.resolve())||hn&&oa(new hn)!=y||vn&&oa(new vn)!=_)&&(oa=function(e){var t=mr(e),n=t==v?e.constructor:void 0,r=n?Ra(n):"";if(r)switch(r){case kn:return S;case _n:return g;case xn:return"[object Promise]";case Sn:return y;case En:return _}return t});var pa=ke?Mi:ic;function da(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||we)}function ma(e){return e==e&&!$i(e)}function ga(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function ha(e,t,n){return t=ln(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,i=ln(o.length-t,0),l=r(i);++a<i;)l[a]=o[t+a];a=-1;for(var c=r(t+1);++a<t;)c[a]=o[a];return c[t]=n(l),at(e,this,c)}}function va(e,t){return t.length<2?e:pr(e,Gr(t,0,-1))}function ba(e,t){for(var n=e.length,r=cn(t.length,n),o=yo(e);r--;){var a=t[r];e[r]=ca(a,n)?o[a]:void 0}return e}function ya(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wa=Sa(Ur),ka=Jt||function(e,t){return Ye.setTimeout(e,t)},_a=Sa($r);function xa(e,t,n){var r=t+"";return _a(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 lt(l,(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 Sa(e){var t=0,n=0;return function(){var r=sn(),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 Ea(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var a=Lr(n,o),i=e[a];e[a]=e[n],e[n]=i}return e.length=t,e}var Ba=function(e){var t=Si(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 Pa(e){if("string"==typeof e||Ji(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ra(e){if(null!=e){try{return _e.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ia(e){if(e instanceof jn)return e.clone();var t=new Cn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ta=Wr((function(e,t){return Li(e)?er(e,ir(t,1,Li,!0)):[]})),Aa=Wr((function(e,t){var n=za(t);return Li(n)&&(n=void 0),Li(e)?er(e,ir(t,1,Li,!0),Jo(n,2)):[]})),Ca=Wr((function(e,t){var n=za(t);return Li(n)&&(n=void 0),Li(e)?er(e,ir(t,1,Li,!0),void 0,n):[]}));function ja(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ol(n);return o<0&&(o=ln(r+o,0)),wt(e,Jo(t,3),o)}function Oa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=ol(n),o=n<0?ln(r+o,0):cn(o,r-1)),wt(e,Jo(t,3),o,!0)}function Na(e){return(null==e?0:e.length)?ir(e,1):[]}function Fa(e){return e&&e.length?e[0]:void 0}var La=Wr((function(e){var t=dt(e,io);return t.length&&t[0]===e[0]?br(t):[]})),Da=Wr((function(e){var t=za(e),n=dt(e,io);return t===za(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Jo(t,2)):[]})),Wa=Wr((function(e){var t=za(e),n=dt(e,io);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function za(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ma=Wr(Va);function Va(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Ua=Go((function(e,t){var n=null==e?0:e.length,r=Kn(e,t);return Fr(e,dt(t,(function(e){return ca(e,n)?+e:e})).sort(ho)),r}));function $a(e){return null==e?e:pn.call(e)}var qa=Wr((function(e){return Qr(ir(e,1,Li,!0))})),Ga=Wr((function(e){var t=za(e);return Li(t)&&(t=void 0),Qr(ir(e,1,Li,!0),Jo(t,2))})),Ya=Wr((function(e){var t=za(e);return t="function"==typeof t?t:void 0,Qr(ir(e,1,Li,!0),void 0,t)}));function Ha(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Li(e))return t=ln(e.length,t),!0})),It(t,(function(t){return dt(e,Et(t))}))}function Ka(e,t){if(!e||!e.length)return[];var n=Ha(e);return null==t?n:dt(n,(function(e){return at(t,void 0,e)}))}var Za=Wr((function(e,t){return Li(e)?er(e,t):[]})),Xa=Wr((function(e){return oo(ut(e,Li))})),Ja=Wr((function(e){var t=za(e);return Li(t)&&(t=void 0),oo(ut(e,Li),Jo(t,2))})),Qa=Wr((function(e){var t=za(e);return t="function"==typeof t?t:void 0,oo(ut(e,Li),void 0,t)})),ei=Wr(Ha);var ti=Wr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ka(e,n)}));function ni(e){var t=In(e);return t.__chain__=!0,t}function ri(e,t){return t(e)}var oi=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 jn&&ca(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ri,args:[o],thisArg:void 0}),new Cn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ai=ko((function(e,t,n){xe.call(e,n)?++e[n]:Hn(e,n,1)}));var ii=Ro(ja),li=Ro(Oa);function ci(e,t){return(Oi(e)?lt:tr)(e,Jo(t,3))}function si(e,t){return(Oi(e)?ct:nr)(e,Jo(t,3))}var ui=ko((function(e,t,n){xe.call(e,n)?e[n].push(t):Hn(e,n,[t])}));var fi=Wr((function(e,t,n){var o=-1,a="function"==typeof t,i=Fi(e)?r(e.length):[];return tr(e,(function(e){i[++o]=a?at(t,e,n):yr(e,t,n)})),i})),pi=ko((function(e,t,n){Hn(e,n,t)}));function di(e,t){return(Oi(e)?dt:Rr)(e,Jo(t,3))}var mi=ko((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var gi=Wr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&sa(e,t[0],t[1])?t=[]:n>2&&sa(t[0],t[1],t[2])&&(t=[t[0]]),jr(e,ir(t,1),[])})),hi=Xt||function(){return Ye.Date.now()};function vi(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 bi(e,t){var n;if("function"!=typeof t)throw new ve(a);return e=ol(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var yi=Wr((function(e,t,n){var r=1;if(n.length){var o=Ut(n,Xo(yi));r|=32}return Mo(e,r,t,n,o)})),wi=Wr((function(e,t,n){var r=3;if(n.length){var o=Ut(n,Xo(wi));r|=32}return Mo(t,r,e,n,o)}));function ki(e,t,n){var r,o,i,l,c,s,u=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ve(a);function m(t){var n=r,a=o;return r=o=void 0,u=t,l=e.apply(a,n)}function g(e){return u=e,c=ka(v,t),f?m(e):l}function h(e){var n=e-s;return void 0===s||n>=t||n<0||p&&e-u>=i}function v(){var e=hi();if(h(e))return b(e);c=ka(v,function(e){var n=t-(e-s);return p?cn(n,i-(e-u)):n}(e))}function b(e){return c=void 0,d&&r?m(e):(r=o=void 0,l)}function y(){var e=hi(),n=h(e);if(r=arguments,o=this,s=e,n){if(void 0===c)return g(s);if(p)return fo(c),c=ka(v,t),m(s)}return void 0===c&&(c=ka(v,t)),l}return t=il(t)||0,$i(n)&&(f=!!n.leading,i=(p="maxWait"in n)?ln(il(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==c&&fo(c),u=0,r=s=o=c=void 0},y.flush=function(){return void 0===c?l:b(hi())},y}var _i=Wr((function(e,t){return Qn(e,1,t)})),xi=Wr((function(e,t,n){return Qn(e,il(t)||0,n)}));function Si(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(a);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Si.Cache||Fn),n}function Ei(e){if("function"!=typeof e)throw new ve(a);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)}}Si.Cache=Fn;var Bi=so((function(e,t){var n=(t=1==t.length&&Oi(t[0])?dt(t[0],At(Jo())):dt(ir(t,1),At(Jo()))).length;return Wr((function(r){for(var o=-1,a=cn(r.length,n);++o<a;)r[o]=t[o].call(this,r[o]);return at(e,this,r)}))})),Pi=Wr((function(e,t){return Mo(e,32,void 0,t,Ut(t,Xo(Pi)))})),Ri=Wr((function(e,t){return Mo(e,64,void 0,t,Ut(t,Xo(Ri)))})),Ii=Go((function(e,t){return Mo(e,256,void 0,void 0,void 0,t)}));function Ti(e,t){return e===t||e!=e&&t!=t}var Ai=Fo(gr),Ci=Fo((function(e,t){return e>=t})),ji=wr(function(){return arguments}())?wr:function(e){return qi(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Oi=r.isArray,Ni=Qe?At(Qe):function(e){return qi(e)&&mr(e)==x};function Fi(e){return null!=e&&Ui(e.length)&&!Mi(e)}function Li(e){return qi(e)&&Fi(e)}var Di=nn||ic,Wi=et?At(et):function(e){return qi(e)&&mr(e)==f};function zi(e){if(!qi(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Hi(e)}function Mi(e){if(!$i(e))return!1;var t=mr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Vi(e){return"number"==typeof e&&e==ol(e)}function Ui(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $i(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qi(e){return null!=e&&"object"==typeof e}var Gi=tt?At(tt):function(e){return qi(e)&&oa(e)==g};function Yi(e){return"number"==typeof e||qi(e)&&mr(e)==h}function Hi(e){if(!qi(e)||mr(e)!=v)return!1;var t=Ve(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_e.call(n)==Pe}var Ki=nt?At(nt):function(e){return qi(e)&&mr(e)==b};var Zi=rt?At(rt):function(e){return qi(e)&&oa(e)==y};function Xi(e){return"string"==typeof e||!Oi(e)&&qi(e)&&mr(e)==w}function Ji(e){return"symbol"==typeof e||qi(e)&&mr(e)==k}var Qi=ot?At(ot):function(e){return qi(e)&&Ui(e.length)&&!!ze[mr(e)]};var el=Fo(Pr),tl=Fo((function(e,t){return e<=t}));function nl(e){if(!e)return[];if(Fi(e))return Xi(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=oa(e);return(t==g?Mt:t==y?$t:Tl)(e)}function rl(e){return e?(e=il(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ol(e){var t=rl(e),n=t%1;return t==t?n?t-n:t:0}function al(e){return e?Zn(ol(e),0,4294967295):0}function il(e){if("number"==typeof e)return e;if(Ji(e))return NaN;if($i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ae.test(e);return n||le.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function ll(e){return wo(e,_l(e))}function cl(e){return null==e?"":Jr(e)}var sl=_o((function(e,t){if(da(t)||Fi(t))wo(t,kl(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),ul=_o((function(e,t){wo(t,_l(t),e)})),fl=_o((function(e,t,n,r){wo(t,_l(t),e,r)})),pl=_o((function(e,t,n,r){wo(t,kl(t),e,r)})),dl=Go(Kn);var ml=Wr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&sa(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],i=_l(a),l=-1,c=i.length;++l<c;){var s=i[l],u=e[s];(void 0===u||Ti(u,we[s])&&!xe.call(e,s))&&(e[s]=a[s])}return e})),gl=Wr((function(e){return e.push(void 0,Uo),at(Sl,void 0,e)}));function hl(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function vl(e,t){return null!=e&&aa(e,t,vr)}var bl=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),$l(Yl)),yl=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),xe.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),wl=Wr(yr);function kl(e){return Fi(e)?Wn(e):Er(e)}function _l(e){return Fi(e)?Wn(e,!0):Br(e)}var xl=_o((function(e,t,n){Ar(e,t,n)})),Sl=_o((function(e,t,n,r){Ar(e,t,n,r)})),El=Go((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})),wo(e,Ho(e),n),r&&(n=Xn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Bl=Go((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return vl(e,n)}))}(e,t)}));function Pl(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 Rl=zo(kl),Il=zo(_l);function Tl(e){return null==e?[]:Ct(e,kl(e))}var Al=Bo((function(e,t,n){return t=t.toLowerCase(),e+(n?Cl(t):t)}));function Cl(e){return zl(cl(e).toLowerCase())}function jl(e){return(e=cl(e))&&e.replace(se,Lt).replace(je,"")}var Ol=Bo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nl=Bo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fl=Eo("toLowerCase");var Ll=Bo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dl=Bo((function(e,t,n){return e+(n?" ":"")+zl(t)}));var Wl=Bo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),zl=Eo("toUpperCase");function Ml(e,t,n){return e=cl(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 Vl=Wr((function(e,t){try{return at(e,void 0,t)}catch(e){return zi(e)?e:new K(e)}})),Ul=Go((function(e,t){return lt(t,(function(t){t=Pa(t),Hn(e,t,yi(e[t],e))})),e}));function $l(e){return function(){return e}}var ql=Io(),Gl=Io(!0);function Yl(e){return e}function Hl(e){return Sr("function"==typeof e?e:Xn(e,1))}var Kl=Wr((function(e,t){return function(n){return yr(n,e,t)}})),Zl=Wr((function(e,t){return function(n){return yr(e,n,t)}}));function Xl(e,t,n){var r=kl(t),o=fr(t,r);null!=n||$i(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,kl(t)));var a=!($i(n)&&"chain"in n&&!n.chain),i=Mi(e);return lt(o,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(a||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 Jl(){}var Ql=jo(dt),ec=jo(st),tc=jo(vt);function nc(e){return ua(e)?Et(Pa(e)):function(e){return function(t){return pr(t,e)}}(e)}var rc=No(),oc=No(!0);function ac(){return[]}function ic(){return!1}var lc=Co((function(e,t){return e+t}),0),cc=Do("ceil"),sc=Co((function(e,t){return e/t}),1),uc=Do("floor");var fc,pc=Co((function(e,t){return e*t}),1),dc=Do("round"),mc=Co((function(e,t){return e-t}),0);return In.after=function(e,t){if("function"!=typeof t)throw new ve(a);return e=ol(e),function(){if(--e<1)return t.apply(this,arguments)}},In.ary=vi,In.assign=sl,In.assignIn=ul,In.assignInWith=fl,In.assignWith=pl,In.at=dl,In.before=bi,In.bind=yi,In.bindAll=Ul,In.bindKey=wi,In.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Oi(e)?e:[e]},In.chain=ni,In.chunk=function(e,t,n){t=(n?sa(e,t,n):void 0===t)?1:ln(ol(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,i=0,l=r(Qt(o/t));a<o;)l[i++]=Gr(e,a,a+=t);return l},In.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}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(Oi(n)?yo(n):[n],ir(t,1))},In.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 ve(a);return[n(e[0]),e[1]]})):[],Wr((function(n){for(var r=-1;++r<t;){var o=e[r];if(at(o[0],this,n))return at(o[1],this,n)}}))},In.conforms=function(e){return function(e){var t=kl(e);return function(n){return Jn(n,e,t)}}(Xn(e,1))},In.constant=$l,In.countBy=ai,In.create=function(e,t){var n=Tn(e);return null==t?n:Yn(n,t)},In.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},In.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},In.debounce=ki,In.defaults=ml,In.defaultsDeep=gl,In.defer=_i,In.delay=xi,In.difference=Ta,In.differenceBy=Aa,In.differenceWith=Ca,In.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:ol(t))<0?0:t,r):[]},In.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:ol(t)))<0?0:t):[]},In.dropRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0,!0):[]},In.dropWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0):[]},In.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&sa(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=ol(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:ol(r))<0&&(r+=o),r=n>r?0:al(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},In.filter=function(e,t){return(Oi(e)?ut:ar)(e,Jo(t,3))},In.flatMap=function(e,t){return ir(di(e,t),1)},In.flatMapDeep=function(e,t){return ir(di(e,t),1/0)},In.flatMapDepth=function(e,t,n){return n=void 0===n?1:ol(n),ir(di(e,t),n)},In.flatten=Na,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:ol(t)):[]},In.flip=function(e){return Mo(e,512)},In.flow=ql,In.flowRight=Gl,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?[]:fr(e,kl(e))},In.functionsIn=function(e){return null==e?[]:fr(e,_l(e))},In.groupBy=ui,In.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},In.intersection=La,In.intersectionBy=Da,In.intersectionWith=Wa,In.invert=bl,In.invertBy=yl,In.invokeMap=fi,In.iteratee=Hl,In.keyBy=pi,In.keys=kl,In.keysIn=_l,In.map=di,In.mapKeys=function(e,t){var n={};return t=Jo(t,3),sr(e,(function(e,r,o){Hn(n,t(e,r,o),e)})),n},In.mapValues=function(e,t){var n={};return t=Jo(t,3),sr(e,(function(e,r,o){Hn(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=Si,In.merge=xl,In.mergeWith=Sl,In.method=Kl,In.methodOf=Zl,In.mixin=Xl,In.negate=Ei,In.nthArg=function(e){return e=ol(e),Wr((function(t){return Cr(t,e)}))},In.omit=El,In.omitBy=function(e,t){return Pl(e,Ei(Jo(t)))},In.once=function(e){return bi(2,e)},In.orderBy=function(e,t,n,r){return null==e?[]:(Oi(t)||(t=null==t?[]:[t]),Oi(n=r?void 0:n)||(n=null==n?[]:[n]),jr(e,t,n))},In.over=Ql,In.overArgs=Bi,In.overEvery=ec,In.overSome=tc,In.partial=Pi,In.partialRight=Ri,In.partition=mi,In.pick=Bl,In.pickBy=Pl,In.property=nc,In.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},In.pull=Ma,In.pullAll=Va,In.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Jo(n,2)):e},In.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},In.pullAt=Ua,In.range=rc,In.rangeRight=oc,In.rearg=Ii,In.reject=function(e,t){return(Oi(e)?ut:ar)(e,Ei(Jo(t,3)))},In.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=Jo(t,3);++r<a;){var i=e[r];t(i,r,e)&&(n.push(i),o.push(r))}return Fr(e,o),n},In.rest=function(e,t){if("function"!=typeof e)throw new ve(a);return Wr(e,t=void 0===t?t:ol(t))},In.reverse=$a,In.sampleSize=function(e,t,n){return t=(n?sa(e,t,n):void 0===t)?1:ol(t),(Oi(e)?Mn:Mr)(e,t)},In.set=function(e,t,n){return null==e?e:Vr(e,t,n)},In.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Vr(e,t,n,r)},In.shuffle=function(e){return(Oi(e)?Vn:qr)(e)},In.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&sa(e,t,n)?(t=0,n=r):(t=null==t?0:ol(t),n=void 0===n?r:ol(n)),Gr(e,t,n)):[]},In.sortBy=gi,In.sortedUniq=function(e){return e&&e.length?Zr(e):[]},In.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Jo(t,2)):[]},In.split=function(e,t,n){return n&&"number"!=typeof n&&sa(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=cl(e))&&("string"==typeof t||null!=t&&!Ki(t))&&!(t=Jr(t))&&zt(e)?uo(Yt(e),0,n):e.split(t,n):[]},In.spread=function(e,t){if("function"!=typeof e)throw new ve(a);return t=null==t?0:ln(ol(t),0),Wr((function(n){var r=n[t],o=uo(n,0,t);return r&&mt(o,r),at(e,this,o)}))},In.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},In.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:ol(t))<0?0:t):[]},In.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:ol(t)))<0?0:t,r):[]},In.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},In.takeWhile=function(e,t){return e&&e.length?no(e,Jo(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 ve(a);return $i(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ki(e,t,{leading:r,maxWait:t,trailing:o})},In.thru=ri,In.toArray=nl,In.toPairs=Rl,In.toPairsIn=Il,In.toPath=function(e){return Oi(e)?dt(e,Pa):Ji(e)?[e]:yo(Ba(cl(e)))},In.toPlainObject=ll,In.transform=function(e,t,n){var r=Oi(e),o=r||Di(e)||Qi(e);if(t=Jo(t,4),null==n){var a=e&&e.constructor;n=o?r?new a:[]:$i(e)&&Mi(a)?Tn(Ve(e)):{}}return(o?lt:sr)(e,(function(e,r,o){return t(n,e,r,o)})),n},In.unary=function(e){return vi(e,1)},In.union=qa,In.unionBy=Ga,In.unionWith=Ya,In.uniq=function(e){return e&&e.length?Qr(e):[]},In.uniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},In.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},In.unset=function(e,t){return null==e||eo(e,t)},In.unzip=Ha,In.unzipWith=Ka,In.update=function(e,t,n){return null==e?e:to(e,t,lo(n))},In.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,lo(n),r)},In.values=Tl,In.valuesIn=function(e){return null==e?[]:Ct(e,_l(e))},In.without=Za,In.words=Ml,In.wrap=function(e,t){return Pi(lo(t),e)},In.xor=Xa,In.xorBy=Ja,In.xorWith=Qa,In.zip=ei,In.zipObject=function(e,t){return ao(e||[],t||[],$n)},In.zipObjectDeep=function(e,t){return ao(e||[],t||[],Vr)},In.zipWith=ti,In.entries=Rl,In.entriesIn=Il,In.extend=ul,In.extendWith=fl,Xl(In,In),In.add=lc,In.attempt=Vl,In.camelCase=Al,In.capitalize=Cl,In.ceil=cc,In.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=il(n))==n?n:0),void 0!==t&&(t=(t=il(t))==t?t:0),Zn(il(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||Jn(e,t,kl(t))},In.deburr=jl,In.defaultTo=function(e,t){return null==e||e!=e?t:e},In.divide=sc,In.endsWith=function(e,t,n){e=cl(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Zn(ol(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},In.eq=Ti,In.escape=function(e){return(e=cl(e))&&W.test(e)?e.replace(L,Dt):e},In.escapeRegExp=function(e){return(e=cl(e))&&Y.test(e)?e.replace(G,"\\$&"):e},In.every=function(e,t,n){var r=Oi(e)?st:rr;return n&&sa(e,t,n)&&(t=void 0),r(e,Jo(t,3))},In.find=ii,In.findIndex=ja,In.findKey=function(e,t){return yt(e,Jo(t,3),sr)},In.findLast=li,In.findLastIndex=Oa,In.findLastKey=function(e,t){return yt(e,Jo(t,3),ur)},In.floor=uc,In.forEach=ci,In.forEachRight=si,In.forIn=function(e,t){return null==e?e:lr(e,Jo(t,3),_l)},In.forInRight=function(e,t){return null==e?e:cr(e,Jo(t,3),_l)},In.forOwn=function(e,t){return e&&sr(e,Jo(t,3))},In.forOwnRight=function(e,t){return e&&ur(e,Jo(t,3))},In.get=hl,In.gt=Ai,In.gte=Ci,In.has=function(e,t){return null!=e&&aa(e,t,hr)},In.hasIn=vl,In.head=Fa,In.identity=Yl,In.includes=function(e,t,n,r){e=Fi(e)?e:Tl(e),n=n&&!r?ol(n):0;var o=e.length;return n<0&&(n=ln(o+n,0)),Xi(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(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:ol(n);return o<0&&(o=ln(r+o,0)),kt(e,t,o)},In.inRange=function(e,t,n){return t=rl(t),void 0===n?(n=t,t=0):n=rl(n),function(e,t,n){return e>=cn(t,n)&&e<ln(t,n)}(e=il(e),t,n)},In.invoke=wl,In.isArguments=ji,In.isArray=Oi,In.isArrayBuffer=Ni,In.isArrayLike=Fi,In.isArrayLikeObject=Li,In.isBoolean=function(e){return!0===e||!1===e||qi(e)&&mr(e)==u},In.isBuffer=Di,In.isDate=Wi,In.isElement=function(e){return qi(e)&&1===e.nodeType&&!Hi(e)},In.isEmpty=function(e){if(null==e)return!0;if(Fi(e)&&(Oi(e)||"string"==typeof e||"function"==typeof e.splice||Di(e)||Qi(e)||ji(e)))return!e.length;var t=oa(e);if(t==g||t==y)return!e.size;if(da(e))return!Er(e).length;for(var n in e)if(xe.call(e,n))return!1;return!0},In.isEqual=function(e,t){return kr(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?kr(e,t,void 0,n):!!r},In.isError=zi,In.isFinite=function(e){return"number"==typeof e&&rn(e)},In.isFunction=Mi,In.isInteger=Vi,In.isLength=Ui,In.isMap=Gi,In.isMatch=function(e,t){return e===t||_r(e,t,ea(t))},In.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,_r(e,t,ea(t),n)},In.isNaN=function(e){return Yi(e)&&e!=+e},In.isNative=function(e){if(pa(e))throw new K("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(e)},In.isNil=function(e){return null==e},In.isNull=function(e){return null===e},In.isNumber=Yi,In.isObject=$i,In.isObjectLike=qi,In.isPlainObject=Hi,In.isRegExp=Ki,In.isSafeInteger=function(e){return Vi(e)&&e>=-9007199254740991&&e<=9007199254740991},In.isSet=Zi,In.isString=Xi,In.isSymbol=Ji,In.isTypedArray=Qi,In.isUndefined=function(e){return void 0===e},In.isWeakMap=function(e){return qi(e)&&oa(e)==_},In.isWeakSet=function(e){return qi(e)&&"[object WeakSet]"==mr(e)},In.join=function(e,t){return null==e?"":on.call(e,t)},In.kebabCase=Ol,In.last=za,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=ol(n))<0?ln(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=Nl,In.lowerFirst=Fl,In.lt=el,In.lte=tl,In.max=function(e){return e&&e.length?or(e,Yl,gr):void 0},In.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),gr):void 0},In.mean=function(e){return St(e,Yl)},In.meanBy=function(e,t){return St(e,Jo(t,2))},In.min=function(e){return e&&e.length?or(e,Yl,Pr):void 0},In.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Pr):void 0},In.stubArray=ac,In.stubFalse=ic,In.stubObject=function(){return{}},In.stubString=function(){return""},In.stubTrue=function(){return!0},In.multiply=pc,In.nth=function(e,t){return e&&e.length?Cr(e,ol(t)):void 0},In.noConflict=function(){return Ye._===this&&(Ye._=Re),this},In.noop=Jl,In.now=hi,In.pad=function(e,t,n){e=cl(e);var r=(t=ol(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)},In.padEnd=function(e,t,n){e=cl(e);var r=(t=ol(t))?Gt(e):0;return t&&r<t?e+Oo(t-r,n):e},In.padStart=function(e,t,n){e=cl(e);var r=(t=ol(t))?Gt(e):0;return t&&r<t?Oo(t-r,n)+e:e},In.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(cl(e).replace(H,""),t||0)},In.random=function(e,t,n){if(n&&"boolean"!=typeof n&&sa(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=rl(e),void 0===t?(t=e,e=0):t=rl(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return cn(e+o*(t-e+Ue("1e-"+((o+"").length-1))),t)}return Lr(e,t)},In.reduce=function(e,t,n){var r=Oi(e)?gt:Pt,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},In.reduceRight=function(e,t,n){var r=Oi(e)?ht:Pt,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},In.repeat=function(e,t,n){return t=(n?sa(e,t,n):void 0===t)?1:ol(t),Dr(cl(e),t)},In.replace=function(){var e=arguments,t=cl(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 a=null==e?void 0:e[Pa(t[r])];void 0===a&&(r=o,a=n),e=Mi(a)?a.call(e):a}return e},In.round=dc,In.runInContext=e,In.sample=function(e){return(Oi(e)?zn:zr)(e)},In.size=function(e){if(null==e)return 0;if(Fi(e))return Xi(e)?Gt(e):e.length;var t=oa(e);return t==g||t==y?e.size:Er(e).length},In.snakeCase=Ll,In.some=function(e,t,n){var r=Oi(e)?vt:Yr;return n&&sa(e,t,n)&&(t=void 0),r(e,Jo(t,3))},In.sortedIndex=function(e,t){return Hr(e,t)},In.sortedIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2))},In.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Hr(e,t);if(r<n&&Ti(e[r],t))return r}return-1},In.sortedLastIndex=function(e,t){return Hr(e,t,!0)},In.sortedLastIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2),!0)},In.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Hr(e,t,!0)-1;if(Ti(e[n],t))return n}return-1},In.startCase=Dl,In.startsWith=function(e,t,n){return e=cl(e),n=null==n?0:Zn(ol(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},In.subtract=mc,In.sum=function(e){return e&&e.length?Rt(e,Yl):0},In.sumBy=function(e,t){return e&&e.length?Rt(e,Jo(t,2)):0},In.template=function(e,t,n){var r=In.templateSettings;n&&sa(e,t,n)&&(t=void 0),e=cl(e),t=fl({},t,r,Vo);var o,a,i=fl({},t.imports,r.imports,Vo),l=kl(i),c=Ct(i,l),s=0,u=t.interpolate||ue,f="__p += '",p=ge((t.escape||ue).source+"|"+u.source+"|"+(u===V?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),d="//# sourceURL="+(xe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++We+"]")+"\n";e.replace(p,(function(t,n,r,i,l,c){return r||(r=i),f+=e.slice(s,c).replace(fe,Wt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),l&&(a=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=c+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=(a?f.replace(j,""):f).replace(O,"$1").replace(N,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Vl((function(){return pe(l,d+"return "+f).apply(void 0,c)}));if(g.source=f,zi(g))throw g;return g},In.times=function(e,t){if((e=ol(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var o=It(r,t=Jo(t));++n<e;)t(n);return o},In.toFinite=rl,In.toInteger=ol,In.toLength=al,In.toLower=function(e){return cl(e).toLowerCase()},In.toNumber=il,In.toSafeInteger=function(e){return e?Zn(ol(e),-9007199254740991,9007199254740991):0===e?e:0},In.toString=cl,In.toUpper=function(e){return cl(e).toUpperCase()},In.trim=function(e,t,n){if((e=cl(e))&&(n||void 0===t))return Tt(e);if(!e||!(t=Jr(t)))return e;var r=Yt(e),o=Yt(t);return uo(r,Ot(r,o),Nt(r,o)+1).join("")},In.trimEnd=function(e,t,n){if((e=cl(e))&&(n||void 0===t))return e.slice(0,Ht(e)+1);if(!e||!(t=Jr(t)))return e;var r=Yt(e);return uo(r,0,Nt(r,Yt(t))+1).join("")},In.trimStart=function(e,t,n){if((e=cl(e))&&(n||void 0===t))return e.replace(H,"");if(!e||!(t=Jr(t)))return e;var r=Yt(e);return uo(r,Ot(r,Yt(t))).join("")},In.truncate=function(e,t){var n=30,r="...";if($i(t)){var o="separator"in t?t.separator:o;n="length"in t?ol(t.length):n,r="omission"in t?Jr(t.omission):r}var a=(e=cl(e)).length;if(zt(e)){var i=Yt(e);a=i.length}if(n>=a)return e;var l=n-Gt(r);if(l<1)return r;var c=i?uo(i,0,l).join(""):e.slice(0,l);if(void 0===o)return c+r;if(i&&(l+=c.length-l),Ki(o)){if(e.slice(l).search(o)){var s,u=c;for(o.global||(o=ge(o.source,cl(re.exec(o))+"g")),o.lastIndex=0;s=o.exec(u);)var f=s.index;c=c.slice(0,void 0===f?l:f)}}else if(e.indexOf(Jr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},In.unescape=function(e){return(e=cl(e))&&D.test(e)?e.replace(F,Kt):e},In.uniqueId=function(e){var t=++Se;return cl(e)+t},In.upperCase=Wl,In.upperFirst=zl,In.each=ci,In.eachRight=si,In.first=Fa,Xl(In,(fc={},sr(In,(function(e,t){xe.call(In.prototype,t)||(fc[t]=e)})),fc),{chain:!1}),In.VERSION="4.17.21",lt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){In[e].placeholder=In})),lt(["drop","take"],(function(e,t){jn.prototype[e]=function(n){n=void 0===n?1:ln(ol(n),0);var r=this.__filtered__&&!t?new jn(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},jn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),lt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),lt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),lt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(Yl)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=Wr((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return yr(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(Ei(Jo(e)))},jn.prototype.slice=function(e,t){e=ol(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ol(t))<0?n.dropRight(-t):n.take(t-e)),n)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(4294967295)},sr(jn.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],a=r||/^find/.test(t);o&&(In.prototype[t]=function(){var t=this.__wrapped__,i=r?[1]:arguments,l=t instanceof jn,c=i[0],s=l||Oi(t),u=function(e){var t=o.apply(In,mt([e],i));return r&&f?t[0]:t};s&&n&&"function"==typeof c&&1!=c.length&&(l=s=!1);var f=this.__chain__,p=!!this.__actions__.length,d=a&&!f,m=l&&!p;if(!a&&s){t=m?t:new jn(this);var g=e.apply(t,i);return g.__actions__.push({func:ri,args:[u],thisArg:void 0}),new Cn(g,f)}return d&&m?e.apply(this,i):(g=this.thru(u),d?r?g.value()[0]:g.value():g)})})),lt(["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);In.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Oi(o)?o:[],e)}return this[n]((function(n){return t.apply(Oi(n)?n:[],e)}))}})),sr(jn.prototype,(function(e,t){var n=In[t];if(n){var r=n.name+"";xe.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[To(void 0,2).name]=[{name:"wrapper",func:void 0}],jn.prototype.clone=function(){var e=new jn(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},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Oi(e),r=t<0,o=n?e.length:0,a=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var a=n[r],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=cn(t,e+i);break;case"takeRight":e=ln(e,t-i)}}return{start:e,end:t}}(0,o,this.__views__),i=a.start,l=a.end,c=l-i,s=r?l:i-1,u=this.__iteratees__,f=u.length,p=0,d=cn(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return ro(e,this.__actions__);var m=[];e:for(;c--&&p<d;){for(var g=-1,h=e[s+=t];++g<f;){var v=u[g],b=v.iteratee,y=v.type,w=b(h);if(2==y)h=w;else if(!w){if(1==y)continue e;break e}}m[p++]=h}return m},In.prototype.at=oi,In.prototype.chain=function(){return ni(this)},In.prototype.commit=function(){return new Cn(this.value(),this.__chain__)},In.prototype.next=function(){void 0===this.__values__&&(this.__values__=nl(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 An;){var r=Ia(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 jn){var t=e;return this.__actions__.length&&(t=new jn(this)),(t=t.reverse()).__actions__.push({func:ri,args:[$a],thisArg:void 0}),new Cn(t,this.__chain__)}return this.thru($a)},In.prototype.toJSON=In.prototype.valueOf=In.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},In.prototype.first=In.prototype.head,Xe&&(In.prototype[Xe]=function(){return this}),In}();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 a(e){return l(s(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}function l(e,t){var n,r,i,l,c,s,u,f,p,d=1,m=e.length,g="";for(r=0;r<m;r++)if("string"==typeof e[r])g+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[d],i=0;i<l.keys.length;i++){if(null==n)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[i],l.keys[i-1]));n=n[l.keys[i]]}else n=l.param_no?t[l.param_no]:t[d++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(a("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(f=n>=0),l.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,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.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(l.type)?g+=n:(!o.number.test(l.type)||f&&!l.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",u=l.width-(p+n).length,c=l.width&&u>0?s.repeat(u):"",g+=l.align?p+n+c:"0"===s?p+c+n:c+p+n)}return g}var c=Object.create(null);function s(e){if(c[e])return c[e];for(var t,n=e,r=[],a=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]){a|=1;var i=[],l=t[2],s=[];if(null===(s=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(l=l.substring(s[0].length));)if(null!==(s=o.key_access.exec(l)))i.push(s[1]);else{if(null===(s=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}t[2]=i}else a|=2;if(3===a)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 c[e]=r}t.sprintf=a,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(r=function(){return{sprintf:a,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function a(){var a,i,l=n,c=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(i=0;i<c;i++)if(l.args[i]!==arguments[i]){l=l.next;continue e}return l!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];return l={args:a,val:e.apply(null,a)},n?(n.prev=l,l.next=n):r=l,o===t.maxSize?(r=r.prev).next=null:o++,n=l,l.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},function(e,t,n){var r=n(1),o=n(6);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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:16px;width:16px;align-self:center}.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 .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .importing .inner .button-actions,.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden;margin:0 auto}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center;overflow:hidden}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item.importing .inner img,.ast-block-templates-grid-blocks .ast-block-templates-grid .item .inner:hover img{filter:blur(1px)}.ast-block-templates-grid-blocks .ast-block-templates-grid .item.importing .inner .heading-wrap,.ast-block-templates-grid-blocks .ast-block-templates-grid .item .inner:hover .heading-wrap{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:5px 0;flex-direction:row;align-items:center;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;visibility:hidden;transition:transform .5s}@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{padding:35px 25px 0 25px}.ast-block-templates-grid-pages .heading-wrap{cursor:pointer}.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{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.importing .inner,.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item .inner{margin:0;background:#fff;box-shadow:0 4px 10px 0 rgba(0,0,0,.07);position:relative;border-radius:3px;overflow:hidden;transition:all .4s;padding:5px}.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{display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{padding:6px 14px;min-height:auto;line-height:normal;border-radius:2px}.ast-block-templates-grid .item.importing .preview,.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;background:rgba(0,0,0,.5)}.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}.ast-block-templates-grid-pages .ast-block-templates-grid .item .preview{background:unset}.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.4%;margin:0;box-shadow:none}}.blocks-color{width:100%}.block-color-item{padding:6px 18px;display:inline-block;border:1px solid #c8cfd6;cursor:pointer;text-transform:capitalize}.block-color-item:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.block-color-item:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.block-color-item.active,.block-color-item:hover{background:#2271b1;border-color:#2271b1;color:#fff}.block-color-item:nth-child(2){border-right:none;border-left:none}.block-color-list{display:inline-flex}#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:99999999;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 .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%)}}#ast-block-templates-modal{width:100%;max-width:100%;box-shadow:none;border-radius:0;height:100%;margin:0}.st-block-category{display:flex;align-items:center;justify-content:space-between;cursor:pointer;margin-bottom:12px;color:#6d7882}.st-block-category:hover,.st-block-category.active{color:#2271b1}#ast-block-templates-modal .ast-block-templates-grid-blocks{display:flex;align-items:flex-start}#ast-block-templates-modal .ast-block-templates-grid-blocks .filter-wrap{align-items:flex-start;width:250px;padding:10px 30px 30px 30px;position:fixed;overflow-y:auto;height:calc(100vh - 55px);background-color:rgba(255,255,255,.5);flex-grow:0;overflow-y:auto;box-shadow:2px 8px 23px 3px rgba(0,0,0,.05);z-index:2}#ast-block-templates-modal .ast-block-templates-pattern-grid{width:calc(100% - 250px);margin-left:auto;padding:3em}#ast-block-templates-modal .ast-block-templates-pattern-grid .notice{margin-bottom:1.5em}#ast-block-templates-modal .blocks-color{margin-bottom:40px}#ast-block-templates-modal .filters{margin-top:2em;width:100%}#ast-block-templates-modal .filters h3{color:#1e1e1e;font-size:14px;margin-bottom:20px;margin-top:0}',""]),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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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;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 a={insert:"head",singleton:!1};r(o,a);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{align-self:center;margin-left:18px;width:250px}.logo-wrap .logo{display:flex;align-items:center;cursor:pointer}.logo-wrap .logo.uagb-template-popup-logo img{width:120px}.logo-wrap .logo-text{margin-left:8px;font-weight:500;font-size:15px;line-height:18px;color:rgba(30,30,30,.9)}.logo-wrap img{height:34px;width:34px}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}",""]),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 a={insert:"head",singleton:!1};r(o,a);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-wrap{width:268px;display:flex;align-items:center}.back-to-layout{padding:0 15px 0 0;text-align:center;cursor:pointer;display:flex;align-items:center;opacity:0;visibility:hidden;position:relative;margin-left:18px;color:#a4afb7}.back-to-layout .ast-block-templates-back-heading{font-size:14px}.back-to-layout:hover{color:#6d7882}.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;left:-6px}",""]),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 a={insert:"head",singleton:!1};r(o,a);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:175px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;padding:18px 12px;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;align-items:stretch;position:relative;z-index:3;box-shadow:0 4px 10px rgba(0,0,0,.05);border-radius:3px 3px 0 0;height:55px}.header h2{padding:10px 15px}.header .close{padding:0 14px;cursor:pointer;color:#a4afb7;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:before{content:"";position:absolute;height:18px;width:18px;border-left:1px solid #a4afb7;margin-right:35px}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:24px}',""]),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 a={insert:"head",singleton:!1};r(o,a);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 input::-webkit-search-cancel-button{margin-top:-5px;cursor:pointer}.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:focus,.header .search-form .button:hover{background:transparent;box-shadow:none}.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:350px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #d2d7db;box-shadow:none}.header .search-form input:hover{border-color:#a4afb7}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#a4afb7}.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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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;color:#0073aa}",""]),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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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:25px 50px;margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-notice{margin:0 1.4%}",""]),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 a={insert:"head",singleton:!1};r(o,a);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(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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:40px;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%;transition:all .4s}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 220px);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 - 220px);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-wrap{display:flex;align-items:center;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0}",""]),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 a={insert:"head",singleton:!1};r(o,a);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(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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:calc(100vh - 55px);overflow-y:auto;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-modal ::-webkit-scrollbar,.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-modal ::-webkit-scrollbar-thumb,.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-modal ::-webkit-scrollbar-track,.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 a={insert:"head",singleton:!1};r(o,a);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:center;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 5px}",""]),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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__},i=function(){var e={patterns:[],wireframes:[]},t=AstBlockTemplatesVars.allBlocks;for(var n in t){var r=t[n].wireframe||{};Object.keys(r).length?e.wireframes.push(t[n]):e.patterns.push(t[n])}return e},l=function(){return i().patterns},c=function(){return i().wireframes},s=function(e,t,n,r){return f(e,t,n,r,l())},u=function(e,t,n,r){return f(e,t,n,r,c())},f=function(e,t,n,o,a){a||(a=AstBlockTemplatesVars.allBlocks);var i=[];e&&(i=a.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];return n&&(l=a.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!1}))),(e||n)&&(a=Object(r.unionBy)(i,l,"ID")),t&&(a=a.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o&&(a=a.filter((function(e){return o===e.filter}))),a},p=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],a=o.pages||{};if(Object.values(a).length)for(var i in a)a[i]["site-ID"]=o.ID,a[i]["site-title"]=o.title,t.push(a[i])}var l=[];e&&(l=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var c=[];e&&(c=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var s=[];return e&&(s=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)(l,s,c,"ID")),t};function d(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={togglePopup:!1,allBlocks:AstBlockTemplatesVars.allBlocks,allPatterns:l(),allWireframes:c(),allSites:AstBlockTemplatesVars.allSites,allPages:[],currentScreen:"all-sites-grid",previousScreen:"",filterBlocksByCategory:"",filterBlocksByColor:"",filterBlocksBySearchTerm:"",filterPagesByPageType:"",filterPagesBySearchTerm:"",pagePreview:{},sitePreview:{},fullWidthPagePreview:{},fullWidthBlockPreview:{},notice:{},importItemInfo:{},displayDynamicPopup:!1},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return m(m({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return m(m({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return m(m({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return m(m({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return m(m({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return m(m({},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]),m(m({},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 m(m({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}if("SET_PREVIOUS_SCREEN"===t.type)return m(m({},e),{},{previousScreen:t.previousScreen});if("TOGGLE_POPUP"===t.type){var a="all-single-site-pages"!==localStorage.getItem("gt-current-screen")?localStorage.getItem("gt-current-screen"):"";return m(m({},h),{},{currentScreen:a||h.currentScreen,togglePopup:!e.togglePopup,filterBlocksByCategory:e.filterBlocksByCategory,filterBlocksByColor:e.filterBlocksByColor,allPatterns:e.allPatterns,allWireframes:e.allWireframes,filterBlocksBySearchTerm:e.filterBlocksBySearchTerm})}if("SET_SITE_PREVIEW"===t.type)return m(m({},e),{},{sitePreview:t.sitePreview});if("SET_PAGE_PREVIEW"===t.type)return m(m({},e),{},{pagePreview:t.pagePreview});if("SET_FULL_PREVIEW"===t.type)return m(m({},e),{},{fullWidthPreview:t.fullWidthPreview});if("SET_FILTER_BLOCKS_BY_CATEGORY"===t.type){var i=m(m({},e),{},{filterBlocksBySearchTerm:"",filterBlocksByCategory:t.filterBlocksByCategory});return"all-wireframe-grid"===e.currentScreen?i.allWireframes=u("",t.filterBlocksByCategory,"",e.filterBlocksByColor):i.allPatterns=s("",t.filterBlocksByCategory,"",e.filterBlocksByColor),i}if("SET_FILTER_BLOCKS_BY_COLOR"===t.type){var l=m(m({},e),{},{filterBlocksBySearchTerm:"",filterBlocksByColor:t.filterBlocksByColor});return"all-wireframe-grid"===e.currentScreen?l.allWireframes=u("",e.filterBlocksByCategory,"",t.filterBlocksByColor):l.allPatterns=s("",e.filterBlocksByCategory,"",t.filterBlocksByColor),l}if("SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type){var c=m(m({},e),{},{filterBlocksByColor:"",filterBlocksByCategory:"",filterBlocksBySearchTerm:t.filterBlocksBySearchTerm});return"all-wireframe-grid"===e.currentScreen?c.allWireframes=u(t.filterBlocksBySearchTerm,"",t.filterBlocksBySearchTerm,""):c.allPatterns=s(t.filterBlocksBySearchTerm,"",t.filterBlocksBySearchTerm,""),c}return"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?m(m({},e),{},{allPages:p(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):m(m({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?m(m({},e),{},{allPages:t.allPages}):e};function b(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(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 y(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w={getTogglePopup:function(e){return e.togglePopup},getAllWireframes:function(e){return e.allWireframes},getAllPatterns:function(e){return e.allPatterns},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}},k={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,b(t))(e.dispatch),e.dispatch=n})((0,wp.data.registerStore)("ast-block-templates",{reducer:v,actions:k,selectors:w}));var _,x,S,E,B=n(4),P=n.n(B),R=n(3),I=n.n(R),T=P()(console.error);function A(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 I.a.sprintf.apply(I.a,[e].concat(n))}catch(t){return T("sprintf error: \n\n"+t.toString()),e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},x=["(","?"],S={")":["("],":":["?","?:"]},E=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var j={"!":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 O(e){var t=function(e){for(var t,n,r,o,a=[],i=[];t=e.match(E);){for(n=t[0],(r=e.substr(0,t.index).trim())&&a.push(r);o=i.pop();){if(S[n]){if(S[n][0]===o){n=S[n][1]||n;break}}else if(x.indexOf(o)>=0||_[o]<_[n]){i.push(o);break}a.push(o)}S[n]||i.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&a.push(e),a.concat(i.reverse())}(e);return function(e){return function(e,t){var n,r,o,a,i,l,c=[];for(n=0;n<e.length;n++){if(i=e[n],a=j[i]){for(r=a.length,o=Array(r);r--;)o[r]=c.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(i)?t[i]:+i;c.push(l)}return c[0]}(t,e)}}var N={contextDelimiter:"",onMissingKey:null};function F(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},N)this.options[n]=void 0!==t&&n in t?t[n]:N[n]}function L(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}F.prototype.getPluralForm=function(e,t){var n,r,o,a,i=this.pluralForms[e];return i||("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),a=O(r),o=function(e){return+a({n:e})}),i=this.pluralForms[e]=o),i(t)},F.prototype.dcnpgettext=function(e,t,n,r,o){var a,i,l;return a=void 0===o?0:this.getPluralForm(e,o),i=n,t&&(i=t+this.options.contextDelimiter+n),(l=this.data[e][i])&&l[a]?l[a]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===a?n:r)};var W={"":{plural_forms:function(e){return 1===e?0:1}}},z=/^i18n\.(n?gettext|has_translation)(_|$)/;var M=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 V=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 U=function(e,t){return function(n,r,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,i=e[t];if(V(n)&&M(r))if("function"==typeof o)if("number"==typeof a){var l={callback:o,priority:a,namespace:r};if(i[n]){var c,s=i[n].handlers;for(c=s.length;c>0&&!(a>=s[c-1].priority);c--);c===s.length?s[c]=l:s.splice(c,0,l),i.__current.forEach((function(e){e.name===n&&e.currentIndex>=c&&e.currentIndex++}))}else i[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,a)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var $=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){var a=e[t];if(V(r)&&(n||M(o))){if(!a[r])return 0;var i=0;if(n)i=a[r].handlers.length,a[r]={runs:a[r].runs,handlers:[]};else for(var l=a[r].handlers,c=function(e){l[e].namespace===o&&(l.splice(e,1),i++,a.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},s=l.length-1;s>=0;s--)c(s);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),i}}};var q=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 G=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 a=o[r].handlers;for(var i=arguments.length,l=new Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];if(!a||!a.length)return n?l[0]:void 0;var s={name:r,currentIndex:0};for(o.__current.push(s);s.currentIndex<a.length;){var u=a[s.currentIndex],f=u.callback.apply(null,l);n&&(l[0]=f),s.currentIndex++}return o.__current.pop(),n?l[0]:void 0}};var Y=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 H=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 K=function(e,t){return function(n){var r=e[t];if(V(n))return r[n]&&r[n].runs?r[n].runs:0}},Z=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=U(this,"actions"),this.addFilter=U(this,"filters"),this.removeAction=$(this,"actions"),this.removeFilter=$(this,"filters"),this.hasAction=q(this,"actions"),this.hasFilter=q(this,"filters"),this.removeAllActions=$(this,"actions",!0),this.removeAllFilters=$(this,"filters",!0),this.doAction=G(this,"actions"),this.applyFilters=G(this,"filters",!0),this.currentAction=Y(this,"actions"),this.currentFilter=Y(this,"filters"),this.doingAction=H(this,"actions"),this.doingFilter=H(this,"filters"),this.didAction=K(this,"actions"),this.didFilter=K(this,"filters")};var X=function(){return new Z}(),J=(X.addAction,X.addFilter,X.removeAction,X.removeFilter,X.hasAction,X.hasFilter,X.removeAllActions,X.removeAllFilters,X.doAction,X.applyFilters,X.currentAction,X.currentFilter,X.doingAction,X.doingFilter,X.didAction,X.didFilter,X.actions,X.filters,function(e,t,n){var r=new F({}),o=new Set,a=function(){o.forEach((function(e){return e()}))},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=D(D(D({},W),r.data[t]),e),r.data[t][""]=D(D({},W[""]),r.data[t][""])},l=function(e,t){i(e,t),a()},c=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,a=arguments.length>4?arguments[4]:void 0;return r.data[e]||i(void 0,e),r.dcnpgettext(e,t,n,o,a)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},u=function(e,t,r){var o=c(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+s(r),o,e,t,r)):o};if(e&&l(e,t),n){var f=function(e){z.test(e)&&a()};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:l,resetLocaleData:function(e,t){r.data={},r.pluralForms={},l(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=c(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+s(t),r,e,t)):r},_x:u,_n:function(e,t,r,o){var a=c(o,void 0,e,t,r);return n?(a=n.applyFilters("i18n.ngettext",a,e,t,r,o),n.applyFilters("i18n.ngettext_"+s(o),a,e,t,r,o)):a},_nx:function(e,t,r,o,a){var i=c(a,o,e,t,r);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,r,o,a),n.applyFilters("i18n.ngettext_with_context_"+s(a),i,e,t,r,o,a)):i},isRTL:function(){return"rtl"===u("ltr","text direction")},hasTranslation:function(e,t,o){var a,i,l=t?t+""+e:e,c=!(null===(a=r.data)||void 0===a||null===(i=a[null!=o?o:"default"])||void 0===i||!i[l]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,o),c=n.applyFilters("i18n.has_translation_"+s(o),c,e,t,o)),c}}}(void 0,void 0,X)),Q=(J.getLocaleData.bind(J),J.setLocaleData.bind(J),J.resetLocaleData.bind(J),J.subscribe.bind(J),J.__.bind(J)),ee=(J._x.bind(J),J._n.bind(J),J._nx.bind(J),J.isRTL.bind(J),J.hasTranslation.bind(J),wp.element),te=ee.createPortal,ne=ee.memo,re=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(ne((function(e){var t=e.onSetTogglePopup;return te(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.white_label_name?AstBlockTemplatesVars.white_label_name:AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),oe=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)},ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return oe(e,t,"#F20404")},ie=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function le(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function ce(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){le(a,r,o,i,l,"next",e)}function l(e){le(a,r,o,i,l,"throw",e)}i(void 0)}))}}function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ue(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 ue(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 ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fe=wp.compose.compose,pe=wp.data,de=pe.withSelect,me=pe.withDispatch,ge=wp.element,he=ge.useState,ve=ge.memo,be=wp.ajax.post,ye=fe(me((function(e){return{setNotice:e("ast-block-templates").setNotice}})),de((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(ve((function(e){var t=e.setNotice,n=se(he({isProcessing:"",buttonText:"Sync Library"}),2),r=n[0],o=n[1],a=r.isProcessing,i=r.buttonText,l=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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)}}(),c=function(){var e=ce(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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&&l()):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)}}(),s=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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++)c(n,t)}else o({isProcessing:"complete",buttonText:"Importing Sites Failed"})})).fail((function(e){ae("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),u=function(){var e=ce(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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&&s()):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=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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++)u(n,t);else o({isProcessing:"complete",buttonText:"Importing Pages Failed"})})).fail((function(e){ae("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({action:"ast-block-templates-import-categories",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){f()})).fail((function(e){ae("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,be({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){ae("fail",e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),ae("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"===a?"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"},i),React.createElement(ie,{message:"Sync Library"}))}))),we=(n(13),wp.compose.compose),ke=wp.data.withDispatch,_e=wp.element.memo,xe=we(ke((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(_e((function(e){var t=e.setCurrentScreen;return React.createElement("div",{className:"logo-wrap ".concat(""!==AstBlockTemplatesVars.white_label_name?"white-label":"")},React.createElement("div",{className:"logo ".concat(""!==AstBlockTemplatesVars.popup_logo_class?AstBlockTemplatesVars.popup_logo_class:""),onClick:function(){return t("all-sites-grid")}},""!==AstBlockTemplatesVars.white_label_name?React.createElement(React.Fragment,null,AstBlockTemplatesVars.white_label_name):React.createElement(React.Fragment,null,React.createElement("img",{src:AstBlockTemplatesVars.popup_logo_uri}),React.createElement("div",{className:"logo-text"},AstBlockTemplatesVars.button_text))))}))),Se=wp.compose.compose,Ee=wp.data,Be=Ee.withSelect,Pe=Ee.withDispatch,Re=wp.element.memo,Ie=Se(Be((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{preview:n(),currentScreen:r()}})),Pe((function(e){var t=e("ast-block-templates"),n=t.setAllPages,r=t.setSitePreview,o=t.setTogglePopup,a=t.setCurrentScreen,i=t.setFilterPagesBySearchTerm,l=t.setFilterBlocksBySearchTerm;return{updateCurrentScreen:function(e){n([]),r({}),i(""),l(""),a(e)},onSetSitePreview:r,onSetTogglePopup:o}})))(Re((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-pages"}),Q("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-patterns"}),Q("Patterns")),React.createElement("div",{className:"header-menu-item ".concat("all-wireframe-grid"===t?"active":""),onClick:function(){return n("all-wireframe-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-wireframe"}),Q("Wireframes")))}))),Te=wp.compose.compose,Ae=wp.data,Ce=Ae.withSelect,je=Ae.withDispatch,Oe=wp.element.memo,Ne=Te(Ce((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{sitePreview:n(),currentScreen:r()}})),je((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"}))}))),Fe=(n(15),wp.compose.compose),Le=wp.data,De=Le.withSelect,We=Le.withDispatch,ze=wp.element.memo,Me=Fe(De((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getPreviousScreen;return{currentScreen:n(),previousScreen:r()}})),We((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(ze((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":"",a="full-width-block-preview"===t?"Back to Patterns":"Back to Pages";return React.createElement("div",{className:"back-to-layout-wrap"},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(ie,{message:a}),React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-chevron-left"}),React.createElement("span",{className:"ast-block-templates-back-heading"}," Back ")))})));n(17),n(19);function Ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ue(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 Ue(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 Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var $e=wp.element,qe=$e.memo,Ge=$e.useState,Ye=$e.useEffect,He=qe((function(e){var t=e.onSearch,n=e.value,r=e.searchInputRef,o=e.placeholder,a=Ve(Ge(""),2),i=a[0],l=a[1],c=o||Q("Search..","ast-block-templates");return Ye((function(){l(n)})),React.createElement("div",{className:"search-form ".concat(i?"have-input":"")},React.createElement("input",{ref:r,type:"search",name:"search",value:n,placeholder:c,onChange:function(e){t(e)}}),React.createElement("button",{className:"button"},React.createElement("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#clip0)"},React.createElement("path",{d:"M7.33853 6.71932C7.83062 6.02464 8.12496 5.17135 8.12496 4.24633C8.12496 1.93072 6.30245 0.0466766 4.06247 0.0466766C1.82249 0.0466766 0 1.93072 0 4.24633C0 6.56193 1.82251 8.44598 4.06249 8.44598C4.95731 8.44598 5.7828 8.14166 6.45479 7.63296L9.11622 10.3842L10 9.47062C10 9.4706 7.33853 6.71932 7.33853 6.71932ZM4.06249 7.15377C2.51159 7.15377 1.25 5.84959 1.25 4.24633C1.25 2.64306 2.51159 1.33888 4.06249 1.33888C5.61339 1.33888 6.87498 2.64306 6.87498 4.24633C6.87498 5.84959 5.61337 7.15377 4.06249 7.15377Z",fill:"#C6CCD2"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0"},React.createElement("rect",{width:"10",height:"10.3376",fill:"white",transform:"translate(0 0.0466309)"}))))))})),Ke=wp.element.memo,Ze=wp.compose.compose,Xe=wp.data,Je=Xe.withSelect,Qe=Xe.withDispatch,et=Ze(Je((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getFilterPagesBySearchTerm,o=t.getFilterBlocksBySearchTerm;return{currentScreen:n(),filterPagesBySearchTerm:r(),filterBlocksBySearchTerm:o()}})),Qe((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm,r=t.setFilterPagesBySearchTerm,o=t.setCurrentScreen,a=t.setPagePreview,i=t.setSitePreview,l=t.setFullWidthBlockPreview;return{setFilterBlocksBySearchTerm:function(e,t){o(t),l({}),n(e)},insertBlocks:e("core/block-editor").insertBlocks,setFilterPagesBySearchTerm:function(e){o("all-sites-grid"),r(e),a({}),i({})}}})))(Ke((function(e){var t=e.currentScreen,n=e.filterPagesBySearchTerm,r=e.filterBlocksBySearchTerm,o=e.setFilterBlocksBySearchTerm,a=e.setFilterPagesBySearchTerm;return React.createElement("div",{className:"header"},"all-single-site-pages"===t?React.createElement(Me,null):React.createElement(xe,null),React.createElement(Ie,null),"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(He,{placeholder:"Search Templates..",value:n,onSearch:function(e){a(e.target.value)}}):React.createElement(He,{placeholder:"".concat("all-wireframe-grid"===t?"Search Wireframes..":"Search Patterns.."),value:r,onSearch:function(e){o(e.target.value,t)}}),React.createElement(ye,null),React.createElement(Ne,null))}))),tt=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)}))}))},nt=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 rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var at={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 a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=a,"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 i=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+i],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var l=Object.entries(n).filter((function(e){var t=ot(e,2);t[0];return"function"!=typeof t[1]}));return(i?"a":"O:".concat(r(n.constructor.name)))+":".concat(l.length,":{").concat(l.map((function(t){var n=ot(t,2),r=n[0],o=n[1];return e(i&&/^\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=at.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},a=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),"^"))},i=function(t,r){return t===e.slice(n,n+=t.length)?r:a("Expected '".concat(t,"'"),n-t.length)};function l(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";i(":");var l=t.exec(e.slice(n));return l||a("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=l[0].length,i(o,l[0])}function c(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var l=e.charCodeAt(n++);t-=l<128?1:l<2048||l>>11==27?2:3}return t?a("Invalid string length",o-2):i(r,e.slice(o,n))}var s=function(e){return e?t[e]?Object.create(t[e].prototype):new(rt({},e,(function(){}))[e]):{}},u=function(){return l(/^[01]/,"a '0' or '1'",";")},f=function(){return+l(/^-?\d+/,"an integer",";")},p=function(e){return+l(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return c(p(':"'),'"'+e)};function m(){var e=l(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function g(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):a("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function h(e){for(var t=0,n=p(":{");t<n;t++)e[g()]=y();return i("}",e)}function v(){var e=h({});return Object.keys(e).some((function(e,t){return e!=t}))?e:Object.values(e)}function b(e){return"function"!=typeof e.unserialize&&a("Instance of ".concat(e.constructor.name,' does not have an "unserialize" method')),e.unserialize(c(p(":{"))),i("}",e)}function y(){var t=e[n++].toLowerCase(),o=r.push(null)-1,l="n"===t?i(";",null):"s"===t?d(";"):"b"===t?u():"i"===t?f():"d"===t?m():"a"===t?v():"o"===t?h(s(d())):"c"===t?b(s(d())):"r"===t?r[f()]:a("Unexpected type ".concat(t),n-1);return"r"!==t&&(r[o]=l),l}var w=y();return n!==e.length&&a("Unexpected trailing character"),w}},it=function(e,t){return fetch("".concat(AstBlockTemplatesVars.api_url,"wp-json/wp/v2/").concat(t,"/").concat(e,"/?site_url=").concat(AstBlockTemplatesVars.site_url)).then((function(e){return e.json()}))};n(21);function lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ct(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 ct(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 ct(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 st=wp.compose.compose,ut=wp.data,ft=ut.useSelect,pt=ut.withSelect,dt=ut.withDispatch,mt=wp.ajax.post,gt=wp.blocks.parse,ht=wp.element,vt=ht.useState,bt=ht.memo,yt=(ht.useEffect,ht.useCallback,wp.components.Spinner),wt=st(pt((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getSitePreview;return{importItemInfo:n(),sitePreview:o(),currentScreen:r()}})),dt((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}})))(bt((function(e){var t=e.setImportItemInfo,n=(e.liveRequest,e.requiredPlugins,e.importItemInfo),r=e.title,o=e.btnClass,a=e.currentScreen,i=e.insertBlocks,l=e.onSetTogglePopup,c=e.item,s=e.onClick,u=e.onBlockImport,f=lt(vt(n),2),p=f[0],d=(f[1],o||""),m=lt(vt(r||"Import"),2),g=m[0],h=m[1],v="full-width-block-preview"===a?"show":"",b=lt(vt(!1),2),y=b[0],w=b[1],k=ft((function(e){return{insertIndex:e("core/block-editor").getBlockInsertionPoint().index}}),[]).insertIndex,_=function(){tt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){})).catch((function(e){w(!1),h("Activation failed!")}))},x=function(){tt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){E()})).catch((function(e){w(!1),h("Activation failed!")}))},S=function(){var e=p.original_content;mt({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){w(!1),i(gt(e),k),l(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open"),"function"==typeof u&&u(e,k)})).fail((function(e){}))},E=function(){var e=p["post-meta"]["astra-site-wpforms-path"]||"";e?function(e){mt({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){S()})).fail((function(e){w(!1),h("WPForms import failed!")}))}(e):S()};return React.createElement("div",{className:"ast-template-import-block-button ".concat(v," ").concat(d),onClick:function(e){"function"==typeof s&&s(e),w(!0),"not-installed"===AstBlockTemplatesVars.spectra_status?nt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){_()})).catch((function(e){w(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.spectra_status&&_(),it(c.ID,"astra-blocks").then((function(e){t(e),p=e,(e["post-meta"]["astra-blocks-required-plugins"]?at.parse(e["post-meta"]["astra-blocks-required-plugins"]):[]).length?"not-installed"===AstBlockTemplatesVars.wpforms_status?nt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){x()})).catch((function(e){w(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?x():E():E()})).catch((function(e){}))}},y?React.createElement(React.Fragment,null,React.createElement(yt,null)," Importing.."):React.createElement(React.Fragment,null,g))})));function kt(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 _t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){xt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Et(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 Et(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 Et(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 Bt=wp.compose.compose,Pt=wp.data.withDispatch,Rt=wp.element,It=Rt.memo,Tt=Rt.useEffect,At=Rt.useState,Ct=(wp.ajax.post,Bt(Pt((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")}}})))(It((function(e){e.setImportItemInfo,e.updateFullWidthBlockPreview;var t=e.item,n=e.InitMasonry,r=t["thumbnail-image-url"]||"",o=t["featured-image-url"]||"",a=St(At({importing:!1}),2),i=a[0],l=a[1],c=St(At("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),s=c[0],u=c[1],f=St(At("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),p=f[0],d=f[1];return Tt((function(){var e=!0,t=new Image;t.src=r;var a=new Image;return a.src=o,t.onload=function(){e&&(u(t.src),n())},a.onload=function(){e&&(d(a.src),n())},function(){e=!1}}),[]),React.createElement("div",{className:"item single-block ".concat(!0===i.importing?"importing":"")},React.createElement("div",{className:"inner"},React.createElement("div",{className:"thumbnail"},React.createElement("img",{srcSet:"".concat(p,", ").concat(s),src:s}),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("div",{className:"button-actions"},React.createElement(wt,{btnClass:"button button-primary gt-btn-import",title:"Import",liveRequest:!0,item:t,onClick:function(e){l(_t(_t({},i),{},{importing:!0}))},onBlockImport:function(e){l(_t(_t({},i),{},{importing:!1}))}})))))})))),jt=wp.compose.compose,Ot=wp.element,Nt=Ot.memo,Ft=(Ot.useEffect,Ot.useState,wp.data),Lt=Ft.withSelect,Dt=(Ft.withDispatch,jt(Lt((function(e){return{filterBlocksBySearchTerm:(0,e("ast-block-templates").getFilterBlocksBySearchTerm)()}})))(Nt((function(e){var t=e.value,n=e.options,r=e.allCount,o=e.onChange,a=e.filterBlocksBySearchTerm;return React.createElement("div",{className:"st-block-categories-wrap"},React.createElement("h3",null,"Categories"),React.createElement("div",{className:"st-block-categories-list"},React.createElement("div",{className:"st-block-category ".concat(a||""!==t?"":"active"),onClick:function(e){"function"==typeof o&&o(e,"")}},React.createElement("span",{className:"st-block-category-title"},"All"),React.createElement("span",{className:"st-block-category-count"},r)),Object.values(n).map((function(e){return React.createElement("div",{key:e.id,className:"st-block-category ".concat(t===e.id?"active":""),onClick:function(t){"function"==typeof o&&o(t,e)}},React.createElement("span",{className:"st-block-category-title"},e.name),React.createElement("span",{className:"st-block-category-count"},e.count))}))))}))));function Wt(e){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var zt=wp.compose.compose,Mt=wp.element,Vt=Mt.memo,Ut=(Mt.useEffect,Mt.useState,wp.data),$t=Ut.withSelect,qt=Ut.withDispatch,Gt=zt($t((function(e){var t=e("ast-block-templates"),n=t.getFilterBlocksByCategory,r=t.getFilterBlocksByColor;return{filterBlocksByCategory:n(),filterBlocksByColor:r()}})),qt((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(Vt((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory,r=e.filterBlocksByColor,o=[],a=0;for(var i in AstBlockTemplatesVars.allBlocks){var l=AstBlockTemplatesVars.allBlocks[i].filter||"",c=AstBlockTemplatesVars.allBlocks[i].wireframe||{};Object.keys(c).length&&function(){var e="object"===Wt(AstBlockTemplatesVars.allBlocks[i].category)?0:parseInt(AstBlockTemplatesVars.allBlocks[i].category);if(!o[e]){var t=AstBlockTemplatesVars.allCategories.filter((function(t){return t.id===e})),n=t.length?t[0]:{};n.id=e,n.count=0,o[e]=n}(!r||r&&l==r)&&(o[e].count=parseInt(o[e].count)+1,a+=1)}()}return o.sort((function(e,t){var n=e.name.toUpperCase()||"",r=t.name.toUpperCase()||"";return n<r?-1:n>r?1:0})),React.createElement(Dt,{value:t,allCount:a,options:o,onChange:function(e,t){n(t?t.id:"")}})}))),Yt=wp.compose.compose,Ht=wp.element.memo,Kt=wp.data,Zt=Kt.withSelect,Xt=Kt.withDispatch,Jt=Yt(Zt((function(e){return{filterBlocksByColor:(0,e("ast-block-templates").getFilterBlocksByColor)()}})),Xt((function(e){return{setFilterBlocksByColor:e("ast-block-templates").setFilterBlocksByColor}})))(Ht((function(e){var t=e.filterBlocksByColor,n=e.setFilterBlocksByColor;if(AstBlockTemplatesVars.allBlocks){var r=[];return AstBlockTemplatesVars.allBlocks.map((function(e){e.filter&&!r.includes(e.filter)&&r.push(e.filter)})),r.length<=1?"":React.createElement("div",{className:"blocks-color"},React.createElement("h3",null,"Filter by Color"),React.createElement("div",{className:"block-color-list"},React.createElement("div",{className:"block-color-item ".concat(t?"":"active"),onClick:function(e){return n("")}},"All"),r.map((function(e){return React.createElement("div",{key:e,className:"block-color-item ".concat(t===e?"active":""),onClick:function(t){return n(e)}},e)}))))}}))),Qt=(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(Jt,null),React.createElement(Gt,null)))})),en=(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)}),tn=(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)}},Q("Back to Templates","ast-block-templates")))}),nn=(n(27),wp.compose.compose),rn=wp.data,on=rn.withSelect,an=rn.withDispatch,ln=wp.element.memo,cn=nn(an((function(e){return{setNotice:e("ast-block-templates").setNotice}})),on((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(ln((function(e){var t=e.notice,n=e.setNotice;if(!Object.keys(t).length)return null;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")))})));function sn(e){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var un=wp.compose.compose,fn=wp.data,pn=fn.withSelect,dn=fn.withDispatch,mn=wp.element,gn=mn.memo,hn=mn.useEffect,vn=(mn.useState,un(dn((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm;return{setFilterBlocksByCategory:t.setFilterBlocksByCategory,setFilterBlocksBySearchTerm:n}})),pn((function(e){var t=e("ast-block-templates"),n=t.getAllWireframes,r=t.getFilterBlocksByCategory,o=t.getFilterBlocksByColor;return{filterBlocksByCategory:r(),filterBlocksByColor:o(),allWireframes:n()}})))(gn((function(e){e.filterBlocksByCategory,e.setFilterBlocksByCategory;var t=e.filterBlocksByColor,n=e.setFilterBlocksBySearchTerm,r=e.allWireframes,o=(e.imagesLoad,e.setImagesLoaded,[]),a=[],i=function(e){var n=r[e].filter||"",i="object"===sn(r[e].category)?0:parseInt(r[e].category);if(!a[i]){var l=AstBlockTemplatesVars.allCategories.filter((function(e){return e.id===i})),c=l.length?l[0]:{};c.id=i,c.count=0,a[i]=c}(!t||t&&n==t)&&(a[i].count=parseInt(a[i].count)+1,1,o.push(r[e]))};for(var l in r)i(l);hn((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var c=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(Qt,null),React.createElement("div",{className:"ast-block-templates-pattern-grid"},React.createElement(cn,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},o.length?o.map((function(e){return React.createElement(Ct,{key:e.ID,item:e,InitMasonry:c})})):React.createElement(en,null,React.createElement(tn,{afterClick:function(e){n("")}})))))}))));function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var yn=wp.compose.compose,wn=wp.element,kn=wn.memo,_n=(wn.useEffect,wn.useState,wp.data),xn=_n.withSelect,Sn=_n.withDispatch,En=yn(xn((function(e){var t=e("ast-block-templates"),n=t.getFilterBlocksByCategory,r=t.getFilterBlocksByColor;return{filterBlocksByCategory:n(),filterBlocksByColor:r()}})),Sn((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(kn((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory,r=e.filterBlocksByColor,o=[],a=0;for(var i in AstBlockTemplatesVars.allBlocks){var l=AstBlockTemplatesVars.allBlocks[i].filter||"",c=AstBlockTemplatesVars.allBlocks[i].wireframe||{};Object.keys(c).length||function(){var e="object"===bn(AstBlockTemplatesVars.allBlocks[i].category)?0:parseInt(AstBlockTemplatesVars.allBlocks[i].category);if(!o[e]){var t=AstBlockTemplatesVars.allCategories.filter((function(t){return t.id===e})),n=t.length?t[0]:{};n.id=e,n.count=0,o[e]=n}(!r||r&&l==r)&&(o[e].count=parseInt(o[e].count)+1,a+=1)}()}return o.sort((function(e,t){var n=e.name.toUpperCase()||"",r=t.name.toUpperCase()||"";return n<r?-1:n>r?1:0})),React.createElement(Dt,{value:t,allCount:a,options:o,onChange:function(e,t){n(t?t.id:"")}})}))),Bn=(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(Jt,null),React.createElement(En,null)))}));function Pn(e){return(Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Rn=wp.compose.compose,In=wp.data,Tn=In.withSelect,An=In.withDispatch,Cn=wp.element,jn=Cn.memo,On=Cn.useEffect,Nn=(Cn.useState,Rn(An((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm;return{setFilterBlocksByCategory:t.setFilterBlocksByCategory,setFilterBlocksBySearchTerm:n}})),Tn((function(e){var t=e("ast-block-templates"),n=t.getAllPatterns,r=t.getFilterBlocksByCategory,o=t.getFilterBlocksByColor;return{filterBlocksByCategory:r(),filterBlocksByColor:o(),allPatterns:n()}})))(jn((function(e){e.filterBlocksByCategory,e.setFilterBlocksByCategory;var t=e.filterBlocksByColor,n=e.setFilterBlocksBySearchTerm,r=e.allPatterns,o=(e.imagesLoad,e.setImagesLoaded,[]),a=[],i=function(e){var n=r[e].filter||"",i="object"===Pn(r[e].category)?0:parseInt(r[e].category);if(!a[i]){var l=AstBlockTemplatesVars.allCategories.filter((function(e){return e.id===i})),c=l.length?l[0]:{};c.id=i,c.count=0,a[i]=c}(!t||t&&n==t)&&(a[i].count=parseInt(a[i].count)+1,1,o.push(r[e]))};for(var l in r)i(l);On((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var c=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(Bn,null),React.createElement("div",{className:"ast-block-templates-pattern-grid"},React.createElement(cn,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},o.length?o.map((function(e){return React.createElement(Ct,{key:e.ID,item:e,InitMasonry:c})})):React.createElement(en,null,React.createElement(tn,{afterClick:function(e){n("")}})))))})))),Fn=wp.ajax.post,Ln=wp.blocks.parse;var Dn=function(e,t,n,r,o){Fn({action:"ast_block_templates_importer",api_uri:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){!function(e,t,n,r,o){Fn({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){r(Ln(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){ae("fail",e)}))};n(29);function Wn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zn(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 zn(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 zn(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 Mn=wp.compose.compose,Vn=wp.data,Un=Vn.useSelect,$n=Vn.withSelect,qn=Vn.withDispatch,Gn=wp.element,Yn=Gn.useState,Hn=Gn.memo,Kn=Gn.useEffect,Zn=wp.components.Spinner,Xn=wp.ajax.post,Jn=Mn($n((function(e){var t=e("ast-block-templates"),n=t.getPagePreview,r=t.getImportItemInfo,o=t.getCurrentScreen,a=t.getSitePreview;return{pagePreview:n(),importItemInfo:r(),sitePreview:a(),currentScreen:o()}})),qn((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}})))(Hn((function(e){var t=e.title,n=e.currentScreen,r=e.insertBlocks,o=e.onSetTogglePopup,a=e.item,i=(e.importItemInfo,e.pagePreview),l=Wn(Yn(t||"Import"),2),c=l[0],s=l[1];Kn((function(){s(t||"Import")}),[t]);var u=[],f="full-width-page-preview"===n?"show":"",p=Wn(Yn(!1),2),d=p[0],m=p[1],g=i["required-plugins"]?i["required-plugins"].filter((function(e){return"wpforms-lite"===e.slug})):[],h=Un((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),v=h.insertIndex,b=h.insertClientID,y=function(){tt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){})).catch((function(e){m(!1),s("Activation failed!")}))},w=function(){tt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){k()})).catch((function(e){m(!1),s("Error! WP Forms plugin activation failed!")}))},k=function(){var e=u["astra-site-wpforms-path"]||"";e?_(e):Dn(a["astra-page-api-url"],r,o,v,b)},_=function(e){Xn({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){Dn(a["astra-page-api-url"],r,o,v,b)})).fail((function(e){m(!1),s("Error! "+e.status+e.statusText)}))};return React.createElement("button",{className:"button button-primary ast-template-import-page-button ".concat(f),onClick:function(){m(!0),"not-installed"===AstBlockTemplatesVars.spectra_status?nt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){y()})).catch((function(e){m(!1),s("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.spectra_status&&y(),it(a.ID,"site-pages").then((function(e){u=e,g.length?"not-installed"===AstBlockTemplatesVars.wpforms_status?nt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){w()})).catch((function(e){m(!1),s("Error! WP Forms plugin installation failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?w():k():k()}))}},d?React.createElement(React.Fragment,null,React.createElement(Zn,null)," Importing.."):React.createElement(React.Fragment,null,c))}))),Qn=(n(31),wp.compose.compose),er=wp.data,tr=er.withSelect,nr=er.withDispatch,rr=wp.element,or=rr.Fragment,ar=rr.memo,ir=rr.useEffect,lr=Qn(tr((function(e){var t=e("ast-block-templates"),n=t.getDisplayDynamicPopup;return{pagePreview:(0,t.getPagePreview)(),displayDynamicPopup:n()}})),nr((function(e){return{setDisplayDynamicPopup:e("ast-block-templates").setDisplayDynamicPopup}})))(ar((function(e){var t=e.pagePreview,n=e.displayDynamicPopup,r=e.setDisplayDynamicPopup,o=!1===n?"hide":"",a=function(){r(!1)},i=function(e){e.target===document.querySelector(".ast-block-templates-popup-wrap")&&a()};return ir((function(){return document.addEventListener("click",i),function(){document.removeEventListener("click",i)}})),React.createElement(or,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"},Q("Heads Up!","ast-block-templates")),React.createElement("span",{className:"ast-block-templates-popup-close-icon",onClick:a},React.createElement("span",{className:"dashicons close dashicons-no-alt"}))),React.createElement("div",{className:"ast-block-templates-popup-content"},React.createElement("p",null,Q("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,Q("You will need to add it manually on the page.","ast-block-templates"))),React.createElement("div",{className:"ast-block-templates-popup-footer"},React.createElement(Jn,{title:A(Q('Skip & Import "%s" Page',"ast-block-templates"),t.title),item:t}),React.createElement("div",{className:"button",onClick:a},Q("Cancel","ast-block-templates"))))))}))),cr=wp.compose.compose,sr=wp.data,ur=sr.withSelect,fr=sr.withDispatch,pr=wp.element.memo,dr=cr(ur((function(e){return{pagePreview:(0,e("ast-block-templates").getPagePreview)()}})),fr((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")}}})))(pr((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"},a(t.title)))))}))),mr=(n(33),wp.element),gr=mr.memo,hr=mr.Fragment;var vr=(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()}})))(gr((function(e){var t=e.sitePreview,n=e.pagePreview;if(!Object.keys(t).length)return"";var r=Object.values(t.pages)||[],o=n["featured-image-url"];return React.createElement(hr,null,React.createElement(lr,null),React.createElement("div",{className:"ast-block-templates-single-site-preview"},React.createElement("div",{className:"ast-block-templates-single-page-preview"},React.createElement("div",{className:"ast-block-templates-site-title-wrap"},React.createElement("h2",{className:"ast-block-templates-site-title"},a(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"},Q("Page Templates","ast-block-templates")),React.createElement("div",{className:"ast-block-templates-grid"},r.length?r.map((function(e){return React.createElement(dr,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Q("No Result Found","ast-block-templates")),React.createElement("p",null,Q("The search result not found. Try another search.","ast-block-templates")))))))})));function br(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yr(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 yr(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 yr(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 wr=wp.compose.compose,kr=wp.data,_r=kr.withSelect,xr=kr.withDispatch,Sr=wp.element,Er=Sr.memo,Br=Sr.useState,Pr=Sr.useEffect,Rr=wr(_r((function(e){return{preview:e("ast-block-templates").getSitePreview}})),xr((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}})))(Er((function(e){var t=e.setSitePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"",i=n.pages?n.pages.length:0,l=i<=1?"Template":"Templates",c=br(Br("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),s=c[0],u=c[1];return Pr((function(){var e=!0,t=new Image;return t.src=o,t.onload=function(){e&&u(t.src)},function(){e=!1}}),[s]),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(s,"')")}},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"},a(n.title)),i?React.createElement("div",{className:"sub-title"},"".concat(i," ").concat(l)):"")))}))),Ir=wp.compose.compose,Tr=wp.data,Ar=Tr.withSelect,Cr=(Tr.withDispatch,wp.element),jr=(Cr.useEffect,Cr.useState,Cr.memo),Or=Cr.Fragment,Nr=Ir(Ar((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getCurrentScreen,o=t.getAllSites;return{currentScreen:r(),allSites:o(),allPages:n()}})))(jr((function(e){e.allPages;var t=e.allSites,n=(e.currentScreen,Object.values(t));return React.createElement(Or,null,n.length?n.map((function(e){return React.createElement(Rr,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Q("No Sites Result Found")," "),React.createElement("p",null,Q("The search result not found. Try another search."))))}))),Fr=wp.compose.compose,Lr=wp.data,Dr=Lr.withSelect,Wr=Lr.withDispatch,zr=wp.element.memo,Mr=Fr(Dr((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Wr((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}})))(zr((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"},a(n["site-title"])),React.createElement("div",{className:"sub-title"},a(n.title)))))}))),Vr=wp.compose.compose,Ur=wp.data,$r=Ur.withSelect,qr=Ur.withDispatch,Gr=wp.element,Yr=Gr.memo,Hr=Gr.Fragment,Kr=Vr(qr((function(e){var t=e("ast-block-templates");return{setPagePreview:t.setPagePreview,setFilterPagesBySearchTerm:t.setFilterPagesBySearchTerm}})),$r((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getFilterPagesBySearchTerm;return{allPages:n(),filterPagesBySearchTerm:r()}})))(Yr((function(e){var t=e.setPagePreview,n=e.setFilterPagesBySearchTerm,r=e.allPages,o=Object.values(r);return React.createElement(Hr,null,o.length?o.map((function(e){return React.createElement(Mr,{key:e.ID,item:e})})):React.createElement(en,null,React.createElement(tn,{afterClick:function(e){t({}),n("")}})))}))),Zr=wp.compose.compose,Xr=wp.data,Jr=Xr.withSelect,Qr=Xr.withDispatch,eo=wp.element,to=eo.memo;eo.useEffect;var no=Zr(Qr((function(e){return{setFilterPagesBySearchTerm:e("ast-block-templates").setFilterPagesBySearchTerm}})),Jr((function(e){return{filterPagesBySearchTerm:(0,e("ast-block-templates").getFilterPagesBySearchTerm)()}})))(to((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(Kr,null):React.createElement(Nr,null)))}))),ro=(n(35),wp.compose.compose),oo=wp.element.memo,ao=wp.data,io=ao.withSelect,lo=(ao.withDispatch,ro(io((function(e){return{blockPreview:(0,e("ast-block-templates").getFullWidthBlockPreview)()}})))(oo((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}))})))),co=(n(37),wp.compose.compose),so=wp.element.memo,uo=wp.data,fo=uo.withSelect,po=(uo.withDispatch,co(fo((function(e){return{pagePreview:(0,e("ast-block-templates").getFullWidthPagePreview)()}})))(so((function(e){var t=e.pagePreview["featured-image-url"]||"";return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),mo=function(){return React.createElement("div",null,"All signle pages")},go=(n(39),wp.element),ho=go.useEffect,vo=go.memo,bo=wp.compose.compose,yo=wp.data.withSelect,wo=function(e){var t=e.filterPagesBySearchTerm,n=e.currentScreen;return ho((function(){localStorage.setItem("gt-current-screen",n)}),[n]),"all-single-pages"===n?React.createElement(mo,null):"all-wireframe-grid"===n?React.createElement(vn,null):"all-blocks-grid"===n?React.createElement(Nn,null):t||"all-single-site-pages"!==n?"all-sites-grid"===n?React.createElement(no,null):"full-width-block-preview"===n?React.createElement(lo,null):"full-width-page-preview"===n?React.createElement(po,null):void 0:React.createElement(vr,null)},ko=function(e){var t=e.currentScreen;return"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(cn,null):null},_o=bo(yo((function(e){var t=e("ast-block-templates"),n=t.getFilterPagesBySearchTerm,r=t.getSitePreview,o=t.getCurrentScreen,a=t.getTogglePopup;return{filterPagesBySearchTerm:n(),sitePreview:r(),currentScreen:o(),togglePopup:a()}})))(vo((function(e){var t=e.sitePreview,n=e.currentScreen,r=e.togglePopup;return ho((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(ko,{currentScreen:n}),React.createElement(wo,{currentScreen:n}))})));n(41),n(43),n(45);function xo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return So(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 So(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 So(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 Eo=wp.compose.compose,Bo=wp.data,Po=Bo.withSelect,Ro=Bo.withDispatch,Io=wp.element,To=Io.memo,Ao=Io.useState,Co=Eo(Po((function(e){return{importItemInfo:(0,e("ast-block-templates").getImportItemInfo)()}})),Ro((function(e){return{setImportItemInfo:e("ast-block-templates").setImportItemInfo}})))(To((function(e){var t=e.requiredPlugins;if(!t.length)return null;var n=xo(Ao(!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)}}))}))),jo=wp.compose.compose,Oo=wp.data,No=Oo.withSelect,Fo=Oo.withDispatch,Lo=wp.element,Do=Lo.memo,Wo=Lo.Fragment,zo=jo(No((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getPagePreview;return{importItemInfo:n(),pagePreview:o(),currentScreen:r()}})),Fo((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")}}})))(Do((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(Wo,null,React.createElement("a",{className:"button",href:r,target:"_blank"},"Preview Site",React.createElement("i",{className:"dashicons dashicons-external"})),o?React.createElement("button",{className:"button button-primary",onClick:function(e){n(!0)}},'Import "'.concat(t.title,'" Template')):React.createElement(Jn,{title:'Import "'.concat(t.title,'" Template'),item:t}))}))),Mo=(n(47),wp.compose.compose),Vo=wp.data,Uo=Vo.withSelect,$o=Vo.withDispatch,qo=wp.element,Go=qo.memo,Yo=qo.Fragment,Ho=Mo(Uo((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getFullWidthBlockPreview;return{importItemInfo:n(),fullWidthBlockPreview:r()}})),$o((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")}}})))(Go((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(Yo,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(Co,{requiredPlugins:t}),React.createElement(wt,{btnClass:"button button-primary",title:"Import Pattern",item:r,requiredPlugins:t})))}))),Ko=wp.compose.compose,Zo=wp.data.withSelect,Xo=wp.element.memo,Jo=Ko(Zo((function(e){return{currentScreen:(0,e("ast-block-templates").getCurrentScreen)()}})))(Xo((function(e){var t=e.currentScreen;return"all-single-site-pages"!==t&&"full-width-block-preview"!==t?null:React.createElement("div",{className:"footer"},"all-single-site-pages"===t?React.createElement(zo,null):React.createElement(Ho,null))}))),Qo=wp.element,ea=Qo.Fragment,ta=Qo.useEffect,na=Qo.memo,ra=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(na((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 ta((function(){return document.addEventListener("click",n),function(){document.removeEventListener("click",n)}})),React.createElement(ea,null,React.createElement(re,null),React.createElement("div",{className:"inner"},React.createElement(et,null),React.createElement(_o,null),React.createElement(Jo,null)))})));function oa(){wp.data.subscribe((function(){setTimeout((function(){!function(){if(!document.querySelector("#editor .edit-post-header__toolbar"))return null;if(document.querySelector("#ast-block-templates-button-wrap"))return null;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 null;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(ra,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",oa),document.addEventListener("DOMContentLoaded",oa)}]);
|
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 a="Expected a function",i="__lodash_placeholder__",l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",s="[object Array]",u="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",g="[object Map]",h="[object Number]",v="[object Object]",b="[object RegExp]",y="[object Set]",w="[object String]",k="[object Symbol]",_="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",B="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",T="[object Uint8Array]",A="[object Uint16Array]",C="[object Uint32Array]",j=/\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),W=RegExp(L.source),z=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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,ae=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,le=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,se=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,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]",ge="["+de+"]",he="["+pe+"]",ve="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Be="(?:"+ye+"|"+we+")",Pe="(?:"+Ee+"|"+we+")",Re="(?:"+he+"|"+ke+")"+"?",Ie="[\\ufe0e\\ufe0f]?"+Re+("(?:\\u200d(?:"+[_e,xe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Re+")*"),Te="(?:"+[be,xe,Se].join("|")+")"+Ie,Ae="(?:"+[_e+he+"?",he,xe,Se,me].join("|")+")",Ce=RegExp("['’]","g"),je=RegExp(he,"g"),Oe=RegExp(ke+"(?="+ke+")|"+Ae+Ie,"g"),Ne=RegExp([Ee+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ge,Ee,"$"].join("|")+")",Pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ge,Ee+Be,"$"].join("|")+")",Ee+"?"+Be+"+(?:['’](?: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_])",ve,Te].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"],We=-1,ze={};ze[E]=ze[B]=ze[P]=ze[R]=ze[I]=ze[T]=ze["[object Uint8ClampedArray]"]=ze[A]=ze[C]=!0,ze[c]=ze[s]=ze[x]=ze[u]=ze[S]=ze[f]=ze[p]=ze[d]=ze[g]=ze[h]=ze[v]=ze[b]=ze[y]=ze[w]=ze[_]=!1;var Me={};Me[c]=Me[s]=Me[x]=Me[S]=Me[u]=Me[f]=Me[E]=Me[B]=Me[P]=Me[R]=Me[I]=Me[g]=Me[h]=Me[v]=Me[b]=Me[y]=Me[w]=Me[k]=Me[T]=Me["[object Uint8ClampedArray]"]=Me[A]=Me[C]=!0,Me[p]=Me[d]=Me[_]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ue=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 at(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 it(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function st(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 ut(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}function ft(e,t){return!!(null==e?0:e.length)&&kt(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 gt(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function ht(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 vt(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,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function kt(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 _t(e,t,n,r){for(var o=n-1,a=e.length;++o<a;)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?Rt(e,t)/n:NaN}function Et(e){return function(t){return null==t?void 0:t[e]}}function Bt(e){return function(t){return null==e?void 0:e[t]}}function Pt(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function Rt(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n}function It(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return e?e.slice(0,Ht(e)+1).replace(H,""):e}function At(e){return function(t){return e(t)}}function Ct(e,t){return dt(t,(function(t){return e[t]}))}function jt(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&kt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length;n--&&kt(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=Bt({"À":"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=Bt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Wt(e){return"\\"+Ve[e]}function zt(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 Vt(e,t){return function(n){return e(t(n))}}function Ut(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var l=e[n];l!==t&&l!==i||(e[n]=i,a[o++]=n)}return a}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 zt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):bt(e)}function Yt(e){return zt(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=Bt({"&":"&","<":"<",">":">",""":'"',"'":"'"});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,ge=t.RegExp,he=t.String,ve=t.TypeError,be=r.prototype,ye=pe.prototype,we=me.prototype,ke=t["__core-js_shared__"],_e=ye.toString,xe=we.hasOwnProperty,Se=0,Ee=(n=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=we.toString,Pe=_e.call(me),Re=Ye._,Ie=ge("^"+_e.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=Ze?t.Buffer:void 0,Ae=t.Symbol,Oe=t.Uint8Array,Fe=Te?Te.allocUnsafe:void 0,Ve=Vt(me.getPrototypeOf,me),qe=me.create,Ge=we.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=ta(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Bt=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=Te?Te.isBuffer:void 0,rn=t.isFinite,on=be.join,an=Vt(me.keys,me),ln=de.max,cn=de.min,sn=o.now,un=t.parseInt,fn=de.random,pn=be.reverse,dn=ta(t,"DataView"),mn=ta(t,"Map"),gn=ta(t,"Promise"),hn=ta(t,"Set"),vn=ta(t,"WeakMap"),bn=ta(me,"create"),yn=vn&&new vn,wn={},kn=Ra(dn),_n=Ra(mn),xn=Ra(gn),Sn=Ra(hn),En=Ra(vn),Bn=Ae?Ae.prototype:void 0,Pn=Bn?Bn.valueOf:void 0,Rn=Bn?Bn.toString:void 0;function In(e){if(qi(e)&&!Oi(e)&&!(e instanceof jn)){if(e instanceof Cn)return e;if(xe.call(e,"__wrapped__"))return Ia(e)}return new Cn(e)}var Tn=function(){function e(){}return function(t){if(!$i(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function Cn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function jn(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 Wn(e,t){var n=Oi(e),r=!n&&ji(e),o=!n&&!r&&Di(e),a=!n&&!r&&!o&&Qi(e),i=n||r||o||a,l=i?It(e.length,he):[],c=l.length;for(var s in e)!t&&!xe.call(e,s)||i&&("length"==s||o&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ca(s,c))||l.push(s);return l}function zn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Mn(e,t){return Ea(yo(e),Zn(t,0,e.length))}function Vn(e){return Ea(yo(e))}function Un(e,t,n){(void 0!==n&&!Ti(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)&&Ti(r,n)&&(void 0!==n||t in e)||Hn(e,t,n)}function qn(e,t){for(var n=e.length;n--;)if(Ti(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,a){t(r,e,n(e),a)})),r}function Yn(e,t){return e&&wo(t,kl(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,a=r(o),i=null==e;++n<o;)a[n]=i?void 0:hl(e,t[n]);return a}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,a){var i,l=1&t,s=2&t,p=4&t;if(n&&(i=o?n(e,r,o,a):n(e)),void 0!==i)return i;if(!$i(e))return e;var _=Oi(e);if(_){if(i=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),!l)return yo(e,i)}else{var j=oa(e),O=j==d||j==m;if(Di(e))return po(e,l);if(j==v||j==c||O&&!o){if(i=s||O?{}:ia(e),!l)return s?function(e,t){return wo(e,ra(e),t)}(e,function(e,t){return e&&wo(t,_l(t),e)}(i,e)):function(e,t){return wo(e,na(e),t)}(e,Yn(i,e))}else{if(!Me[j])return o?e:{};i=function(e,t,n){var r=e.constructor;switch(t){case x:return mo(e);case u: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 B:case P:case R:case I:case T:case"[object Uint8ClampedArray]":case A:case C:return go(e,n);case g:return new r;case h: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 k:return o=e,Pn?me(Pn.call(o)):{}}var o}(e,j,l)}}a||(a=new Dn);var N=a.get(e);if(N)return N;a.set(e,i),Zi(e)?e.forEach((function(r){i.add(Xn(r,t,n,r,e,a))})):Gi(e)&&e.forEach((function(r,o){i.set(o,Xn(r,t,n,o,e,a))}));var F=_?void 0:(p?s?Ho:Yo:s?_l:kl)(e);return lt(F||e,(function(r,o){F&&(r=e[o=r]),$n(i,o,Xn(r,t,n,o,e,a))})),i}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],a=t[o],i=e[o];if(void 0===i&&!(o in e)||!a(i))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ve(a);return ka((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,a=ft,i=!0,l=e.length,c=[],s=t.length;if(!l)return c;n&&(t=dt(t,At(n))),r?(a=pt,i=!1):t.length>=200&&(a=jt,i=!1,t=new Ln(t));e:for(;++o<l;){var u=e[o],f=null==n?u:n(u);if(u=r||0!==u?u:0,i&&f==f){for(var p=s;p--;)if(t[p]===f)continue e;c.push(u)}else a(t,f,r)||c.push(u)}return c}In.templateSettings={escape:z,evaluate:M,interpolate:V,variable:"",imports:{_:In}},In.prototype=An.prototype,In.prototype.constructor=In,Cn.prototype=Tn(An.prototype),Cn.prototype.constructor=Cn,jn.prototype=Tn(An.prototype),jn.prototype.constructor=jn,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(sr),nr=xo(ur,!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 a=e[r],i=t(a);if(null!=i&&(void 0===l?i==i&&!Ji(i):n(i,l)))var l=i,c=a}return c}function ar(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var a=-1,i=e.length;for(n||(n=la),o||(o=[]);++a<i;){var l=e[a];t>0&&n(l)?t>1?ir(l,t-1,n,r,o):mt(o,l):r||(o[o.length]=l)}return o}var lr=So(),cr=So(!0);function sr(e,t){return e&&lr(e,t,kl)}function ur(e,t){return e&&cr(e,t,kl)}function fr(e,t){return ut(t,(function(t){return Mi(e[t])}))}function pr(e,t){for(var n=0,r=(t=co(t,e)).length;null!=e&&n<r;)e=e[Pa(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Oi(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=Be.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Be.call(e)}(e)}function gr(e,t){return e>t}function hr(e,t){return null!=e&&xe.call(e,t)}function vr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:ft,a=e[0].length,i=e.length,l=i,c=r(i),s=1/0,u=[];l--;){var f=e[l];l&&t&&(f=dt(f,At(t))),s=cn(f.length,s),c[l]=!n&&(t||a>=120&&f.length>=120)?new Ln(l&&f):void 0}f=e[0];var p=-1,d=c[0];e:for(;++p<a&&u.length<s;){var m=f[p],g=t?t(m):m;if(m=n||0!==m?m:0,!(d?jt(d,g):o(u,g,n))){for(l=i;--l;){var h=c[l];if(!(h?jt(h,g):o(e[l],g,n)))continue e}d&&d.push(g),u.push(m)}}return u}function yr(e,t,n){var r=null==(e=va(e,t=co(t,e)))?e:e[Pa(za(t))];return null==r?void 0:at(r,e,n)}function wr(e){return qi(e)&&mr(e)==c}function kr(e,t,n,r,o){return e===t||(null==e||null==t||!qi(e)&&!qi(t)?e!=e&&t!=t:function(e,t,n,r,o,a){var i=Oi(e),l=Oi(t),d=i?s:oa(e),m=l?s:oa(t),_=(d=d==c?v:d)==v,E=(m=m==c?v:m)==v,B=d==m;if(B&&Di(e)){if(!Di(t))return!1;i=!0,_=!1}if(B&&!_)return a||(a=new Dn),i||Qi(e)?qo(e,t,n,r,o,a):function(e,t,n,r,o,a,i){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||!a(new Oe(e),new Oe(t)));case u:case f:case h:return Ti(+e,+t);case p:return e.name==t.name&&e.message==t.message;case b:case w:return e==t+"";case g:var l=Mt;case y:var c=1&r;if(l||(l=$t),e.size!=t.size&&!c)return!1;var s=i.get(e);if(s)return s==t;r|=2,i.set(e,t);var d=qo(l(e),l(t),r,o,a,i);return i.delete(e),d;case k:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,d,n,r,o,a);if(!(1&n)){var P=_&&xe.call(e,"__wrapped__"),R=E&&xe.call(t,"__wrapped__");if(P||R){var I=P?e.value():e,T=R?t.value():t;return a||(a=new Dn),o(I,T,n,r,a)}}if(!B)return!1;return a||(a=new Dn),function(e,t,n,r,o,a){var i=1&n,l=Yo(e),c=l.length,s=Yo(t).length;if(c!=s&&!i)return!1;var u=c;for(;u--;){var f=l[u];if(!(i?f in t:xe.call(t,f)))return!1}var p=a.get(e),d=a.get(t);if(p&&d)return p==t&&d==e;var m=!0;a.set(e,t),a.set(t,e);var g=i;for(;++u<c;){f=l[u];var h=e[f],v=t[f];if(r)var b=i?r(v,h,f,t,e,a):r(h,v,f,e,t,a);if(!(void 0===b?h===v||o(h,v,n,r,a):b)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){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 a.delete(e),a.delete(t),m}(e,t,n,r,o,a)}(e,t,n,r,kr,o))}function _r(e,t,n,r){var o=n.length,a=o,i=!r;if(null==e)return!a;for(e=me(e);o--;){var l=n[o];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=n[o])[0],s=e[c],u=l[1];if(i&&l[2]){if(void 0===s&&!(c in e))return!1}else{var f=new Dn;if(r)var p=r(s,u,c,e,t,f);if(!(void 0===p?kr(u,s,3,r,f):p))return!1}}return!0}function xr(e){return!(!$i(e)||(t=e,Ee&&Ee in t))&&(Mi(e)?Ie:ie).test(Ra(e));var t}function Sr(e){return"function"==typeof e?e:null==e?Yl:"object"==typeof e?Oi(e)?Tr(e[0],e[1]):Ir(e):nc(e)}function Er(e){if(!da(e))return an(e);var t=[];for(var n in me(e))xe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!$i(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=da(e),n=[];for(var r in e)("constructor"!=r||!t&&xe.call(e,r))&&n.push(r);return n}function Pr(e,t){return e<t}function Rr(e,t){var n=-1,o=Fi(e)?r(e.length):[];return tr(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}function Ir(e){var t=ea(e);return 1==t.length&&t[0][2]?ga(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}}function Tr(e,t){return ua(e)&&ma(t)?ga(Pa(e),t):function(n){var r=hl(n,e);return void 0===r&&r===t?vl(n,e):kr(t,r,3)}}function Ar(e,t,n,r,o){e!==t&&lr(t,(function(a,i){if(o||(o=new Dn),$i(a))!function(e,t,n,r,o,a,i){var l=ya(e,n),c=ya(t,n),s=i.get(c);if(s)return void Un(e,n,s);var u=a?a(l,c,n+"",e,t,i):void 0,f=void 0===u;if(f){var p=Oi(c),d=!p&&Di(c),m=!p&&!d&&Qi(c);u=c,p||d||m?Oi(l)?u=l:Li(l)?u=yo(l):d?(f=!1,u=po(c,!0)):m?(f=!1,u=go(c,!0)):u=[]:Hi(c)||ji(c)?(u=l,ji(l)?u=ll(l):$i(l)&&!Mi(l)||(u=ia(c))):f=!1}f&&(i.set(c,u),o(u,c,r,a,i),i.delete(c));Un(e,n,u)}(e,t,i,n,Ar,r,o);else{var l=r?r(ya(e,i),a,i+"",e,t,o):void 0;void 0===l&&(l=a),Un(e,i,l)}}),_l)}function Cr(e,t){var n=e.length;if(n)return ca(t+=t<0?n:0,n)?e[t]:void 0}function jr(e,t,n){t=t.length?dt(t,(function(e){return Oi(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Yl];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}(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,a=t.criteria,i=o.length,l=n.length;for(;++r<i;){var c=ho(o[r],a[r]);if(c){if(r>=l)return c;var s=n[r];return c*("desc"==s?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var i=t[r],l=pr(e,i);n(l,i)&&Vr(a,co(i,e),l)}return a}function Nr(e,t,n,r){var o=r?_t:kt,a=-1,i=t.length,l=e;for(e===t&&(t=yo(t)),n&&(l=dt(e,At(n)));++a<i;)for(var c=0,s=t[a],u=n?n(s):s;(c=o(l,u,c,r))>-1;)l!==e&&He.call(l,c,1),He.call(e,c,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!==a){var a=o;ca(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 Wr(e,t){return _a(ha(e,t,Yl),e+"")}function zr(e){return zn(Tl(e))}function Mr(e,t){var n=Tl(e);return Ea(n,Zn(t,0,n.length))}function Vr(e,t,n,r){if(!$i(e))return e;for(var o=-1,a=(t=co(t,e)).length,i=a-1,l=e;null!=l&&++o<a;){var c=Pa(t[o]),s=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=i){var u=l[c];void 0===(s=r?r(u,c,l):void 0)&&(s=$i(u)?u:ca(t[o+1])?[]:{})}$n(l,c,s),l=l[c]}return e}var Ur=yn?function(e,t){return yn.set(e,t),e}:Yl,$r=bt?function(e,t){return bt(e,"toString",{configurable:!0,enumerable:!1,value:$l(t),writable:!0})}:Yl;function qr(e){return Ea(Tl(e))}function Gr(e,t,n){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=r(a);++o<a;)i[o]=e[o+t];return i}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 a=r+o>>>1,i=e[a];null!==i&&!Ji(i)&&(n?i<=t:i<t)?r=a+1:o=a}return o}return Kr(e,t,Yl,n)}function Kr(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var i=(t=n(t))!=t,l=null===t,c=Ji(t),s=void 0===t;o<a;){var u=en((o+a)/2),f=n(e[u]),p=void 0!==f,d=null===f,m=f==f,g=Ji(f);if(i)var h=r||m;else h=s?m&&(r||p):l?m&&p&&(r||!d):c?m&&p&&!d&&(r||!g):!d&&!g&&(r?f<=t:f<t);h?o=u+1:a=u}return cn(a,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var i=e[n],l=t?t(i):i;if(!n||!Ti(l,c)){var c=l;a[o++]=0===i?0:i}}return a}function Xr(e){return"number"==typeof e?e:Ji(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Oi(e))return dt(e,Jr)+"";if(Ji(e))return Rn?Rn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ft,a=e.length,i=!0,l=[],c=l;if(n)i=!1,o=pt;else if(a>=200){var s=t?null:Wo(e);if(s)return $t(s);i=!1,o=jt,c=new Ln}else c=t?[]:l;e:for(;++r<a;){var u=e[r],f=t?t(u):u;if(u=n||0!==u?u:0,i&&f==f){for(var p=c.length;p--;)if(c[p]===f)continue e;t&&c.push(f),l.push(u)}else o(c,f,n)||(c!==l&&c.push(f),l.push(u))}return l}function eo(e,t){return null==(e=va(e,t=co(t,e)))||delete e[Pa(za(t))]}function to(e,t,n,r){return Vr(e,t,n(pr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,a=r?o:-1;(r?a--:++a<o)&&t(e[a],a,e););return n?Gr(e,r?0:a,r?a+1:o):Gr(e,r?a+1:0,r?o:a)}function ro(e,t){var n=e;return n instanceof jn&&(n=n.value()),gt(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 a=-1,i=r(o);++a<o;)for(var l=e[a],c=-1;++c<o;)c!=a&&(i[a]=er(i[a]||l,e[c],t,n));return Qr(ir(i,1),t,n)}function ao(e,t,n){for(var r=-1,o=e.length,a=t.length,i={};++r<o;){var l=r<a?t[r]:void 0;n(i,e[r],l)}return i}function io(e){return Li(e)?e:[]}function lo(e){return"function"==typeof e?e:Yl}function co(e,t){return Oi(e)?e:ua(e,t)?[e]:Ba(cl(e))}var so=Wr;function uo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=Bt||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 go(e,t){var n=t?mo(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,a=Ji(e),i=void 0!==t,l=null===t,c=t==t,s=Ji(t);if(!l&&!s&&!a&&e>t||a&&i&&c&&!l&&!s||r&&i&&c||!n&&c||!o)return 1;if(!r&&!a&&!s&&e<t||s&&n&&o&&!r&&!a||l&&n&&o||!i&&o||!c)return-1}return 0}function vo(e,t,n,o){for(var a=-1,i=e.length,l=n.length,c=-1,s=t.length,u=ln(i-l,0),f=r(s+u),p=!o;++c<s;)f[c]=t[c];for(;++a<l;)(p||a<i)&&(f[n[a]]=e[a]);for(;u--;)f[c++]=e[a++];return f}function bo(e,t,n,o){for(var a=-1,i=e.length,l=-1,c=n.length,s=-1,u=t.length,f=ln(i-c,0),p=r(f+u),d=!o;++a<f;)p[a]=e[a];for(var m=a;++s<u;)p[m+s]=t[s];for(;++l<c;)(d||a<i)&&(p[m+n[l]]=e[a++]);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 wo(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var l=t[a],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),o?Hn(n,l,c):$n(n,l,c)}return n}function ko(e,t){return function(n,r){var o=Oi(n)?it:Gn,a=t?t():{};return o(n,e,Jo(r,2),a)}}function _o(e){return Wr((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&sa(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=me(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t}))}function xo(e,t){return function(n,r){if(null==n)return n;if(!Fi(n))return e(n,r);for(var o=n.length,a=t?o:-1,i=me(n);(t?a--:++a<o)&&!1!==r(i[a],a,i););return n}}function So(e){return function(t,n,r){for(var o=-1,a=me(t),i=r(t),l=i.length;l--;){var c=i[e?l:++o];if(!1===n(a[c],c,a))break}return t}}function Eo(e){return function(t){var n=zt(t=cl(t))?Yt(t):void 0,r=n?n[0]:t.charAt(0),o=n?uo(n,1).join(""):t.slice(1);return r[e]()+o}}function Bo(e){return function(t){return gt(Ml(jl(t).replace(Ce,"")),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 $i(r)?r:n}}function Ro(e){return function(t,n,r){var o=me(t);if(!Fi(t)){var a=Jo(n,3);t=kl(t),n=function(e){return a(o[e],e,o)}}var i=e(t,n,r);return i>-1?o[a?t[i]:i]:void 0}}function Io(e){return Go((function(t){var n=t.length,r=n,o=Cn.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new ve(a);if(o&&!l&&"wrapper"==Zo(i))var l=new Cn([],!0)}for(r=l?r:n;++r<n;){var c=Zo(i=t[r]),s="wrapper"==c?Ko(i):void 0;l=s&&fa(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?l[Zo(s[0])].apply(l,s[3]):1==i.length&&fa(i)?l[c]():l.thru(i)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Oi(r))return l.plant(r).value();for(var o=0,a=n?t[o].apply(this,e):r;++o<n;)a=t[o].call(this,a);return a}}))}function To(e,t,n,o,a,i,l,c,s,u){var f=128&t,p=1&t,d=2&t,m=24&t,g=512&t,h=d?void 0:Po(e);return function v(){for(var b=arguments.length,y=r(b),w=b;w--;)y[w]=arguments[w];if(m)var k=Xo(v),_=Ft(y,k);if(o&&(y=vo(y,o,a,m)),i&&(y=bo(y,i,l,m)),b-=_,m&&b<u){var x=Ut(y,k);return Lo(e,t,To,v.placeholder,n,y,x,c,s,u-b)}var S=p?n:this,E=d?S[e]:e;return b=y.length,c?y=ba(y,c):g&&b>1&&y.reverse(),f&&s<b&&(y.length=s),this&&this!==Ye&&this instanceof v&&(E=h||Po(E)),E.apply(S,y)}}function Ao(e,t){return function(n,r){return function(e,t,n,r){return sr(e,(function(e,o,a){t(r,n(e),o,a)})),r}(n,e,t(r),{})}}function Co(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 jo(e){return Go((function(t){return t=dt(t,At(Jo())),Wr((function(n){var r=this;return e(t,(function(e){return at(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 zt(t)?uo(Yt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&sa(t,n,o)&&(n=o=void 0),t=rl(t),void 0===n?(n=t,t=0):n=rl(n),function(e,t,n,o){for(var a=-1,i=ln(Qt((t-e)/(n||1)),0),l=r(i);i--;)l[o?i:++a]=e,e+=n;return l}(t,n,o=void 0===o?t<n?1:-1:rl(o),e)}}function Fo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=il(t),n=il(n)),e(t,n)}}function Lo(e,t,n,r,o,a,i,l,c,s){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var f=[e,t,o,u?a:void 0,u?i:void 0,u?void 0:a,u?void 0:i,l,c,s],p=n.apply(void 0,f);return fa(e)&&wa(p,f),p.placeholder=r,xa(p,e,t)}function Do(e){var t=de[e];return function(e,n){if(e=il(e),(n=null==n?0:cn(ol(n),292))&&rn(e)){var r=(cl(e)+"e").split("e");return+((r=(cl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Wo=hn&&1/$t(new hn([,-0]))[1]==1/0?function(e){return new hn(e)}:Jl;function zo(e){return function(t){var n=oa(t);return n==g?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,l,c,s,u){var f=2&t;if(!f&&"function"!=typeof e)throw new ve(a);var p=o?o.length:0;if(p||(t&=-97,o=l=void 0),s=void 0===s?s:ln(ol(s),0),u=void 0===u?u:ol(u),p-=l?l.length:0,64&t){var d=o,m=l;o=l=void 0}var g=f?void 0:Ko(e),h=[e,t,n,o,l,d,m,c,s,u];if(g&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,l=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var s=e[3];e[3]=s?vo(s,c,t[4]):c,e[4]=s?Ut(e[3],i):t[4]}(c=t[5])&&(s=e[5],e[5]=s?bo(s,c,t[6]):c,e[6]=s?Ut(e[5],i):t[6]);(c=t[7])&&(e[7]=c);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}(h,g),e=h[0],t=h[1],n=h[2],o=h[3],l=h[4],!(u=h[9]=void 0===h[9]?f?0:e.length:ln(h[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,n){var o=Po(e);return function a(){for(var i=arguments.length,l=r(i),c=i,s=Xo(a);c--;)l[c]=arguments[c];var u=i<3&&l[0]!==s&&l[i-1]!==s?[]:Ut(l,s);if((i-=u.length)<n)return Lo(e,t,To,a.placeholder,void 0,l,u,void 0,void 0,n-i);var f=this&&this!==Ye&&this instanceof a?o:e;return at(f,this,l)}}(e,t,u):32!=t&&33!=t||l.length?To.apply(void 0,h):function(e,t,n,o){var a=1&t,i=Po(e);return function t(){for(var l=-1,c=arguments.length,s=-1,u=o.length,f=r(u+c),p=this&&this!==Ye&&this instanceof t?i:e;++s<u;)f[s]=o[s];for(;c--;)f[s++]=arguments[++l];return at(p,a?n:this,f)}}(e,t,n,o);else var v=function(e,t,n){var r=1&t,o=Po(e);return function t(){var a=this&&this!==Ye&&this instanceof t?o:e;return a.apply(r?n:this,arguments)}}(e,t,n);return xa((g?Ur:wa)(v,h),e,t)}function Vo(e,t,n,r){return void 0===e||Ti(e,we[n])&&!xe.call(r,n)?t:e}function Uo(e,t,n,r,o,a){return $i(e)&&$i(t)&&(a.set(t,e),Ar(e,t,void 0,Uo,a),a.delete(t)),e}function $o(e){return Hi(e)?void 0:e}function qo(e,t,n,r,o,a){var i=1&n,l=e.length,c=t.length;if(l!=c&&!(i&&c>l))return!1;var s=a.get(e),u=a.get(t);if(s&&u)return s==t&&u==e;var f=-1,p=!0,d=2&n?new Ln:void 0;for(a.set(e,t),a.set(t,e);++f<l;){var m=e[f],g=t[f];if(r)var h=i?r(g,m,f,t,e,a):r(m,g,f,e,t,a);if(void 0!==h){if(h)continue;p=!1;break}if(d){if(!vt(t,(function(e,t){if(!jt(d,t)&&(m===e||o(m,e,n,r,a)))return d.push(t)}))){p=!1;break}}else if(m!==g&&!o(m,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function Go(e){return _a(ha(e,void 0,Na),e+"")}function Yo(e){return dr(e,kl,na)}function Ho(e){return dr(e,_l,ra)}var Ko=yn?function(e){return yn.get(e)}:Jl;function Zo(e){for(var t=e.name+"",n=wn[t],r=xe.call(wn,t)?n.length:0;r--;){var o=n[r],a=o.func;if(null==a||a==e)return o.name}return t}function Xo(e){return(xe.call(In,"placeholder")?In:e).placeholder}function Jo(){var e=In.iteratee||Hl;return e=e===Hl?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 ea(e){for(var t=kl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ma(o)]}return t}function ta(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xr(n)?n:void 0}var na=tn?function(e){return null==e?[]:(e=me(e),ut(tn(e),(function(t){return Ge.call(e,t)})))}:ac,ra=tn?function(e){for(var t=[];e;)mt(t,na(e)),e=Ve(e);return t}:ac,oa=mr;function aa(e,t,n){for(var r=-1,o=(t=co(t,e)).length,a=!1;++r<o;){var i=Pa(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||++r!=o?a:!!(o=null==e?0:e.length)&&Ui(o)&&ca(i,o)&&(Oi(e)||ji(e))}function ia(e){return"function"!=typeof e.constructor||da(e)?{}:Tn(Ve(e))}function la(e){return Oi(e)||ji(e)||!!(Ke&&e&&e[Ke])}function ca(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ce.test(e))&&e>-1&&e%1==0&&e<t}function sa(e,t,n){if(!$i(n))return!1;var r=typeof t;return!!("number"==r?Fi(n)&&ca(t,n.length):"string"==r&&t in n)&&Ti(n[t],e)}function ua(e,t){if(Oi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ji(e))||($.test(e)||!U.test(e)||null!=t&&e in me(t))}function fa(e){var t=Zo(e),n=In[t];if("function"!=typeof n||!(t in jn.prototype))return!1;if(e===n)return!0;var r=Ko(n);return!!r&&e===r[0]}(dn&&oa(new dn(new ArrayBuffer(1)))!=S||mn&&oa(new mn)!=g||gn&&"[object Promise]"!=oa(gn.resolve())||hn&&oa(new hn)!=y||vn&&oa(new vn)!=_)&&(oa=function(e){var t=mr(e),n=t==v?e.constructor:void 0,r=n?Ra(n):"";if(r)switch(r){case kn:return S;case _n:return g;case xn:return"[object Promise]";case Sn:return y;case En:return _}return t});var pa=ke?Mi:ic;function da(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||we)}function ma(e){return e==e&&!$i(e)}function ga(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function ha(e,t,n){return t=ln(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,i=ln(o.length-t,0),l=r(i);++a<i;)l[a]=o[t+a];a=-1;for(var c=r(t+1);++a<t;)c[a]=o[a];return c[t]=n(l),at(e,this,c)}}function va(e,t){return t.length<2?e:pr(e,Gr(t,0,-1))}function ba(e,t){for(var n=e.length,r=cn(t.length,n),o=yo(e);r--;){var a=t[r];e[r]=ca(a,n)?o[a]:void 0}return e}function ya(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wa=Sa(Ur),ka=Jt||function(e,t){return Ye.setTimeout(e,t)},_a=Sa($r);function xa(e,t,n){var r=t+"";return _a(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 lt(l,(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 Sa(e){var t=0,n=0;return function(){var r=sn(),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 Ea(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var a=Lr(n,o),i=e[a];e[a]=e[n],e[n]=i}return e.length=t,e}var Ba=function(e){var t=Si(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 Pa(e){if("string"==typeof e||Ji(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ra(e){if(null!=e){try{return _e.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ia(e){if(e instanceof jn)return e.clone();var t=new Cn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ta=Wr((function(e,t){return Li(e)?er(e,ir(t,1,Li,!0)):[]})),Aa=Wr((function(e,t){var n=za(t);return Li(n)&&(n=void 0),Li(e)?er(e,ir(t,1,Li,!0),Jo(n,2)):[]})),Ca=Wr((function(e,t){var n=za(t);return Li(n)&&(n=void 0),Li(e)?er(e,ir(t,1,Li,!0),void 0,n):[]}));function ja(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ol(n);return o<0&&(o=ln(r+o,0)),wt(e,Jo(t,3),o)}function Oa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=ol(n),o=n<0?ln(r+o,0):cn(o,r-1)),wt(e,Jo(t,3),o,!0)}function Na(e){return(null==e?0:e.length)?ir(e,1):[]}function Fa(e){return e&&e.length?e[0]:void 0}var La=Wr((function(e){var t=dt(e,io);return t.length&&t[0]===e[0]?br(t):[]})),Da=Wr((function(e){var t=za(e),n=dt(e,io);return t===za(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Jo(t,2)):[]})),Wa=Wr((function(e){var t=za(e),n=dt(e,io);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function za(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ma=Wr(Va);function Va(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Ua=Go((function(e,t){var n=null==e?0:e.length,r=Kn(e,t);return Fr(e,dt(t,(function(e){return ca(e,n)?+e:e})).sort(ho)),r}));function $a(e){return null==e?e:pn.call(e)}var qa=Wr((function(e){return Qr(ir(e,1,Li,!0))})),Ga=Wr((function(e){var t=za(e);return Li(t)&&(t=void 0),Qr(ir(e,1,Li,!0),Jo(t,2))})),Ya=Wr((function(e){var t=za(e);return t="function"==typeof t?t:void 0,Qr(ir(e,1,Li,!0),void 0,t)}));function Ha(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Li(e))return t=ln(e.length,t),!0})),It(t,(function(t){return dt(e,Et(t))}))}function Ka(e,t){if(!e||!e.length)return[];var n=Ha(e);return null==t?n:dt(n,(function(e){return at(t,void 0,e)}))}var Za=Wr((function(e,t){return Li(e)?er(e,t):[]})),Xa=Wr((function(e){return oo(ut(e,Li))})),Ja=Wr((function(e){var t=za(e);return Li(t)&&(t=void 0),oo(ut(e,Li),Jo(t,2))})),Qa=Wr((function(e){var t=za(e);return t="function"==typeof t?t:void 0,oo(ut(e,Li),void 0,t)})),ei=Wr(Ha);var ti=Wr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ka(e,n)}));function ni(e){var t=In(e);return t.__chain__=!0,t}function ri(e,t){return t(e)}var oi=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 jn&&ca(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ri,args:[o],thisArg:void 0}),new Cn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ai=ko((function(e,t,n){xe.call(e,n)?++e[n]:Hn(e,n,1)}));var ii=Ro(ja),li=Ro(Oa);function ci(e,t){return(Oi(e)?lt:tr)(e,Jo(t,3))}function si(e,t){return(Oi(e)?ct:nr)(e,Jo(t,3))}var ui=ko((function(e,t,n){xe.call(e,n)?e[n].push(t):Hn(e,n,[t])}));var fi=Wr((function(e,t,n){var o=-1,a="function"==typeof t,i=Fi(e)?r(e.length):[];return tr(e,(function(e){i[++o]=a?at(t,e,n):yr(e,t,n)})),i})),pi=ko((function(e,t,n){Hn(e,n,t)}));function di(e,t){return(Oi(e)?dt:Rr)(e,Jo(t,3))}var mi=ko((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var gi=Wr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&sa(e,t[0],t[1])?t=[]:n>2&&sa(t[0],t[1],t[2])&&(t=[t[0]]),jr(e,ir(t,1),[])})),hi=Xt||function(){return Ye.Date.now()};function vi(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 bi(e,t){var n;if("function"!=typeof t)throw new ve(a);return e=ol(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var yi=Wr((function(e,t,n){var r=1;if(n.length){var o=Ut(n,Xo(yi));r|=32}return Mo(e,r,t,n,o)})),wi=Wr((function(e,t,n){var r=3;if(n.length){var o=Ut(n,Xo(wi));r|=32}return Mo(t,r,e,n,o)}));function ki(e,t,n){var r,o,i,l,c,s,u=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ve(a);function m(t){var n=r,a=o;return r=o=void 0,u=t,l=e.apply(a,n)}function g(e){return u=e,c=ka(v,t),f?m(e):l}function h(e){var n=e-s;return void 0===s||n>=t||n<0||p&&e-u>=i}function v(){var e=hi();if(h(e))return b(e);c=ka(v,function(e){var n=t-(e-s);return p?cn(n,i-(e-u)):n}(e))}function b(e){return c=void 0,d&&r?m(e):(r=o=void 0,l)}function y(){var e=hi(),n=h(e);if(r=arguments,o=this,s=e,n){if(void 0===c)return g(s);if(p)return fo(c),c=ka(v,t),m(s)}return void 0===c&&(c=ka(v,t)),l}return t=il(t)||0,$i(n)&&(f=!!n.leading,i=(p="maxWait"in n)?ln(il(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==c&&fo(c),u=0,r=s=o=c=void 0},y.flush=function(){return void 0===c?l:b(hi())},y}var _i=Wr((function(e,t){return Qn(e,1,t)})),xi=Wr((function(e,t,n){return Qn(e,il(t)||0,n)}));function Si(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(a);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Si.Cache||Fn),n}function Ei(e){if("function"!=typeof e)throw new ve(a);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)}}Si.Cache=Fn;var Bi=so((function(e,t){var n=(t=1==t.length&&Oi(t[0])?dt(t[0],At(Jo())):dt(ir(t,1),At(Jo()))).length;return Wr((function(r){for(var o=-1,a=cn(r.length,n);++o<a;)r[o]=t[o].call(this,r[o]);return at(e,this,r)}))})),Pi=Wr((function(e,t){return Mo(e,32,void 0,t,Ut(t,Xo(Pi)))})),Ri=Wr((function(e,t){return Mo(e,64,void 0,t,Ut(t,Xo(Ri)))})),Ii=Go((function(e,t){return Mo(e,256,void 0,void 0,void 0,t)}));function Ti(e,t){return e===t||e!=e&&t!=t}var Ai=Fo(gr),Ci=Fo((function(e,t){return e>=t})),ji=wr(function(){return arguments}())?wr:function(e){return qi(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Oi=r.isArray,Ni=Qe?At(Qe):function(e){return qi(e)&&mr(e)==x};function Fi(e){return null!=e&&Ui(e.length)&&!Mi(e)}function Li(e){return qi(e)&&Fi(e)}var Di=nn||ic,Wi=et?At(et):function(e){return qi(e)&&mr(e)==f};function zi(e){if(!qi(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Hi(e)}function Mi(e){if(!$i(e))return!1;var t=mr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Vi(e){return"number"==typeof e&&e==ol(e)}function Ui(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $i(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qi(e){return null!=e&&"object"==typeof e}var Gi=tt?At(tt):function(e){return qi(e)&&oa(e)==g};function Yi(e){return"number"==typeof e||qi(e)&&mr(e)==h}function Hi(e){if(!qi(e)||mr(e)!=v)return!1;var t=Ve(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_e.call(n)==Pe}var Ki=nt?At(nt):function(e){return qi(e)&&mr(e)==b};var Zi=rt?At(rt):function(e){return qi(e)&&oa(e)==y};function Xi(e){return"string"==typeof e||!Oi(e)&&qi(e)&&mr(e)==w}function Ji(e){return"symbol"==typeof e||qi(e)&&mr(e)==k}var Qi=ot?At(ot):function(e){return qi(e)&&Ui(e.length)&&!!ze[mr(e)]};var el=Fo(Pr),tl=Fo((function(e,t){return e<=t}));function nl(e){if(!e)return[];if(Fi(e))return Xi(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=oa(e);return(t==g?Mt:t==y?$t:Tl)(e)}function rl(e){return e?(e=il(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ol(e){var t=rl(e),n=t%1;return t==t?n?t-n:t:0}function al(e){return e?Zn(ol(e),0,4294967295):0}function il(e){if("number"==typeof e)return e;if(Ji(e))return NaN;if($i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ae.test(e);return n||le.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function ll(e){return wo(e,_l(e))}function cl(e){return null==e?"":Jr(e)}var sl=_o((function(e,t){if(da(t)||Fi(t))wo(t,kl(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),ul=_o((function(e,t){wo(t,_l(t),e)})),fl=_o((function(e,t,n,r){wo(t,_l(t),e,r)})),pl=_o((function(e,t,n,r){wo(t,kl(t),e,r)})),dl=Go(Kn);var ml=Wr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&sa(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],i=_l(a),l=-1,c=i.length;++l<c;){var s=i[l],u=e[s];(void 0===u||Ti(u,we[s])&&!xe.call(e,s))&&(e[s]=a[s])}return e})),gl=Wr((function(e){return e.push(void 0,Uo),at(Sl,void 0,e)}));function hl(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function vl(e,t){return null!=e&&aa(e,t,vr)}var bl=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),$l(Yl)),yl=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),xe.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),wl=Wr(yr);function kl(e){return Fi(e)?Wn(e):Er(e)}function _l(e){return Fi(e)?Wn(e,!0):Br(e)}var xl=_o((function(e,t,n){Ar(e,t,n)})),Sl=_o((function(e,t,n,r){Ar(e,t,n,r)})),El=Go((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})),wo(e,Ho(e),n),r&&(n=Xn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Bl=Go((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return vl(e,n)}))}(e,t)}));function Pl(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 Rl=zo(kl),Il=zo(_l);function Tl(e){return null==e?[]:Ct(e,kl(e))}var Al=Bo((function(e,t,n){return t=t.toLowerCase(),e+(n?Cl(t):t)}));function Cl(e){return zl(cl(e).toLowerCase())}function jl(e){return(e=cl(e))&&e.replace(se,Lt).replace(je,"")}var Ol=Bo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nl=Bo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fl=Eo("toLowerCase");var Ll=Bo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dl=Bo((function(e,t,n){return e+(n?" ":"")+zl(t)}));var Wl=Bo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),zl=Eo("toUpperCase");function Ml(e,t,n){return e=cl(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 Vl=Wr((function(e,t){try{return at(e,void 0,t)}catch(e){return zi(e)?e:new K(e)}})),Ul=Go((function(e,t){return lt(t,(function(t){t=Pa(t),Hn(e,t,yi(e[t],e))})),e}));function $l(e){return function(){return e}}var ql=Io(),Gl=Io(!0);function Yl(e){return e}function Hl(e){return Sr("function"==typeof e?e:Xn(e,1))}var Kl=Wr((function(e,t){return function(n){return yr(n,e,t)}})),Zl=Wr((function(e,t){return function(n){return yr(e,n,t)}}));function Xl(e,t,n){var r=kl(t),o=fr(t,r);null!=n||$i(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,kl(t)));var a=!($i(n)&&"chain"in n&&!n.chain),i=Mi(e);return lt(o,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(a||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 Jl(){}var Ql=jo(dt),ec=jo(st),tc=jo(vt);function nc(e){return ua(e)?Et(Pa(e)):function(e){return function(t){return pr(t,e)}}(e)}var rc=No(),oc=No(!0);function ac(){return[]}function ic(){return!1}var lc=Co((function(e,t){return e+t}),0),cc=Do("ceil"),sc=Co((function(e,t){return e/t}),1),uc=Do("floor");var fc,pc=Co((function(e,t){return e*t}),1),dc=Do("round"),mc=Co((function(e,t){return e-t}),0);return In.after=function(e,t){if("function"!=typeof t)throw new ve(a);return e=ol(e),function(){if(--e<1)return t.apply(this,arguments)}},In.ary=vi,In.assign=sl,In.assignIn=ul,In.assignInWith=fl,In.assignWith=pl,In.at=dl,In.before=bi,In.bind=yi,In.bindAll=Ul,In.bindKey=wi,In.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Oi(e)?e:[e]},In.chain=ni,In.chunk=function(e,t,n){t=(n?sa(e,t,n):void 0===t)?1:ln(ol(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,i=0,l=r(Qt(o/t));a<o;)l[i++]=Gr(e,a,a+=t);return l},In.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}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(Oi(n)?yo(n):[n],ir(t,1))},In.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 ve(a);return[n(e[0]),e[1]]})):[],Wr((function(n){for(var r=-1;++r<t;){var o=e[r];if(at(o[0],this,n))return at(o[1],this,n)}}))},In.conforms=function(e){return function(e){var t=kl(e);return function(n){return Jn(n,e,t)}}(Xn(e,1))},In.constant=$l,In.countBy=ai,In.create=function(e,t){var n=Tn(e);return null==t?n:Yn(n,t)},In.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},In.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},In.debounce=ki,In.defaults=ml,In.defaultsDeep=gl,In.defer=_i,In.delay=xi,In.difference=Ta,In.differenceBy=Aa,In.differenceWith=Ca,In.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:ol(t))<0?0:t,r):[]},In.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:ol(t)))<0?0:t):[]},In.dropRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0,!0):[]},In.dropWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0):[]},In.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&sa(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=ol(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:ol(r))<0&&(r+=o),r=n>r?0:al(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},In.filter=function(e,t){return(Oi(e)?ut:ar)(e,Jo(t,3))},In.flatMap=function(e,t){return ir(di(e,t),1)},In.flatMapDeep=function(e,t){return ir(di(e,t),1/0)},In.flatMapDepth=function(e,t,n){return n=void 0===n?1:ol(n),ir(di(e,t),n)},In.flatten=Na,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:ol(t)):[]},In.flip=function(e){return Mo(e,512)},In.flow=ql,In.flowRight=Gl,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?[]:fr(e,kl(e))},In.functionsIn=function(e){return null==e?[]:fr(e,_l(e))},In.groupBy=ui,In.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},In.intersection=La,In.intersectionBy=Da,In.intersectionWith=Wa,In.invert=bl,In.invertBy=yl,In.invokeMap=fi,In.iteratee=Hl,In.keyBy=pi,In.keys=kl,In.keysIn=_l,In.map=di,In.mapKeys=function(e,t){var n={};return t=Jo(t,3),sr(e,(function(e,r,o){Hn(n,t(e,r,o),e)})),n},In.mapValues=function(e,t){var n={};return t=Jo(t,3),sr(e,(function(e,r,o){Hn(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=Si,In.merge=xl,In.mergeWith=Sl,In.method=Kl,In.methodOf=Zl,In.mixin=Xl,In.negate=Ei,In.nthArg=function(e){return e=ol(e),Wr((function(t){return Cr(t,e)}))},In.omit=El,In.omitBy=function(e,t){return Pl(e,Ei(Jo(t)))},In.once=function(e){return bi(2,e)},In.orderBy=function(e,t,n,r){return null==e?[]:(Oi(t)||(t=null==t?[]:[t]),Oi(n=r?void 0:n)||(n=null==n?[]:[n]),jr(e,t,n))},In.over=Ql,In.overArgs=Bi,In.overEvery=ec,In.overSome=tc,In.partial=Pi,In.partialRight=Ri,In.partition=mi,In.pick=Bl,In.pickBy=Pl,In.property=nc,In.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},In.pull=Ma,In.pullAll=Va,In.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Jo(n,2)):e},In.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},In.pullAt=Ua,In.range=rc,In.rangeRight=oc,In.rearg=Ii,In.reject=function(e,t){return(Oi(e)?ut:ar)(e,Ei(Jo(t,3)))},In.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=Jo(t,3);++r<a;){var i=e[r];t(i,r,e)&&(n.push(i),o.push(r))}return Fr(e,o),n},In.rest=function(e,t){if("function"!=typeof e)throw new ve(a);return Wr(e,t=void 0===t?t:ol(t))},In.reverse=$a,In.sampleSize=function(e,t,n){return t=(n?sa(e,t,n):void 0===t)?1:ol(t),(Oi(e)?Mn:Mr)(e,t)},In.set=function(e,t,n){return null==e?e:Vr(e,t,n)},In.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Vr(e,t,n,r)},In.shuffle=function(e){return(Oi(e)?Vn:qr)(e)},In.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&sa(e,t,n)?(t=0,n=r):(t=null==t?0:ol(t),n=void 0===n?r:ol(n)),Gr(e,t,n)):[]},In.sortBy=gi,In.sortedUniq=function(e){return e&&e.length?Zr(e):[]},In.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Jo(t,2)):[]},In.split=function(e,t,n){return n&&"number"!=typeof n&&sa(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=cl(e))&&("string"==typeof t||null!=t&&!Ki(t))&&!(t=Jr(t))&&zt(e)?uo(Yt(e),0,n):e.split(t,n):[]},In.spread=function(e,t){if("function"!=typeof e)throw new ve(a);return t=null==t?0:ln(ol(t),0),Wr((function(n){var r=n[t],o=uo(n,0,t);return r&&mt(o,r),at(e,this,o)}))},In.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},In.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:ol(t))<0?0:t):[]},In.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:ol(t)))<0?0:t,r):[]},In.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},In.takeWhile=function(e,t){return e&&e.length?no(e,Jo(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 ve(a);return $i(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ki(e,t,{leading:r,maxWait:t,trailing:o})},In.thru=ri,In.toArray=nl,In.toPairs=Rl,In.toPairsIn=Il,In.toPath=function(e){return Oi(e)?dt(e,Pa):Ji(e)?[e]:yo(Ba(cl(e)))},In.toPlainObject=ll,In.transform=function(e,t,n){var r=Oi(e),o=r||Di(e)||Qi(e);if(t=Jo(t,4),null==n){var a=e&&e.constructor;n=o?r?new a:[]:$i(e)&&Mi(a)?Tn(Ve(e)):{}}return(o?lt:sr)(e,(function(e,r,o){return t(n,e,r,o)})),n},In.unary=function(e){return vi(e,1)},In.union=qa,In.unionBy=Ga,In.unionWith=Ya,In.uniq=function(e){return e&&e.length?Qr(e):[]},In.uniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},In.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},In.unset=function(e,t){return null==e||eo(e,t)},In.unzip=Ha,In.unzipWith=Ka,In.update=function(e,t,n){return null==e?e:to(e,t,lo(n))},In.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,lo(n),r)},In.values=Tl,In.valuesIn=function(e){return null==e?[]:Ct(e,_l(e))},In.without=Za,In.words=Ml,In.wrap=function(e,t){return Pi(lo(t),e)},In.xor=Xa,In.xorBy=Ja,In.xorWith=Qa,In.zip=ei,In.zipObject=function(e,t){return ao(e||[],t||[],$n)},In.zipObjectDeep=function(e,t){return ao(e||[],t||[],Vr)},In.zipWith=ti,In.entries=Rl,In.entriesIn=Il,In.extend=ul,In.extendWith=fl,Xl(In,In),In.add=lc,In.attempt=Vl,In.camelCase=Al,In.capitalize=Cl,In.ceil=cc,In.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=il(n))==n?n:0),void 0!==t&&(t=(t=il(t))==t?t:0),Zn(il(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||Jn(e,t,kl(t))},In.deburr=jl,In.defaultTo=function(e,t){return null==e||e!=e?t:e},In.divide=sc,In.endsWith=function(e,t,n){e=cl(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Zn(ol(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},In.eq=Ti,In.escape=function(e){return(e=cl(e))&&W.test(e)?e.replace(L,Dt):e},In.escapeRegExp=function(e){return(e=cl(e))&&Y.test(e)?e.replace(G,"\\$&"):e},In.every=function(e,t,n){var r=Oi(e)?st:rr;return n&&sa(e,t,n)&&(t=void 0),r(e,Jo(t,3))},In.find=ii,In.findIndex=ja,In.findKey=function(e,t){return yt(e,Jo(t,3),sr)},In.findLast=li,In.findLastIndex=Oa,In.findLastKey=function(e,t){return yt(e,Jo(t,3),ur)},In.floor=uc,In.forEach=ci,In.forEachRight=si,In.forIn=function(e,t){return null==e?e:lr(e,Jo(t,3),_l)},In.forInRight=function(e,t){return null==e?e:cr(e,Jo(t,3),_l)},In.forOwn=function(e,t){return e&&sr(e,Jo(t,3))},In.forOwnRight=function(e,t){return e&&ur(e,Jo(t,3))},In.get=hl,In.gt=Ai,In.gte=Ci,In.has=function(e,t){return null!=e&&aa(e,t,hr)},In.hasIn=vl,In.head=Fa,In.identity=Yl,In.includes=function(e,t,n,r){e=Fi(e)?e:Tl(e),n=n&&!r?ol(n):0;var o=e.length;return n<0&&(n=ln(o+n,0)),Xi(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(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:ol(n);return o<0&&(o=ln(r+o,0)),kt(e,t,o)},In.inRange=function(e,t,n){return t=rl(t),void 0===n?(n=t,t=0):n=rl(n),function(e,t,n){return e>=cn(t,n)&&e<ln(t,n)}(e=il(e),t,n)},In.invoke=wl,In.isArguments=ji,In.isArray=Oi,In.isArrayBuffer=Ni,In.isArrayLike=Fi,In.isArrayLikeObject=Li,In.isBoolean=function(e){return!0===e||!1===e||qi(e)&&mr(e)==u},In.isBuffer=Di,In.isDate=Wi,In.isElement=function(e){return qi(e)&&1===e.nodeType&&!Hi(e)},In.isEmpty=function(e){if(null==e)return!0;if(Fi(e)&&(Oi(e)||"string"==typeof e||"function"==typeof e.splice||Di(e)||Qi(e)||ji(e)))return!e.length;var t=oa(e);if(t==g||t==y)return!e.size;if(da(e))return!Er(e).length;for(var n in e)if(xe.call(e,n))return!1;return!0},In.isEqual=function(e,t){return kr(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?kr(e,t,void 0,n):!!r},In.isError=zi,In.isFinite=function(e){return"number"==typeof e&&rn(e)},In.isFunction=Mi,In.isInteger=Vi,In.isLength=Ui,In.isMap=Gi,In.isMatch=function(e,t){return e===t||_r(e,t,ea(t))},In.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,_r(e,t,ea(t),n)},In.isNaN=function(e){return Yi(e)&&e!=+e},In.isNative=function(e){if(pa(e))throw new K("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(e)},In.isNil=function(e){return null==e},In.isNull=function(e){return null===e},In.isNumber=Yi,In.isObject=$i,In.isObjectLike=qi,In.isPlainObject=Hi,In.isRegExp=Ki,In.isSafeInteger=function(e){return Vi(e)&&e>=-9007199254740991&&e<=9007199254740991},In.isSet=Zi,In.isString=Xi,In.isSymbol=Ji,In.isTypedArray=Qi,In.isUndefined=function(e){return void 0===e},In.isWeakMap=function(e){return qi(e)&&oa(e)==_},In.isWeakSet=function(e){return qi(e)&&"[object WeakSet]"==mr(e)},In.join=function(e,t){return null==e?"":on.call(e,t)},In.kebabCase=Ol,In.last=za,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=ol(n))<0?ln(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=Nl,In.lowerFirst=Fl,In.lt=el,In.lte=tl,In.max=function(e){return e&&e.length?or(e,Yl,gr):void 0},In.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),gr):void 0},In.mean=function(e){return St(e,Yl)},In.meanBy=function(e,t){return St(e,Jo(t,2))},In.min=function(e){return e&&e.length?or(e,Yl,Pr):void 0},In.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Pr):void 0},In.stubArray=ac,In.stubFalse=ic,In.stubObject=function(){return{}},In.stubString=function(){return""},In.stubTrue=function(){return!0},In.multiply=pc,In.nth=function(e,t){return e&&e.length?Cr(e,ol(t)):void 0},In.noConflict=function(){return Ye._===this&&(Ye._=Re),this},In.noop=Jl,In.now=hi,In.pad=function(e,t,n){e=cl(e);var r=(t=ol(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)},In.padEnd=function(e,t,n){e=cl(e);var r=(t=ol(t))?Gt(e):0;return t&&r<t?e+Oo(t-r,n):e},In.padStart=function(e,t,n){e=cl(e);var r=(t=ol(t))?Gt(e):0;return t&&r<t?Oo(t-r,n)+e:e},In.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(cl(e).replace(H,""),t||0)},In.random=function(e,t,n){if(n&&"boolean"!=typeof n&&sa(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=rl(e),void 0===t?(t=e,e=0):t=rl(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return cn(e+o*(t-e+Ue("1e-"+((o+"").length-1))),t)}return Lr(e,t)},In.reduce=function(e,t,n){var r=Oi(e)?gt:Pt,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},In.reduceRight=function(e,t,n){var r=Oi(e)?ht:Pt,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},In.repeat=function(e,t,n){return t=(n?sa(e,t,n):void 0===t)?1:ol(t),Dr(cl(e),t)},In.replace=function(){var e=arguments,t=cl(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 a=null==e?void 0:e[Pa(t[r])];void 0===a&&(r=o,a=n),e=Mi(a)?a.call(e):a}return e},In.round=dc,In.runInContext=e,In.sample=function(e){return(Oi(e)?zn:zr)(e)},In.size=function(e){if(null==e)return 0;if(Fi(e))return Xi(e)?Gt(e):e.length;var t=oa(e);return t==g||t==y?e.size:Er(e).length},In.snakeCase=Ll,In.some=function(e,t,n){var r=Oi(e)?vt:Yr;return n&&sa(e,t,n)&&(t=void 0),r(e,Jo(t,3))},In.sortedIndex=function(e,t){return Hr(e,t)},In.sortedIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2))},In.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Hr(e,t);if(r<n&&Ti(e[r],t))return r}return-1},In.sortedLastIndex=function(e,t){return Hr(e,t,!0)},In.sortedLastIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2),!0)},In.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Hr(e,t,!0)-1;if(Ti(e[n],t))return n}return-1},In.startCase=Dl,In.startsWith=function(e,t,n){return e=cl(e),n=null==n?0:Zn(ol(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},In.subtract=mc,In.sum=function(e){return e&&e.length?Rt(e,Yl):0},In.sumBy=function(e,t){return e&&e.length?Rt(e,Jo(t,2)):0},In.template=function(e,t,n){var r=In.templateSettings;n&&sa(e,t,n)&&(t=void 0),e=cl(e),t=fl({},t,r,Vo);var o,a,i=fl({},t.imports,r.imports,Vo),l=kl(i),c=Ct(i,l),s=0,u=t.interpolate||ue,f="__p += '",p=ge((t.escape||ue).source+"|"+u.source+"|"+(u===V?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),d="//# sourceURL="+(xe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++We+"]")+"\n";e.replace(p,(function(t,n,r,i,l,c){return r||(r=i),f+=e.slice(s,c).replace(fe,Wt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),l&&(a=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=c+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=(a?f.replace(j,""):f).replace(O,"$1").replace(N,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Vl((function(){return pe(l,d+"return "+f).apply(void 0,c)}));if(g.source=f,zi(g))throw g;return g},In.times=function(e,t){if((e=ol(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var o=It(r,t=Jo(t));++n<e;)t(n);return o},In.toFinite=rl,In.toInteger=ol,In.toLength=al,In.toLower=function(e){return cl(e).toLowerCase()},In.toNumber=il,In.toSafeInteger=function(e){return e?Zn(ol(e),-9007199254740991,9007199254740991):0===e?e:0},In.toString=cl,In.toUpper=function(e){return cl(e).toUpperCase()},In.trim=function(e,t,n){if((e=cl(e))&&(n||void 0===t))return Tt(e);if(!e||!(t=Jr(t)))return e;var r=Yt(e),o=Yt(t);return uo(r,Ot(r,o),Nt(r,o)+1).join("")},In.trimEnd=function(e,t,n){if((e=cl(e))&&(n||void 0===t))return e.slice(0,Ht(e)+1);if(!e||!(t=Jr(t)))return e;var r=Yt(e);return uo(r,0,Nt(r,Yt(t))+1).join("")},In.trimStart=function(e,t,n){if((e=cl(e))&&(n||void 0===t))return e.replace(H,"");if(!e||!(t=Jr(t)))return e;var r=Yt(e);return uo(r,Ot(r,Yt(t))).join("")},In.truncate=function(e,t){var n=30,r="...";if($i(t)){var o="separator"in t?t.separator:o;n="length"in t?ol(t.length):n,r="omission"in t?Jr(t.omission):r}var a=(e=cl(e)).length;if(zt(e)){var i=Yt(e);a=i.length}if(n>=a)return e;var l=n-Gt(r);if(l<1)return r;var c=i?uo(i,0,l).join(""):e.slice(0,l);if(void 0===o)return c+r;if(i&&(l+=c.length-l),Ki(o)){if(e.slice(l).search(o)){var s,u=c;for(o.global||(o=ge(o.source,cl(re.exec(o))+"g")),o.lastIndex=0;s=o.exec(u);)var f=s.index;c=c.slice(0,void 0===f?l:f)}}else if(e.indexOf(Jr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},In.unescape=function(e){return(e=cl(e))&&D.test(e)?e.replace(F,Kt):e},In.uniqueId=function(e){var t=++Se;return cl(e)+t},In.upperCase=Wl,In.upperFirst=zl,In.each=ci,In.eachRight=si,In.first=Fa,Xl(In,(fc={},sr(In,(function(e,t){xe.call(In.prototype,t)||(fc[t]=e)})),fc),{chain:!1}),In.VERSION="4.17.21",lt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){In[e].placeholder=In})),lt(["drop","take"],(function(e,t){jn.prototype[e]=function(n){n=void 0===n?1:ln(ol(n),0);var r=this.__filtered__&&!t?new jn(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},jn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),lt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),lt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),lt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(Yl)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=Wr((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return yr(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(Ei(Jo(e)))},jn.prototype.slice=function(e,t){e=ol(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ol(t))<0?n.dropRight(-t):n.take(t-e)),n)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(4294967295)},sr(jn.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],a=r||/^find/.test(t);o&&(In.prototype[t]=function(){var t=this.__wrapped__,i=r?[1]:arguments,l=t instanceof jn,c=i[0],s=l||Oi(t),u=function(e){var t=o.apply(In,mt([e],i));return r&&f?t[0]:t};s&&n&&"function"==typeof c&&1!=c.length&&(l=s=!1);var f=this.__chain__,p=!!this.__actions__.length,d=a&&!f,m=l&&!p;if(!a&&s){t=m?t:new jn(this);var g=e.apply(t,i);return g.__actions__.push({func:ri,args:[u],thisArg:void 0}),new Cn(g,f)}return d&&m?e.apply(this,i):(g=this.thru(u),d?r?g.value()[0]:g.value():g)})})),lt(["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);In.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Oi(o)?o:[],e)}return this[n]((function(n){return t.apply(Oi(n)?n:[],e)}))}})),sr(jn.prototype,(function(e,t){var n=In[t];if(n){var r=n.name+"";xe.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[To(void 0,2).name]=[{name:"wrapper",func:void 0}],jn.prototype.clone=function(){var e=new jn(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},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Oi(e),r=t<0,o=n?e.length:0,a=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var a=n[r],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=cn(t,e+i);break;case"takeRight":e=ln(e,t-i)}}return{start:e,end:t}}(0,o,this.__views__),i=a.start,l=a.end,c=l-i,s=r?l:i-1,u=this.__iteratees__,f=u.length,p=0,d=cn(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return ro(e,this.__actions__);var m=[];e:for(;c--&&p<d;){for(var g=-1,h=e[s+=t];++g<f;){var v=u[g],b=v.iteratee,y=v.type,w=b(h);if(2==y)h=w;else if(!w){if(1==y)continue e;break e}}m[p++]=h}return m},In.prototype.at=oi,In.prototype.chain=function(){return ni(this)},In.prototype.commit=function(){return new Cn(this.value(),this.__chain__)},In.prototype.next=function(){void 0===this.__values__&&(this.__values__=nl(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 An;){var r=Ia(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 jn){var t=e;return this.__actions__.length&&(t=new jn(this)),(t=t.reverse()).__actions__.push({func:ri,args:[$a],thisArg:void 0}),new Cn(t,this.__chain__)}return this.thru($a)},In.prototype.toJSON=In.prototype.valueOf=In.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},In.prototype.first=In.prototype.head,Xe&&(In.prototype[Xe]=function(){return this}),In}();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 a(e){return l(s(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}function l(e,t){var n,r,i,l,c,s,u,f,p,d=1,m=e.length,g="";for(r=0;r<m;r++)if("string"==typeof e[r])g+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[d],i=0;i<l.keys.length;i++){if(null==n)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[i],l.keys[i-1]));n=n[l.keys[i]]}else n=l.param_no?t[l.param_no]:t[d++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(a("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(f=n>=0),l.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,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.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(l.type)?g+=n:(!o.number.test(l.type)||f&&!l.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",u=l.width-(p+n).length,c=l.width&&u>0?s.repeat(u):"",g+=l.align?p+n+c:"0"===s?p+c+n:c+p+n)}return g}var c=Object.create(null);function s(e){if(c[e])return c[e];for(var t,n=e,r=[],a=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]){a|=1;var i=[],l=t[2],s=[];if(null===(s=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(l=l.substring(s[0].length));)if(null!==(s=o.key_access.exec(l)))i.push(s[1]);else{if(null===(s=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}t[2]=i}else a|=2;if(3===a)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 c[e]=r}t.sprintf=a,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(r=function(){return{sprintf:a,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function a(){var a,i,l=n,c=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(i=0;i<c;i++)if(l.args[i]!==arguments[i]){l=l.next;continue e}return l!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];return l={args:a,val:e.apply(null,a)},n?(n.prev=l,l.next=n):r=l,o===t.maxSize?(r=r.prev).next=null:o++,n=l,l.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},function(e,t,n){var r=n(1),o=n(6);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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:16px;width:16px;align-self:center}.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 .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .importing .inner .button-actions,.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden;margin:0 auto}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center;overflow:hidden}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item.importing .inner img,.ast-block-templates-grid-blocks .ast-block-templates-grid .item .inner:hover img{filter:blur(1px)}.ast-block-templates-grid-blocks .ast-block-templates-grid .item.importing .inner .heading-wrap,.ast-block-templates-grid-blocks .ast-block-templates-grid .item .inner:hover .heading-wrap{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:5px 0;flex-direction:row;align-items:center;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;visibility:hidden;transition:transform .5s}@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{padding:35px 25px 0 25px}.ast-block-templates-grid-pages .heading-wrap{cursor:pointer}.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{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.importing .inner,.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item .inner{margin:0;background:#fff;box-shadow:0 4px 10px 0 rgba(0,0,0,.07);position:relative;border-radius:3px;overflow:hidden;transition:all .4s;padding:5px}.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{display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{padding:6px 14px;min-height:auto;line-height:normal;border-radius:2px}.ast-block-templates-grid .item.importing .preview,.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;background:rgba(0,0,0,.5)}.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}.ast-block-templates-grid-pages .ast-block-templates-grid .item .preview{background:unset}.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.4%;margin:0;box-shadow:none}}.blocks-color{width:100%}.block-color-item{padding:6px 18px;display:inline-block;border:1px solid #c8cfd6;cursor:pointer;text-transform:capitalize}.block-color-item:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.block-color-item:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.block-color-item.active,.block-color-item:hover{background:#2271b1;border-color:#2271b1;color:#fff}.block-color-item:nth-child(2){border-right:none;border-left:none}.block-color-list{display:inline-flex}#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:99999999;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 .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%)}}#ast-block-templates-modal{width:100%;max-width:100%;box-shadow:none;border-radius:0;height:100%;margin:0}.st-block-category{display:flex;align-items:center;justify-content:space-between;cursor:pointer;margin-bottom:12px;color:#6d7882}.st-block-category:hover,.st-block-category.active{color:#2271b1}#ast-block-templates-modal .ast-block-templates-grid-blocks{display:flex;align-items:flex-start}#ast-block-templates-modal .ast-block-templates-grid-blocks .filter-wrap{align-items:flex-start;width:250px;padding:10px 30px 30px 30px;position:fixed;overflow-y:auto;height:calc(100vh - 55px);background-color:rgba(255,255,255,.5);flex-grow:0;overflow-y:auto;box-shadow:2px 8px 23px 3px rgba(0,0,0,.05);z-index:2}#ast-block-templates-modal .ast-block-templates-pattern-grid{width:calc(100% - 250px);margin-left:auto;padding:3em}#ast-block-templates-modal .ast-block-templates-pattern-grid .notice{margin-bottom:1.5em}#ast-block-templates-modal .blocks-color{margin-bottom:40px}#ast-block-templates-modal .filters{margin-top:2em;width:100%}#ast-block-templates-modal .filters h3{color:#1e1e1e;font-size:14px;margin-bottom:20px;margin-top:0}',""]),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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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;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 a={insert:"head",singleton:!1};r(o,a);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{align-self:center;margin-left:18px;width:250px}.logo-wrap .logo{display:flex;align-items:center;cursor:pointer}.logo-wrap .logo.uagb-template-popup-logo img{width:120px}.logo-wrap .logo-text{margin-left:8px;font-weight:500;font-size:15px;line-height:18px;color:rgba(30,30,30,.9)}.logo-wrap img{height:34px;width:34px}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}",""]),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 a={insert:"head",singleton:!1};r(o,a);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-wrap{width:268px;display:flex;align-items:center}.back-to-layout{padding:0 15px 0 0;text-align:center;cursor:pointer;display:flex;align-items:center;opacity:0;visibility:hidden;position:relative;margin-left:18px;color:#a4afb7}.back-to-layout .ast-block-templates-back-heading{font-size:14px}.back-to-layout:hover{color:#6d7882}.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;left:-6px}",""]),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 a={insert:"head",singleton:!1};r(o,a);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:175px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;padding:18px 12px;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;align-items:stretch;position:relative;z-index:3;box-shadow:0 4px 10px rgba(0,0,0,.05);border-radius:3px 3px 0 0;height:55px}.header h2{padding:10px 15px}.header .close{padding:0 14px;cursor:pointer;color:#a4afb7;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:before{content:"";position:absolute;height:18px;width:18px;border-left:1px solid #a4afb7;margin-right:35px}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:24px}',""]),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 a={insert:"head",singleton:!1};r(o,a);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 input::-webkit-search-cancel-button{margin-top:-5px;cursor:pointer}.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:focus,.header .search-form .button:hover{background:transparent;box-shadow:none}.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:350px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #d2d7db;box-shadow:none}.header .search-form input:hover{border-color:#a4afb7}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#a4afb7}.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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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;color:#0073aa}",""]),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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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:25px 50px;margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-notice{margin:0 1.4%}",""]),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 a={insert:"head",singleton:!1};r(o,a);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(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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:40px;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%;transition:all .4s}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 220px);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 - 220px);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-wrap{display:flex;align-items:center;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0}",""]),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 a={insert:"head",singleton:!1};r(o,a);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(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);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:calc(100vh - 55px);overflow-y:auto;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-modal ::-webkit-scrollbar,.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-modal ::-webkit-scrollbar-thumb,.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-modal ::-webkit-scrollbar-track,.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 a={insert:"head",singleton:!1};r(o,a);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:center;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 5px}",""]),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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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 a={insert:"head",singleton:!1};r(o,a);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),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__},i=function(){var e={patterns:[],wireframes:[]},t=AstBlockTemplatesVars.allBlocks;for(var n in t){var r=t[n].wireframe||{};Object.keys(r).length?e.wireframes.push(t[n]):e.patterns.push(t[n])}return e},l=function(){return i().patterns},c=function(){return i().wireframes},s=function(e,t,n,r){return f(e,t,n,r,l())},u=function(e,t,n,r){return f(e,t,n,r,c())},f=function(e,t,n,o,a){a||(a=AstBlockTemplatesVars.allBlocks);var i=[];e&&(i=a.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];return n&&(l=a.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!1}))),(e||n)&&(a=Object(r.unionBy)(i,l,"ID")),t&&(a=a.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o&&(a=a.filter((function(e){return o===e.filter}))),a},p=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],a=o.pages||{};if(Object.values(a).length)for(var i in a)a[i]["site-ID"]=o.ID,a[i]["site-title"]=o.title,t.push(a[i])}var l=[];e&&(l=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var c=[];e&&(c=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var s=[];return e&&(s=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)(l,s,c,"ID")),t};function d(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={togglePopup:!1,allBlocks:AstBlockTemplatesVars.allBlocks,allPatterns:l(),allWireframes:c(),allSites:AstBlockTemplatesVars.allSites,allPages:[],currentScreen:"all-sites-grid",previousScreen:"",filterBlocksByCategory:"",filterBlocksByColor:"",filterBlocksBySearchTerm:"",filterPagesByPageType:"",filterPagesBySearchTerm:"",pagePreview:{},sitePreview:{},fullWidthPagePreview:{},fullWidthBlockPreview:{},notice:{},importItemInfo:{},displayDynamicPopup:!1},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return m(m({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return m(m({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return m(m({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return m(m({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return m(m({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return m(m({},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]),m(m({},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 m(m({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}if("SET_PREVIOUS_SCREEN"===t.type)return m(m({},e),{},{previousScreen:t.previousScreen});if("TOGGLE_POPUP"===t.type){var a="all-single-site-pages"!==localStorage.getItem("gt-current-screen")?localStorage.getItem("gt-current-screen"):"";return m(m({},h),{},{currentScreen:a||h.currentScreen,togglePopup:!e.togglePopup,filterBlocksByCategory:e.filterBlocksByCategory,filterBlocksByColor:e.filterBlocksByColor,allPatterns:e.allPatterns,allWireframes:e.allWireframes,filterBlocksBySearchTerm:e.filterBlocksBySearchTerm})}if("SET_SITE_PREVIEW"===t.type)return m(m({},e),{},{sitePreview:t.sitePreview});if("SET_PAGE_PREVIEW"===t.type)return m(m({},e),{},{pagePreview:t.pagePreview});if("SET_FULL_PREVIEW"===t.type)return m(m({},e),{},{fullWidthPreview:t.fullWidthPreview});if("SET_FILTER_BLOCKS_BY_CATEGORY"===t.type){var i=m(m({},e),{},{filterBlocksBySearchTerm:"",filterBlocksByCategory:t.filterBlocksByCategory});return"all-wireframe-grid"===e.currentScreen?i.allWireframes=u("",t.filterBlocksByCategory,"",e.filterBlocksByColor):i.allPatterns=s("",t.filterBlocksByCategory,"",e.filterBlocksByColor),i}if("SET_FILTER_BLOCKS_BY_COLOR"===t.type){var l=m(m({},e),{},{filterBlocksBySearchTerm:"",filterBlocksByColor:t.filterBlocksByColor});return"all-wireframe-grid"===e.currentScreen?l.allWireframes=u("",e.filterBlocksByCategory,"",t.filterBlocksByColor):l.allPatterns=s("",e.filterBlocksByCategory,"",t.filterBlocksByColor),l}if("SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type){var c=m(m({},e),{},{filterBlocksByColor:"",filterBlocksByCategory:"",filterBlocksBySearchTerm:t.filterBlocksBySearchTerm});return"all-wireframe-grid"===e.currentScreen?c.allWireframes=u(t.filterBlocksBySearchTerm,"",t.filterBlocksBySearchTerm,""):c.allPatterns=s(t.filterBlocksBySearchTerm,"",t.filterBlocksBySearchTerm,""),c}return"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?m(m({},e),{},{allPages:p(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):m(m({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?m(m({},e),{},{allPages:t.allPages}):e};function b(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(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 y(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w={getTogglePopup:function(e){return e.togglePopup},getAllWireframes:function(e){return e.allWireframes},getAllPatterns:function(e){return e.allPatterns},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}},k={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,b(t))(e.dispatch),e.dispatch=n})((0,wp.data.registerStore)("ast-block-templates",{reducer:v,actions:k,selectors:w}));var _,x,S,E,B=n(4),P=n.n(B),R=n(3),I=n.n(R),T=P()(console.error);function A(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 I.a.sprintf.apply(I.a,[e].concat(n))}catch(t){return T("sprintf error: \n\n"+t.toString()),e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},x=["(","?"],S={")":["("],":":["?","?:"]},E=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var j={"!":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 O(e){var t=function(e){for(var t,n,r,o,a=[],i=[];t=e.match(E);){for(n=t[0],(r=e.substr(0,t.index).trim())&&a.push(r);o=i.pop();){if(S[n]){if(S[n][0]===o){n=S[n][1]||n;break}}else if(x.indexOf(o)>=0||_[o]<_[n]){i.push(o);break}a.push(o)}S[n]||i.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&a.push(e),a.concat(i.reverse())}(e);return function(e){return function(e,t){var n,r,o,a,i,l,c=[];for(n=0;n<e.length;n++){if(i=e[n],a=j[i]){for(r=a.length,o=Array(r);r--;)o[r]=c.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(i)?t[i]:+i;c.push(l)}return c[0]}(t,e)}}var N={contextDelimiter:"",onMissingKey:null};function F(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},N)this.options[n]=void 0!==t&&n in t?t[n]:N[n]}function L(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}F.prototype.getPluralForm=function(e,t){var n,r,o,a,i=this.pluralForms[e];return i||("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),a=O(r),o=function(e){return+a({n:e})}),i=this.pluralForms[e]=o),i(t)},F.prototype.dcnpgettext=function(e,t,n,r,o){var a,i,l;return a=void 0===o?0:this.getPluralForm(e,o),i=n,t&&(i=t+this.options.contextDelimiter+n),(l=this.data[e][i])&&l[a]?l[a]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===a?n:r)};var W={"":{plural_forms:function(e){return 1===e?0:1}}},z=/^i18n\.(n?gettext|has_translation)(_|$)/;var M=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 V=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 U=function(e,t){return function(n,r,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,i=e[t];if(V(n)&&M(r))if("function"==typeof o)if("number"==typeof a){var l={callback:o,priority:a,namespace:r};if(i[n]){var c,s=i[n].handlers;for(c=s.length;c>0&&!(a>=s[c-1].priority);c--);c===s.length?s[c]=l:s.splice(c,0,l),i.__current.forEach((function(e){e.name===n&&e.currentIndex>=c&&e.currentIndex++}))}else i[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,a)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var $=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){var a=e[t];if(V(r)&&(n||M(o))){if(!a[r])return 0;var i=0;if(n)i=a[r].handlers.length,a[r]={runs:a[r].runs,handlers:[]};else for(var l=a[r].handlers,c=function(e){l[e].namespace===o&&(l.splice(e,1),i++,a.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},s=l.length-1;s>=0;s--)c(s);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),i}}};var q=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 G=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 a=o[r].handlers;for(var i=arguments.length,l=new Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];if(!a||!a.length)return n?l[0]:void 0;var s={name:r,currentIndex:0};for(o.__current.push(s);s.currentIndex<a.length;){var u=a[s.currentIndex],f=u.callback.apply(null,l);n&&(l[0]=f),s.currentIndex++}return o.__current.pop(),n?l[0]:void 0}};var Y=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 H=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 K=function(e,t){return function(n){var r=e[t];if(V(n))return r[n]&&r[n].runs?r[n].runs:0}},Z=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=U(this,"actions"),this.addFilter=U(this,"filters"),this.removeAction=$(this,"actions"),this.removeFilter=$(this,"filters"),this.hasAction=q(this,"actions"),this.hasFilter=q(this,"filters"),this.removeAllActions=$(this,"actions",!0),this.removeAllFilters=$(this,"filters",!0),this.doAction=G(this,"actions"),this.applyFilters=G(this,"filters",!0),this.currentAction=Y(this,"actions"),this.currentFilter=Y(this,"filters"),this.doingAction=H(this,"actions"),this.doingFilter=H(this,"filters"),this.didAction=K(this,"actions"),this.didFilter=K(this,"filters")};var X=function(){return new Z}(),J=(X.addAction,X.addFilter,X.removeAction,X.removeFilter,X.hasAction,X.hasFilter,X.removeAllActions,X.removeAllFilters,X.doAction,X.applyFilters,X.currentAction,X.currentFilter,X.doingAction,X.doingFilter,X.didAction,X.didFilter,X.actions,X.filters,function(e,t,n){var r=new F({}),o=new Set,a=function(){o.forEach((function(e){return e()}))},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=D(D(D({},W),r.data[t]),e),r.data[t][""]=D(D({},W[""]),r.data[t][""])},l=function(e,t){i(e,t),a()},c=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,a=arguments.length>4?arguments[4]:void 0;return r.data[e]||i(void 0,e),r.dcnpgettext(e,t,n,o,a)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},u=function(e,t,r){var o=c(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+s(r),o,e,t,r)):o};if(e&&l(e,t),n){var f=function(e){z.test(e)&&a()};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:l,resetLocaleData:function(e,t){r.data={},r.pluralForms={},l(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=c(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+s(t),r,e,t)):r},_x:u,_n:function(e,t,r,o){var a=c(o,void 0,e,t,r);return n?(a=n.applyFilters("i18n.ngettext",a,e,t,r,o),n.applyFilters("i18n.ngettext_"+s(o),a,e,t,r,o)):a},_nx:function(e,t,r,o,a){var i=c(a,o,e,t,r);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,r,o,a),n.applyFilters("i18n.ngettext_with_context_"+s(a),i,e,t,r,o,a)):i},isRTL:function(){return"rtl"===u("ltr","text direction")},hasTranslation:function(e,t,o){var a,i,l=t?t+""+e:e,c=!(null===(a=r.data)||void 0===a||null===(i=a[null!=o?o:"default"])||void 0===i||!i[l]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,o),c=n.applyFilters("i18n.has_translation_"+s(o),c,e,t,o)),c}}}(void 0,void 0,X)),Q=(J.getLocaleData.bind(J),J.setLocaleData.bind(J),J.resetLocaleData.bind(J),J.subscribe.bind(J),J.__.bind(J)),ee=(J._x.bind(J),J._n.bind(J),J._nx.bind(J),J.isRTL.bind(J),J.hasTranslation.bind(J),wp.element),te=ee.createPortal,ne=ee.memo,re=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(ne((function(e){var t=e.onSetTogglePopup;return te(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.white_label_name?AstBlockTemplatesVars.white_label_name:AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),oe=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)},ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return oe(e,t,"#F20404")},ie=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function le(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function ce(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){le(a,r,o,i,l,"next",e)}function l(e){le(a,r,o,i,l,"throw",e)}i(void 0)}))}}function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ue(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 ue(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 ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fe=wp.compose.compose,pe=wp.data,de=pe.withSelect,me=pe.withDispatch,ge=wp.element,he=ge.useState,ve=ge.memo,be=wp.ajax.post,ye=fe(me((function(e){return{setNotice:e("ast-block-templates").setNotice}})),de((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(ve((function(e){var t=e.setNotice,n=se(he({isProcessing:"",buttonText:"Sync Library"}),2),r=n[0],o=n[1],a=r.isProcessing,i=r.buttonText,l=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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)}}(),c=function(){var e=ce(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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&&l()):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)}}(),s=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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++)c(n,t)}else o({isProcessing:"complete",buttonText:"Importing Sites Failed"})})).fail((function(e){ae("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),u=function(){var e=ce(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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&&s()):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=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({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++)u(n,t);else o({isProcessing:"complete",buttonText:"Importing Pages Failed"})})).fail((function(e){ae("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be({action:"ast-block-templates-import-categories",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){f()})).fail((function(e){ae("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=ce(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,be({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){ae("fail",e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),ae("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"===a?"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"},i),React.createElement(ie,{message:"Sync Library"}))}))),we=(n(13),wp.compose.compose),ke=wp.data.withDispatch,_e=wp.element.memo,xe=we(ke((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(_e((function(e){var t=e.setCurrentScreen;return React.createElement("div",{className:"logo-wrap ".concat(""!==AstBlockTemplatesVars.white_label_name?"white-label":"")},React.createElement("div",{className:"logo ".concat(""!==AstBlockTemplatesVars.popup_logo_class?AstBlockTemplatesVars.popup_logo_class:""),onClick:function(){return t("all-sites-grid")}},""!==AstBlockTemplatesVars.white_label_name?React.createElement(React.Fragment,null,AstBlockTemplatesVars.white_label_name):React.createElement(React.Fragment,null,React.createElement("img",{src:AstBlockTemplatesVars.popup_logo_uri}),React.createElement("div",{className:"logo-text"},AstBlockTemplatesVars.button_text))))}))),Se=wp.compose.compose,Ee=wp.data,Be=Ee.withSelect,Pe=Ee.withDispatch,Re=wp.element.memo,Ie=Se(Be((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{preview:n(),currentScreen:r()}})),Pe((function(e){var t=e("ast-block-templates"),n=t.setAllPages,r=t.setSitePreview,o=t.setTogglePopup,a=t.setCurrentScreen,i=t.setFilterPagesBySearchTerm,l=t.setFilterBlocksBySearchTerm;return{updateCurrentScreen:function(e){n([]),r({}),i(""),l(""),a(e)},onSetSitePreview:r,onSetTogglePopup:o}})))(Re((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-pages"}),Q("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-patterns"}),Q("Patterns")),React.createElement("div",{className:"header-menu-item ".concat("all-wireframe-grid"===t?"active":""),onClick:function(){return n("all-wireframe-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-wireframe"}),Q("Wireframes")))}))),Te=wp.compose.compose,Ae=wp.data,Ce=Ae.withSelect,je=Ae.withDispatch,Oe=wp.element.memo,Ne=Te(Ce((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{sitePreview:n(),currentScreen:r()}})),je((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"}))}))),Fe=(n(15),wp.compose.compose),Le=wp.data,De=Le.withSelect,We=Le.withDispatch,ze=wp.element.memo,Me=Fe(De((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getPreviousScreen;return{currentScreen:n(),previousScreen:r()}})),We((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(ze((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":"",a="full-width-block-preview"===t?"Back to Patterns":"Back to Pages";return React.createElement("div",{className:"back-to-layout-wrap"},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(ie,{message:a}),React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-chevron-left"}),React.createElement("span",{className:"ast-block-templates-back-heading"}," Back ")))})));n(17),n(19);function Ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ue(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 Ue(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 Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var $e=wp.element,qe=$e.memo,Ge=$e.useState,Ye=$e.useEffect,He=qe((function(e){var t=e.onSearch,n=e.value,r=e.searchInputRef,o=e.placeholder,a=Ve(Ge(""),2),i=a[0],l=a[1],c=o||Q("Search..","ast-block-templates");return Ye((function(){l(n)})),React.createElement("div",{className:"search-form ".concat(i?"have-input":"")},React.createElement("input",{ref:r,type:"search",name:"search",value:n,placeholder:c,onChange:function(e){t(e)}}),React.createElement("button",{className:"button"},React.createElement("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#clip0)"},React.createElement("path",{d:"M7.33853 6.71932C7.83062 6.02464 8.12496 5.17135 8.12496 4.24633C8.12496 1.93072 6.30245 0.0466766 4.06247 0.0466766C1.82249 0.0466766 0 1.93072 0 4.24633C0 6.56193 1.82251 8.44598 4.06249 8.44598C4.95731 8.44598 5.7828 8.14166 6.45479 7.63296L9.11622 10.3842L10 9.47062C10 9.4706 7.33853 6.71932 7.33853 6.71932ZM4.06249 7.15377C2.51159 7.15377 1.25 5.84959 1.25 4.24633C1.25 2.64306 2.51159 1.33888 4.06249 1.33888C5.61339 1.33888 6.87498 2.64306 6.87498 4.24633C6.87498 5.84959 5.61337 7.15377 4.06249 7.15377Z",fill:"#C6CCD2"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0"},React.createElement("rect",{width:"10",height:"10.3376",fill:"white",transform:"translate(0 0.0466309)"}))))))})),Ke=wp.element.memo,Ze=wp.compose.compose,Xe=wp.data,Je=Xe.withSelect,Qe=Xe.withDispatch,et=Ze(Je((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getFilterPagesBySearchTerm,o=t.getFilterBlocksBySearchTerm;return{currentScreen:n(),filterPagesBySearchTerm:r(),filterBlocksBySearchTerm:o()}})),Qe((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm,r=t.setFilterPagesBySearchTerm,o=t.setCurrentScreen,a=t.setPagePreview,i=t.setSitePreview,l=t.setFullWidthBlockPreview;return{setFilterBlocksBySearchTerm:function(e,t){o(t),l({}),n(e)},insertBlocks:e("core/block-editor").insertBlocks,setFilterPagesBySearchTerm:function(e){o("all-sites-grid"),r(e),a({}),i({})}}})))(Ke((function(e){var t=e.currentScreen,n=e.filterPagesBySearchTerm,r=e.filterBlocksBySearchTerm,o=e.setFilterBlocksBySearchTerm,a=e.setFilterPagesBySearchTerm;return React.createElement("div",{className:"header"},"all-single-site-pages"===t?React.createElement(Me,null):React.createElement(xe,null),React.createElement(Ie,null),"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(He,{placeholder:"Search Templates..",value:n,onSearch:function(e){a(e.target.value)}}):React.createElement(He,{placeholder:"".concat("all-wireframe-grid"===t?"Search Wireframes..":"Search Patterns.."),value:r,onSearch:function(e){o(e.target.value,t)}}),React.createElement(ye,null),React.createElement(Ne,null))}))),tt=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)}))}))},nt=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 rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var at={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 a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=a,"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 i=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+i],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var l=Object.entries(n).filter((function(e){var t=ot(e,2);t[0];return"function"!=typeof t[1]}));return(i?"a":"O:".concat(r(n.constructor.name)))+":".concat(l.length,":{").concat(l.map((function(t){var n=ot(t,2),r=n[0],o=n[1];return e(i&&/^\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=at.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},a=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),"^"))},i=function(t,r){return t===e.slice(n,n+=t.length)?r:a("Expected '".concat(t,"'"),n-t.length)};function l(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";i(":");var l=t.exec(e.slice(n));return l||a("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=l[0].length,i(o,l[0])}function c(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var l=e.charCodeAt(n++);t-=l<128?1:l<2048||l>>11==27?2:3}return t?a("Invalid string length",o-2):i(r,e.slice(o,n))}var s=function(e){return e?t[e]?Object.create(t[e].prototype):new(rt({},e,(function(){}))[e]):{}},u=function(){return l(/^[01]/,"a '0' or '1'",";")},f=function(){return+l(/^-?\d+/,"an integer",";")},p=function(e){return+l(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return c(p(':"'),'"'+e)};function m(){var e=l(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function g(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):a("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function h(e){for(var t=0,n=p(":{");t<n;t++)e[g()]=y();return i("}",e)}function v(){var e=h({});return Object.keys(e).some((function(e,t){return e!=t}))?e:Object.values(e)}function b(e){return"function"!=typeof e.unserialize&&a("Instance of ".concat(e.constructor.name,' does not have an "unserialize" method')),e.unserialize(c(p(":{"))),i("}",e)}function y(){var t=e[n++].toLowerCase(),o=r.push(null)-1,l="n"===t?i(";",null):"s"===t?d(";"):"b"===t?u():"i"===t?f():"d"===t?m():"a"===t?v():"o"===t?h(s(d())):"c"===t?b(s(d())):"r"===t?r[f()]:a("Unexpected type ".concat(t),n-1);return"r"!==t&&(r[o]=l),l}var w=y();return n!==e.length&&a("Unexpected trailing character"),w}},it=function(e,t){return fetch("".concat(AstBlockTemplatesVars.api_url,"wp-json/wp/v2/").concat(t,"/").concat(e,"/?site_url=").concat(AstBlockTemplatesVars.site_url)).then((function(e){return e.json()}))};n(21);function lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ct(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 ct(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 ct(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 st=wp.compose.compose,ut=wp.data,ft=ut.useSelect,pt=ut.withSelect,dt=ut.withDispatch,mt=wp.ajax.post,gt=wp.blocks.parse,ht=wp.element,vt=ht.useState,bt=ht.memo,yt=(ht.useEffect,ht.useCallback,wp.components.Spinner),wt=st(pt((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getSitePreview;return{importItemInfo:n(),sitePreview:o(),currentScreen:r()}})),dt((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}})))(bt((function(e){var t=e.setImportItemInfo,n=(e.liveRequest,e.requiredPlugins,e.importItemInfo),r=e.title,o=e.btnClass,a=e.currentScreen,i=e.insertBlocks,l=e.onSetTogglePopup,c=e.item,s=e.onClick,u=e.onBlockImport,f=lt(vt(n),2),p=f[0],d=(f[1],o||""),m=lt(vt(r||"Import"),2),g=m[0],h=m[1],v="full-width-block-preview"===a?"show":"",b=lt(vt(!1),2),y=b[0],w=b[1],k=ft((function(e){return{insertIndex:e("core/block-editor").getBlockInsertionPoint().index}}),[]).insertIndex,_=function(){tt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){})).catch((function(e){w(!1),h("Activation failed!")}))},x=function(){tt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){E()})).catch((function(e){w(!1),h("Activation failed!")}))},S=function(){var e=p.original_content;mt({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){w(!1),i(gt(e),k),l(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open"),"function"==typeof u&&u(e,k)})).fail((function(e){}))},E=function(){var e=p["post-meta"]["astra-site-wpforms-path"]||"";e?function(e){mt({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){S()})).fail((function(e){w(!1),h("WPForms import failed!")}))}(e):S()};return React.createElement("div",{className:"ast-template-import-block-button ".concat(v," ").concat(d),onClick:function(e){"function"==typeof s&&s(e),w(!0),console.log(c),"light"===c.filter&&("not-installed"===AstBlockTemplatesVars.spectra_status?nt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){_()})).catch((function(e){w(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.spectra_status&&_()),it(c.ID,"astra-blocks").then((function(e){t(e),p=e,(e["post-meta"]["astra-blocks-required-plugins"]?at.parse(e["post-meta"]["astra-blocks-required-plugins"]):[]).length?"not-installed"===AstBlockTemplatesVars.wpforms_status?nt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){x()})).catch((function(e){w(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?x():E():E()})).catch((function(e){}))}},y?React.createElement(React.Fragment,null,React.createElement(yt,null)," Importing.."):React.createElement(React.Fragment,null,g))})));function kt(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 _t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){xt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Et(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 Et(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 Et(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 Bt=wp.compose.compose,Pt=wp.data.withDispatch,Rt=wp.element,It=Rt.memo,Tt=Rt.useEffect,At=Rt.useState,Ct=(wp.ajax.post,Bt(Pt((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")}}})))(It((function(e){e.setImportItemInfo,e.updateFullWidthBlockPreview;var t=e.item,n=e.InitMasonry,r=t["thumbnail-image-url"]||"",o=t["featured-image-url"]||"",a=St(At({importing:!1}),2),i=a[0],l=a[1],c=St(At("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),s=c[0],u=c[1],f=St(At("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),p=f[0],d=f[1];return Tt((function(){var e=!0,t=new Image;t.src=r;var a=new Image;return a.src=o,t.onload=function(){e&&(u(t.src),n())},a.onload=function(){e&&(d(a.src),n())},function(){e=!1}}),[]),React.createElement("div",{className:"item single-block ".concat(!0===i.importing?"importing":"")},React.createElement("div",{className:"inner"},React.createElement("div",{className:"thumbnail"},React.createElement("img",{srcSet:"".concat(p,", ").concat(s),src:s}),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("div",{className:"button-actions"},React.createElement(wt,{btnClass:"button button-primary gt-btn-import",title:"Import",liveRequest:!0,item:t,onClick:function(e){l(_t(_t({},i),{},{importing:!0}))},onBlockImport:function(e){l(_t(_t({},i),{},{importing:!1}))}})))))})))),jt=wp.compose.compose,Ot=wp.element,Nt=Ot.memo,Ft=(Ot.useEffect,Ot.useState,wp.data),Lt=Ft.withSelect,Dt=(Ft.withDispatch,jt(Lt((function(e){return{filterBlocksBySearchTerm:(0,e("ast-block-templates").getFilterBlocksBySearchTerm)()}})))(Nt((function(e){var t=e.value,n=e.options,r=e.allCount,o=e.onChange,a=e.filterBlocksBySearchTerm;return React.createElement("div",{className:"st-block-categories-wrap"},React.createElement("h3",null,"Categories"),React.createElement("div",{className:"st-block-categories-list"},React.createElement("div",{className:"st-block-category ".concat(a||""!==t?"":"active"),onClick:function(e){"function"==typeof o&&o(e,"")}},React.createElement("span",{className:"st-block-category-title"},"All"),React.createElement("span",{className:"st-block-category-count"},r)),Object.values(n).map((function(e){return React.createElement("div",{key:e.id,className:"st-block-category ".concat(t===e.id?"active":""),onClick:function(t){"function"==typeof o&&o(t,e)}},React.createElement("span",{className:"st-block-category-title"},e.name),React.createElement("span",{className:"st-block-category-count"},e.count))}))))}))));function Wt(e){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var zt=wp.compose.compose,Mt=wp.element,Vt=Mt.memo,Ut=(Mt.useEffect,Mt.useState,wp.data),$t=Ut.withSelect,qt=Ut.withDispatch,Gt=zt($t((function(e){var t=e("ast-block-templates"),n=t.getFilterBlocksByCategory,r=t.getFilterBlocksByColor;return{filterBlocksByCategory:n(),filterBlocksByColor:r()}})),qt((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(Vt((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory,r=e.filterBlocksByColor,o=[],a=0;for(var i in AstBlockTemplatesVars.allBlocks){var l=AstBlockTemplatesVars.allBlocks[i].filter||"",c=AstBlockTemplatesVars.allBlocks[i].wireframe||{};Object.keys(c).length&&function(){var e="object"===Wt(AstBlockTemplatesVars.allBlocks[i].category)?0:parseInt(AstBlockTemplatesVars.allBlocks[i].category);if(!o[e]){var t=AstBlockTemplatesVars.allCategories.filter((function(t){return t.id===e})),n=t.length?t[0]:{};n.id=e,n.count=0,o[e]=n}(!r||r&&l==r)&&(o[e].count=parseInt(o[e].count)+1,a+=1)}()}return o.sort((function(e,t){var n=e.name.toUpperCase()||"",r=t.name.toUpperCase()||"";return n<r?-1:n>r?1:0})),React.createElement(Dt,{value:t,allCount:a,options:o,onChange:function(e,t){n(t?t.id:"")}})}))),Yt=wp.compose.compose,Ht=wp.element.memo,Kt=wp.data,Zt=Kt.withSelect,Xt=Kt.withDispatch,Jt=Yt(Zt((function(e){return{filterBlocksByColor:(0,e("ast-block-templates").getFilterBlocksByColor)()}})),Xt((function(e){return{setFilterBlocksByColor:e("ast-block-templates").setFilterBlocksByColor}})))(Ht((function(e){var t=e.filterBlocksByColor,n=e.setFilterBlocksByColor;if(AstBlockTemplatesVars.allBlocks){var r=[];return AstBlockTemplatesVars.allBlocks.map((function(e){e.filter&&!r.includes(e.filter)&&r.push(e.filter)})),r.length<=1?"":React.createElement("div",{className:"blocks-color"},React.createElement("h3",null,"Filter by Color"),React.createElement("div",{className:"block-color-list"},React.createElement("div",{className:"block-color-item ".concat(t?"":"active"),onClick:function(e){return n("")}},"All"),r.map((function(e){return React.createElement("div",{key:e,className:"block-color-item ".concat(t===e?"active":""),onClick:function(t){return n(e)}},e)}))))}}))),Qt=(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(Jt,null),React.createElement(Gt,null)))})),en=(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)}),tn=(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)}},Q("Back to Templates","ast-block-templates")))}),nn=(n(27),wp.compose.compose),rn=wp.data,on=rn.withSelect,an=rn.withDispatch,ln=wp.element.memo,cn=nn(an((function(e){return{setNotice:e("ast-block-templates").setNotice}})),on((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(ln((function(e){var t=e.notice,n=e.setNotice;if(!Object.keys(t).length)return null;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")))})));function sn(e){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var un=wp.compose.compose,fn=wp.data,pn=fn.withSelect,dn=fn.withDispatch,mn=wp.element,gn=mn.memo,hn=mn.useEffect,vn=(mn.useState,un(dn((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm;return{setFilterBlocksByCategory:t.setFilterBlocksByCategory,setFilterBlocksBySearchTerm:n}})),pn((function(e){var t=e("ast-block-templates"),n=t.getAllWireframes,r=t.getFilterBlocksByCategory,o=t.getFilterBlocksByColor;return{filterBlocksByCategory:r(),filterBlocksByColor:o(),allWireframes:n()}})))(gn((function(e){e.filterBlocksByCategory,e.setFilterBlocksByCategory;var t=e.filterBlocksByColor,n=e.setFilterBlocksBySearchTerm,r=e.allWireframes,o=(e.imagesLoad,e.setImagesLoaded,[]),a=[],i=function(e){var n=r[e].filter||"",i="object"===sn(r[e].category)?0:parseInt(r[e].category);if(!a[i]){var l=AstBlockTemplatesVars.allCategories.filter((function(e){return e.id===i})),c=l.length?l[0]:{};c.id=i,c.count=0,a[i]=c}(!t||t&&n==t)&&(a[i].count=parseInt(a[i].count)+1,1,o.push(r[e]))};for(var l in r)i(l);hn((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var c=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(Qt,null),React.createElement("div",{className:"ast-block-templates-pattern-grid"},React.createElement(cn,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},o.length?o.map((function(e){return React.createElement(Ct,{key:e.ID,item:e,InitMasonry:c})})):React.createElement(en,null,React.createElement(tn,{afterClick:function(e){n("")}})))))}))));function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var yn=wp.compose.compose,wn=wp.element,kn=wn.memo,_n=(wn.useEffect,wn.useState,wp.data),xn=_n.withSelect,Sn=_n.withDispatch,En=yn(xn((function(e){var t=e("ast-block-templates"),n=t.getFilterBlocksByCategory,r=t.getFilterBlocksByColor;return{filterBlocksByCategory:n(),filterBlocksByColor:r()}})),Sn((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(kn((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory,r=e.filterBlocksByColor,o=[],a=0;for(var i in AstBlockTemplatesVars.allBlocks){var l=AstBlockTemplatesVars.allBlocks[i].filter||"",c=AstBlockTemplatesVars.allBlocks[i].wireframe||{};Object.keys(c).length||function(){var e="object"===bn(AstBlockTemplatesVars.allBlocks[i].category)?0:parseInt(AstBlockTemplatesVars.allBlocks[i].category);if(!o[e]){var t=AstBlockTemplatesVars.allCategories.filter((function(t){return t.id===e})),n=t.length?t[0]:{};n.id=e,n.count=0,o[e]=n}(!r||r&&l==r)&&(o[e].count=parseInt(o[e].count)+1,a+=1)}()}return o.sort((function(e,t){var n=e.name.toUpperCase()||"",r=t.name.toUpperCase()||"";return n<r?-1:n>r?1:0})),React.createElement(Dt,{value:t,allCount:a,options:o,onChange:function(e,t){n(t?t.id:"")}})}))),Bn=(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(Jt,null),React.createElement(En,null)))}));function Pn(e){return(Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Rn=wp.compose.compose,In=wp.data,Tn=In.withSelect,An=In.withDispatch,Cn=wp.element,jn=Cn.memo,On=Cn.useEffect,Nn=(Cn.useState,Rn(An((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm;return{setFilterBlocksByCategory:t.setFilterBlocksByCategory,setFilterBlocksBySearchTerm:n}})),Tn((function(e){var t=e("ast-block-templates"),n=t.getAllPatterns,r=t.getFilterBlocksByCategory,o=t.getFilterBlocksByColor;return{filterBlocksByCategory:r(),filterBlocksByColor:o(),allPatterns:n()}})))(jn((function(e){e.filterBlocksByCategory,e.setFilterBlocksByCategory;var t=e.filterBlocksByColor,n=e.setFilterBlocksBySearchTerm,r=e.allPatterns,o=(e.imagesLoad,e.setImagesLoaded,[]),a=[],i=function(e){var n=r[e].filter||"",i="object"===Pn(r[e].category)?0:parseInt(r[e].category);if(!a[i]){var l=AstBlockTemplatesVars.allCategories.filter((function(e){return e.id===i})),c=l.length?l[0]:{};c.id=i,c.count=0,a[i]=c}(!t||t&&n==t)&&(a[i].count=parseInt(a[i].count)+1,1,o.push(r[e]))};for(var l in r)i(l);On((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var c=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(Bn,null),React.createElement("div",{className:"ast-block-templates-pattern-grid"},React.createElement(cn,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},o.length?o.map((function(e){return React.createElement(Ct,{key:e.ID,item:e,InitMasonry:c})})):React.createElement(en,null,React.createElement(tn,{afterClick:function(e){n("")}})))))})))),Fn=wp.ajax.post,Ln=wp.blocks.parse;var Dn=function(e,t,n,r,o){Fn({action:"ast_block_templates_importer",api_uri:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){!function(e,t,n,r,o){Fn({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){r(Ln(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){ae("fail",e)}))};n(29);function Wn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zn(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 zn(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 zn(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 Mn=wp.compose.compose,Vn=wp.data,Un=Vn.useSelect,$n=Vn.withSelect,qn=Vn.withDispatch,Gn=wp.element,Yn=Gn.useState,Hn=Gn.memo,Kn=Gn.useEffect,Zn=wp.components.Spinner,Xn=wp.ajax.post,Jn=Mn($n((function(e){var t=e("ast-block-templates"),n=t.getPagePreview,r=t.getImportItemInfo,o=t.getCurrentScreen,a=t.getSitePreview;return{pagePreview:n(),importItemInfo:r(),sitePreview:a(),currentScreen:o()}})),qn((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}})))(Hn((function(e){var t=e.title,n=e.currentScreen,r=e.insertBlocks,o=e.onSetTogglePopup,a=e.item,i=(e.importItemInfo,e.pagePreview),l=Wn(Yn(t||"Import"),2),c=l[0],s=l[1];Kn((function(){s(t||"Import")}),[t]);var u=[],f="full-width-page-preview"===n?"show":"",p=Wn(Yn(!1),2),d=p[0],m=p[1],g=i["required-plugins"]?i["required-plugins"].filter((function(e){return"wpforms-lite"===e.slug})):[],h=Un((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),v=h.insertIndex,b=h.insertClientID,y=function(){tt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){})).catch((function(e){m(!1),s("Activation failed!")}))},w=function(){tt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){k()})).catch((function(e){m(!1),s("Error! WP Forms plugin activation failed!")}))},k=function(){var e=u["astra-site-wpforms-path"]||"";e?_(e):Dn(a["astra-page-api-url"],r,o,v,b)},_=function(e){Xn({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){Dn(a["astra-page-api-url"],r,o,v,b)})).fail((function(e){m(!1),s("Error! "+e.status+e.statusText)}))};return React.createElement("button",{className:"button button-primary ast-template-import-page-button ".concat(f),onClick:function(){m(!0),"light"===a.filter&&("not-installed"===AstBlockTemplatesVars.spectra_status?nt({slug:"ultimate-addons-for-gutenberg",init:"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php",name:"Spectra"}).then((function(e){y()})).catch((function(e){m(!1),s("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.spectra_status&&y()),it(a.ID,"site-pages").then((function(e){u=e,g.length?"not-installed"===AstBlockTemplatesVars.wpforms_status?nt({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){w()})).catch((function(e){m(!1),s("Error! WP Forms plugin installation failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?w():k():k()}))}},d?React.createElement(React.Fragment,null,React.createElement(Zn,null)," Importing.."):React.createElement(React.Fragment,null,c))}))),Qn=(n(31),wp.compose.compose),er=wp.data,tr=er.withSelect,nr=er.withDispatch,rr=wp.element,or=rr.Fragment,ar=rr.memo,ir=rr.useEffect,lr=Qn(tr((function(e){var t=e("ast-block-templates"),n=t.getDisplayDynamicPopup;return{pagePreview:(0,t.getPagePreview)(),displayDynamicPopup:n()}})),nr((function(e){return{setDisplayDynamicPopup:e("ast-block-templates").setDisplayDynamicPopup}})))(ar((function(e){var t=e.pagePreview,n=e.displayDynamicPopup,r=e.setDisplayDynamicPopup,o=!1===n?"hide":"",a=function(){r(!1)},i=function(e){e.target===document.querySelector(".ast-block-templates-popup-wrap")&&a()};return ir((function(){return document.addEventListener("click",i),function(){document.removeEventListener("click",i)}})),React.createElement(or,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"},Q("Heads Up!","ast-block-templates")),React.createElement("span",{className:"ast-block-templates-popup-close-icon",onClick:a},React.createElement("span",{className:"dashicons close dashicons-no-alt"}))),React.createElement("div",{className:"ast-block-templates-popup-content"},React.createElement("p",null,Q("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,Q("You will need to add it manually on the page.","ast-block-templates"))),React.createElement("div",{className:"ast-block-templates-popup-footer"},React.createElement(Jn,{title:A(Q('Skip & Import "%s" Page',"ast-block-templates"),t.title),item:t}),React.createElement("div",{className:"button",onClick:a},Q("Cancel","ast-block-templates"))))))}))),cr=wp.compose.compose,sr=wp.data,ur=sr.withSelect,fr=sr.withDispatch,pr=wp.element.memo,dr=cr(ur((function(e){return{pagePreview:(0,e("ast-block-templates").getPagePreview)()}})),fr((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")}}})))(pr((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"},a(t.title)))))}))),mr=(n(33),wp.element),gr=mr.memo,hr=mr.Fragment;var vr=(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()}})))(gr((function(e){var t=e.sitePreview,n=e.pagePreview;if(!Object.keys(t).length)return"";var r=Object.values(t.pages)||[],o=n["featured-image-url"];return React.createElement(hr,null,React.createElement(lr,null),React.createElement("div",{className:"ast-block-templates-single-site-preview"},React.createElement("div",{className:"ast-block-templates-single-page-preview"},React.createElement("div",{className:"ast-block-templates-site-title-wrap"},React.createElement("h2",{className:"ast-block-templates-site-title"},a(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"},Q("Page Templates","ast-block-templates")),React.createElement("div",{className:"ast-block-templates-grid"},r.length?r.map((function(e){return React.createElement(dr,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Q("No Result Found","ast-block-templates")),React.createElement("p",null,Q("The search result not found. Try another search.","ast-block-templates")))))))})));function br(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yr(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 yr(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 yr(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 wr=wp.compose.compose,kr=wp.data,_r=kr.withSelect,xr=kr.withDispatch,Sr=wp.element,Er=Sr.memo,Br=Sr.useState,Pr=Sr.useEffect,Rr=wr(_r((function(e){return{preview:e("ast-block-templates").getSitePreview}})),xr((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}})))(Er((function(e){var t=e.setSitePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"",i=n.pages?n.pages.length:0,l=i<=1?"Template":"Templates",c=br(Br("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),s=c[0],u=c[1];return Pr((function(){var e=!0,t=new Image;return t.src=o,t.onload=function(){e&&u(t.src)},function(){e=!1}}),[s]),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(s,"')")}},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"},a(n.title)),i?React.createElement("div",{className:"sub-title"},"".concat(i," ").concat(l)):"")))}))),Ir=wp.compose.compose,Tr=wp.data,Ar=Tr.withSelect,Cr=(Tr.withDispatch,wp.element),jr=(Cr.useEffect,Cr.useState,Cr.memo),Or=Cr.Fragment,Nr=Ir(Ar((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getCurrentScreen,o=t.getAllSites;return{currentScreen:r(),allSites:o(),allPages:n()}})))(jr((function(e){e.allPages;var t=e.allSites,n=(e.currentScreen,Object.values(t));return React.createElement(Or,null,n.length?n.map((function(e){return React.createElement(Rr,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Q("No Sites Result Found")," "),React.createElement("p",null,Q("The search result not found. Try another search."))))}))),Fr=wp.compose.compose,Lr=wp.data,Dr=Lr.withSelect,Wr=Lr.withDispatch,zr=wp.element.memo,Mr=Fr(Dr((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Wr((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}})))(zr((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"},a(n["site-title"])),React.createElement("div",{className:"sub-title"},a(n.title)))))}))),Vr=wp.compose.compose,Ur=wp.data,$r=Ur.withSelect,qr=Ur.withDispatch,Gr=wp.element,Yr=Gr.memo,Hr=Gr.Fragment,Kr=Vr(qr((function(e){var t=e("ast-block-templates");return{setPagePreview:t.setPagePreview,setFilterPagesBySearchTerm:t.setFilterPagesBySearchTerm}})),$r((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getFilterPagesBySearchTerm;return{allPages:n(),filterPagesBySearchTerm:r()}})))(Yr((function(e){var t=e.setPagePreview,n=e.setFilterPagesBySearchTerm,r=e.allPages,o=Object.values(r);return React.createElement(Hr,null,o.length?o.map((function(e){return React.createElement(Mr,{key:e.ID,item:e})})):React.createElement(en,null,React.createElement(tn,{afterClick:function(e){t({}),n("")}})))}))),Zr=wp.compose.compose,Xr=wp.data,Jr=Xr.withSelect,Qr=Xr.withDispatch,eo=wp.element,to=eo.memo;eo.useEffect;var no=Zr(Qr((function(e){return{setFilterPagesBySearchTerm:e("ast-block-templates").setFilterPagesBySearchTerm}})),Jr((function(e){return{filterPagesBySearchTerm:(0,e("ast-block-templates").getFilterPagesBySearchTerm)()}})))(to((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(Kr,null):React.createElement(Nr,null)))}))),ro=(n(35),wp.compose.compose),oo=wp.element.memo,ao=wp.data,io=ao.withSelect,lo=(ao.withDispatch,ro(io((function(e){return{blockPreview:(0,e("ast-block-templates").getFullWidthBlockPreview)()}})))(oo((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}))})))),co=(n(37),wp.compose.compose),so=wp.element.memo,uo=wp.data,fo=uo.withSelect,po=(uo.withDispatch,co(fo((function(e){return{pagePreview:(0,e("ast-block-templates").getFullWidthPagePreview)()}})))(so((function(e){var t=e.pagePreview["featured-image-url"]||"";return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),mo=function(){return React.createElement("div",null,"All signle pages")},go=(n(39),wp.element),ho=go.useEffect,vo=go.memo,bo=wp.compose.compose,yo=wp.data.withSelect,wo=function(e){var t=e.filterPagesBySearchTerm,n=e.currentScreen;return ho((function(){localStorage.setItem("gt-current-screen",n)}),[n]),"all-single-pages"===n?React.createElement(mo,null):"all-wireframe-grid"===n?React.createElement(vn,null):"all-blocks-grid"===n?React.createElement(Nn,null):t||"all-single-site-pages"!==n?"all-sites-grid"===n?React.createElement(no,null):"full-width-block-preview"===n?React.createElement(lo,null):"full-width-page-preview"===n?React.createElement(po,null):void 0:React.createElement(vr,null)},ko=function(e){var t=e.currentScreen;return"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(cn,null):null},_o=bo(yo((function(e){var t=e("ast-block-templates"),n=t.getFilterPagesBySearchTerm,r=t.getSitePreview,o=t.getCurrentScreen,a=t.getTogglePopup;return{filterPagesBySearchTerm:n(),sitePreview:r(),currentScreen:o(),togglePopup:a()}})))(vo((function(e){var t=e.sitePreview,n=e.currentScreen,r=e.togglePopup;return ho((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(ko,{currentScreen:n}),React.createElement(wo,{currentScreen:n}))})));n(41),n(43),n(45);function xo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return So(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 So(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 So(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 Eo=wp.compose.compose,Bo=wp.data,Po=Bo.withSelect,Ro=Bo.withDispatch,Io=wp.element,To=Io.memo,Ao=Io.useState,Co=Eo(Po((function(e){return{importItemInfo:(0,e("ast-block-templates").getImportItemInfo)()}})),Ro((function(e){return{setImportItemInfo:e("ast-block-templates").setImportItemInfo}})))(To((function(e){var t=e.requiredPlugins;if(!t.length)return null;var n=xo(Ao(!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)}}))}))),jo=wp.compose.compose,Oo=wp.data,No=Oo.withSelect,Fo=Oo.withDispatch,Lo=wp.element,Do=Lo.memo,Wo=Lo.Fragment,zo=jo(No((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getPagePreview;return{importItemInfo:n(),pagePreview:o(),currentScreen:r()}})),Fo((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")}}})))(Do((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(Wo,null,React.createElement("a",{className:"button",href:r,target:"_blank"},"Preview Site",React.createElement("i",{className:"dashicons dashicons-external"})),o?React.createElement("button",{className:"button button-primary",onClick:function(e){n(!0)}},'Import "'.concat(t.title,'" Template')):React.createElement(Jn,{title:'Import "'.concat(t.title,'" Template'),item:t}))}))),Mo=(n(47),wp.compose.compose),Vo=wp.data,Uo=Vo.withSelect,$o=Vo.withDispatch,qo=wp.element,Go=qo.memo,Yo=qo.Fragment,Ho=Mo(Uo((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getFullWidthBlockPreview;return{importItemInfo:n(),fullWidthBlockPreview:r()}})),$o((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")}}})))(Go((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(Yo,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(Co,{requiredPlugins:t}),React.createElement(wt,{btnClass:"button button-primary",title:"Import Pattern",item:r,requiredPlugins:t})))}))),Ko=wp.compose.compose,Zo=wp.data.withSelect,Xo=wp.element.memo,Jo=Ko(Zo((function(e){return{currentScreen:(0,e("ast-block-templates").getCurrentScreen)()}})))(Xo((function(e){var t=e.currentScreen;return"all-single-site-pages"!==t&&"full-width-block-preview"!==t?null:React.createElement("div",{className:"footer"},"all-single-site-pages"===t?React.createElement(zo,null):React.createElement(Ho,null))}))),Qo=wp.element,ea=Qo.Fragment,ta=Qo.useEffect,na=Qo.memo,ra=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(na((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 ta((function(){return document.addEventListener("click",n),function(){document.removeEventListener("click",n)}})),React.createElement(ea,null,React.createElement(re,null),React.createElement("div",{className:"inner"},React.createElement(et,null),React.createElement(_o,null),React.createElement(Jo,null)))})));function oa(){wp.data.subscribe((function(){setTimeout((function(){!function(){if(!document.querySelector("#editor .edit-post-header__toolbar"))return null;if(document.querySelector("#ast-block-templates-button-wrap"))return null;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 null;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(ra,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",oa),document.addEventListener("DOMContentLoaded",oa)}]);
|
inc/lib/gutenberg-templates/version.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
{
|
2 |
-
"ast-block-templates": "1.1.
|
3 |
}
|
1 |
{
|
2 |
+
"ast-block-templates": "1.1.7"
|
3 |
}
|
inc/lib/onboarding/assets/dist/main.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-media-utils', 'wp-polyfill', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-media-utils', 'wp-polyfill', 'wp-url'), 'version' => '316c7f9d2953ff4edbbe370ba8493c37');
|
inc/lib/onboarding/assets/dist/main.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
(window.webpackJsonp_astra_sites=window.webpackJsonp_astra_sites||[]).push([[1],{50:function(t,e,r){},55:function(t,e,r){},56:function(t,e,r){},57:function(t,e,r){},58:function(t,e,r){},59:function(t,e,r){},60:function(t,e,r){},61:function(t,e,r){},62:function(t,e,r){},63:function(t,e,r){},64:function(t,e,r){},65:function(t,e,r){},66:function(t,e,r){},67:function(t,e,r){},68:function(t,e,r){},73:function(t,e,r){},74:function(t,e,r){},75:function(t,e,r){},76:function(t,e,r){}}]),function(t){function e(e){for(var n,s,o=e[0],l=e[1],c=e[2],h=0,p=[];h<o.length;h++)s=o[h],Object.prototype.hasOwnProperty.call(i,s)&&i[s]&&p.push(i[s][0]),i[s]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);for(u&&u(e);p.length;)p.shift()();return a.push.apply(a,c||[]),r()}function r(){for(var t,e=0;e<a.length;e++){for(var r=a[e],n=!0,o=1;o<r.length;o++){var l=r[o];0!==i[l]&&(n=!1)}n&&(a.splice(e--,1),t=s(s.s=r[0]))}return t}var n={},i={0:0},a=[];function s(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=n,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(r,n,function(e){return t[e]}.bind(null,n));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var o=window.webpackJsonp_astra_sites=window.webpackJsonp_astra_sites||[],l=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var u=l;a.push([45,1]),r()}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.wp.i18n},function(t,e){t.exports=window.React},function(t,e,r){var n=r(47),i=r(48),a=r(27),s=r(49);t.exports=function(t,e){return n(t)||i(t,e)||a(t,e)||s()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=window.regeneratorRuntime},function(t,e,r){"use strict";(function(t){r.d(e,"e",(function(){return n})),r.d(e,"p",(function(){return i})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return o})),r.d(e,"o",(function(){return l})),r.d(e,"q",(function(){return c})),r.d(e,"t",(function(){return u})),r.d(e,"i",(function(){return h})),r.d(e,"r",(function(){return p})),r.d(e,"s",(function(){return f})),r.d(e,"k",(function(){return d})),r.d(e,"m",(function(){return m})),r.d(e,"j",(function(){return g})),r.d(e,"l",(function(){return y})),r.d(e,"g",(function(){return v})),r.d(e,"f",(function(){return b})),r.d(e,"h",(function(){return x})),r.d(e,"n",(function(){return E})),r.d(e,"b",(function(){return k}));var n="1.13.2",i="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||Function("return this")()||{},a=Array.prototype,s=Object.prototype,o="undefined"!=typeof Symbol?Symbol.prototype:null,l=a.push,c=a.slice,u=s.toString,h=s.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,f="undefined"!=typeof DataView,d=Array.isArray,m=Object.keys,g=Object.create,y=p&&ArrayBuffer.isView,v=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=Math.pow(2,53)-1}).call(this,r(29))},function(t,e){function r(t,e,r,n,i,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(n,i)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(i,a){var s=t.apply(e,n);function o(t){r(s,i,a,o,l,"next",t)}function l(t){r(s,i,a,o,l,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=33)}([function(t,e){t.exports=r(2)},function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r,n,i,a=t[1]||"",s=t[3];if(!s)return a;if(e&&"function"==typeof btoa){var o=(r=s,n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(i," */")),l=s.sources.map((function(t){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(t," */")}));return[a].concat(l).concat([o]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(i[s]=!0)}for(var o=0;o<t.length;o++){var l=[].concat(t[o]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),e.push(l))}},e}},function(t,e,r){"use strict";var n,i=function(){var t={};return function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}t[e]=r}return t[e]}}(),a=[];function s(t){for(var e=-1,r=0;r<a.length;r++)if(a[r].identifier===t){e=r;break}return e}function o(t,e){for(var r={},n=[],i=0;i<t.length;i++){var o=t[i],l=e.base?o[0]+e.base:o[0],c=r[l]||0,u="".concat(l," ").concat(c);r[l]=c+1;var h=s(u),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(a[h].references++,a[h].updater(p)):a.push({identifier:u,updater:m(p,e),references:1}),n.push(u)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=i(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var c,u=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function h(t,e,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=u(e,i);else{var a=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(a,s[e]):t.appendChild(a)}}function p(t,e,r){var n=r.css,i=r.media,a=r.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f=null,d=0;function m(t,e){var r,n,i;if(e.singleton){var a=d++;r=f||(f=l(e)),n=h.bind(null,r,a,!1),i=h.bind(null,r,a,!0)}else r=l(e),n=p.bind(null,r,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var r=o(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<r.length;n++){var i=s(r[n]);a[i].references--}for(var l=o(t,e),c=0;c<r.length;c++){var u=s(r[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}r=l}}}},function(t,e,r){(e=r(1)(!1)).push([t.i,"body {\n\t/* Colors */\n --stc-color-accent: #2563EB;\n --stc-color-accent-hover: #1D4ED8;\n --stc-color-heading: #1F2937;\n --stc-color-body: #4B5563;\n --stc-color-light-gray: #E5E7EB;\n --stc-color-placeholder: #6B7280;\n --stc-color-white: #FFFFFF;\n --stc-color-favorite: #E91E63;\n --stc-background-secondary: #F7F7F9;\n --stc-background-primary: #FFFFFF;\n --stc-background-light: #F9FAFB;\n\n /* Font sizes */\n --stc-font-size-xxl: 30px;\n --stc-font-size-xl: 24px;\n --stc-font-size-l: 20px;\n --stc-font-size-m: 18px;\n --stc-font-size-s: 16px;\n --stc-font-size-xs: 14px;\n --stc-font-size-xxs: 11px;\n\n\n /** Font Weight */\n --stc-font-weight-extra-bold: 600;\n --stc-font-weight-bold: 500;\n --stc-font-weight-normal: 400;\n\n /** Font Line Height */\n --stc-font-line-height-xl: 36px;\n --stc-font-line-height-l: 32px;\n --stc-font-line-height-m: 28px;\n --stc-font-line-height-s: 24px;\n --stc-font-line-height-xs: 20px;\n\n /** Border */\n --stc-border-color: #D1D5DB;\n --stc-border-radius-5: 5px;\n --stc-border-radius-4: 4px;\n --stc-border-radius-3: 3px;\n --stc-border-radius-2: 2px;\n --stc-border-radius-1: 1px;\n}\n",""]),t.exports=e},function(t,e,r){t.exports=function(t,e){var r,n,i=0;function a(){var a,s,o=r,l=arguments.length;t:for(;o;){if(o.args.length===arguments.length){for(s=0;s<l;s++)if(o.args[s]!==arguments[s]){o=o.next;continue t}return o!==r&&(o===n&&(n=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=r,o.prev=null,r.prev=o,r=o),o.val}o=o.next}for(a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];return o={args:a,val:t.apply(null,a)},r?(r.prev=o,o.next=r):n=o,i===e.maxSize?(n=n.prev).next=null:i++,r=o,o.val}return e=e||{},a.clear=function(){r=null,n=null,i=0},a}},function(t,e,r){var n;!function(){"use strict";var i={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 a(t){return o(c(t),arguments)}function s(t,e){return a.apply(null,[t].concat(e||[]))}function o(t,e){var r,n,s,o,l,c,u,h,p,f=1,d=t.length,m="";for(n=0;n<d;n++)if("string"==typeof t[n])m+=t[n];else if("object"==typeof t[n]){if((o=t[n]).keys)for(r=e[f],s=0;s<o.keys.length;s++){if(null==r)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',o.keys[s],o.keys[s-1]));r=r[o.keys[s]]}else r=o.param_no?e[o.param_no]:e[f++];if(i.not_type.test(o.type)&&i.not_primitive.test(o.type)&&r instanceof Function&&(r=r()),i.numeric_arg.test(o.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(a("[sprintf] expecting number but found %T",r));switch(i.number.test(o.type)&&(h=r>=0),o.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,o.width?parseInt(o.width):0);break;case"e":r=o.precision?parseFloat(r).toExponential(o.precision):parseFloat(r).toExponential();break;case"f":r=o.precision?parseFloat(r).toFixed(o.precision):parseFloat(r);break;case"g":r=o.precision?String(Number(r.toPrecision(o.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=o.precision?r.substring(0,o.precision):r;break;case"t":r=String(!!r),r=o.precision?r.substring(0,o.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=o.precision?r.substring(0,o.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=o.precision?r.substring(0,o.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(o.type)?m+=r:(!i.number.test(o.type)||h&&!o.sign?p="":(p=h?"+":"-",r=r.toString().replace(i.sign,"")),c=o.pad_char?"0"===o.pad_char?"0":o.pad_char.charAt(1):" ",u=o.width-(p+r).length,l=o.width&&u>0?c.repeat(u):"",m+=o.align?p+r+l:"0"===c?p+l+r:l+p+r)}return m}var l=Object.create(null);function c(t){if(l[t])return l[t];for(var e,r=t,n=[],a=0;r;){if(null!==(e=i.text.exec(r)))n.push(e[0]);else if(null!==(e=i.modulo.exec(r)))n.push("%");else{if(null===(e=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){a|=1;var s=[],o=e[2],c=[];if(null===(c=i.key.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=i.key_access.exec(o)))s.push(c[1]);else{if(null===(c=i.index_access.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}e[2]=s}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return l[t]=n}e.sprintf=a,e.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=s,void 0===(n=function(){return{sprintf:a,vsprintf:s}}.call(e,r,e,t))||(t.exports=n))}()},function(t,e,r){var n=r(2),i=r(7);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-button{margin:0;padding:0 10px;cursor:pointer;border-width:1px;white-space:nowrap;border-style:solid;text-decoration:none;display:inline-block;box-sizing:border-box;-webkit-appearance:none;color:var(--stc-color-white);font-size:var(--stc-font-size-xs);border-color:var(--stc-color-accent);min-height:var(--stc-font-line-height-l);border-radius:var(--stc-border-radius-3);background-color:var(--stc-color-accent)}.stc-button:hover,.stc-button:focus{border-color:var(--stc-color-accent-hover);background-color:var(--stc-color-accent-hover)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(9);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,'@keyframes stc-visible{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible}}.stc-grid-wrap{display:grid;grid-gap:2.5rem}.stc-grid-wrap.grid-1{grid-template-columns:repeat(1, 1fr)}.stc-grid-wrap.grid-2{grid-template-columns:repeat(2, 1fr)}.stc-grid-wrap.grid-3{grid-template-columns:repeat(3, 1fr)}.stc-grid-wrap.grid-4{grid-template-columns:repeat(4, 1fr)}.stc-grid-wrap.grid-5{grid-template-columns:repeat(5, 1fr)}.stc-grid-wrap.grid-6{grid-template-columns:repeat(6, 1fr)}.stc-grid-item-header{display:flex;align-items:center;justify-content:space-between;padding:16px 25px;border-top:1px solid #e9e9e9;position:relative}.stc-grid-item-title{margin:15px 0;text-align:center;color:var(--stc-color-body);font-size:var(--stc-font-size-m);font-weight:var(--stc-font-weight-bold);line-height:var(--stc-font-line-height-s)}.stc-grid-item{cursor:pointer}.stc-grid-item:hover .stc-grid-item-hover-button-wrap{animation:stc-visible .2s linear forwards}.stc-grid-item-screenshot{display:block;cursor:pointer;overflow:hidden;position:relative;background-size:100%;background-repeat:no-repeat;background-position:center top;background-color:var(--stc-background-secondary);border-top-left-radius:var(--stc-border-radius-2);border-top-right-radius:var(--stc-border-radius-2)}.stc-grid-item-screenshot:after{content:"";display:block;padding-top:118%}.stc-grid-item-inner{margin:0;position:relative;transition:all .15s;box-sizing:border-box;background:var(--stc-color-white);border-radius:var(--stc-border-radius-5);border:1px solid var(--stc-color-light-gray);transition:opacity .25s ease-in-out}.stc-grid-item-inner:hover{box-shadow:0px 15px 20px -10px rgba(0,0,0,.25)}.stc-grid-item-inner:hover .stc-grid-item-hover-button-wrapper{animation:stc-visible .2s linear forwards}.stc-grid-item-inner:hover .stc-grid-item-blur{opacity:1}.stc-grid-item-badge{background:#ffc107;color:#000;padding:4px 12px;font-size:var(--stc-font-size-xxs);top:-4px;right:-4px;text-transform:uppercase;position:absolute;z-index:1;border-radius:var(--stc-border-radius-2);font-weight:var(--stc-font-weight-extra-bold);letter-spacing:.3px;z-index:4}.stc-grid-favorite svg{width:16px;height:16px;cursor:pointer}.stc-grid-favorite svg path{fill:var(--stc-color-placeholder)}.stc-grid-favorite svg:hover path,.stc-grid-favorite.active svg path{fill:var(--stc-color-favorite)}.stc-grid-item-hover-button-wrap{display:flex;align-items:center;justify-content:center;position:absolute;left:0;background:var(--stc-background-primary);width:100%;height:auto;visibility:hidden;opacity:0}.stc-grid-item-hover-button{padding:7px 25px;background:var(--stc-color-accent);font-size:18px;font-weight:600;color:var(--stc-color-white);line-height:24px;text-decoration:none !important;border-radius:var(--stc-border-radius-2)}.stc-grid-item-hover-button:hover{background:var(--stc-color-accent-hover);color:var(--stc-color-white)}.stc-grid-new-item .stc-grid-item-header{padding:20px 20px;border-top:1px solid #e9e9e9;background:var(--stc-color-white);box-sizing:border-box;border-radius:0px 0px 4px 4px;display:grid}.stc-grid-new-item .stc-grid-item-desc{font-weight:400;font-size:15px;line-height:25px}.stc-grid-new-item .stc-grid-item-title{color:var(--st-color-heading);font-size:var(--st-font-size-xs);line-height:var(--st-line-height-xs);margin:0;padding:0;text-align:center;width:100%;font-weight:600;display:flex;align-items:center;line-height:24px}.stc-grid-new-item .stc-grid-item-hover-button-wrap{justify-content:center;position:absolute;left:0;background:transparent;width:100%;height:auto;visibility:hidden;opacity:0;color:var(--stc-color-white);margin-top:15px}.stc-grid-new-item .stc-grid-item{cursor:default}.stc-grid-item-hover-button-wrapper{justify-content:center;position:absolute;left:0;background:transparent;width:100%;height:auto;visibility:hidden;opacity:0;top:45%;bottom:50%;font-weight:600;font-size:16px;line-height:24px;align-items:center;text-align:center;z-index:3}.st-template-page-builder-wrap{display:flex;align-content:center;justify-content:center;align-items:center}.st-template-page-builder-wrap span>svg{width:32px;height:auto;margin:5px;border-radius:50%}.stc-grid-item-screenshot-wrap{position:relative}.stc-grid-item-blur{background:rgba(255,255,255,.8);z-index:2;position:absolute;inset:0;opacity:0}',""]),t.exports=e},function(t,e,r){var n=r(2),i=r(11);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-tooltip{position:relative}.stc-tooltip-visible{opacity:1;visibility:visible}.stc-tooltip-hidden{opacity:0;visibility:hidden}.stc-tooltip-content{position:absolute;right:0;z-index:99;color:#fff;box-shadow:0px 4px 8px -2px rgba(9,30,66,.25),0px 0px 1px rgba(9,30,66,.31);font-weight:400;line-height:1;text-align:center;min-width:max-content;border-radius:2px;background:var(--stc-color-heading);font-size:13px;top:135%;padding:6px 12px}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(13);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-search{display:inline-block;position:relative}.stc-search .stc-search-input{width:740px;padding:16px 22px 16px 44px;opacity:1;font-size:var(--stc-font-size-s);border:var(--stc-search-input-border, none);font-weight:var(--stc-font-weight-normal);border-radius:var(--stc-border-radius-4, 4px);background:var(--stc-background-primary);box-shadow:var(--stc-search-input-box-shadow, 0px 0px 4px -1px rgba(0, 0, 0, 0.06), 0px 2px 6px -1px rgba(0, 0, 0, 0.1));height:var(--stc-search-input-height, 62px)}.stc-search .stc-search-input:focus{outline:none;border:var(--stc-search-input--focus-border, none)}.stc-search .stc-search-input:hover,.stc-search .stc-search-input:active,.stc-search .stc-search-input:focus{box-shadow:0px 2px 6px -1px rgba(0,0,0,.06),0px 4px 8px -1px rgba(0,0,0,.1)}.stc-search .stc-search-input::-webkit-input-placeholder{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-xs)}.stc-search .stc-search-input::-webkit-search-cancel-button{display:none}.stc-search.stc-search-have-input .stc-search-input:focus+.stc-search-icon,.stc-search.stc-search-have-input .stc-search-input:hover+.stc-search-icon{--stc-search-icon-opacity: 0;--stc-search-icon-visibility: hidden}.stc-search-icon,.stc-cross-icon{top:0;bottom:0;padding:0;left:18px;border:none;line-height:0;position:absolute;background:var(--stc-search-icon-background, 0 0);color:var(--stc-color-light-gray);opacity:var(--stc-search-icon-opacity, 1);visibility:var(--stc-search-icon-visibility, visible)}.stc-search-icon:focus,.stc-search-icon:hover,.stc-cross-icon:focus,.stc-cross-icon:hover{background:transparent;box-shadow:none}.stc-search-icon svg,.stc-cross-icon svg{fill:var(--stc-color-placeholder)}.stc-search-icon svg{width:14px}.stc-cross-icon{display:none;cursor:pointer}.stc-search-have-input .stc-cross-icon{display:block}.stc-search-have-input .stc-search-icon{display:none}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(15);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-category-list{display:flex}.stc-category-list-item{display:flex;cursor:pointer;padding:0px 10px;align-items:center;justify-content:space-between;color:rgba(49,42,64,.7)}.stc-category-list-item:hover .stc-category-list-title,.stc-category-list-item.active .stc-category-list-title{color:var(--stc-color-heading)}.stc-category-list-more{--stc-toggle-dropdown-selected-background: transparent;--stc-toggle-dropdown-popup-min-width: 220px;--stc-toggle-dropdown-popup-item-padding: 5px 17px;--stc-toggle-dropdown-popup-padding: 10px 0;--stc-toggle-dropdown-border-color: transparent;--stc-toggle-dropdown-selected-padding: 0;--stc-toggle-dropdown-popup-left: calc( 100% - var( --stc-toggle-dropdown-popup-min-width ) )}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(17);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-toggle-dropdown{--stc-logo-width: 20px;--stc-logo-height: 20px;--stc-logo-border-raidus: 50%;position:relative}.stc-toggle-dropdown-popup{right:0;position:absolute;z-index:99;background:var(--stc-color-white);box-shadow:1px 2px 5px 1px rgba(0,0,0,.15);top:var(--stc-toggle-dropdown-popup-top, 100%);left:var(--stc-toggle-dropdown-popup-left, 0);text-align:left;padding:var(--stc-toggle-dropdown-popup-padding, 0);border-radius:var(--stc-border-radius-4);min-width:var(--stc-toggle-dropdown-popup-min-width, auto)}.stc-toggle-dropdown-popup-item{margin:var(--stc-toggle-dropdown-popup-item-margin, 0 0 5px 0);cursor:var(--stc-toggle-dropdown-popup-item-cursor, initial);padding:var(--stc-toggle-dropdown-popup-item-padding, 12px 22px);margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child{margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child:hover,.stc-toggle-dropdown-popup-item:last-child.active{border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4)}.stc-toggle-dropdown-popup-item:hover,.stc-toggle-dropdown-popup-item.active{background-color:var(--stc-background-light)}.stc-toggle-dropdown-selected{border:1px solid var(--stc-toggle-dropdown-border-color, var(--stc-border-color));background:var(--stc-toggle-dropdown-selected-background, var(--stc-color-white));padding:var(--stc-toggle-dropdown-selected-padding, 6px 10px 6px 16px);border-radius:var(--stc-border-radius-4);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-body);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.stc-toggle-dropdown-selected svg{margin-left:10px;height:var(--stc-toggle-dropdown-icon-height, 6px);fill:var(--stc-color-body)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(19);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-logo{display:flex;align-items:center}.stc-logo-image{width:var(--stc-logo-width, 34px);height:var(--stc-logo-height, 34px);border-radius:var(--stc-logo-border-raidus, 0)}.stc-logo-text{margin-left:8px;color:var(--stc-color-body);font-size:var(--stc-font-size-xs);font-weight:var(--stc-font-weight-normal);line-height:var(--stc-font-line-height-xs)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(21);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-suggestion-list{border:1px solid var(--stc-border-color);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-border-color);max-width:var(--stc-suggestion-list-max-width, 100%);text-align:var(--stc-suggestion-list-text-align, left);z-index:var(--stc-suggestion-list-z-index, 10);background:var(--stc-suggestion-list-background, var(--stc-color-white));position:var(--stc-suggestion-list-position, relative);left:var(--stc-suggestion-list-left, 0);right:var(--stc-suggestion-list-right, 0);border-radius:var(--stc-suggestion-list-border-radius, 0);padding:0;margin:0}.stc-suggession{cursor:pointer;padding:9px 22px;font-size:var(--stc-font-size-s);color:rgba(75,85,99,.5)}.stc-suggession:hover{background:var(--stc-background-light)}.stc-suggestion-highlight{color:var(--stc-color-heading)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(23);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".st-toaster{display:flex;align-items:center;justify-content:space-between;width:max-content;max-width:20.125rem;padding:1rem;background-color:var(--st-background-primary);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);border:1px solid #ddd;border-radius:var(--stc-border-radius-4);position:fixed;z-index:999}.st-toaster.bottom-right,.st-toaster.bottom-center,.st-toaster.bottom-left{bottom:12%}.st-toaster.bottom-right{right:2%;left:auto}.st-toaster.bottom-center{right:50%;left:auto;transform:translateX(50%)}.st-toaster.bottom-left{left:2%;right:auto}.st-toaster.top-right,.st-toaster.top-center,.st-toaster.top-left{top:12%}.st-toaster.top-left{left:2%;right:auto}.st-toaster.top-center{left:50%;right:auto;transform:translateX(-50%)}.st-toaster.top-right{right:2%;left:auto}.st-toaster.left-center{top:50%;left:2%;transform:translateY(-50%)}.st-toaster .content{display:flex}.st-toaster .content .status-icon svg{width:1.25rem;height:1.25rem}.st-toaster .content .status-icon.success{color:var(--st-context-success-color, #39b54a)}.st-toaster .content .status-icon.failed{color:var(--st-context-error-color, #d72b3f)}.st-toaster .content .message{display:flex;margin-left:.625rem}.st-toaster .toaster-close{display:flex;margin-left:1rem}.st-toaster .toaster-close .close-btn{cursor:pointer;padding:0;margin:0;background:none;border:none}.st-toaster .toaster-close .close-btn svg{width:1.25rem;height:1.25rem;fill:var(--st-color-placeholder, #6B7280)}.st-toaster.visible{animation:toaster-in .3s linear forwards}.st-toaster.hidden{animation:toaster-out .3s linear forwards}@keyframes toaster-in{from{opacity:0}to{opacity:1}}@keyframes toaster-out{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(25);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-sites-no-results{border-bottom:1px solid var(--stc-border-color);box-sizing:border-box;padding:var(--stc-sites-no-results-padding, 30px 30px 30px 0);text-align:left;background:var(--stc-background-secondary)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(27);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-mega-menu-wrap{text-align:left}.stc-mega-menu-toggle{background:var(--stc-color-white);border:1px solid var(--stc-border-color);border-radius:var(--stc-border-radius-2);fill:var(--stc-color-placeholder);padding:10px 13px;box-sizing:border-box;cursor:pointer;display:none}.stc-mega-menu-group{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:18px 22px 22px 22px;left:-22px;z-index:9;display:flex;flex-wrap:wrap;margin:var(--stc-mega-menu-group-margin, 0)}.stc-mega-menu-group.stc-mega-menu-group-two-col{width:400px}.stc-mega-menu-item{position:relative;white-space:nowrap}.stc-mega-menu-item:hover>.stc-mega-menu-group{visibility:visible;opacity:1}.stc-mega-menu-item:last-child{margin-right:0}.stc-mega-menu-section-title{font-weight:600;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);display:flex;align-items:center;color:var(--stc-color-heading);margin-bottom:6px}.stc-mega-menu-children{color:var(--stc-color-body);font-weight:normal;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs)}.stc-mega-menu-child-item{margin-bottom:6px;cursor:pointer;font-size:13px}.stc-mega-menu-child-item.stc-mega-menu-child-item-active,.stc-mega-menu-child-item:hover{color:var(--stc-color-accent-hover)}.stc-mega-menu-child-item:last-child{margin-bottom:0}.stc-mega-menu-item:hover>.stc-mega-menu-item-title,.stc-mega-menu-item-active>.stc-mega-menu-item-title{border-bottom-color:var(--stc-color-heading)}.stc-mega-menu-item-title{cursor:pointer;border-bottom:2px solid transparent;display:inline-block;font-size:15px;margin:var(--stc-mega-menu-item-title-margin, 0 20px 0 0);padding:var(--stc-mega-menu-item-title-padding, 0 0 20px 0)}.stc-mega-menu-item-title svg{width:10px;height:10px;fill:var(--stc-color-placeholder);margin-left:10px}.stc-mega-menu-item-title:hover svg{fill:var(--stc-color-heading)}.stc-mega-menu-item-active svg{fill:var(--stc-color-heading)}@media(min-width: 769px){.stc-mega-menu{display:flex;position:relative}.stc-mega-menu-group{position:absolute;top:100%;opacity:0;visibility:hidden;width:230px}.stc-mega-menu-group-col-2,.stc-mega-menu-group-col-3{width:400px}.stc-mega-menu-group-col-2 .stc-mega-menu-section,.stc-mega-menu-group-col-3 .stc-mega-menu-section{width:50%}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2){padding-bottom:20px}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(3),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(3){border-right:1px solid var(--stc-color-light-gray)}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding-left:25px}}@media(max-width: 768px){.stc-mega-menu-item-title{font-weight:var(--stc-font-weight-bold);font-size:var(--stc-font-size-m);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-heading);margin-bottom:8px;padding:0}.stc-mega-menu-section-title{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-s)}.stc-mega-menu-container{display:none}.stc-mega-menu-show .stc-mega-menu-container{display:block}.stc-mega-menu-toggle{display:inline-block}.stc-mega-menu-item-title svg{display:none}.stc-mega-menu-item{margin-bottom:38px}.stc-mega-menu-group{background:transparent;box-shadow:none;border-radius:initial;padding:0;margin:0;width:100%;flex-direction:column}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding:0}.stc-mega-menu-container{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:37px 45px;position:absolute;left:0;right:0;z-index:2;margin-top:15px;overflow-y:auto;height:50vh}.stc-mega-menu-section{width:100%;margin-bottom:15px}.stc-mega-menu-section:last-child{margin-bottom:0}}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(29);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-grid-item-badge{background:#ffc107;color:#000;padding:4px 12px;font-size:var(--stc-font-size-xxs);top:-4px;right:-4px;text-transform:uppercase;position:absolute;z-index:1;border-radius:var(--stc-border-radius-2);font-weight:var(--stc-font-weight-extra-bold);letter-spacing:.3px}",""]),t.exports=e},function(t){t.exports=JSON.parse('[{"ID":9888,"title":"Business","parent":"0","children":[{"ID":6771,"title":"Business","parent":"1","children":[{"ID":4523,"title":"Agency","parent":"2"},{"ID":7382,"title":"Restaurant","parent":"2"},{"ID":4232,"title":"Hotel & Travel","parent":"2"},{"ID":5398,"title":"Construction","parent":"2"},{"ID":673,"title":"Real Estate","parent":"2"},{"ID":3667,"title":"Transport","parent":"2"},{"ID":9928,"title":"Manufacturing","parent":"2"},{"ID":1998,"title":"Pets","parent":"2"},{"ID":8288,"title":"Gardening","parent":"2"},{"ID":9990,"title":"Landing Pages","parent":"2"}]}]},{"ID":1373,"title":"Local Business","parent":"0","children":[{"ID":4714,"title":"Local Business","parent":"0","children":[{"ID":5547,"title":"Electrician","parent":"13"},{"ID":4720,"title":"Plumber","parent":"13"},{"ID":4528,"title":"AC Technician","parent":"13"},{"ID":4032,"title":"Roofing Services","parent":"13"},{"ID":2650,"title":"Courier Delivery","parent":"13"},{"ID":8189,"title":"Movers","parent":"13"},{"ID":121,"title":"Cleaning Services","parent":"13"},{"ID":3608,"title":"Transport","parent":"13"},{"ID":5346,"title":"Catering","parent":"13"},{"ID":3057,"title":"Car Garage","parent":"13"}]}]},{"ID":3502,"title":"Personal Care","parent":"0","children":[{"ID":7110,"title":"Personal Care","parent":"0","children":[{"ID":4687,"title":"Salon","parent":"24"},{"ID":1983,"title":"Beauty","parent":"24"},{"ID":8916,"title":"Fitness","parent":"24"},{"ID":2870,"title":"Yoga","parent":"24"},{"ID":7507,"title":"Spa & Massage","parent":"24"}]}]},{"ID":23,"title":"Professionals","parent":"0","children":[{"ID":5502,"title":"Professionals","parent":"0","children":[{"ID":6825,"title":"Finance","parent":"30"},{"ID":2015,"title":"Accountant","parent":"30"},{"ID":1815,"title":"Law","parent":"30"},{"ID":5330,"title":"Coach","parent":"30"},{"ID":8139,"title":"Medical","parent":"30"},{"ID":4121,"title":"Photography","parent":"30"},{"ID":2605,"title":"Consultant","parent":"30"},{"ID":2864,"title":"Interior Designer","parent":"30"},{"ID":4900,"title":"Web Designer","parent":"30"}]}]},{"ID":5770,"title":"Personal Sites","parent":"0","children":[{"ID":9870,"title":"Personal Sites","parent":"0","children":[{"ID":6211,"title":"Portfolio & CV","parent":"40"},{"ID":1768,"title":"Photographer","parent":"40"},{"ID":3180,"title":"Artist","parent":"40"},{"ID":2923,"title":"Author","parent":"40"},{"ID":1650,"title":"Musician","parent":"40"}]}]},{"ID":5358,"title":"Community","parent":"0","children":[{"ID":9049,"title":"Institutes","parent":"46","children":[{"ID":4882,"title":"Preschool","parent":"46"},{"ID":3596,"title":"School","parent":"46"},{"ID":8436,"title":"Kindergarten","parent":"46"},{"ID":4607,"title":"University","parent":"46"}]},{"ID":4677,"title":"Non Profit","parent":"0","children":[{"ID":3816,"title":"Church","parent":"52"},{"ID":6629,"title":"Charity","parent":"52"}]},{"ID":1736,"title":"Events","parent":"0","children":[{"ID":3629,"title":"Wedding","parent":"56"},{"ID":556,"title":"Conference","parent":"56"},{"ID":7875,"title":"Celebrations","parent":"56"}]}]},{"ID":2438,"title":"E-Commerce","parent":"0","children":[{"ID":2306,"title":"Online Store","parent":"60","children":[{"ID":6285,"title":"Online Shop","parent":"60"},{"ID":78,"title":"Clothing store","parent":"60"},{"ID":5341,"title":"Jewelry store","parent":"60"},{"ID":5312,"title":"Sports store","parent":"60"},{"ID":3310,"title":"Book store","parent":"60"}]},{"ID":3751,"title":"E-Learning","parent":"60","children":[{"ID":5309,"title":"Online Courses","parent":"66"},{"ID":6030,"title":"Course Marketplace","parent":"66"},{"ID":5771,"title":"LMS","parent":"66"}]}]},{"ID":24381,"title":"Blog","parent":"0","children":[{"ID":2306,"title":"Blog","parent":"60","children":[{"ID":6285,"title":"Blogger","parent":"60"},{"ID":78,"title":"Food Blog","parent":"60"},{"ID":5341,"title":"Travel Blog","parent":"60"},{"ID":5312,"title":"News Site","parent":"60"},{"ID":3310,"title":"Magazine","parent":"60"},{"ID":5309,"title":"Fashion Blog","parent":"66"},{"ID":6030,"title":"Influence Blog","parent":"66"},{"ID":5771,"title":"Podcast","parent":"66"}]}]}]')},function(t,e,r){var n=r(2),i=r(32);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-mega-menu-filter{--stc-mega-menu-item-title-margin: 0px 20px -20px 0px;--stc-mega-menu-item-title-padding: 0px 0px 15px 0px;--stc-mega-menu-group-margin: 18px 0px 0px 0px}",""]),t.exports=e},function(t,e,r){"use strict";r.r(e),r.d(e,"Button",(function(){return a})),r.d(e,"Grid",(function(){return rt})),r.d(e,"Search",(function(){return nt})),r.d(e,"CategoryList",(function(){return st})),r.d(e,"ToggleDropdown",(function(){return pt})),r.d(e,"Logo",(function(){return ft})),r.d(e,"Tooltip",(function(){return et})),r.d(e,"SuggestionList",(function(){return mt})),r.d(e,"Toaster",(function(){return vt})),r.d(e,"SiteOrder",(function(){return bt})),r.d(e,"SiteType",(function(){return xt})),r.d(e,"NoResultFound",(function(){return Et})),r.d(e,"MegaMenu",(function(){return wt})),r.d(e,"PremiumBadge",(function(){return Ct})),r.d(e,"SiteBusinessType",(function(){return St}));var n=r(0),i=r.n(n),a=(r(6),function(t){var e=t.children;return i.a.createElement("button",{className:"stc-button"},e)});let s;function o(t){if("string"!=typeof t||-1===t.indexOf("&"))return t;void 0===s&&(s=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),s.innerHTML=t;const e=s.textContent;return s.innerHTML="",e}var l=r(4),c=r.n(l),u=r(5),h=r.n(u);const p=c()(console.error);var f,d,m,g;f={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},d=["(","?"],m={")":["("],":":["?","?:"]},g=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var y={"!":function(t){return!t},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"==":function(t,e){return t===e},"!=":function(t,e){return t!==e},"&&":function(t,e){return t&&e},"||":function(t,e){return t||e},"?:":function(t,e,r){if(t)throw e;return r}},v={contextDelimiter:"",onMissingKey:null};function b(t,e){var r;for(r in this.data=t,this.pluralForms={},this.options={},v)this.options[r]=void 0!==e&&r in e?e[r]:v[r]}b.prototype.getPluralForm=function(t,e){var r,n,i,a,s=this.pluralForms[t];return s||("function"!=typeof(i=(r=this.data[t][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(t){var e,r,n;for(e=t.split(";"),r=0;r<e.length;r++)if(0===(n=e[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),a=function(t){var e=function(t){for(var e,r,n,i,a=[],s=[];e=t.match(g);){for(r=e[0],(n=t.substr(0,e.index).trim())&&a.push(n);i=s.pop();){if(m[r]){if(m[r][0]===i){r=m[r][1]||r;break}}else if(d.indexOf(i)>=0||f[i]<f[r]){s.push(i);break}a.push(i)}m[r]||s.push(r),t=t.substr(e.index+r.length)}return(t=t.trim())&&a.push(t),a.concat(s.reverse())}(t);return function(t){return function(t,e){var r,n,i,a,s,o,l=[];for(r=0;r<t.length;r++){if(s=t[r],a=y[s]){for(n=a.length,i=Array(n);n--;)i[n]=l.pop();try{o=a.apply(null,i)}catch(t){return t}}else o=e.hasOwnProperty(s)?e[s]:+s;l.push(o)}return l[0]}(e,t)}}(n),i=function(t){return+a({n:t})}),s=this.pluralForms[t]=i),s(e)},b.prototype.dcnpgettext=function(t,e,r,n,i){var a,s,o;return a=void 0===i?0:this.getPluralForm(t,i),s=r,e&&(s=e+this.options.contextDelimiter+r),(o=this.data[t][s])&&o[a]?o[a]:(this.options.onMissingKey&&this.options.onMissingKey(r,t),0===a?r:n)};const x={"":{plural_forms:t=>1===t?0:1}},E=/^i18n\.(n?gettext|has_translation)(_|$)/;var k=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},w=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},C=function(t,e){return function(r,n,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const s=t[e];if(!w(r))return;if(!k(n))return;if("function"!=typeof i)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const o={callback:i,priority:a,namespace:n};if(s[r]){const t=s[r].handlers;let e;for(e=t.length;e>0&&!(a>=t[e-1].priority);e--);e===t.length?t[e]=o:t.splice(e,0,o),s.__current.forEach(t=>{t.name===r&&t.currentIndex>=e&&t.currentIndex++})}else s[r]={handlers:[o],runs:0};"hookAdded"!==r&&t.doAction("hookAdded",r,n,i,a)}},A=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n,i){const a=t[e];if(!w(n))return;if(!r&&!k(i))return;if(!a[n])return 0;let s=0;if(r)s=a[n].handlers.length,a[n]={runs:a[n].runs,handlers:[]};else{const t=a[n].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===i&&(t.splice(e,1),s++,a.__current.forEach(t=>{t.name===n&&t.currentIndex>=e&&t.currentIndex--}))}return"hookRemoved"!==n&&t.doAction("hookRemoved",n,i),s}},S=function(t,e){return function(r,n){const i=t[e];return void 0!==n?r in i&&i[r].handlers.some(t=>t.namespace===n):r in i}},P=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n){const i=t[e];i[n]||(i[n]={handlers:[],runs:0}),i[n].runs++;const a=i[n].handlers;for(var s=arguments.length,o=new Array(s>1?s-1:0),l=1;l<s;l++)o[l-1]=arguments[l];if(!a||!a.length)return r?o[0]:void 0;const c={name:n,currentIndex:0};for(i.__current.push(c);c.currentIndex<a.length;){const t=a[c.currentIndex].callback.apply(null,o);r&&(o[0]=t),c.currentIndex++}return i.__current.pop(),r?o[0]:void 0}},O=function(t,e){return function(){var r,n;const i=t[e];return null!==(r=null===(n=i.__current[i.__current.length-1])||void 0===n?void 0:n.name)&&void 0!==r?r:null}},j=function(t,e){return function(r){const n=t[e];return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}},I=function(t,e){return function(r){const n=t[e];if(w(r))return n[r]&&n[r].runs?n[r].runs:0}};const _=new class{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=C(this,"actions"),this.addFilter=C(this,"filters"),this.removeAction=A(this,"actions"),this.removeFilter=A(this,"filters"),this.hasAction=S(this,"actions"),this.hasFilter=S(this,"filters"),this.removeAllActions=A(this,"actions",!0),this.removeAllFilters=A(this,"filters",!0),this.doAction=P(this,"actions"),this.applyFilters=P(this,"filters",!0),this.currentAction=O(this,"actions"),this.currentFilter=O(this,"filters"),this.doingAction=j(this,"actions"),this.doingFilter=j(this,"filters"),this.didAction=I(this,"actions"),this.didFilter=I(this,"filters")}},{addAction:F,addFilter:T,removeAction:D,removeFilter:M,hasAction:R,hasFilter:B,removeAllActions:V,removeAllFilters:L,doAction:N,applyFilters:z,currentAction:G,currentFilter:H,doingAction:Q,doingFilter:q,didAction:W,didFilter:X,actions:J,filters:Y}=_,U=((t,e,r)=>{const n=new b({}),i=new Set,a=()=>{i.forEach(t=>t())},s=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";n.data[e]={...x,...n.data[e],...t},n.data[e][""]={...x[""],...n.data[e][""]}},o=(t,e)=>{s(t,e),a()},l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return n.data[t]||s(void 0,t),n.dcnpgettext(t,e,r,i,a)},c=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return t},u=(t,e,n)=>{let i=l(n,e,t);return r?(i=r.applyFilters("i18n.gettext_with_context",i,t,e,n),r.applyFilters("i18n.gettext_with_context_"+c(n),i,t,e,n)):i};if(r){const t=t=>{E.test(t)&&a()};r.addAction("hookAdded","core/i18n",t),r.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return n.data[t]},setLocaleData:o,resetLocaleData:(t,e)=>{n.data={},n.pluralForms={},o(t,e)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,e)=>{let n=l(e,void 0,t);return r?(n=r.applyFilters("i18n.gettext",n,t,e),r.applyFilters("i18n.gettext_"+c(e),n,t,e)):n},_x:u,_n:(t,e,n,i)=>{let a=l(i,void 0,t,e,n);return r?(a=r.applyFilters("i18n.ngettext",a,t,e,n,i),r.applyFilters("i18n.ngettext_"+c(i),a,t,e,n,i)):a},_nx:(t,e,n,i,a)=>{let s=l(a,i,t,e,n);return r?(s=r.applyFilters("i18n.ngettext_with_context",s,t,e,n,i,a),r.applyFilters("i18n.ngettext_with_context_"+c(a),s,t,e,n,i,a)):s},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(t,e,i)=>{var a,s;const o=e?e+""+t:t;let l=!(null===(a=n.data)||void 0===a||null===(s=a[null!=i?i:"default"])||void 0===s||!s[o]);return r&&(l=r.applyFilters("i18n.has_translation",l,t,e,i),l=r.applyFilters("i18n.has_translation_"+c(i),l,t,e,i)),l}}})(0,0,_);U.getLocaleData.bind(U),U.setLocaleData.bind(U),U.resetLocaleData.bind(U),U.subscribe.bind(U);const K=U.__.bind(U);U._x.bind(U),U._n.bind(U),U._nx.bind(U),U.isRTL.bind(U),U.hasTranslation.bind(U);var Z={search:React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M17.7043 16.2848L14.3054 12.8958C15.402 11.4988 15.9971 9.77351 15.9948 7.99743C15.9948 6.41569 15.5258 4.86947 14.647 3.5543C13.7683 2.23913 12.5192 1.21408 11.0579 0.608771C9.59657 0.00346513 7.98855 -0.15491 6.43721 0.153672C4.88586 0.462254 3.46085 1.22393 2.34239 2.34239C1.22393 3.46085 0.462254 4.88586 0.153672 6.43721C-0.15491 7.98855 0.00346513 9.59657 0.608771 11.0579C1.21408 12.5192 2.23913 13.7683 3.5543 14.647C4.86947 15.5258 6.41569 15.9948 7.99743 15.9948C9.77351 15.9971 11.4988 15.402 12.8958 14.3054L16.2848 17.7043C16.3777 17.798 16.4883 17.8724 16.6101 17.9231C16.7319 17.9739 16.8626 18 16.9945 18C17.1265 18 17.2572 17.9739 17.379 17.9231C17.5008 17.8724 17.6114 17.798 17.7043 17.7043C17.798 17.6114 17.8724 17.5008 17.9231 17.379C17.9739 17.2572 18 17.1265 18 16.9945C18 16.8626 17.9739 16.7319 17.9231 16.6101C17.8724 16.4883 17.798 16.3777 17.7043 16.2848ZM1.99936 7.99743C1.99936 6.81112 2.35114 5.65146 3.01022 4.66508C3.66929 3.6787 4.60606 2.90991 5.70207 2.45593C6.79807 2.00196 8.00408 1.88317 9.16759 2.11461C10.3311 2.34605 11.3999 2.91731 12.2387 3.75615C13.0775 4.595 13.6488 5.66375 13.8802 6.82726C14.1117 7.99077 13.9929 9.19678 13.5389 10.2928C13.0849 11.3888 12.3162 12.3256 11.3298 12.9846C10.3434 13.6437 9.18373 13.9955 7.99743 13.9955C6.40664 13.9955 4.88101 13.3636 3.75615 12.2387C2.6313 11.1138 1.99936 9.58821 1.99936 7.99743Z"})),cross:React.createElement("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),dropdown:React.createElement("svg",{viewBox:"0 0 6 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M2.68303 3.8635L0.132229 1.2304C-0.0440763 1.0484 -0.0440763 0.754114 0.132229 0.574056L0.556111 0.136496C0.732416 -0.0454985 1.01751 -0.0454985 1.19194 0.136496L3 2.0029L4.80806 0.136496C4.98437 -0.0454985 5.26946 -0.0454985 5.44389 0.136496L5.86777 0.574056C6.04408 0.75605 6.04408 1.05034 5.86777 1.2304L3.31697 3.8635C3.14442 4.0455 2.85933 4.0455 2.68303 3.8635Z",fillOpacity:"0.6"})),favorite:React.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),close:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})),success:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 1792 1792",fill:"#44C997",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"})),error:React.createElement("svg",{"x-description":"Heroicon name: solid/x-circle",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})),toggle:React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1 2.05556C0.723858 2.05556 0.5 2.27941 0.5 2.55556C0.5 2.8317 0.723858 3.05556 1 3.05556V2.05556ZM15 3.05556C15.2761 3.05556 15.5 2.8317 15.5 2.55556C15.5 2.27941 15.2761 2.05556 15 2.05556V3.05556ZM1 7.5C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5V7.5ZM15 8.5C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5V8.5ZM1 12.9444C0.723858 12.9444 0.5 13.1683 0.5 13.4444C0.5 13.7206 0.723858 13.9444 1 13.9444V12.9444ZM15 13.9444C15.2761 13.9444 15.5 13.7206 15.5 13.4444C15.5 13.1683 15.2761 12.9444 15 12.9444V13.9444ZM1 3.05556H4.11111V2.05556H1V3.05556ZM15 2.05556H7.22222V3.05556H15V2.05556ZM1 8.5H10.3333V7.5H1V8.5ZM15 7.5H13.4444V8.5H15V7.5ZM1 13.9444H2.55556V12.9444H1V13.9444ZM15 12.9444H5.66667V13.9444H15V12.9444ZM6.72222 2.55556C6.72222 3.13852 6.24963 3.61111 5.66667 3.61111V4.61111C6.80192 4.61111 7.72222 3.69081 7.72222 2.55556H6.72222ZM5.66667 3.61111C5.0837 3.61111 4.61111 3.13852 4.61111 2.55556H3.61111C3.61111 3.69081 4.53141 4.61111 5.66667 4.61111V3.61111ZM4.61111 2.55556C4.61111 1.97259 5.0837 1.5 5.66667 1.5V0.5C4.53141 0.5 3.61111 1.4203 3.61111 2.55556H4.61111ZM5.66667 1.5C6.24963 1.5 6.72222 1.97259 6.72222 2.55556H7.72222C7.72222 1.4203 6.80192 0.5 5.66667 0.5V1.5ZM12.9444 8C12.9444 8.58297 12.4719 9.05556 11.8889 9.05556V10.0556C13.0241 10.0556 13.9444 9.13525 13.9444 8H12.9444ZM11.8889 9.05556C11.3059 9.05556 10.8333 8.58297 10.8333 8H9.83333C9.83333 9.13525 10.7536 10.0556 11.8889 10.0556V9.05556ZM10.8333 8C10.8333 7.41703 11.3059 6.94444 11.8889 6.94444V5.94444C10.7536 5.94444 9.83333 6.86475 9.83333 8H10.8333ZM11.8889 6.94444C12.4719 6.94444 12.9444 7.41703 12.9444 8H13.9444C13.9444 6.86475 13.0241 5.94444 11.8889 5.94444V6.94444ZM5.16667 13.4444C5.16667 14.0274 4.69408 14.5 4.11111 14.5V15.5C5.24636 15.5 6.16667 14.5797 6.16667 13.4444H5.16667ZM4.11111 14.5C3.52814 14.5 3.05556 14.0274 3.05556 13.4444H2.05556C2.05556 14.5797 2.97586 15.5 4.11111 15.5V14.5ZM3.05556 13.4444C3.05556 12.8615 3.52814 12.3889 4.11111 12.3889V11.3889C2.97586 11.3889 2.05556 12.3092 2.05556 13.4444H3.05556ZM4.11111 12.3889C4.69408 12.3889 5.16667 12.8615 5.16667 13.4444H6.16667C6.16667 12.3092 5.24636 11.3889 4.11111 11.3889V12.3889Z"}))};function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tt(t,e):void 0}}(t,e)||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 tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(8),r(10);var et=function(t){var e=t.children,r=t.content,a=$(Object(n.useState)(!1),2),s=a[0],o=a[1],l=$(Object(n.useState)(null),2),c=l[0],u=l[1],h=function(){u(setTimeout((function(){o(!1)}),50))};return i.a.createElement("div",{className:"stc-tooltip",onMouseEnter:function(){o(!0)},onMouseLeave:h},e,r?i.a.createElement("div",{className:"stc-tooltip-content ".concat(s?"stc-tooltip-visible":"stc-tooltip-hidden"),onMouseEnter:function(){clearTimeout(c)},onMouseLeave:h},r):null)},rt=function(t){var e=t.className,r=t.column,n=t.options,a=t.onClick,s=t.hasFavorite,l=t.onFavoriteClick,c=t.favoriteList,u=t.buttonLabel,h=t.enableNewUi;return n.length?i.a.createElement("div",{className:"\n\t\t\t\tstc-grid-wrap\t\t\t\t\n\t\t\t\tgrid-".concat(r||"3","\n\t\t\t\t").concat(null!=e?e:"","\n\t\t\t"),column:r},n.map((function(t,e){var r=!(!c||!c.length)&&c.includes("id-".concat(t.id)),n={};return t.image&&(n.backgroundImage="url(".concat(t.image,")")),i.a.createElement("div",{className:"stc-grid-item","data-id":t.id,key:e},i.a.createElement("div",{className:"stc-grid-item-inner"},t.badge?i.a.createElement(Ct,{badge:t.badge}):null,h?i.a.createElement("div",{className:"stc-grid-item-screenshot-wrap"},i.a.createElement("div",{className:"stc-grid-item-screenshot",style:n}),i.a.createElement("div",{className:"stc-grid-item-blur",onClick:function(e){"function"==typeof a&&a(e,t)}})):i.a.createElement("div",{className:"stc-grid-item-screenshot",style:n,onClick:function(e){"function"==typeof a&&a(e,t)}}),i.a.createElement("div",{className:"stc-grid-item-header"},i.a.createElement("div",{className:"stc-grid-item-title"},o(t.title)),t.desc?i.a.createElement("div",{className:"stc-grid-item-desc"},t.desc.substring(0,100)):null,null!=t&&t.link&&!h?i.a.createElement("div",{className:"stc-grid-item-hover-button-wrap"},i.a.createElement("a",{className:"stc-grid-item-hover-button",href:t.link,target:"_blank",rel:"noreferrer"},u)):null,s?i.a.createElement(et,{content:"".concat(r?"":K("Add to favorites"))},i.a.createElement("div",{className:"stc-grid-favorite ".concat(r?"active":""),onClick:function(e){"function"==typeof l&&l(e,t,!r)}},Z.favorite)):null),h?i.a.createElement("div",{className:"stc-grid-item-hover-button-wrapper"},i.a.createElement("div",{className:"st-template-page-builder-wrap",dangerouslySetInnerHTML:{__html:t.pageBuilder}}),i.a.createElement("div",{className:"stc-grid-item-hover-button-wrap"},i.a.createElement("a",{className:"stc-grid-item-hover-button",href:t.link,rel:"noreferrer"},u))):null))}))):""};r(12);var nt=Object(n.memo)((function(t){var e=t.apiUrl,r=t.onSearchResult,a=t.beforeSearchResult,s=t.onSearch,o=t.value,l=t.placeholder,c=t.onKeyUp,u=l||K("Search.."),h=Object(n.useRef)(null),p=function(t,e,r){var i=this,a=Object(n.useRef)(null),s=Object(n.useRef)(0),o=Object(n.useRef)(null),l=Object(n.useRef)([]),c=Object(n.useRef)(),u=Object(n.useRef)(),h=Object(n.useRef)(t),p=Object(n.useRef)(!0);h.current=t;var f=!e&&0!==e&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");e=+e||0;var d=!!(r=r||{}).leading,m=!("trailing"in r)||!!r.trailing,g="maxWait"in r,y=g?Math.max(+r.maxWait||0,e):null;return Object(n.useEffect)((function(){return p.current=!0,function(){p.current=!1}}),[]),Object(n.useMemo)((function(){var t=function(t){var e=l.current,r=c.current;return l.current=c.current=null,s.current=t,u.current=h.current.apply(r,e)},r=function(t,e){f&&cancelAnimationFrame(o.current),o.current=f?requestAnimationFrame(t):setTimeout(t,e)},n=function(t){if(!p.current)return!1;var r=t-a.current,n=t-s.current;return!a.current||r>=e||r<0||g&&n>=y},v=function(e){return o.current=null,m&&l.current?t(e):(l.current=c.current=null,u.current)},b=function(){var t=Date.now();if(n(t))return v(t);if(p.current){var i=t-a.current,o=t-s.current,l=e-i,c=g?Math.min(l,y-o):l;r(b,c)}},x=function(){for(var h=[],f=0;f<arguments.length;f++)h[f]=arguments[f];var m=Date.now(),y=n(m);if(l.current=h,c.current=i,a.current=m,y){if(!o.current&&p.current)return s.current=a.current,r(b,e),d?t(a.current):u.current;if(g)return r(b,e),t(a.current)}return o.current||r(b,e),u.current};return x.cancel=function(){o.current&&(f?cancelAnimationFrame(o.current):clearTimeout(o.current)),s.current=0,l.current=a.current=c.current=o.current=null},x.isPending=function(){return!!o.current},x.flush=function(){return o.current?v(Date.now()):u.current},x}),[d,g,e,y,m,f])}(Object(n.useCallback)((function(t){"function"==typeof a&&a(),t?fetch(e).then((function(t){return t.json()})).then((function(e){"function"==typeof r&&r(e,t)})):r({},t)}),[o]),300,{maxWait:2e3});return Object(n.useEffect)((function(){e&&p(o),o&&h.current.focus()}),[o]),i.a.createElement("div",{className:"stc-search ".concat(o?"stc-search-have-input":"")},i.a.createElement("input",{ref:h,className:"stc-search-input",type:"search",value:o,placeholder:u,onChange:function(t){"function"==typeof s&&s(t,t.target.value)},onKeyUp:function(t){"function"==typeof c&&c(t)}}),i.a.createElement("button",{className:"stc-search-icon"},Z.search),i.a.createElement("button",{className:"stc-cross-icon",onClick:function(t){"function"==typeof s&&(s(t,""),document.getElementsByClassName("stc-search-input")[0].focus())}},Z.cross))}));function it(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return at(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?at(t,e):void 0}}(t,e)||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 at(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(14);var st=Object(n.memo)((function(t){var e=t.options,r=t.value,a=t.onClick,s=t.limit,l="";void 0!==r?l=r:e.length&&(l=e[0].id);var c=it(Object(n.useState)(l),2),u=c[0],h=c[1],p=it(Object(n.useState)(!1),2),f=p[0],d=p[1],m=it(Object(n.useState)([]),2),g=m[0],y=m[1],v=it(Object(n.useState)(e),2),b=v[0],x=v[1];Object(n.useEffect)((function(){if(s){var t=e.slice(s,s+e.length),r=e.slice(0,s);t.length&&(t=t.map((function(t){return t.title=o(t.name),t}))),y(t),x(r)}}),[]),Object(n.useEffect)((function(){h(l)}),[r]);var E=function(t,e){"function"==typeof a&&a(t,e)};return i.a.createElement("div",{className:"stc-category-list"},b.length?i.a.createElement(i.a.Fragment,null,b.map((function(t,e){return i.a.createElement("div",{className:"stc-category-list-item ".concat((r=t.id,u===r?"active":"")),onClick:function(e){h(t.id),E(e,t)},key:e},i.a.createElement("span",{className:"stc-category-list-title"},o(t.name)));var r})),g.length?i.a.createElement(pt,{className:"stc-category-list-item stc-category-list-more",toggle:f,onToggle:function(t,e){d(e)},label:K("More"),value:u,options:g,onClick:function(t,e){d(!1),E(t,e)}}):null):i.a.createElement("span",null,K("No Categories")))}));function ot(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(r),!0).forEach((function(e){ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ut(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ht(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ht(t,e):void 0}}(t,e)||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 ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(16);var pt=function(t){var e=t.label,r=t.options,a=t.className,s=t.value,o=t.onClick,l=ut(Object(n.useState)({option:{id:"",title:"",image:""}}),2),c=l[0],u=l[1],h=ut(Object(n.useState)(!1),2),p=h[0],f=h[1],d=Object(n.useRef)(),m=function(t){d&&!d.current.contains(t.target)&&f(!1)};return Object(n.useEffect)((function(){var t={id:"",title:"",image:""};r.map((function(e){return s===e.id&&(t=e),t})),u(lt(lt({},c),{},{option:t}))}),[s]),Object(n.useEffect)((function(){return document.querySelector("body").addEventListener("click",m),function(){return document.querySelector("body").removeEventListener("click",m)}}),[]),r.length?i.a.createElement("div",{ref:d,className:"stc-toggle-dropdown ".concat(a)},i.a.createElement("div",{className:"stc-toggle-dropdown-selected",onClick:function(){f(!p)}},e&&""===c.option.title?e:i.a.createElement(i.a.Fragment,null,c.option.image?i.a.createElement(ft,{text:c.option.title,src:c.option.image}):c.option.title),Z.dropdown),p&&i.a.createElement("div",{className:"stc-toggle-dropdown-popup"},i.a.createElement("div",{className:"stc-toggle-dropdown-popup-content"},r.map((function(t,e){return i.a.createElement("div",{className:"stc-toggle-dropdown-popup-item ".concat(c.option.id===t.id?"active":""),onClick:function(e){u(lt(lt({},c),{},{option:t})),"function"==typeof o&&(o(e,t),f(!1))},key:e},t.image?i.a.createElement(ft,{text:t.title,src:t.image}):t.title)}))))):""},ft=(r(18),function(t){var e=t.className,r=t.text,n=t.src,a=t.alt,s=t.onClick,o=t.href;return r||n?i.a.createElement("span",{className:"stc-logo ".concat(e||""),onClick:function(t){"function"==typeof s&&s(t)}},n?i.a.createElement(i.a.Fragment,null,o?i.a.createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer"},i.a.createElement("img",{src:n,className:"stc-logo-image",alt:a})):i.a.createElement("img",{src:n,className:"stc-logo-image",alt:a})):null,r?i.a.createElement("div",{className:"stc-logo-text",alt:a},r):null):""}),dt=(r(20),function(t){var e=t.value,r=t.options,n=t.onClick;return r.length?i.a.createElement("div",{className:"stc-suggestion-list"},r.map((function(t,r){var a=o(t).replace(new RegExp("("+e+")","gi"),'<span class="stc-suggestion-highlight">$1</span>');return i.a.createElement("div",{key:r,className:"stc-suggession",dangerouslySetInnerHTML:{__html:a},onClick:function(e){"function"==typeof n&&n(e,t)}})}))):""}),mt=Object(n.memo)(dt);function gt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return yt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(t,e):void 0}}(t,e)||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 yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(22);var vt=function(t){var e=t.type,r=t.message,a=t.autoHideDuration,s=void 0===a?3:a,o=t.topLeft,l=t.topRight,c=t.topCenter,u=t.bottomLeft,h=t.bottomRight,p=t.bottomCenter,f=t.leftCenter,d=t.style,m=gt(Object(n.useState)(!0),2),g=m[0],y=m[1],v=gt(Object(n.useState)(!1),2),b=v[0],x=v[1];setTimeout((function(){y(!1)}),1e3*s),g||setTimeout((function(){x(!0)}),500);var E=[o&&"top-left",l&&"top-right",c&&"top-center",u&&"bottom-left",h&&"bottom-right",p&&"bottom-center",f&&"left-center"].filter(Boolean).join("");return b?null:i.a.createElement("div",{className:"st-toaster ".concat(g?"visible":"hidden"," ").concat(E||""),style:d},i.a.createElement("div",{className:"content"},i.a.createElement("div",{className:"status-icon ".concat("error"===e?"failed":e)},Z[e]),i.a.createElement("div",{className:"message"},i.a.createElement("p",null,r))),i.a.createElement("div",{className:"toaster-close"},i.a.createElement("button",{className:"close-btn",onClick:function(t){t.stopPropagation(),y(!1)}},Z.close)))},bt=Object(n.memo)((function(t){var e=t.value,r=t.onClick;return i.a.createElement(pt,{className:"stc-site-order-filter",value:e,options:[{id:"popular",title:K("Popular")},{id:"latest",title:K("Latest")}],onClick:function(t,e){"function"==typeof r&&r(t,e)}})})),xt=Object(n.memo)((function(t){var e=t.value,r=t.onClick;return i.a.createElement(pt,{className:"stc-site-type-filter",value:e,options:[{id:"",title:K("All")},{id:"agency-mini",title:K("Premium")}],onClick:function(t,e){"function"==typeof r&&r(t,e)}})})),Et=(r(24),function(t){var e=t.searchTerm;return e?i.a.createElement("div",{className:"stc-sites-no-results"},i.a.createElement("h4",null,function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return h.a.sprintf(t,...r)}catch(e){return e instanceof Error&&p("sprintf error: \n\n"+e.toString()),t}}(K("Your search - %1$s - did not match any Starter Templates."),o(e)))):null});function kt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(26);var wt=function(t){var e=t.options,r=t.parent,a=t.menu,s=t.onClick,o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),2!==a.length);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t)||function(t,e){if(t){if("string"==typeof t)return kt(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kt(t,2):void 0}}(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.")}()}(Object(n.useState)(!1)),l=o[0],c=o[1];return e?i.a.createElement("div",{className:"stc-mega-menu-wrap ".concat(l?"stc-mega-menu-show":"")},i.a.createElement("div",{className:"stc-mega-menu-toggle",onClick:function(){c(!l)}},Z.toggle),i.a.createElement("div",{className:"stc-mega-menu-container"},i.a.createElement("div",{className:"stc-mega-menu"},e.map((function(t){return i.a.createElement("div",{key:t.ID,className:"stc-mega-menu-item ".concat(r===t.ID||a===t.ID&&r===t.ID?"stc-mega-menu-item-active":"")},i.a.createElement("span",{className:"stc-mega-menu-item-title",onClick:function(e){"function"==typeof s&&(e.stopPropagation(),e.preventDefault(),s(e,t,t))}},t.title,Z.dropdown),t.children&&t.children.length>0&&i.a.createElement("div",{className:"stc-mega-menu-group stc-mega-menu-group-col-".concat(t.children.length)},t.children.map((function(e){return i.a.createElement("div",{key:e.ID,className:"stc-mega-menu-section"},i.a.createElement("span",{className:"stc-mega-menu-section-title"},e.title),e.children&&e.children.length>0&&i.a.createElement("div",{className:"stc-mega-menu-children"},e.children.map((function(e){return i.a.createElement("div",{className:"stc-mega-menu-child-item ".concat(a===e.ID?"stc-mega-menu-child-item-active":""),key:e.ID,onClick:function(r){"function"==typeof s&&(r.stopPropagation(),s(r,t,e))}},e.title)}))))}))))}))))):""},Ct=(r(28),function(t){var e=t.badge;return i.a.createElement("span",{className:"stc-grid-item-badge"},e||K("Premium","astra-sites"))}),At=(r(31),r(30)),St=function(t){var e=t.parent,r=t.menu,n=t.onClick;return i.a.createElement("div",{className:"stc-mega-menu-filter"},i.a.createElement(wt,{parent:e,menu:r,options:At,onClick:function(t,e,r){"function"==typeof n&&n(t,e,r)}}))}}])},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=window.wp.htmlEntities},,function(t,e){t.exports=function(t){if(null==t)throw new TypeError("Cannot destructure undefined")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(53),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(t){return n.isMemo(t)?s:o[t.$$typeof]||i}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(d){var i=f(r);i&&i!==d&&t(e,i,n)}var s=u(r);h&&(s=s.concat(h(r)));for(var o=l(e),m=l(r),g=0;g<s.length;++g){var y=s[g];if(!(a[y]||n&&n[y]||m&&m[y]||o&&o[y])){var v=p(r,y);try{c(e,y,v)}catch(t){}}}}return e}},,function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";(function(t){var n=r(18),i=r(2),a=r.n(i),s=r(32),o=r.n(s),l=r(33),c=r(34),u=r(23),h=r(12),p=r.n(h);function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var d=function(t,e){for(var r=[t[0]],n=0,i=e.length;n<i;n+=1)r.push(e[n],t[n+1]);return r},m=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!Object(n.typeOf)(t)},g=Object.freeze([]),y=Object.freeze({});function v(t){return"function"==typeof t}function b(t){return t.displayName||t.name||"Component"}function x(t){return t&&"string"==typeof t.styledComponentId}var E=void 0!==t&&(t.env.REACT_APP_SC_ATTR||t.env.SC_ATTR)||"data-styled",k="undefined"!=typeof window&&"HTMLElement"in window,w=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==t&&void 0!==t.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==t.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==t.env.REACT_APP_SC_DISABLE_SPEEDY&&t.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==t&&void 0!==t.env.SC_DISABLE_SPEEDY&&""!==t.env.SC_DISABLE_SPEEDY&&"false"!==t.env.SC_DISABLE_SPEEDY&&t.env.SC_DISABLE_SPEEDY);function C(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var A=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,r=0;r<t;r++)e+=this.groupSizes[r];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;t>=i;)(i<<=1)<0&&C(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var a=n;a<i;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(t+1),o=0,l=e.length;o<l;o++)this.tag.insertRule(s,e[o])&&(this.groupSizes[t]++,s++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],r=this.indexOfGroup(t),n=r+e;this.groupSizes[t]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var r=this.groupSizes[t],n=this.indexOfGroup(t),i=n+r,a=n;a<i;a++)e+=this.tag.getRule(a)+"/*!sc*/\n";return e},t}(),S=new Map,P=new Map,O=1,j=function(t){if(S.has(t))return S.get(t);for(;P.has(O);)O++;var e=O++;return S.set(t,e),P.set(e,t),e},I=function(t){return P.get(t)},_=function(t,e){e>=O&&(O=e+1),S.set(t,e),P.set(e,t)},F="style["+E+'][data-styled-version="5.3.3"]',T=new RegExp("^"+E+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(t,e,r){for(var n,i=r.split(","),a=0,s=i.length;a<s;a++)(n=i[a])&&t.registerName(e,n)},M=function(t,e){for(var r=(e.textContent||"").split("/*!sc*/\n"),n=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var o=s.match(T);if(o){var l=0|parseInt(o[1],10),c=o[2];0!==l&&(_(c,l),D(t,c,o[3]),t.getTag().insertRules(l,n)),n.length=0}else n.push(s)}}},R=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},B=function(t){var e=document.head,r=t||e,n=document.createElement("style"),i=function(t){for(var e=t.childNodes,r=e.length;r>=0;r--){var n=e[r];if(n&&1===n.nodeType&&n.hasAttribute(E))return n}}(r),a=void 0!==i?i.nextSibling:null;n.setAttribute(E,"active"),n.setAttribute("data-styled-version","5.3.3");var s=R();return s&&n.setAttribute("nonce",s),r.insertBefore(n,a),n},V=function(){function t(t){var e=this.element=B(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,r=0,n=e.length;r<n;r++){var i=e[r];if(i.ownerNode===t)return i}C(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),L=function(){function t(t){var e=this.element=B(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var r=document.createTextNode(e),n=this.nodes[t];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),N=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),z=k,G={isServer:!k,useCSSOMInjection:!w},H=function(){function t(t,e,r){void 0===t&&(t=y),void 0===e&&(e={}),this.options=f({},G,{},t),this.gs=e,this.names=new Map(r),this.server=!!t.isServer,!this.server&&k&&z&&(z=!1,function(t){for(var e=document.querySelectorAll(F),r=0,n=e.length;r<n;r++){var i=e[r];i&&"active"!==i.getAttribute(E)&&(M(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return j(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,r){return void 0===r&&(r=!0),new t(f({},this.options,{},e),this.gs,r&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=(r=(e=this.options).isServer,n=e.useCSSOMInjection,i=e.target,t=r?new N(i):n?new V(i):new L(i),new A(t)));var t,e,r,n,i},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(j(t),this.names.has(t))this.names.get(t).add(e);else{var r=new Set;r.add(e),this.names.set(t,r)}},e.insertRules=function(t,e,r){this.registerName(t,e),this.getTag().insertRules(j(t),r)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(j(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),r=e.length,n="",i=0;i<r;i++){var a=I(i);if(void 0!==a){var s=t.names.get(a),o=e.getGroup(i);if(s&&o&&s.size){var l=E+".g"+i+'[id="'+a+'"]',c="";void 0!==s&&s.forEach((function(t){t.length>0&&(c+=t+",")})),n+=""+o+l+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},t}(),Q=/(a)(d)/gi,q=function(t){return String.fromCharCode(t+(t>25?39:97))};function W(t){var e,r="";for(e=Math.abs(t);e>52;e=e/52|0)r=q(e%52)+r;return(q(e%52)+r).replace(Q,"$1-$2")}var X=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},J=function(t){return X(5381,t)};function Y(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(v(r)&&!x(r))return!1}return!0}var U=J("5.3.3"),K=function(){function t(t,e,r){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Y(t),this.componentId=e,this.baseHash=X(U,e),this.baseStyle=r,H.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,e,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&e.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var a=dt(this.rules,t,e,r).join(""),s=W(X(this.baseHash,a)>>>0);if(!e.hasNameForId(n,s)){var o=r(a,"."+s,void 0,n);e.insertRules(n,s,o)}i.push(s),this.staticRulesId=s}else{for(var l=this.rules.length,c=X(this.baseHash,r.hash),u="",h=0;h<l;h++){var p=this.rules[h];if("string"==typeof p)u+=p;else if(p){var f=dt(p,t,e,r),d=Array.isArray(f)?f.join(""):f;c=X(c,d+h),u+=d}}if(u){var m=W(c>>>0);if(!e.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);e.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},t}(),Z=/^\s*\/\/.*$/gm,$=[":","[",".","#"];function tt(t){var e,r,n,i,a=void 0===t?y:t,s=a.options,o=void 0===s?y:s,c=a.plugins,u=void 0===c?g:c,h=new l.a(o),p=[],f=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(r,n,i,a,s,o,l,c,u,h){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return t(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return t(i[0]+n),"";default:return n+(0===h?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(e)}}}((function(t){p.push(t)})),d=function(t,n,a){return 0===n&&-1!==$.indexOf(a[r.length])||a.match(i)?t:"."+e};function m(t,a,s,o){void 0===o&&(o="&");var l=t.replace(Z,""),c=a&&s?s+" "+a+" { "+l+" }":l;return e=o,r=a,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),h(s||!a?"":a,c)}return h.use([].concat(u,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,d))},f,function(t){if(-2===t){var e=p;return p=[],e}}])),m.hash=u.length?u.reduce((function(t,e){return e.name||C(15),X(t,e.name)}),5381).toString():"",m}var et=a.a.createContext(),rt=(et.Consumer,a.a.createContext()),nt=(rt.Consumer,new H),it=tt();function at(){return Object(i.useContext)(et)||nt}function st(t){var e=Object(i.useState)(t.stylisPlugins),r=e[0],n=e[1],s=at(),l=Object(i.useMemo)((function(){var e=s;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),c=Object(i.useMemo)((function(){return tt({options:{prefix:!t.disableVendorPrefixes},plugins:r})}),[t.disableVendorPrefixes,r]);return Object(i.useEffect)((function(){o()(r,t.stylisPlugins)||n(t.stylisPlugins)}),[t.stylisPlugins]),a.a.createElement(et.Provider,{value:l},a.a.createElement(rt.Provider,{value:c},t.children))}var ot=function(){function t(t,e){var r=this;this.inject=function(t,e){void 0===e&&(e=it);var n=r.name+e.hash;t.hasNameForId(r.id,n)||t.insertRules(r.id,n,e(r.rules,n,"@keyframes"))},this.toString=function(){return C(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=it),this.name+t.hash},t}(),lt=/([A-Z])/,ct=/([A-Z])/g,ut=/^ms-/,ht=function(t){return"-"+t.toLowerCase()};function pt(t){return lt.test(t)?t.replace(ct,ht).replace(ut,"-ms-"):t}var ft=function(t){return null==t||!1===t||""===t};function dt(t,e,r,n){if(Array.isArray(t)){for(var i,a=[],s=0,o=t.length;s<o;s+=1)""!==(i=dt(t[s],e,r,n))&&(Array.isArray(i)?a.push.apply(a,i):a.push(i));return a}return ft(t)?"":x(t)?"."+t.styledComponentId:v(t)?"function"!=typeof(l=t)||l.prototype&&l.prototype.isReactComponent||!e?t:dt(t(e),e,r,n):t instanceof ot?r?(t.inject(r,n),t.getName(n)):t:m(t)?function t(e,r){var n,i,a=[];for(var s in e)e.hasOwnProperty(s)&&!ft(e[s])&&(Array.isArray(e[s])&&e[s].isCss||v(e[s])?a.push(pt(s)+":",e[s],";"):m(e[s])?a.push.apply(a,t(e[s],s)):a.push(pt(s)+": "+(n=s,(null==(i=e[s])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in c.a?String(i).trim():i+"px")+";")));return r?[r+" {"].concat(a,["}"]):a}(t):t.toString();var l}var mt=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function gt(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return v(t)||m(t)?mt(dt(d(g,[t].concat(r)))):0===r.length&&1===t.length&&"string"==typeof t[0]?t:mt(dt(d(t,r)))}new Set;var yt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,vt=/(^-|-$)/g;function bt(t){return t.replace(yt,"-").replace(vt,"")}function xt(t){return"string"==typeof t&&!0}var Et=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},kt=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function wt(t,e,r){var n=t[r];Et(e)&&Et(n)?Ct(n,e):t[r]=e}function Ct(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=0,a=r;i<a.length;i++){var s=a[i];if(Et(s))for(var o in s)kt(o)&&wt(t,s[o],o)}return t}var At=a.a.createContext();At.Consumer;var St={};function Pt(t,e,r){var n=x(t),s=!xt(t),o=e.attrs,l=void 0===o?g:o,c=e.componentId,h=void 0===c?function(t,e){var r="string"!=typeof t?"sc":bt(t);St[r]=(St[r]||0)+1;var n=r+"-"+function(t){return W(J(t)>>>0)}("5.3.3"+r+St[r]);return e?e+"-"+n:n}(e.displayName,e.parentComponentId):c,d=e.displayName,m=void 0===d?function(t){return xt(t)?"styled."+t:"Styled("+b(t)+")"}(t):d,E=e.displayName&&e.componentId?bt(e.displayName)+"-"+e.componentId:e.componentId||h,k=n&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,w=e.shouldForwardProp;n&&t.shouldForwardProp&&(w=e.shouldForwardProp?function(r,n,i){return t.shouldForwardProp(r,n,i)&&e.shouldForwardProp(r,n,i)}:t.shouldForwardProp);var C,A=new K(r,E,n?t.componentStyle:void 0),S=A.isStatic&&0===l.length,P=function(t,e){return function(t,e,r,n){var a=t.attrs,s=t.componentStyle,o=t.defaultProps,l=t.foldedComponentIds,c=t.shouldForwardProp,h=t.styledComponentId,p=t.target,d=function(t,e,r){void 0===t&&(t=y);var n=f({},e,{theme:t}),i={};return r.forEach((function(t){var e,r,a,s=t;for(e in v(s)&&(s=s(n)),s)n[e]=i[e]="className"===e?(r=i[e],a=s[e],r&&a?r+" "+a:r||a):s[e]})),[n,i]}(function(t,e,r){return void 0===r&&(r=y),t.theme!==r.theme&&t.theme||e||r.theme}(e,Object(i.useContext)(At),o)||y,e,a),m=d[0],g=d[1],b=function(t,e,r,n){var a=at(),s=Object(i.useContext)(rt)||it;return e?t.generateAndInjectStyles(y,a,s):t.generateAndInjectStyles(r,a,s)}(s,n,m),x=r,E=g.$as||e.$as||g.as||e.as||p,k=xt(E),w=g!==e?f({},e,{},g):e,C={};for(var A in w)"$"!==A[0]&&"as"!==A&&("forwardedAs"===A?C.as=w[A]:(c?c(A,u.a,E):!k||Object(u.a)(A))&&(C[A]=w[A]));return e.style&&g.style!==e.style&&(C.style=f({},e.style,{},g.style)),C.className=Array.prototype.concat(l,h,b!==h?b:null,e.className,g.className).filter(Boolean).join(" "),C.ref=x,Object(i.createElement)(E,C)}(C,t,e,S)};return P.displayName=m,(C=a.a.forwardRef(P)).attrs=k,C.componentStyle=A,C.displayName=m,C.shouldForwardProp=w,C.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):g,C.styledComponentId=E,C.target=n?t.target:t,C.withComponent=function(t){var n=e.componentId,i=function(t,e){if(null==t)return{};var r,n,i={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(e,["componentId"]),a=n&&n+"-"+(xt(t)?t:bt(b(t)));return Pt(t,f({},i,{attrs:k,componentId:a}),r)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?Ct({},t.defaultProps,e):e}}),C.toString=function(){return"."+C.styledComponentId},s&&p()(C,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var Ot,jt=function(t){return function t(e,r,i){if(void 0===i&&(i=y),!Object(n.isValidElementType)(r))return C(1,String(r));var a=function(){return e(r,i,gt.apply(void 0,arguments))};return a.withConfig=function(n){return t(e,r,f({},i,{},n))},a.attrs=function(n){return t(e,r,f({},i,{attrs:Array.prototype.concat(i.attrs,n).filter(Boolean)}))},a}(Pt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(t){jt[t]=jt(t)})),(Ot=function(t,e){this.rules=t,this.componentId=e,this.isStatic=Y(t),H.registerId(this.componentId+1)}.prototype).createStyles=function(t,e,r,n){var i=n(dt(this.rules,e,r,n).join(""),""),a=this.componentId+t;r.insertRules(a,a,i)},Ot.removeStyles=function(t,e){e.clearRules(this.componentId+t)},Ot.renderStyles=function(t,e,r,n){t>2&&H.registerId(this.componentId+t),this.removeStyles(t,r),this.createStyles(t,e,r,n)},function(){var t=function(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var r=R();return"<style "+[r&&'nonce="'+r+'"',E+'="true"','data-styled-version="5.3.3"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?C(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return C(2);var r=((e={})[E]="",e["data-styled-version"]="5.3.3",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),n=R();return n&&(r.nonce=n),[a.a.createElement("style",f({},r,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new H({isServer:!0}),this.sealed=!1}.prototype;t.collectStyles=function(t){return this.sealed?C(2):a.a.createElement(st,{sheet:this.instance},t)},t.interleaveWithNodeStream=function(t){return C(3)}}(),e.a=jt}).call(this,r(51))},function(t,e){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=window.wp.apiFetch},function(t,e,r){"use strict";t.exports=r(52)},function(t,e){t.exports=window.wp.mediaUtils},function(t,e,r){var n=r(69),i=r(70),a=r(27),s=r(71);t.exports=function(t){return n(t)||i(t)||a(t)||s()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";t.exports=function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(e)){if((n=e.length)!=r.length)return!1;for(i=n;0!=i--;)if(!t(e[i],r[i]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(i of e.entries())if(!r.has(i[0]))return!1;for(i of e.entries())if(!t(i[1],r.get(i[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(i of e.entries())if(!r.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if((n=e.length)!=r.length)return!1;for(i=n;0!=i--;)if(e[i]!==r[i])return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((n=(a=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;0!=i--;){var s=a[i];if(!("_owner"===s&&e.$$typeof||t(e[s],r[s])))return!1}return!0}return e!=e&&r!=r}},function(t,e,r){(function(t,r){var n="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",s="[object Map]",o="[object Set]",l=/\w*$/,c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,h={};h[n]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object DataView]"]=h["[object Boolean]"]=h["[object Date]"]=h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h[s]=h["[object Number]"]=h["[object Object]"]=h["[object RegExp]"]=h[o]=h["[object String]"]=h["[object Symbol]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h["[object Error]"]=h[i]=h["[object WeakMap]"]=!1;var p="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=p||f||Function("return this")(),m=e&&!e.nodeType&&e,g=m&&"object"==typeof r&&r&&!r.nodeType&&r,y=g&&g.exports===m;function v(t,e){return t.set(e[0],e[1]),t}function b(t,e){return t.add(e),t}function x(t,e,r,n){var i=-1,a=t?t.length:0;for(n&&a&&(r=t[++i]);++i<a;)r=e(r,t[i],i,t);return r}function E(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function k(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function w(t,e){return function(r){return t(e(r))}}function C(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var A,S=Array.prototype,P=Function.prototype,O=Object.prototype,j=d["__core-js_shared__"],I=(A=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+A:"",_=P.toString,F=O.hasOwnProperty,T=O.toString,D=RegExp("^"+_.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=y?d.Buffer:void 0,R=d.Symbol,B=d.Uint8Array,V=w(Object.getPrototypeOf,Object),L=Object.create,N=O.propertyIsEnumerable,z=S.splice,G=Object.getOwnPropertySymbols,H=M?M.isBuffer:void 0,Q=w(Object.keys,Object),q=dt(d,"DataView"),W=dt(d,"Map"),X=dt(d,"Promise"),J=dt(d,"Set"),Y=dt(d,"WeakMap"),U=dt(Object,"create"),K=bt(q),Z=bt(W),$=bt(X),tt=bt(J),et=bt(Y),rt=R?R.prototype:void 0,nt=rt?rt.valueOf:void 0;function it(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function at(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function st(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ot(t){this.__data__=new at(t)}function lt(t,e,r){var n=t[e];F.call(t,e)&&xt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function ct(t,e){for(var r=t.length;r--;)if(xt(t[r][0],e))return r;return-1}function ut(t,e,r,c,u,p,f){var d;if(c&&(d=p?c(t,u,p,f):c(t)),void 0!==d)return d;if(!At(t))return t;var m=Et(t);if(m){if(d=function(t){var e=t.length,r=t.constructor(e);return e&&"string"==typeof t[0]&&F.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!e)return function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}(t,d)}else{var g=gt(t),y=g==i||g==a;if(wt(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if("[object Object]"==g||g==n||y&&!p){if(E(t))return p?t:{};if(d=function(t){return"function"!=typeof t.constructor||vt(t)?{}:At(e=V(t))?L(e):{};var e}(y?{}:t),!e)return function(t,e){return pt(t,mt(t),e)}(t,function(t,e){return t&&pt(e,St(e),t)}(d,t))}else{if(!h[g])return p?t:{};d=function(t,e,r,n){var i,a=t.constructor;switch(e){case"[object ArrayBuffer]":return ht(t);case"[object Boolean]":case"[object Date]":return new a(+t);case"[object DataView]":return function(t,e){var r=e?ht(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t,e){var r=e?ht(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,n);case s:return function(t,e,r){return x(e?r(k(t),!0):k(t),v,new t.constructor)}(t,n,r);case"[object Number]":case"[object String]":return new a(t);case"[object RegExp]":return function(t){var e=new t.constructor(t.source,l.exec(t));return e.lastIndex=t.lastIndex,e}(t);case o:return function(t,e,r){return x(e?r(C(t),!0):C(t),b,new t.constructor)}(t,n,r);case"[object Symbol]":return i=t,nt?Object(nt.call(i)):{}}}(t,g,ut,e)}}f||(f=new ot);var w=f.get(t);if(w)return w;if(f.set(t,d),!m)var A=r?function(t){return function(t,e,r){var n=e(t);return Et(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,St,mt)}(t):St(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r););}(A||t,(function(n,i){A&&(n=t[i=n]),lt(d,i,ut(n,e,r,c,i,t,f))})),d}function ht(t){var e=new t.constructor(t.byteLength);return new B(e).set(new B(t)),e}function pt(t,e,r,n){r||(r={});for(var i=-1,a=e.length;++i<a;){var s=e[i],o=n?n(r[s],t[s],s,r,t):void 0;lt(r,s,void 0===o?t[s]:o)}return r}function ft(t,e){var r,n,i=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof e?"string":"hash"]:i.map}function dt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!At(t)||(e=t,I&&I in e))&&(Ct(t)||E(t)?D:c).test(bt(t));var e}(r)?r:void 0}it.prototype.clear=function(){this.__data__=U?U(null):{}},it.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},it.prototype.get=function(t){var e=this.__data__;if(U){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return F.call(e,t)?e[t]:void 0},it.prototype.has=function(t){var e=this.__data__;return U?void 0!==e[t]:F.call(e,t)},it.prototype.set=function(t,e){return this.__data__[t]=U&&void 0===e?"__lodash_hash_undefined__":e,this},at.prototype.clear=function(){this.__data__=[]},at.prototype.delete=function(t){var e=this.__data__,r=ct(e,t);return!(r<0||(r==e.length-1?e.pop():z.call(e,r,1),0))},at.prototype.get=function(t){var e=this.__data__,r=ct(e,t);return r<0?void 0:e[r][1]},at.prototype.has=function(t){return ct(this.__data__,t)>-1},at.prototype.set=function(t,e){var r=this.__data__,n=ct(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},st.prototype.clear=function(){this.__data__={hash:new it,map:new(W||at),string:new it}},st.prototype.delete=function(t){return ft(this,t).delete(t)},st.prototype.get=function(t){return ft(this,t).get(t)},st.prototype.has=function(t){return ft(this,t).has(t)},st.prototype.set=function(t,e){return ft(this,t).set(t,e),this},ot.prototype.clear=function(){this.__data__=new at},ot.prototype.delete=function(t){return this.__data__.delete(t)},ot.prototype.get=function(t){return this.__data__.get(t)},ot.prototype.has=function(t){return this.__data__.has(t)},ot.prototype.set=function(t,e){var r=this.__data__;if(r instanceof at){var n=r.__data__;if(!W||n.length<199)return n.push([t,e]),this;r=this.__data__=new st(n)}return r.set(t,e),this};var mt=G?w(G,Object):function(){return[]},gt=function(t){return T.call(t)};function yt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||u.test(t))&&t>-1&&t%1==0&&t<e}function vt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||O)}function bt(t){if(null!=t){try{return _.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function xt(t,e){return t===e||t!=t&&e!=e}(q&&"[object DataView]"!=gt(new q(new ArrayBuffer(1)))||W&>(new W)!=s||X&&"[object Promise]"!=gt(X.resolve())||J&>(new J)!=o||Y&&"[object WeakMap]"!=gt(new Y))&&(gt=function(t){var e=T.call(t),r="[object Object]"==e?t.constructor:void 0,n=r?bt(r):void 0;if(n)switch(n){case K:return"[object DataView]";case Z:return s;case $:return"[object Promise]";case tt:return o;case et:return"[object WeakMap]"}return e});var Et=Array.isArray;function kt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!Ct(t)}var wt=H||function(){return!1};function Ct(t){var e=At(t)?T.call(t):"";return e==i||e==a}function At(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function St(t){return kt(t)?function(t,e){var r=Et(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&kt(t)}(t)&&F.call(t,"callee")&&(!N.call(t,"callee")||T.call(t)==n)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],i=r.length,a=!!i;for(var s in t)!e&&!F.call(t,s)||a&&("length"==s||yt(s,i))||r.push(s);return r}(t):function(t){if(!vt(t))return Q(t);var e=[];for(var r in Object(t))F.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}r.exports=function(t){return ut(t,!0,!0)}}).call(this,r(29),r(72)(t))},function(t,e,r){"use strict";var n,i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(n={},function(t){return void 0===n[t]&&(n[t]=(e=t,i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91)),n[t];var e});e.a=a},,,,function(t,e,r){var n=r(28);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){t.exports=window.ReactDOM},function(t,e,r){var n=r(46);t.exports=function(t,e){if(null==t)return{};var r,i,a=n(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)r=s[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e,r,n){var i=r?r.call(n,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var a=Object.keys(t),s=Object.keys(e);if(a.length!==s.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(e),l=0;l<a.length;l++){var c=a[l];if(!o(c))return!1;var u=t[c],h=e[c];if(!1===(i=r?r.call(n,u,h,c):void 0)||void 0===i&&u!==h)return!1}return!0}},function(t,e,r){"use strict";e.a=function(t){function e(t,e,n){var i=e.trim().split(d);e=i;var a=i.length,s=t.length;switch(s){case 0:case 1:var o=0;for(t=0===s?"":t[0]+" ";o<a;++o)e[o]=r(t,e[o],n).trim();break;default:var l=o=0;for(e=[];o<a;++o)for(var c=0;c<s;++c)e[l++]=r(t[c]+" ",i[o],n).trim()}return e}function r(t,e,r){var n=e.charCodeAt(0);switch(33>n&&(n=(e=e.trim()).charCodeAt(0)),n){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*r&&0<e.indexOf("\f"))return e.replace(m,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function n(t,e,r,a){var s=t+";",o=2*e+3*r+4*a;if(944===o){t=s.indexOf(":",9)+1;var l=s.substring(t,s.length-1).trim();return l=s.substring(0,t).trim()+l+";",1===j||2===j&&i(l,1)?"-webkit-"+l+l:l}if(0===j||2===j&&!i(s,1))return s;switch(o){case 1015:return 97===s.charCodeAt(10)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:if(45===s.charCodeAt(8))return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(A,"$1-webkit-$2")+s;break;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(l=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+l+s;case 1005:return p.test(s)?s.replace(h,":-webkit-")+s.replace(h,":-moz-")+s:s;case 1e3:switch(e=(l=s.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(e)){case 226:l=s.replace(b,"tb");break;case 232:l=s.replace(b,"tb-rl");break;case 220:l=s.replace(b,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+l+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(e=(s=t).length-10,o=(l=(33===s.charCodeAt(e)?s.substring(0,e):s).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:s=s.replace(l,"-webkit-"+l)+";"+s;break;case 207:case 102:s=s.replace(l,"-webkit-"+(102<o?"inline-":"")+"box")+";"+s.replace(l,"-webkit-"+l)+";"+s.replace(l,"-ms-"+l+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return l=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+l+"-ms-flex-"+l+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(k,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(k,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===C.test(t))return 115===(l=t.substring(t.indexOf(":")+1)).charCodeAt(0)?n(t.replace("stretch","fill-available"),e,r,a).replace(":fill-available",":stretch"):s.replace(l,"-webkit-"+l)+s.replace(l,"-moz-"+l.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===r+a&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+s}return s}function i(t,e){var r=t.indexOf(1===e?":":"{"),n=t.substring(0,3!==e?r:10);return r=t.substring(r+1,t.length-1),T(2!==e?n:n.replace(w,"$1"),r,e)}function a(t,e){var r=n(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return r!==e+";"?r.replace(E," or ($1)").substring(4):"("+e+")"}function s(t,e,r,n,i,a,s,o,c,u){for(var h,p=0,f=e;p<F;++p)switch(h=_[p].call(l,t,f,r,n,i,a,s,o,c,u)){case void 0:case!1:case!0:case null:break;default:f=h}if(f!==e)return f}function o(t){return void 0!==(t=t.prefix)&&(T=null,t?"function"!=typeof t?j=1:(j=2,T=t):j=0),o}function l(t,r){var o=t;if(33>o.charCodeAt(0)&&(o=o.trim()),o=[o],0<F){var l=s(-1,r,o,o,P,S,0,0,0,0);void 0!==l&&"string"==typeof l&&(r=l)}var h=function t(r,o,l,h,p){for(var f,d,m,b,E,k=0,w=0,C=0,A=0,_=0,T=0,M=m=f=0,R=0,B=0,V=0,L=0,N=l.length,z=N-1,G="",H="",Q="",q="";R<N;){if(d=l.charCodeAt(R),R===z&&0!==w+A+C+k&&(0!==w&&(d=47===w?10:47),A=C=k=0,N++,z++),0===w+A+C+k){if(R===z&&(0<B&&(G=G.replace(u,"")),0<G.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:G+=l.charAt(R)}d=59}switch(d){case 123:for(f=(G=G.trim()).charCodeAt(0),m=1,L=++R;R<N;){switch(d=l.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(d=l.charCodeAt(R+1)){case 42:case 47:t:{for(M=R+1;M<z;++M)switch(l.charCodeAt(M)){case 47:if(42===d&&42===l.charCodeAt(M-1)&&R+2!==M){R=M+1;break t}break;case 10:if(47===d){R=M+1;break t}}R=M}}break;case 91:d++;case 40:d++;case 34:case 39:for(;R++<z&&l.charCodeAt(R)!==d;);}if(0===m)break;R++}switch(m=l.substring(L,R),0===f&&(f=(G=G.replace(c,"").trim()).charCodeAt(0)),f){case 64:switch(0<B&&(G=G.replace(u,"")),d=G.charCodeAt(1)){case 100:case 109:case 115:case 45:B=o;break;default:B=I}if(L=(m=t(o,B,m,d,p+1)).length,0<F&&(E=s(3,m,B=e(I,G,V),o,P,S,L,d,p,h),G=B.join(""),void 0!==E&&0===(L=(m=E.trim()).length)&&(d=0,m="")),0<L)switch(d){case 115:G=G.replace(x,a);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(g,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===h&&(H+=m,m="")}else m="";break;default:m=t(o,e(o,G,V),m,h,p+1)}Q+=m,m=V=B=M=f=0,G="",d=l.charCodeAt(++R);break;case 125:case 59:if(1<(L=(G=(0<B?G.replace(u,""):G).trim()).length))switch(0===M&&(f=G.charCodeAt(0),45===f||96<f&&123>f)&&(L=(G=G.replace(" ",":")).length),0<F&&void 0!==(E=s(1,G,o,r,P,S,H.length,h,p,h))&&0===(L=(G=E.trim()).length)&&(G="\0\0"),f=G.charCodeAt(0),d=G.charCodeAt(1),f){case 0:break;case 64:if(105===d||99===d){q+=G+l.charAt(R);break}default:58!==G.charCodeAt(L-1)&&(H+=n(G,f,d,G.charCodeAt(2)))}V=B=M=f=0,G="",d=l.charCodeAt(++R)}}switch(d){case 13:case 10:47===w?w=0:0===1+f&&107!==h&&0<G.length&&(B=1,G+="\0"),0<F*D&&s(0,G,o,r,P,S,H.length,h,p,h),S=1,P++;break;case 59:case 125:if(0===w+A+C+k){S++;break}default:switch(S++,b=l.charAt(R),d){case 9:case 32:if(0===A+k+w)switch(_){case 44:case 58:case 9:case 32:b="";break;default:32!==d&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===A+w+k&&(B=V=1,b="\f"+b);break;case 108:if(0===A+w+k+O&&0<M)switch(R-M){case 2:112===_&&58===l.charCodeAt(R-3)&&(O=_);case 8:111===T&&(O=T)}break;case 58:0===A+w+k&&(M=R);break;case 44:0===w+C+A+k&&(B=1,b+="\r");break;case 34:case 39:0===w&&(A=A===d?0:0===A?d:A);break;case 91:0===A+w+C&&k++;break;case 93:0===A+w+C&&k--;break;case 41:0===A+w+k&&C--;break;case 40:if(0===A+w+k){if(0===f)switch(2*_+3*T){case 533:break;default:f=1}C++}break;case 64:0===w+C+A+k+M+m&&(m=1);break;case 42:case 47:if(!(0<A+k+C))switch(w){case 0:switch(2*d+3*l.charCodeAt(R+1)){case 235:w=47;break;case 220:L=R,w=42}break;case 42:47===d&&42===_&&L+2!==R&&(33===l.charCodeAt(L+2)&&(H+=l.substring(L,R+1)),b="",w=0)}}0===w&&(G+=b)}T=_,_=d,R++}if(0<(L=H.length)){if(B=o,0<F&&void 0!==(E=s(2,H,B,r,P,S,L,h,p,h))&&0===(H=E).length)return q+H+Q;if(H=B.join(",")+"{"+H+"}",0!=j*O){switch(2!==j||i(H,2)||(O=0),O){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}O=0}}return q+H+Q}(I,o,r,0,0);return 0<F&&void 0!==(l=s(-2,h,o,o,P,S,h.length,0,0,0))&&(h=l),O=0,S=P=1,h}var c=/^\0+/g,u=/[\0\r\f]/g,h=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,d=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,k=/-self|flex-/g,w=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,S=1,P=1,O=0,j=1,I=[],_=[],F=0,T=null,D=0;return l.use=function t(e){switch(e){case void 0:case null:F=_.length=0;break;default:if("function"==typeof e)_[F++]=e;else if("object"==typeof e)for(var r=0,n=e.length;r<n;++r)t(e[r]);else D=0|!!e}return t},l.set=o,void 0!==t&&o(t),l}},function(t,e,r){"use strict";e.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(t,e){t.exports=window.wp.url},function(t,e){t.exports=window.wp.hooks},function(t,e){t.exports=window.wp.components},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;"undefined"!=typeof navigator&&function(t,e){void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return e(t)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(window||{},(function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,_useWebWorker=!1,subframeEnabled=!0,idPrefix="",expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bmRnd,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"==typeof t&&t.length){var e,r=createSizedArray(t.length),n=t.length;for(e=0;e<n;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){bmRnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,n){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,n){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=n<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}roundValues(!1);var createElementID=(_count=0,function(){return idPrefix+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,r){var n,i,a,s,o,l,c,u;switch(l=r*(1-e),c=r*(1-(o=6*t-(s=Math.floor(6*t)))*e),u=r*(1-(1-o)*e),s%6){case 0:n=r,i=u,a=l;break;case 1:n=c,i=r,a=l;break;case 2:n=l,i=r,a=u;break;case 3:n=l,i=c,a=r;break;case 4:n=u,i=l,a=r;break;case 5:n=r,i=l,a=c}return[n,i,a]}function RGBtoHSV(t,e,r){var n,i=Math.max(t,e,r),a=Math.min(t,e,r),s=i-a,o=0===i?0:s/i,l=i/255;switch(i){case a:n=0;break;case t:n=e-r+s*(e<r?6:0),n/=6*s;break;case e:n=r-t+2*s,n/=6*s;break;case r:n=t-e+4*s,n/=6*s}return[n,o,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,n){return t<0&&(t=0),e<0&&(e=0),n<0&&(n=0),"#"+r[t]+r[e]+r[n]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],n=0;n<r.length;n+=1)r[n](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,n=this._cbs[t].length;r<n;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,n-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray=function(){function t(t,e){var r,n=0,i=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<e;n+=1)i.push(r);return i}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums,lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"},Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,n=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function o(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function c(t,e){return this._t(1,e,t,1,0,0)}function u(t,e){return this.shear(r(t),r(e))}function h(n,i){var a=t(i),s=e(i);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function p(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function f(t,e,r,n,i,a,s,o,l,c,u,h,p,f,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=c,this.props[10]=u,this.props[11]=h,this.props[12]=p,this.props[13]=f,this.props[14]=d,this.props[15]=m,this}function d(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,n,i,a,s,o,l,c,u,h,p,f,d,m){var g=this.props;if(1===t&&0===e&&0===r&&0===n&&0===i&&1===a&&0===s&&0===o&&0===l&&0===c&&1===u&&0===h)return g[12]=g[12]*t+g[15]*p,g[13]=g[13]*a+g[15]*f,g[14]=g[14]*u+g[15]*d,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],x=g[3],E=g[4],k=g[5],w=g[6],C=g[7],A=g[8],S=g[9],P=g[10],O=g[11],j=g[12],I=g[13],_=g[14],F=g[15];return g[0]=y*t+v*i+b*l+x*p,g[1]=y*e+v*a+b*c+x*f,g[2]=y*r+v*s+b*u+x*d,g[3]=y*n+v*o+b*h+x*m,g[4]=E*t+k*i+w*l+C*p,g[5]=E*e+k*a+w*c+C*f,g[6]=E*r+k*s+w*u+C*d,g[7]=E*n+k*o+w*h+C*m,g[8]=A*t+S*i+P*l+O*p,g[9]=A*e+S*a+P*c+O*f,g[10]=A*r+S*s+P*u+O*d,g[11]=A*n+S*o+P*h+O*m,g[12]=j*t+I*i+_*l+F*p,g[13]=j*e+I*a+_*c+F*f,g[14]=j*r+I*s+_*u+F*d,g[15]=j*n+I*o+_*h+F*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function v(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function x(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function E(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function k(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function w(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function C(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,n=-this.props[4]/t,i=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=n,o.props[5]=i,o.props[12]=a,o.props[13]=s,o}function A(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function S(t){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n[e]=A(t[e]);return n}function P(t,e,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=t[0],n[1]=t[1],n[2]=e[0],n[3]=e[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],c=this.props[13];n[0]=t[0]*i+t[1]*s+l,n[1]=t[0]*a+t[1]*o+c,n[2]=e[0]*i+e[1]*s+l,n[3]=e[0]*a+e[1]*o+c,n[4]=r[0]*i+r[1]*s+l,n[5]=r[0]*a+r[1]*o+c}return n}function O(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function j(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function I(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=n(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function _(t){return t<1e-6&&t>0||t>-1e-6&&t<0?n(1e4*t)/1e4:t}function F(){var t=this.props;return"matrix("+_(t[0])+","+_(t[1])+","+_(t[4])+","+_(t[5])+","+_(t[12])+","+_(t[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=u,this.skewFromAxis=h,this.shear=c,this.scale=p,this.setTransform=f,this.translate=d,this.transform=m,this.applyToPoint=x,this.applyToX=E,this.applyToY=k,this.applyToZ=w,this.applyToPointArray=O,this.applyToTriplePoints=P,this.applyToPointStringified=j,this.toCSS=I,this.to2dCSS=F,this.clone=v,this.cloneFromProps=b,this.equals=y,this.inversePoints=S,this.inversePoint=A,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(t,e){var r=this,n=e.pow(256,6),i=e.pow(2,52),a=2*i;function s(t){var e,r=t.length,n=this,i=0,a=n.i=n.j=0,s=n.S=[];for(r||(t=[r++]);i<256;)s[i]=i++;for(i=0;i<256;i++)s[i]=s[a=255&a+t[i%r]+(e=s[i])],s[a]=e;n.g=function(t){for(var e,r=0,i=n.i,a=n.j,s=n.S;t--;)e=s[i=255&i+1],r=256*r+s[255&(s[i]=s[a=255&a+e])+(s[a]=e)];return n.i=i,n.j=a,r}}function o(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function l(t,e){for(var r,n=t+"",i=0;i<n.length;)e[255&i]=255&(r^=19*e[255&i])+n.charCodeAt(i++);return c(e)}function c(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(u,h,p){var f=[],d=l(function t(e,r){var n,i=[],a=typeof e;if(r&&"object"==a)for(n in e)try{i.push(t(e[n],r-1))}catch(t){}return i.length?i:"string"==a?e:e+"\0"}((h=!0===h?{entropy:!0}:h||{}).entropy?[u,c(t)]:null===u?function(){try{var e=new Uint8Array(256);return(r.crypto||r.msCrypto).getRandomValues(e),c(e)}catch(e){var n=r.navigator,i=n&&n.plugins;return[+new Date,r,i,r.screen,c(t)]}}():u,3),f),m=new s(f),g=function(){for(var t=m.g(6),e=n,r=0;t<i;)t=256*(t+r),e*=256,r=m.g(1);for(;t>=a;)t/=2,e/=2,r>>>=1;return(t+r)/e};return g.int32=function(){return 0|m.g(4)},g.quick=function(){return m.g(4)/4294967296},g.double=g,l(c(m.S),t),(h.pass||p||function(t,r,n,i){return i&&(i.S&&o(i,m),t.state=function(){return o(m,{})}),n?(e.random=t,r):t})(g,d,"global"in h?h.global:this==e,h.state)},l(e.random(),t)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,r,n,i,a){var s=a||("bez_"+t+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(e[s])return e[s];var o=new l([t,r,n,i]);return e[s]=o,o}},e={},r="function"==typeof Float32Array;function n(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function a(t){return 3*t}function s(t,e,r){return((n(e,r)*t+i(e,r))*t+a(e))*t}function o(t,e,r){return 3*n(e,r)*t*t+2*i(e,r)*t+a(e)}function l(t){this._p=t,this._mSampleValues=r?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return l.prototype={get:function(t){var e=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),e===r&&n===i?t:0===t?0:1===t?1:s(this._getTForX(t),r,i)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<11;++r)this._mSampleValues[r]=s(.1*r,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],n=this._mSampleValues,i=0,a=1;10!==a&&n[a]<=t;++a)i+=.1;var l=i+(t-n[--a])/(n[a+1]-n[a])*.1,c=o(l,e,r);return c>=.001?function(t,e,r,n){for(var i=0;i<4;++i){var a=o(e,r,n);if(0===a)return e;e-=(s(e,r,n)-t)/a}return e}(t,l,e,r):0===c?l:function(t,e,r,n,i){var a,o,l=0;do{(a=s(o=e+(r-e)/2,n,i)-t)>0?r=o:e=o}while(Math.abs(a)>1e-7&&++l<10);return o}(t,i,i+.1,e,r)}},t}();function extendPrototype(t,e){var r,n,i=t.length;for(r=0;r<i;r+=1)for(var a in n=t[r].prototype)Object.prototype.hasOwnProperty.call(n,a)&&(e.prototype[a]=n[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){var t=Math;function e(t,e,r,n,i,a){var s=t*n+e*i+r*a-i*n-a*t-r*e;return s>-.001&&s<.001}var r=function(t,e,r,n){var i,a,s,o,l,c,u=defaultCurveSegments,h=0,p=[],f=[],d=bezierLengthPool.newElement();for(s=r.length,i=0;i<u;i+=1){for(l=i/(u-1),c=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*t[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*n[a]+bmPow(l,3)*e[a],p[a]=o,null!==f[a]&&(c+=bmPow(p[a]-f[a],2)),f[a]=p[a];c&&(h+=c=bmSqrt(c)),d.percents[i]=l,d.lengths[i]=h}return d.addedLength=h,d};function n(t){this.segmentLength=0,this.points=new Array(t)}function i(t,e){this.partialLength=t,this.point=e}var a,s=(a={},function(t,r,s,o){var l=(t[0]+"_"+t[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!a[l]){var c,u,h,p,f,d,m,g=defaultCurveSegments,y=0,v=null;2===t.length&&(t[0]!==r[0]||t[1]!==r[1])&&e(t[0],t[1],r[0],r[1],t[0]+s[0],t[1]+s[1])&&e(t[0],t[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(g=2);var b=new n(g);for(h=s.length,c=0;c<g;c+=1){for(m=createSizedArray(h),f=c/(g-1),d=0,u=0;u<h;u+=1)p=bmPow(1-f,3)*t[u]+3*bmPow(1-f,2)*f*(t[u]+s[u])+3*(1-f)*bmPow(f,2)*(r[u]+o[u])+bmPow(f,3)*r[u],m[u]=p,null!==v&&(d+=bmPow(m[u]-v[u],2));y+=d=bmSqrt(d),b.points[c]=new i(d,m),v=m}b.segmentLength=y,a[l]=b}return a[l]});function o(t,e){var r=e.percents,n=e.lengths,i=r.length,a=bmFloor((i-1)*t),s=t*e.addedLength,o=0;if(a===i-1||0===a||s===n[a])return r[a];for(var l=n[a]>s?-1:1,c=!0;c;)if(n[a]<=s&&n[a+1]>s?(o=(s-n[a])/(n[a+1]-n[a]),c=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,n=segmentsLengthPool.newElement(),i=t.c,a=t.v,s=t.o,o=t.i,l=t._length,c=n.lengths,u=0;for(e=0;e<l-1;e+=1)c[e]=r(a[e],a[e+1],s[e],o[e+1]),u+=c[e].addedLength;return i&&l&&(c[e]=r(a[e],a[0],s[e],o[0]),u+=c[e].addedLength),n.totalLength=u,n},getNewSegment:function(e,r,n,i,a,s,c){a<0?a=0:a>1&&(a=1);var u,h=o(a,c),p=o(s=s>1?1:s,c),f=e.length,d=1-h,m=1-p,g=d*d*d,y=h*d*d*3,v=h*h*d*3,b=h*h*h,x=d*d*m,E=h*d*m+d*h*m+d*d*p,k=h*h*m+d*h*p+h*d*p,w=h*h*p,C=d*m*m,A=h*m*m+d*p*m+d*m*p,S=h*p*m+d*p*p+h*m*p,P=h*p*p,O=m*m*m,j=p*m*m+m*p*m+m*m*p,I=p*p*m+m*p*p+p*m*p,_=p*p*p;for(u=0;u<f;u+=1)l[4*u]=t.round(1e3*(g*e[u]+y*n[u]+v*i[u]+b*r[u]))/1e3,l[4*u+1]=t.round(1e3*(x*e[u]+E*n[u]+k*i[u]+w*r[u]))/1e3,l[4*u+2]=t.round(1e3*(C*e[u]+A*n[u]+S*i[u]+P*r[u]))/1e3,l[4*u+3]=t.round(1e3*(O*e[u]+j*n[u]+I*i[u]+_*r[u]))/1e3;return l},getPointInSegment:function(e,r,n,i,a,s){var l=o(a,s),c=1-l;return[t.round(1e3*(c*c*c*e[0]+(l*c*c+c*l*c+c*c*l)*n[0]+(l*l*c+c*l*l+l*c*l)*i[0]+l*l*l*r[0]))/1e3,t.round(1e3*(c*c*c*e[1]+(l*c*c+c*l*c+c*c*l)*n[1]+(l*l*c+c*l*l+l*c*l)*i[1]+l*l*l*r[1]))/1e3]},buildBezierData:s,pointOnLine2D:e,pointOnLine3D:function(r,n,i,a,s,o,l,c,u){if(0===i&&0===o&&0===u)return e(r,n,a,s,l,c);var h,p=t.sqrt(t.pow(a-r,2)+t.pow(s-n,2)+t.pow(o-i,2)),f=t.sqrt(t.pow(l-r,2)+t.pow(c-n,2)+t.pow(u-i,2)),d=t.sqrt(t.pow(l-a,2)+t.pow(c-s,2)+t.pow(u-o,2));return(h=p>f?p>d?p-f-d:d-f-p:d>f?d-f-p:f-p-d)>-1e-4&&h<1e-4}}}!function(){for(var t=0,e=["ms","moz","webkit","o"],r=0;r<e.length&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[e[r]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[r]+"CancelAnimationFrame"]||window[e[r]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var r=(new Date).getTime(),n=Math.max(0,16-(r-t)),i=setTimeout((function(){e(r+n)}),n);return t=r+n,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var bez=bezFunction(),dataManager=function(){var t,e,r=1,n=[],i={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){i.onmessage({data:t})}};function s(){e||((e=function(e){if(window.Worker&&window.Blob&&_useWebWorker){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return t=e,i}((function(t){if(a.dataManager||(a.dataManager=function(){function t(i,a){var s,o,l,c,u,h,p,f=i.length;for(o=0;o<f;o+=1)if("ks"in(s=i[o])&&!s.completed){if(s.completed=!0,s.tt&&(i[o-1].td=s.tt),s.hasMask){var d=s.masksProperties;for(c=d.length,l=0;l<c;l+=1)if(d[l].pt.k.i)n(d[l].pt.k);else for(h=d[l].pt.k.length,u=0;u<h;u+=1)d[l].pt.k[u].s&&n(d[l].pt.k[u].s[0]),d[l].pt.k[u].e&&n(d[l].pt.k[u].e[0])}0===s.ty?(s.layers=e(s.refId,a),t(s.layers,a)):4===s.ty?r(s.shapes):5===s.ty&&(0!==(p=s).t.a.length||"m"in p.t.p||(p.singleShape=!0))}}function e(t,e){for(var r=0,n=e.length;r<n;){if(e[r].id===t)return e[r].layers.__used?JSON.parse(JSON.stringify(e[r].layers)):(e[r].layers.__used=!0,e[r].layers);r+=1}return null}function r(t){var e,i,a;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)n(t[e].ks.k);else for(a=t[e].ks.k.length,i=0;i<a;i+=1)t[e].ks.k[i].s&&n(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&n(t[e].ks.k[i].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function n(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function i(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a,s=function(){var t=[4,4,14];function e(t){var e,r,n,i=t.length;for(e=0;e<i;e+=1)5===t[e].ty&&(void 0,n=(r=t[e]).t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(i(t,r.v)&&(e(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&e(r.assets[n].layers)}}}(),o=(a=[4,7,99],function(t){if(t.chars&&!i(a,t.v)){var e,r,s,o,l,c=t.chars.length;for(e=0;e<c;e+=1)if(t.chars[e].data&&t.chars[e].data.shapes)for(s=(l=t.chars[e].data.shapes[0].it).length,r=0;r<s;r+=1)(o=l[r].ks.k).__converted||(n(l[r].ks.k),o.__converted=!0)}}),l=function(){var t=[5,7,15];function e(t){var e,r,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(r=void 0,"number"==typeof(r=t[e].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(i(t,r.v)&&(e(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&e(r.assets[n].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var r,n,i,a=t.length;for(r=0;r<a;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(i=t[r].c.k.length,n=0;n<i;n+=1)t[r].c.k[n].s&&(t[r].c.k[n].s[0]/=255,t[r].c.k[n].s[1]/=255,t[r].c.k[n].s[2]/=255,t[r].c.k[n].s[3]/=255),t[r].c.k[n].e&&(t[r].c.k[n].e[0]/=255,t[r].c.k[n].e[1]/=255,t[r].c.k[n].e[2]/=255,t[r].c.k[n].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,n=t.length;for(r=0;r<n;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(i(t,e.v)&&(r(e.layers),e.assets)){var n,a=e.assets.length;for(n=0;n<a;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}(),u=function(){var t=[4,4,18];function e(t){var r,n,i;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(i=t[r].ks.k.length,n=0;n<i;n+=1)t[r].ks.k[n].s&&(t[r].ks.k[n].s[0].c=t[r].closed),t[r].ks.k[n].e&&(t[r].ks.k[n].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,n,i,a,s,o,l=t.length;for(n=0;n<l;n+=1){if((r=t[n]).hasMask){var c=r.masksProperties;for(a=c.length,i=0;i<a;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(o=c[i].pt.k.length,s=0;s<o;s+=1)c[i].pt.k[s].s&&(c[i].pt.k[s].s[0].c=c[i].cl),c[i].pt.k[s].e&&(c[i].pt.k[s].e[0].c=c[i].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(i(t,e.v)&&(r(e.layers),e.assets)){var n,a=e.assets.length;for(n=0;n<a;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}();var h={completeData:function(e){e.__complete||(c(e),s(e),o(e),l(e),u(e),t(e.layers,e.assets),e.__complete=!0)}};return h.checkColors=c,h.checkChars=o,h.checkPathProperties=l,h.checkShapes=u,h.completeLayers=t,h}()),a.assetLoader||(a.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"==typeof t.response?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,n,i){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(t){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=t(s),n(a);else try{a=t(s),n(a)}catch(t){i&&i(t)}};try{s.open("GET",e,!0)}catch(t){s.open("GET",r+"/"+e,!0)}s.send()}}}()),"loadAnimation"===t.data.type)a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}))}))).onmessage=function(t){var e=t.data,r=e.id,i=n[r];n[r]=null,"success"===e.status?i.onComplete(e.payload):i.onError&&i.onError()})}function o(t,e){var i="processId_"+(r+=1);return n[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,r,n){s();var i=o(r,n);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(t,r,n){s();var i=o(r,n);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(t,r,n){s();var i=o(r,n);e.postMessage({type:"complete",animation:t,id:i})}}}();function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",n="normal",i=e.length,a=0;a<i;a+=1)switch(e[a].toLowerCase()){case"italic":n="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:n,weight:t.fWeight||r}}var FontManager=function(){var t={w:0,size:0,shapes:[]},e=[];e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],n=[65039,8205];function i(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=function(t){var e,r=t.split(","),n=r.length,i=[];for(e=0;e<n;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&i.push(r[e]);return i.join(",")}(t)+", "+e,{node:n,w:i,parent:r}}function a(t,e){var r=createNS("text");r.style.fontSize="100px";var n=getFontProperties(e);return r.setAttribute("font-family",e.fFamily),r.setAttribute("font-style",n.style),r.setAttribute("font-weight",n.weight),r.textContent="1",e.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",e.fClass)):r.style.fontFamily=e.fFamily,t.appendChild(r),createTag("canvas").getContext("2d").font=e.fWeight+" "+e.fStyle+" 100px "+e.fFamily,r}var s=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return s.isModifier=function(t,e){var n=t.toString(16)+e.toString(16);return-1!==r.indexOf(n)},s.isZeroWidthJoiner=function(t,e){return e?t===n[0]&&e===n[1]:t===n[1]},s.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},s.prototype={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,n,i=t.length,a=this.chars.length;for(e=0;e<i;e+=1){for(r=0,n=!1;r<a;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(n=!0),r+=1;n||(this.chars.push(t[e]),a+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);var r,n=t.list,s=n.length,o=s;for(r=0;r<s;r+=1){var l,c,u=!0;if(n[r].loaded=!1,n[r].monoCase=i(n[r].fFamily,"monospace"),n[r].sansCase=i(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(u=!1),u){var h=createTag("style");h.setAttribute("f-forigin",n[r].fOrigin),h.setAttribute("f-origin",n[r].origin),h.setAttribute("f-family",n[r].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",e.appendChild(h)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(n[r].fPath)&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.type="text/css",p.rel="stylesheet",p.href=n[r].fPath,document.body.appendChild(p)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)n[r].fPath===l[c].src&&(u=!1);if(u){var f=createTag("link");f.setAttribute("f-forigin",n[r].fOrigin),f.setAttribute("f-origin",n[r].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",n[r].fPath),e.appendChild(f)}}}else n[r].loaded=!0,o-=1;n[r].helper=a(e,n[r]),n[r].cache={},this.fonts.push(n[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,r,n){for(var i=0,a=this.chars.length;i<a;){if(this.chars[i].ch===e&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,r,n)),t},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var n=this.getFontByName(e),i=t.charCodeAt(0);if(!n.cache[i+1]){var a=n.helper;if(" "===t){a.textContent="|"+t+"|";var s=a.getComputedTextLength();a.textContent="||";var o=a.getComputedTextLength();n.cache[i+1]=(s-o)/100}else a.textContent=t,n.cache[i+1]=a.getComputedTextLength()/100}return n.cache[i+1]*r},checkLoadedFonts:function(){var t,e,r,n=this.fonts.length,i=n;for(t=0;t<n;t+=1)this.fonts[t].loaded?i-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(i-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(i-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},s}(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,c,u,h,p,f,d=e.lastIndex,m=d,g=this.keyframes.length-1,y=!0;y;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&t>=s.t-i){a.h&&(a=s),d=0;break}if(s.t-i>t){d=m;break}m<g-1?m+=1:(d=0,y=!1)}o=this.keyframesMetadata[m]||{};var v,b,x,E,k,w,C,A,S,P,O,j,I,_,F,T,D,M,R=s.t-i,B=a.t-i;if(a.to){o.bezierData||(o.bezierData=bez.buildBezierData(a.s,s.s||a.e,a.to,a.ti));var V=o.bezierData;if(t>=R||t<B){var L=t>=R?V.points.length-1:0;for(c=V.points[L].point.length,l=0;l<c;l+=1)r[l]=V.points[L].point[l]}else{o.__fnct?f=o.__fnct:(f=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,o.__fnct=f),u=f((t-B)/(R-B));var N,z=V.segmentLength*u,G=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastAddedLength:0;for(p=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastPoint:0,y=!0,h=V.points.length;y;){if(G+=V.points[p].partialLength,0===z||0===u||p===V.points.length-1){for(c=V.points[p].point.length,l=0;l<c;l+=1)r[l]=V.points[p].point[l];break}if(z>=G&&z<G+V.points[p+1].partialLength){for(N=(z-G)/V.points[p+1].partialLength,c=V.points[p].point.length,l=0;l<c;l+=1)r[l]=V.points[p].point[l]+(V.points[p+1].point[l]-V.points[p].point[l])*N;break}p<h-1?p+=1:y=!1}e._lastPoint=p,e._lastAddedLength=G-V.points[p].partialLength,e._lastKeyframeIndex=m}}else{var H,Q,q,W,X;if(g=a.s.length,v=s.s||a.e,this.sh&&1!==a.h)t>=R?(r[0]=v[0],r[1]=v[1],r[2]=v[2]):t<=B?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],s=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),o=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);t[0]=s/degToRads,t[1]=o/degToRads,t[2]=l/degToRads}(r,(b=n(a.s),x=n(v),E=(t-B)/(R-B),P=[],O=b[0],j=b[1],I=b[2],_=b[3],F=x[0],T=x[1],D=x[2],M=x[3],(w=O*F+j*T+I*D+_*M)<0&&(w=-w,F=-F,T=-T,D=-D,M=-M),1-w>1e-6?(k=Math.acos(w),C=Math.sin(k),A=Math.sin((1-E)*k)/C,S=Math.sin(E*k)/C):(A=1-E,S=E),P[0]=A*O+S*F,P[1]=A*j+S*T,P[2]=A*I+S*D,P[3]=A*_+S*M,P));else for(m=0;m<g;m+=1)1!==a.h&&(t>=R?u=1:t<B?u=0:(a.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?f=o.__fnct[m]:(H=void 0===a.o.x[m]?a.o.x[0]:a.o.x[m],Q=void 0===a.o.y[m]?a.o.y[0]:a.o.y[m],q=void 0===a.i.x[m]?a.i.x[0]:a.i.x[m],W=void 0===a.i.y[m]?a.i.y[0]:a.i.y[m],f=BezierFactory.getBezierEasing(H,Q,q,W).get,o.__fnct[m]=f)):o.__fnct?f=o.__fnct:(H=a.o.x,Q=a.o.y,q=a.i.x,W=a.i.y,f=BezierFactory.getBezierEasing(H,Q,q,W).get,a.keyframeMetadata=f),u=f((t-B)/(R-B)))),v=s.s||a.e,X=1===a.h?a.s[m]:a.s[m]+(v[m]-a.s[m])*u,"multidimensional"===this.propType?r[m]=X:r=X}return e.lastIndex=d,r}function n(t){var e=t[0]*degToRads,r=t[1]*degToRads,n=t[2]*degToRads,i=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(e/2),l=Math.sin(r/2),c=Math.sin(n/2);return[o*l*s+i*a*c,o*a*s+i*l*c,i*l*s-o*a*c,i*a*s-o*l*c]}function i(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function a(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,i=this.v.length;n<i;)r=t[n]*this.mult,e(this.v[n]-r)>1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(t,e,r,n){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.addEffect=o}function c(t,e,r,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=e.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=e.k[i]*this.mult,this.pv[i]=e.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=a,this.addEffect=o}function u(e,n,l,c){this.propType="unidimensional",this.keyframes=n.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=n,this.mult=l||1,this.elem=e,this.container=c,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[i.bind(this)],this.addEffect=o}function h(e,n,l,c){var u;this.propType="multidimensional";var h,p,f,d,m=n.k.length;for(u=0;u<m-1;u+=1)n.k[u].to&&n.k[u].s&&n.k[u+1]&&n.k[u+1].s&&(h=n.k[u].s,p=n.k[u+1].s,f=n.k[u].to,d=n.k[u].ti,(2===h.length&&(h[0]!==p[0]||h[1]!==p[1])&&bez.pointOnLine2D(h[0],h[1],p[0],p[1],h[0]+f[0],h[1]+f[1])&&bez.pointOnLine2D(h[0],h[1],p[0],p[1],p[0]+d[0],p[1]+d[1])||3===h.length&&(h[0]!==p[0]||h[1]!==p[1]||h[2]!==p[2])&&bez.pointOnLine3D(h[0],h[1],h[2],p[0],p[1],p[2],h[0]+f[0],h[1]+f[1],h[2]+f[2])&&bez.pointOnLine3D(h[0],h[1],h[2],p[0],p[1],p[2],p[0]+d[0],p[1]+d[1],p[2]+d[2]))&&(n.k[u].to=null,n.k[u].ti=null),h[0]===p[0]&&h[1]===p[1]&&0===f[0]&&0===f[1]&&0===d[0]&&0===d[1]&&(2===h.length||h[2]===p[2]&&0===f[2]&&0===d[2])&&(n.k[u].to=null,n.k[u].ti=null));this.effectsSequence=[i.bind(this)],this.data=n,this.keyframes=n.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=e,this.container=c,this.comp=e.comp,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var g=n.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),u=0;u<g;u+=1)this.v[u]=t,this.pv[u]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=o}return{getProp:function(t,e,r,n,i){var a;if(e.k.length)if("number"==typeof e.k[0])a=new c(t,e,n,i);else switch(r){case 0:a=new u(t,e,n,i);break;case 1:a=new h(t,e,n,i)}else a=new l(t,e,n,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}}}(),TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var n,i=e.or.k.length;for(n=0;n<i;n+=1)e.or.k[n].to=null,e.or.k[n].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,i;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(n[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[0]=a.getValueAtTime(a.keyframes[0].t/r,0),i[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(n[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[a.pv,s.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=i=t;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,n){return new e(t,r,n)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,n,i){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=t,a[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,n,i,a,s,o){this.setXYAt(t,e,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,n=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a<o;a+=1)t.setTripleAt(e[s][0],e[s][1],n[s][0],n[s][1],r[s][0],r[s][1],a,!1),s-=1;return t};var ShapePropertyFactory=function(){function t(t,e,r){var n,i,a,s,o,l,c,u,h,p=r.lastIndex,f=this.keyframes;if(t<f[0].t-this.offsetTime)n=f[0].s[0],a=!0,p=0;else if(t>=f[f.length-1].t-this.offsetTime)n=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],a=!0;else{for(var d,m,g,y=p,v=f.length-1,b=!0;b&&(d=f[y],!((m=f[y+1]).t-this.offsetTime>t));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},p=y,!(a=1===d.h)){if(t>=m.t-this.offsetTime)u=1;else if(t<d.t-this.offsetTime)u=0;else{var x;g.__fnct?x=g.__fnct:(x=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,g.__fnct=x),u=x((t-(d.t-this.offsetTime))/(m.t-this.offsetTime-(d.t-this.offsetTime)))}i=m.s?m.s[0]:d.e[0]}n=d.s[0]}for(l=e._length,c=n.i[0].length,r.lastIndex=p,s=0;s<l;s+=1)for(o=0;o<c;o+=1)h=a?n.i[s][o]:n.i[s][o]+(i.i[s][o]-n.i[s][o])*u,e.i[s][o]=h,h=a?n.o[s][o]:n.o[s][o]+(i.o[s][o]-n.o[s][o])*u,e.o[s][o]=h,h=a?n.v[s][o]:n.v[s][o]+(i.v[s][o]-n.v[s][o])*u,e.v[s][o]=h}function e(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return-999999!==n&&(n<e&&t<e||n>r&&t>r)||(this._caching.lastIndex=n<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function r(){this.paths=this.localShapeCollection}function n(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,n=t._length;for(r=0;r<n;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===n?e.pt.k:e.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,n,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===i?n.pt.k:n.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=r,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[e.bind(this)]}a.prototype.interpolateShape=t,a.prototype.getValue=i,a.prototype.setVValue=n,a.prototype.addEffect=s,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=n,o.prototype.addEffect=s;var l=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=e,s.v[0][1]=r-i,s.v[1][0]=a?e+n:e-n,s.v[1][1]=r,s.v[2][0]=e,s.v[2][1]=r+i,s.v[3][0]=a?e-n:e+n,s.v[3][1]=r,s.i[0][0]=a?e-n*t:e+n*t,s.i[0][1]=r-i,s.i[1][0]=a?e+n:e-n,s.i[1][1]=r-i*t,s.i[2][0]=a?e+n*t:e-n*t,s.i[2][1]=r+i,s.i[3][0]=a?e-n:e+n,s.i[3][1]=r+i*t,s.o[0][0]=a?e+n*t:e-n*t,s.o[0][1]=r-i,s.o[1][0]=a?e+n:e-n,s.o[1][1]=r+i*t,s.o[2][0]=a?e-n*t:e+n*t,s.o[2][1]=r+i,s.o[3][0]=a?e-n:e+n,s.o[3][1]=r-i*t}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,n,i=2*Math.floor(this.pt.v),a=2*Math.PI/i,s=!0,o=this.or.v,l=this.ir.v,c=this.os.v,u=this.is.v,h=2*Math.PI*o/(2*i),p=2*Math.PI*l/(2*i),f=-Math.PI/2;f+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<i;t+=1){r=s?c:u,n=s?h:p;var m=(e=s?o:l)*Math.cos(f),g=e*Math.sin(f),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*n*r*d,g-v*n*r*d,m+y*n*r*d,g+v*n*r*d,t,!0),s=!s,f+=a*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,n=this.or.v,i=this.os.v,a=2*Math.PI*n/(4*e),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=n*Math.cos(s),c=n*Math.sin(s),u=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),h=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-u*a*i*o,c-h*a*i*o,l+u*a*i*o,c+h*a*i*o,t,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bmMin(r,n,this.r.v),a=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-n+i,t+r,e-n+i,t+r,e-n+a,0,!0),this.v.setTripleAt(t+r,e+n-i,t+r,e+n-a,t+r,e+n-i,1,!0),0!==i?(this.v.setTripleAt(t+r-i,e+n,t+r-i,e+n,t+r-a,e+n,2,!0),this.v.setTripleAt(t-r+i,e+n,t-r+a,e+n,t-r+i,e+n,3,!0),this.v.setTripleAt(t-r,e+n-i,t-r,e+n-i,t-r,e+n-a,4,!0),this.v.setTripleAt(t-r,e-n+i,t-r,e-n+a,t-r,e-n+i,5,!0),this.v.setTripleAt(t-r+i,e-n,t-r+i,e-n,t-r+a,e-n,6,!0),this.v.setTripleAt(t+r-i,e-n,t+r-a,e-n,t+r-i,e-n,7,!0)):(this.v.setTripleAt(t-r,e+n,t-r+a,e+n,t-r,e+n,2),this.v.setTripleAt(t-r,e-n,t-r,e-n+a,t-r,e-n,3))):(this.v.setTripleAt(t+r,e-n+i,t+r,e-n+a,t+r,e-n+i,0,!0),0!==i?(this.v.setTripleAt(t+r-i,e-n,t+r-i,e-n,t+r-a,e-n,1,!0),this.v.setTripleAt(t-r+i,e-n,t-r+a,e-n,t-r+i,e-n,2,!0),this.v.setTripleAt(t-r,e-n+i,t-r,e-n+i,t-r,e-n+a,3,!0),this.v.setTripleAt(t-r,e+n-i,t-r,e+n-a,t-r,e+n-i,4,!0),this.v.setTripleAt(t-r+i,e+n,t-r+i,e+n,t-r+a,e+n,5,!0),this.v.setTripleAt(t+r-i,e+n,t+r-a,e+n,t+r-i,e+n,6,!0),this.v.setTripleAt(t+r,e+n-i,t+r,e+n-i,t+r,e+n-a,7,!0)):(this.v.setTripleAt(t-r,e-n,t-r+a,e-n,t-r,e-n,1,!0),this.v.setTripleAt(t-r,e+n,t-r,e+n-a,t-r,e+n,2,!0),this.v.setTripleAt(t+r,e+n,t+r-a,e+n,t+r,e+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],t),t}();return{getShapeProp:function(t,e,r){var n;return 3===r||4===r?n=(3===r?e.pt:e.ks).k.length?new o(t,e,r):new a(t,e,r):5===r?n=new u(t,e):6===r?n=new l(t,e):7===r&&(n=new c(t,e)),n.k&&t.addDynamicProperty(n),n},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return o}}}(),ShapeModifiers=(ob={},modifiers={},ob.registerModifier=function(t,e){modifiers[t]||(modifiers[t]=e)},ob.getModifier=function(t,e,r){return new modifiers[t](e,r)},ob),ob,modifiers;function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function PuckerAndBloatModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,r,n){var i;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var a,s=e.length||0;for(i=0;i<s;i+=1)a=PropertyFactory.getProp(t,e[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:e[i].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var n=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,n,i){var a=[];e<=1?a.push({s:t,e:e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var s,o,l=[],c=a.length;for(s=0;s<c;s+=1){var u,h;(o=a[s]).e*i<n||o.s*i>n+r||(u=o.s*i<=n?0:(o.s*i-n)/r,h=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([u,h]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,n,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),(e=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=e;e=r,r=s}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,l,c,u,h,p=this.shapes.length,f=0;if(r===e)for(i=0;i<p;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(i=0;i<p;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var d,m,g=[];for(i=0;i<p;i+=1)if((d=this.shapes[i]).shape._mdf||this._mdf||t||2===this.m){if(l=(n=d.shape.paths)._length,h=0,!d.shape._mdf&&d.pathsData.length)h=d.totalShapeLength;else{for(c=this.releasePathsData(d.pathsData),o=0;o<l;o+=1)u=bez.getSegmentsLength(n.shapes[o]),c.push(u),h+=u.totalLength;d.totalShapeLength=h,d.pathsData=c}f+=h,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var y,v=e,b=r,x=0;for(i=p-1;i>=0;i-=1)if((d=this.shapes[i]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&p>1?(y=this.calculateShapeEdges(e,r,d.totalShapeLength,x,f),x+=d.totalShapeLength):y=[[v,b]],l=y.length,o=0;o<l;o+=1){v=y[o][0],b=y[o][1],g.length=0,b<=1?g.push({s:d.totalShapeLength*v,e:d.totalShapeLength*b}):v>=1?g.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(g.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),g.push({s:0,e:d.totalShapeLength*(b-1)}));var E=this.addShapes(d,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var k=E.pop();this.addPaths(E,m),E=this.addShapes(d,g[1],k)}else this.addPaths(E,m),E=this.addShapes(d,g[1]);this.addPaths(E,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,n,i,a,s){i.setXYAt(e[0],e[1],"o",a),i.setXYAt(r[0],r[1],"i",a+1),s&&i.setXYAt(t[0],t[1],"v",a),i.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,n){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),n&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var n,i,a,s,o,l,c,u,h=t.pathsData,p=t.shape.paths.shapes,f=t.shape.paths._length,d=0,m=[],g=!0;for(r?(o=r._length,u=r._length):(r=shapePool.newElement(),o=0,u=0),m.push(r),n=0;n<f;n+=1){for(l=h[n].lengths,r.c=p[n].c,a=p[n].c?l.length:l.length+1,i=1;i<a;i+=1)if(d+(s=l[i-1]).addedLength<e.s)d+=s.addedLength,r.c=!1;else{if(d>e.e){r.c=!1;break}e.s<=d&&e.e>=d+s.addedLength?(this.addSegment(p[n].v[i-1],p[n].o[i-1],p[n].i[i],p[n].v[i],r,o,g),g=!1):(c=bez.getNewSegment(p[n].v[i-1],p[n].v[i],p[n].o[i-1],p[n].i[i],(e.s-d)/s.addedLength,(e.e-d)/s.addedLength,l[i-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1),d+=s.addedLength,o+=1}if(p[n].c&&l.length){if(s=l[i-1],d<=e.e){var y=l[i-1].addedLength;e.s<=d&&e.e>=d+y?(this.addSegment(p[n].v[i-1],p[n].o[i-1],p[n].i[0],p[n].v[0],r,o,g),g=!1):(c=bez.getNewSegment(p[n].v[i-1],p[n].v[0],p[n].o[i-1],p[n].i[0],(e.s-d)/y,(e.e-d)/y,l[i-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1)}else r.c=!1;d+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[u][0],r.v[u][1],"i",u),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;n<f-1&&(r=shapePool.newElement(),g=!0,m.push(r),o=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,n=shapePool.newElement();n.c=t.c;var i,a,s,o,l,c,u,h,p,f,d,m,g=t._length,y=0;for(r=0;r<g;r+=1)i=t.v[r],s=t.o[r],a=t.i[r],i[0]===s[0]&&i[1]===s[1]&&i[0]===a[0]&&i[1]===a[1]?0!==r&&r!==g-1||t.c?(o=0===r?t.v[g-1]:t.v[r-1],c=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,e)/l:0,u=d=i[0]+(o[0]-i[0])*c,h=m=i[1]-(i[1]-o[1])*c,p=u-(u-i[0])*roundCorner,f=h-(h-i[1])*roundCorner,n.setTripleAt(u,h,p,f,d,m,y),y+=1,o=r===g-1?t.v[0]:t.v[r+1],c=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,e)/l:0,u=p=i[0]+(o[0]-i[0])*c,h=f=i[1]+(o[1]-i[1])*c,d=u-(u-i[0])*roundCorner,m=h-(h-i[1])*roundCorner,n.setTripleAt(u,h,p,f,d,m,y),y+=1):(n.setTripleAt(i[0],i[1],s[0],s[1],a[0],a[1],y),y+=1):(n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],y),y+=1);return n},RoundCornersModifier.prototype.processShapes=function(t){var e,r,n,i,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(e[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,n=[0,0],i=t._length,a=0;for(a=0;a<i;a+=1)n[0]+=t.v[a][0],n[1]+=t.v[a][1];n[0]/=i,n[1]/=i;var s,o,l,c,u,h,p=shapePool.newElement();for(p.c=t.c,a=0;a<i;a+=1)s=t.v[a][0]+(n[0]-t.v[a][0])*r,o=t.v[a][1]+(n[1]-t.v[a][1])*r,l=t.o[a][0]+(n[0]-t.o[a][0])*-r,c=t.o[a][1]+(n[1]-t.o[a][1])*-r,u=t.i[a][0]+(n[0]-t.i[a][0])*-r,h=t.i[a][1]+(n[1]-t.i[a][1])*-r,p.setTripleAt(s,o,l,c,u,h,a);return p},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,n,i,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(e[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,n,i,a){var s=a?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);t.translate(n.p.v[0]*s*i,n.p.v[1]*s*i,n.p.v[2]),e.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),e.rotate(-n.r.v*s*i),e.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,n){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,n,i,a,s=!1;if(this._mdf||t){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,n=0;n<=this._groups.length-1;n+=1){if(o=a<l,this._groups[n]._render=o,this.changeGroupRender(this._groups[n].it,o),!o){var u=this.elemsData[n].it,h=u[u.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}a+=1}this._currentCopies=l;var p=this.o.v,f=p%1,d=p>0?Math.floor(p):Math.ceil(p),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,x=0;if(p>0){for(;x<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),x+=f)}else if(p<0){for(;x>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),x-=f)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==x){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];x+=1,a-=1,n+=i}}else for(a=this._currentCopies,n=0,i=1;a;)r=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,n+=i;return s},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(t[4*r]-t[4*e+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,n,i=4*this.data.p;for(e=0;e<i;e+=1)r=e%4==0?100:255,n=Math.round(this.prop.v[e]*r),this.c[e]!==n&&(this.c[e]=n,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=4*this.data.p;e<i;e+=1)r=e%2==0?100:1,n=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==n&&(this.o[e-4*this.data.p]=n,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(t,e,r,n){if(0===e)return"";var i,a=t.o,s=t.i,o=t.v,l=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(i=1;i<e;i+=1)l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[i][0],s[i][1])+" "+n.applyToPointStringified(o[i][0],o[i][1]);return r&&e&&(l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):Howl?new Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,r){var n="";if(t.e)n=t.p;else if(e){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=e+i}else n=r,n+=t.u?t.u:"",n+=t.p;return n}function i(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=n(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function s(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var n=t.length;for(r=0;r<n;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=n(e,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),i.src=r;var a={img:i,assetData:e};return a},createImageData:function(e){var r=n(e,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var a={img:i,assetData:e};return a},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),filtersFactory=function(){var t={createFilter:function(t,e){var r=createNS("filter");return r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}};return t}();function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(t,e,r){var n={propType:!1},i=PropertyFactory.getProp,a=e.a;this.a={r:a.r?i(t,a.r,0,degToRads,r):n,rx:a.rx?i(t,a.rx,0,degToRads,r):n,ry:a.ry?i(t,a.ry,0,degToRads,r):n,sk:a.sk?i(t,a.sk,0,degToRads,r):n,sa:a.sa?i(t,a.sa,0,degToRads,r):n,s:a.s?i(t,a.s,1,.01,r):n,a:a.a?i(t,a.a,1,0,r):n,o:a.o?i(t,a.o,0,.01,r):n,p:a.p?i(t,a.p,1,0,r):n,sw:a.sw?i(t,a.sw,0,0,r):n,sc:a.sc?i(t,a.sc,1,0,r):n,fc:a.fc?i(t,a.fc,1,0,r):n,fh:a.fh?i(t,a.fh,0,0,r):n,fs:a.fs?i(t,a.fs,0,.01,r):n,fb:a.fb?i(t,a.fb,0,.01,r):n,t:a.t?i(t,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function LetterProps(t,e,r,n,i,a){this.o=t,this.sw=e,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,i,a,s,o,l,c,u,h,p,f,d,m,g,y,v,b,x,E=this._moreOptions.alignment.v,k=this._animatorsData,w=this._textData,C=this.mHelper,A=this._renderType,S=this.renderedLetters.length,P=t.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var O,j=x.v;for(this._pathData.r.v&&(j=j.reverse()),s={tLength:0,segments:[]},a=j._length-1,y=0,i=0;i<a;i+=1)O=bez.buildBezierData(j.v[i],j.v[i+1],[j.o[i][0]-j.v[i][0],j.o[i][1]-j.v[i][1]],[j.i[i+1][0]-j.v[i+1][0],j.i[i+1][1]-j.v[i+1][1]]),s.tLength+=O.segmentLength,s.segments.push(O),y+=O.segmentLength;i=a,x.v.c&&(O=bez.buildBezierData(j.v[i],j.v[0],[j.o[i][0]-j.v[i][0],j.o[i][1]-j.v[i][1]],[j.i[0][0]-j.v[0][0],j.i[0][1]-j.v[0][1]]),s.tLength+=O.segmentLength,s.segments.push(O),y+=O.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,p=0,h=1,c=0,u=!0,m=s.segments,o<0&&x.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),h=(d=m[p=m.length-1].points).length-1;o<0;)o+=d[h].partialLength,(h-=1)<0&&(h=(d=m[p-=1].points).length-1);f=(d=m[p].points)[h-1],g=(l=d[h]).partialLength}a=P.length,r=0,n=0;var I,_,F,T,D,M=1.2*t.finalSize*.714,R=!0;F=k.length;var B,V,L,N,z,G,H,Q,q,W,X,J,Y=-1,U=o,K=p,Z=h,$=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,nt=0,it=2===t.j?-.5:-1,at=0,st=!0;for(i=0;i<a;i+=1)if(P[i].n){for(rt&&(rt+=nt);at<i;)P[at].animatorJustifyOffset=rt,at+=1;rt=0,st=!0}else{for(_=0;_<F;_+=1)(I=k[_].a).t.propType&&(st&&2===t.j&&(nt+=I.t.v*it),(D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars)).length?rt+=I.t.v*D[0]*it:rt+=I.t.v*D*it);st=!1}for(rt&&(rt+=nt);at<i;)P[at].animatorJustifyOffset=rt,at+=1}for(i=0;i<a;i+=1){if(C.reset(),N=1,P[i].n)r=0,n+=t.yOffset,n+=R?1:0,o=U,R=!1,this._hasMaskedPath&&(h=Z,f=(d=m[p=K].points)[h-1],g=(l=d[h]).partialLength,c=0),tt="",X="",q="",J="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if($!==P[i].line){switch(t.j){case 1:o+=y-t.lineWidths[P[i].line];break;case 2:o+=(y-t.lineWidths[P[i].line])/2}$=P[i].line}Y!==P[i].ind&&(P[Y]&&(o+=P[Y].extra),o+=P[i].an/2,Y=P[i].ind),o+=E[0]*P[i].an*.005;var ot=0;for(_=0;_<F;_+=1)(I=k[_].a).p.propType&&((D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars)).length?ot+=I.p.v[0]*D[0]:ot+=I.p.v[0]*D),I.a.propType&&((D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars)).length?ot+=I.a.v[0]*D[0]:ot+=I.a.v[0]*D);for(u=!0,this._pathData.a.v&&(o=.5*P[0].an+(y-this._pathData.f.v-.5*P[0].an-.5*P[P.length-1].an)*Y/(a-1),o+=this._pathData.f.v);u;)c+g>=o+ot||!d?(v=(o+ot-c)/l.partialLength,V=f.point[0]+(l.point[0]-f.point[0])*v,L=f.point[1]+(l.point[1]-f.point[1])*v,C.translate(-E[0]*P[i].an*.005,-E[1]*M*.01),u=!1):d&&(c+=l.partialLength,(h+=1)>=d.length&&(h=0,m[p+=1]?d=m[p].points:x.v.c?(h=0,d=m[p=0].points):(c-=l.partialLength,d=null)),d&&(f=l,g=(l=d[h]).partialLength));B=P[i].an/2-P[i].add,C.translate(-B,0,0)}else B=P[i].an/2-P[i].add,C.translate(-B,0,0),C.translate(-E[0]*P[i].an*.005,-E[1]*M*.01,0);for(_=0;_<F;_+=1)(I=k[_].a).t.propType&&(D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?D.length?o+=I.t.v*D[0]:o+=I.t.v*D:D.length?r+=I.t.v*D[0]:r+=I.t.v*D));for(t.strokeWidthAnim&&(G=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),_=0;_<F;_+=1)(I=k[_].a).a.propType&&((D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars)).length?C.translate(-I.a.v[0]*D[0],-I.a.v[1]*D[1],I.a.v[2]*D[2]):C.translate(-I.a.v[0]*D,-I.a.v[1]*D,I.a.v[2]*D));for(_=0;_<F;_+=1)(I=k[_].a).s.propType&&((D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars)).length?C.scale(1+(I.s.v[0]-1)*D[0],1+(I.s.v[1]-1)*D[1],1):C.scale(1+(I.s.v[0]-1)*D,1+(I.s.v[1]-1)*D,1));for(_=0;_<F;_+=1){if(I=k[_].a,D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars),I.sk.propType&&(D.length?C.skewFromAxis(-I.sk.v*D[0],I.sa.v*D[1]):C.skewFromAxis(-I.sk.v*D,I.sa.v*D)),I.r.propType&&(D.length?C.rotateZ(-I.r.v*D[2]):C.rotateZ(-I.r.v*D)),I.ry.propType&&(D.length?C.rotateY(I.ry.v*D[1]):C.rotateY(I.ry.v*D)),I.rx.propType&&(D.length?C.rotateX(I.rx.v*D[0]):C.rotateX(I.rx.v*D)),I.o.propType&&(D.length?N+=(I.o.v*D[0]-N)*D[0]:N+=(I.o.v*D-N)*D),t.strokeWidthAnim&&I.sw.propType&&(D.length?G+=I.sw.v*D[0]:G+=I.sw.v*D),t.strokeColorAnim&&I.sc.propType)for(Q=0;Q<3;Q+=1)D.length?z[Q]+=(I.sc.v[Q]-z[Q])*D[0]:z[Q]+=(I.sc.v[Q]-z[Q])*D;if(t.fillColorAnim&&t.fc){if(I.fc.propType)for(Q=0;Q<3;Q+=1)D.length?H[Q]+=(I.fc.v[Q]-H[Q])*D[0]:H[Q]+=(I.fc.v[Q]-H[Q])*D;I.fh.propType&&(H=D.length?addHueToRGB(H,I.fh.v*D[0]):addHueToRGB(H,I.fh.v*D)),I.fs.propType&&(H=D.length?addSaturationToRGB(H,I.fs.v*D[0]):addSaturationToRGB(H,I.fs.v*D)),I.fb.propType&&(H=D.length?addBrightnessToRGB(H,I.fb.v*D[0]):addBrightnessToRGB(H,I.fb.v*D))}}for(_=0;_<F;_+=1)(I=k[_].a).p.propType&&(D=k[_].s.getMult(P[i].anIndexes[_],w.a[_].s.totalChars),this._hasMaskedPath?D.length?C.translate(0,I.p.v[1]*D[0],-I.p.v[2]*D[1]):C.translate(0,I.p.v[1]*D,-I.p.v[2]*D):D.length?C.translate(I.p.v[0]*D[0],I.p.v[1]*D[1],-I.p.v[2]*D[2]):C.translate(I.p.v[0]*D,I.p.v[1]*D,-I.p.v[2]*D));if(t.strokeWidthAnim&&(q=G<0?0:G),t.strokeColorAnim&&(W="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(C.translate(0,-t.ls),C.translate(0,E[1]*M*.01+n,0),this._pathData.p.v){b=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<f.point[0]&&(lt+=180),C.rotate(-lt*Math.PI/180)}C.translate(V,L,0),o-=E[0]*P[i].an*.005,P[i+1]&&Y!==P[i+1].ind&&(o+=P[i].an/2,o+=.001*t.tr*t.finalSize)}else{switch(C.translate(r,n,0),t.ps&&C.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:C.translate(P[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[P[i].line]),0,0);break;case 2:C.translate(P[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[P[i].line])/2,0,0)}C.translate(0,-t.ls),C.translate(B,0,0),C.translate(E[0]*P[i].an*.005,E[1]*M*.01,0),r+=P[i].l+.001*t.tr*t.finalSize}"html"===A?tt=C.toCSS():"svg"===A?tt=C.to2dCSS():et=[C.props[0],C.props[1],C.props[2],C.props[3],C.props[4],C.props[5],C.props[6],C.props[7],C.props[8],C.props[9],C.props[10],C.props[11],C.props[12],C.props[13],C.props[14],C.props[15]],J=N}S<=i?(T=new LetterProps(J,q,W,X,tt,et),this.renderedLetters.push(T),S+=1,this.lettersChangedFlag=!0):(T=this.renderedLetters[i],this.lettersChangedFlag=T.update(J,q,W,X,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,r,n,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,s=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,n=t.length;r<=n-1&&!(r===n-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,n=[],i=0,a=t.length,s=!1;i<a;)e=t.charCodeAt(i),FontManager.isCombinedCharacter(e)?n[n.length-1]+=t.charAt(i):e>=55296&&e<=56319?(r=t.charCodeAt(i+1))>=56320&&r<=57343?(s||FontManager.isModifier(e,r)?(n[n.length-1]+=t.substr(i,2),s=!1):n.push(t.substr(i,2)),i+=1):n.push(t.charAt(i)):e>56319?(r=t.charCodeAt(i+1),FontManager.isZeroWidthJoiner(e,r)?(s=!0,n[n.length-1]+=t.substr(i,2),i+=1):n.push(t.charAt(i))):FontManager.isZeroWidthJoiner(e)?(n[n.length-1]+=t.charAt(i),s=!0):n.push(t.charAt(i)),i+=1;return n},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,n,i,a,s,o,l=this.elem.globalData.fontManager,c=this.data,u=[],h=0,p=c.m.g,f=0,d=0,m=0,g=[],y=0,v=0,b=l.getFontByName(t.f),x=0,E=getFontProperties(b);t.fWeight=E.weight,t.fStyle=E.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var k,w=t.tr/1e3*t.finalSize;if(t.sz)for(var C,A,S=!0,P=t.sz[0],O=t.sz[1];S;){C=0,y=0,r=(A=this.buildFinalText(t.t)).length,w=t.tr/1e3*t.finalSize;var j=-1;for(e=0;e<r;e+=1)k=A[e].charCodeAt(0),n=!1," "===A[e]?j=e:13!==k&&3!==k||(y=0,n=!0,C+=t.finalLineHeight||1.2*t.finalSize),l.chars?(o=l.getCharData(A[e],b.fStyle,b.fFamily),x=n?0:o.w*t.finalSize/100):x=l.measureText(A[e],t.f,t.finalSize),y+x>P&&" "!==A[e]?(-1===j?r+=1:e=j,C+=t.finalLineHeight||1.2*t.finalSize,A.splice(e,j===e?1:0,"\r"),j=-1,y=0):(y+=x,y+=w);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&O<C?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=A,r=t.finalText.length,S=!1)}y=-w,x=0;var I,_=0;for(e=0;e<r;e+=1)if(n=!1,13===(k=(I=t.finalText[e]).charCodeAt(0))||3===k?(_=0,g.push(y),v=y>v?y:v,y=-2*w,i="",n=!0,m+=1):i=I,l.chars?(o=l.getCharData(I,b.fStyle,l.getFontByName(t.f).fFamily),x=n?0:o.w*t.finalSize/100):x=l.measureText(i,t.f,t.finalSize)," "===I?_+=x+w:(y+=x+w+_,_=0),u.push({l:x,an:x,add:f,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==p){if(f+=x,""===i||" "===i||e===r-1){for(""!==i&&" "!==i||(f-=x);d<=e;)u[d].an=f,u[d].ind=h,u[d].extra=x,d+=1;h+=1,f=0}}else if(3==p){if(f+=x,""===i||e===r-1){for(""===i&&(f-=x);d<=e;)u[d].an=f,u[d].ind=h,u[d].extra=x,d+=1;f=0,h+=1}}else u[h].ind=h,u[h].extra=0,h+=1;if(t.l=u,v=y>v?y:v,g.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var F,T,D,M,R=c.a;s=R.length;var B=[];for(a=0;a<s;a+=1){for((F=R[a]).a.sc&&(t.strokeColorAnim=!0),F.a.sw&&(t.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(t.fillColorAnim=!0),M=0,D=F.s.b,e=0;e<r;e+=1)(T=u[e]).anIndexes[a]=M,(1==D&&""!==T.val||2==D&&""!==T.val&&" "!==T.val||3==D&&(T.n||" "==T.val||e==r-1)||4==D&&(T.n||e==r-1))&&(1===F.s.rn&&B.push(M),M+=1);c.a[a].s.totalChars=M;var V,L=-1;if(1===F.s.rn)for(e=0;e<r;e+=1)L!=(T=u[e]).anIndexes[a]&&(L=T.anIndexes[a],V=B.splice(Math.floor(Math.random()*B.length),1)[0]),T.anIndexes[a]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function n(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,a=0,s=1,o=1;this.ne.v>0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,c=0,u=this.finalS,h=this.finalE,p=this.data.sh;if(2===p)c=l(c=h===u?n>=h?1:0:t(0,e(.5/(h-u)+(n-u)/(h-u),1)));else if(3===p)c=l(c=h===u?n>=h?0:1:1-t(0,e(.5/(h-u)+(n-u)/(h-u),1)));else if(4===p)h===u?c=0:(c=t(0,e(.5/(h-u)+(n-u)/(h-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===p){if(h===u)c=0;else{var f=h-u,d=-f/2+(n=e(t(0,n+.5-u),h-u)),m=f/2;c=Math.sqrt(1-d*d/(m*m))}c=l(c)}else 6===p?(h===u?c=0:(n=e(t(0,n+.5-u),h-u),c=(1+Math.cos(Math.PI+2*Math.PI*n/(h-u)))/2),c=l(c)):(n>=r(u)&&(c=t(0,e(n-u<0?e(h,1)-(u-n):h-n,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;c<y?c=0:(c=(c-y)/g)>1&&(c=1)}return c*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,n=this.s.v/e+r,i=this.e.v/e+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(t,e,r){return new n(t,e,r)}}}(),poolFactory=function(t,e,r){var n=0,i=t,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:e()},release:function(t){n===i&&(a=pooling.double(a),i*=2),r&&r(t),a[n]=t,n+=1}}},pooling={double:function(t){return t.concat(createSizedArray(t.length))}},pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)})),shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,r=factory.newElement(),n=void 0===t._length?t.v.length:t._length;for(r.setLength(n),r.c=t.c,e=0;e<n;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},factory),factory,shapeCollectionPool=function(){var t={newShapeCollection:function(){return e?n[e-=1]:new ShapeCollection},release:function(t){var i,a=t._length;for(i=0;i<a;i+=1)shapePool.release(t.shapes[i]);t._length=0,e===r&&(n=pooling.double(n),r*=2),n[e]=t,e+=1}},e=0,r=4,n=createSizedArray(r);return t}(),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0})),bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}})),markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),n={},i=0,a=0;a<r.length;a+=1)2===(e=r[a].split(":")).length&&(n[e[0]]=e[1].trim(),i+=1);if(0===i)throw new Error;return n}return function(e){for(var r=[],n=0;n<e.length;n+=1){var i=e[n],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(e[n].cm)}catch(r){try{a.payload=t(e[n].cm)}catch(t){a.payload={name:e[n]}}}r.push(a)}return r}}();function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=e.title,this.svgElement.appendChild(n),r+=i}if(e&&e.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,i,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,c,u,h,p,f=this.masksProperties,d=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(n=0;n<s;n+=1)if(("a"!==f[n].mode&&"n"!==f[n].mode||f[n].inv||100!==f[n].o.k||f[n].o.x)&&(y="mask",v="mask"),"s"!==f[n].mode&&"i"!==f[n].mode||0!==d?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"===f[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:i,lastPath:""},a.appendChild(i);else{var b;if(d+=1,i.setAttribute("fill","s"===f[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==f[n].x.k?(y="mask",v="mask",p=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),u.appendChild(h),a.appendChild(u),i.setAttribute("stroke","s"===f[n].mode?"#000000":"#ffffff")):(h=null,p=null),this.storedData[n]={elem:i,x:p,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===f[n].mode){l=m.length;var x=createNS("g");for(o=0;o<l;o+=1)x.appendChild(m[o]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",g+"_"+d),E.appendChild(i),a.appendChild(E),x.setAttribute("mask","url("+locationHref+"#"+g+"_"+d+")"),m.length=0,m.push(x)}else m.push(i);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),s=m.length,n=0;n<s;n+=1)this.maskElement.appendChild(m[n]);d>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+locationHref+"#"+g+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var n=0,i=t.length;n<i;){if(t[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(t){var e,r,n=this.layers.length;for(this.completeLayers=!0,e=n-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,n=t.length,i=this.layers.length;for(e=0;e<n;e+=1)for(r=0;r<i;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var n=this.elements,i=this.layers,a=0,s=i.length;a<s;)i[a].ind==e&&(n[a]&&!0!==n[a]?(r.push(n[a]),n[a].setAsParent(),void 0!==i[a].parent?this.buildElementParenting(t,i[a].parent,r):t.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var n=this.createComp(t[e]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",t.w),n.setAttribute("height",t.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+i+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);e[t]=r,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?r.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var n,i=0;i<e;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e,r=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var n=this.contextData.saved[this.contextData.cArrPos];for(e=0;e<16;e+=1)n[e]=r[e];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,r=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(e=0;e<16;e+=1)n[e]=r[e];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,r,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),a=i[1]||"meet",s=i[0]||"xMidYMid",o=s.substr(0,4),l=s.substr(4);r=t/e,(n=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===a||n<r&&"slice"===a?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(n<r&&"meet"===a||n>r&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(n<r&&"meet"===a||n>r&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<n;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var n=this.layers[e];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var i,a,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||i),s+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRenderer.prototype.createThreeDContainer=function(t,e){var r,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px",r.webkitTransformOrigin="50% 50%",r.mozTransformOrigin="50% 50%",r.transformOrigin="50% 50%";var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=s,n.webkitTransform=s}i.appendChild(a);var o={container:a,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(o),o},HybridRenderer.prototype.build3dContainers=function(){var t,e,r=this.layers.length,n="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==n&&(n="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==n&&(n="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(r=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){for(var r=0,n=this.threeDElements.length;r<n;){if(e<=this.threeDElements[r].endPos){for(var i,a=this.threeDElements[r].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[r].container.insertBefore(t,i):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,n=e.style;n.width=t.w+"px",n.height=t.h+"px",this.resizerElem=e,styleDiv(e),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),n.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,r,n,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=i/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+n+",0,1)",o.transform=o.webkitTransform},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(t=0;t<n;t+=1){var i=this.threeDElements[t].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",i.perspective=i.webkitPerspective}}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length,n=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(e=0;e<n;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var i=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),i.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,(t+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var n,i,a=" M"+e.v[0][0]+","+e.v[0][1];for(i=e._length,n=1;n<i;n+=1)a+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[n][0]+","+e.i[n][1]+" "+e.v[n][0]+","+e.v[n][1];if(e.c&&i>1&&(a+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var s="";r.elem&&(e.c&&(s=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<n;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,n=!0,i=this.comp;n;)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):n=!1;var a,s=e.length;for(r=0;r<s;r+=1)a=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),n=createNS(1===e.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,a,s,o=[];for(s=4*e.g.p,a=0;a<s;a+=4)i=createNS("stop"),n.appendChild(i),o.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=n,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===t.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var u=this.stops;for(n=4*t.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),u.push(r);s.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+o+")"),"gs"===t.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=a,this.ost=u,this.maskId=l,e.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function n(r,n,i){var a,s,o,l,c,u,h,p,f,d,m,g=n.styles.length,y=n.lvl;for(u=0;u<g;u+=1){if(l=n.sh._mdf||i,n.styles[u].lvl<y){for(p=e.reset(),d=y-n.styles[u].lvl,m=n.transformers.length-1;!l&&d>0;)l=n.transformers[m].mProps._mdf||l,d-=1,m-=1;if(l)for(d=y-n.styles[u].lvl,m=n.transformers.length-1;d>0;)f=n.transformers[m].mProps.v.props,p.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),d-=1,m-=1}else p=t;if(s=(h=n.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(c=h.shapes[a])&&c._length&&(o+=buildShapeString(c,c._length,c.c,p));n.caches[u]=o}else o=n.caches[u];n.styles[u].d+=!0===r.hd?"":o,n.styles[u]._mdf=l||n.styles[u]._mdf}}function i(t,e,r){var n=e.style;(e.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,r){s(t,e,r),o(0,e,r)}function s(t,e,r){var n,i,a,s,o,l=e.gf,c=e.g._hasOpacity,u=e.s.v,h=e.e.v;if(e.o._mdf||r){var p="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(p,e.o.v)}if(e.s._mdf||r){var f=1===t.t?"x1":"cx",d="x1"===f?"y1":"cy";l.setAttribute(f,u[0]),l.setAttribute(d,u[1]),c&&!e.g._collapsable&&(e.of.setAttribute(f,u[0]),e.of.setAttribute(d,u[1]))}if(e.g._cmdf||r){n=e.cst;var m=e.g.c;for(a=n.length,i=0;i<a;i+=1)(s=n[i]).setAttribute("offset",m[4*i]+"%"),s.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(c&&(e.g._omdf||r)){var g=e.g.o;for(a=(n=e.g._collapsable?e.cst:e.ost).length,i=0;i<a;i+=1)s=n[i],e.g._collapsable||s.setAttribute("offset",g[2*i]+"%"),s.setAttribute("stop-opacity",g[2*i+1])}if(1===t.t)(e.e._mdf||r)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),c&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(u[0]-h[0],2)+Math.pow(u[1]-h[1],2)),l.setAttribute("r",o),c&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(u[0]-h[0],2)+Math.pow(u[1]-h[1],2)));var y=Math.atan2(h[1]-u[1],h[0]-u[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+e.a.v)*b+u[0],E=Math.sin(y+e.a.v)*b+u[1];l.setAttribute("fx",x),l.setAttribute("fy",E),c&&!e.g._collapsable&&(e.of.setAttribute("fx",x),e.of.setAttribute("fy",E))}}function o(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",e.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return i;case"gf":return s;case"gs":return a;case"st":return o;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r;default:return null}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var s,o=r.length;for(i=0;i<o;i+=1)r[i].closed||(s={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(s),r[i].elements.push(s))}function BaseElement(){}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,r){this.initElement(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),t.appendChild(r),this.matrixFilter=r,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var n,i=createNS("feMerge");t.appendChild(i),(n=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),i.appendChild(n),(n=createNS("feMergeNode")).setAttribute("in","f2"),i.appendChild(n)}}function SVGFillFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");t.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),this.matrixFilter=n;var i=createNS("feFuncR");i.setAttribute("type","table"),n.appendChild(i),this.feFuncR=i;var a=createNS("feFuncG");a.setAttribute("type","table"),n.appendChild(a),this.feFuncG=a;var s=createNS("feFuncB");s.setAttribute("type","table"),n.appendChild(s),this.feFuncB=s}function SVGProLevelsFilter(t,e){this.filterManager=e;var r=this.filterManager.effectElements,n=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),n=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function SVGDropShadowEffect(t,e){var r=e.container.globalData.renderConfig.filterSize;t.setAttribute("x",r.x),t.setAttribute("y",r.y),t.setAttribute("width",r.width),t.setAttribute("height",r.height),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("in","SourceAlpha"),n.setAttribute("result","drop_shadow_1"),n.setAttribute("stdDeviation","0"),this.feGaussianBlur=n,t.appendChild(n);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in","drop_shadow_1"),i.setAttribute("result","drop_shadow_2"),this.feOffset=i,t.appendChild(i);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,t.appendChild(a);var s=createNS("feComposite");s.setAttribute("in","drop_shadow_3"),s.setAttribute("in2","drop_shadow_2"),s.setAttribute("operator","in"),s.setAttribute("result","drop_shadow_4"),t.appendChild(s);var o,l=createNS("feMerge");t.appendChild(l),o=createNS("feMergeNode"),l.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(o)}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,n="_";for(e=0;e<r;e+=1)n+=t[e].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(t,e){for(var r,n=0,i=t.transforms.length,a=e;n<i&&!e;){if(t.transforms[n].transform.mProps._mdf){a=!0;break}n+=1}if(a)for(t.finalTransform.reset(),n=i-1;n>=0;n-=1)r=t.transforms[n].transform.mProps.v.props,t.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);t._mdf=a},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,r,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var i=createNS("mask");i.setAttribute("id",this.layerId),i.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),i.appendChild(this.layerElement),n=i,this.globalData.defs.appendChild(i),featureSupport.maskType||1!=this.data.td||(i.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),n=r,i.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var s=createNS("g");a.appendChild(s),t=createElementID(),e=filtersFactory.createFilter(t);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),e.appendChild(o);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),o.appendChild(l),this.globalData.defs.appendChild(e);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),s.setAttribute("filter","url("+locationHref+"#"+t+")"),s.appendChild(c),s.appendChild(this.layerElement),n=s,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),s.appendChild(c),r.appendChild(this.layerElement),n=r,s.appendChild(r)),this.globalData.defs.appendChild(a)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var u=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var p=createElementID();if(u.setAttribute("id",p),u.appendChild(h),this.globalData.defs.appendChild(u),this.checkMasks()){var f=createNS("g");f.setAttribute("clip-path","url("+locationHref+"#"+p+")"),f.appendChild(this.layerElement),this.transformedElement=f,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+p+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,n=e.length;r<n;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===t)return void(r[n].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,n,i=e.length,a="";for(r=0;r<i;r+=1)n=e[r].ks.k,a+=buildShapeString(n,n.i.length,!0,t);return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,n,i){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(n,i,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this.audio.volume(t)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,n=[],i="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(n.push(i),i=""):i+=t[e],e+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildNewText=function(){var t,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;e=o.length;var c,u=this.mHelper,h="",p=this.data.singleShape,f=0,d=0,m=!0,g=.001*r.tr*r.finalSize;if(!p||l||r.sz){var y,v,b=this.textSpans.length;for(t=0;t<e;t+=1)l&&p&&0!==t||(s=b>t?this.textSpans[t]:createNS(l?"path":"text"),b<=t&&(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=s,this.layerElement.appendChild(s)),s.style.display="inherit"),u.reset(),u.scale(r.finalSize/100,r.finalSize/100),p&&(o[t].n&&(f=-g,d+=r.yOffset,d+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,u,o[t].line,f,d),f+=o[t].l||0,f+=g),l?(c=(y=(v=this.globalData.fontManager.getCharData(r.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily))&&v.data||{}).shapes?y.shapes[0].it:[],p?h+=this.createPathShape(u,c):s.setAttribute("d",this.createPathShape(u,c))):(p&&s.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),s.textContent=o[t].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));p&&s&&s.setAttribute("d",h)}else{var x=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}x.setAttribute("text-anchor",E),x.setAttribute("letter-spacing",g);var k=this.buildTextContents(r.finalText);for(e=k.length,d=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(s=this.textSpans[t]||createNS("tspan")).textContent=k[t],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",x.appendChild(s),this.textSpans[t]=s,d+=r.finalLineHeight;this.layerElement.appendChild(x)}for(;t<this.textSpans.length;)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,n,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(r=i[t],n=this.textSpans[t],r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],o=!1,s.length=0,t=0;t<i;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(n)&&(s.push(e),o=e._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,n=new SVGStyleData(t,e),i=n.pElem;return"st"===t.ty?r=new SVGStrokeStyleData(this,t,n):"fl"===t.ty?r=new SVGFillStyleData(this,t,n):"gf"!==t.ty&&"gs"!==t.ty||(r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))),"st"!==t.ty&&"gs"!==t.ty||(i.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),i.setAttribute("fill-opacity","0"),1===t.lj&&i.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&i.setAttribute("fill-rule","evenodd"),t.ln&&i.setAttribute("id",t.ln),t.cl&&i.setAttribute("class",t.cl),t.bm&&(i.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(n),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),n=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var n=4;"rc"===t.ty?n=5:"el"===t.ty?n=6:"sr"===t.ty&&(n=7);var i=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,n,i,a,s){var o,l,c,u,h,p,f=[].concat(a),d=t.length-1,m=[],g=[];for(o=d;o>=0;o-=1){if((p=this.searchProcessedElement(t[o]))?e[o]=r[p-1]:t[o]._render=s,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)p?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],i),t[o]._render&&e[o].style.pElem.parentNode!==n&&n.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"===t[o].ty){if(p)for(c=e[o].it.length,l=0;l<c;l+=1)e[o].prevViewData[l]=e[o].it[l];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,i+1,f,s),t[o]._render&&e[o].gr.parentNode!==n&&n.appendChild(e[o].gr)}else"tr"===t[o].ty?(p||(e[o]=this.createTransformElement(t[o],n)),u=e[o].transform,f.push(u)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(p||(e[o]=this.createShapeElement(t[o],f,i)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty?(p?(h=e[o]).closed=!1:((h=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=h,this.shapeModifiers.push(h)),g.push(h)):"rp"===t[o].ty&&(p?(h=e[o]).closed=!0:(h=ShapeModifiers.getModifier(t[o].ty),e[o]=h,h.init(this,t,o,e),this.shapeModifiers.push(h),s=!1),g.push(h));this.addProcessedElement(t[o],o+1)}for(d=m.length,o=0;o<d;o+=1)m[o].closed=!0;for(d=g.length,o=0;o<d;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+n+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:e,i=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<n;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+locationHref+"#"+s+")");i[0];)o.appendChild(i[0]);this.elem.layerElement.appendChild(o),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,n,i=this.paths.length;for(e=0;e<i;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],n=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();a="0 0 0 "+l*s+" ";var c,u=l*(o-s),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,p=Math.floor(u/h);for(c=0;c<p;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*f[0])+","+bmFloor(255*f[1])+","+bmFloor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+e[0],a=n[1]+" "+r[1]+" "+e[1],s=n[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,n,i){for(var a,s,o=0,l=Math.min(t,e),c=Math.max(t,e),u=Array.call(null,{length:256}),h=0,p=i-n,f=e-t;o<=256;)s=(a=o/256)<=l?f<0?i:n:a>=c?f<0?n:i:n+p*Math.pow((a-t)/f,1/r),u[h]=s,h+=1,o+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(t){var e,r,n=t.data.ef?t.data.ef.length:0,i=createElementID(),a=filtersFactory.createFilter(i,!0),s=0;for(this.filters=[],e=0;e<n;e+=1)r=null,20===t.data.ef[e].ty?(s+=1,r=new SVGTintFilter(a,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(s+=1,r=new SVGFillFilter(a,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?r=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(s+=1,r=new SVGTritoneFilter(a,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(s+=1,r=new SVGProLevelsFilter(a,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(s+=1,r=new SVGDropShadowEffect(a,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?r=new SVGMatte3Effect(a,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(s+=1,r=new SVGGaussianBlurEffect(a,t.effectsManager.effectElements[e])),r&&this.filters.push(r);s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+locationHref+"#"+i+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVEffects(){}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,t.pe,0,0,this),t.ks.p.s?(this.px=n(this,t.ks.p.x,1,0,this),this.py=n(this,t.ks.p.y,1,0,this),this.pz=n(this,t.ks.p.z,1,0,this)):this.p=n(this,t.ks.p,1,0,this),t.ks.a&&(this.a=n(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var i,a=t.ks.or.k.length;for(i=0;i<a;i+=1)t.ks.or.k[i].to=null,t.ks.or.k[i].ti=null}this.or=n(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,t.ks.rx,0,degToRads,this),this.ry=n(this,t.ks.ry,0,degToRads,this),this.rz=n(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var n,i=r.children,a=0,s=i.length;a<s&&i[a]!==t.layerElement;)a+=1;a<=s-2&&(n=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+e),n?r.insertBefore(o,n):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",e.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var i=t.globalData.defs;i.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),i.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),n.appendChild(s),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,n=e.length;r<n;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,n=t.getContext("2d"),i=this.img.width,a=this.img.height,s=i/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?e=(r=a)*o:r=(e=i)/o,n.drawImage(this.img,(i-e)/2,(a-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,n,i=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),t=0;t<s;t+=1)if("n"!==this.masksProperties[t].mode){var o;this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),n=this.viewData[t].v,e=i.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(e[0],e[1]);var l=n._length;for(o=1;o<l;o+=1)r=i.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[o-1],n.i[0],n.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},n={};if("fl"===t.ty||"st"===t.ty?(n.c=PropertyFactory.getProp(this,t.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(n.s=PropertyFactory.getProp(this,t.s,1,null,this),n.e=PropertyFactory.getProp(this,t.e,1,null,this),n.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,t.g,this)),n.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],1==t.lj&&(r.ml=t.ml),n.w=PropertyFactory.getProp(this,t.w,0,null,this),n.w.k||(r.wi=n.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,n,i){var a,s,o,l,c,u,h=t.length-1,p=[],f=[],d=[].concat(i);for(a=h;a>=0;a-=1){if((l=this.searchProcessedElement(t[a]))?e[a]=r[l-1]:t[a]._shouldRender=n,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)l?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),p.push(e[a].style);else if("gr"===t[a].ty){if(l)for(o=e[a].it.length,s=0;s<o;s+=1)e[a].prevViewData[s]=e[a].it[s];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,n,d)}else"tr"===t[a].ty?(l||(u=this.createTransformElement(t[a]),e[a]=u),d.push(e[a]),this.addTransformToStyleList(e[a])):"sh"===t[a].ty||"rc"===t[a].ty||"el"===t[a].ty||"sr"===t[a].ty?l||(e[a]=this.createShapeElement(t[a])):"tm"===t[a].ty||"rd"===t[a].ty||"pb"===t[a].ty?(l?(c=e[a]).closed=!1:((c=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=c,this.shapeModifiers.push(c)),f.push(c)):"rp"===t[a].ty&&(l?(c=e[a]).closed=!0:(c=ShapeModifiers.getModifier(t[a].ty),e[a]=c,c.init(this,t,a,e),this.shapeModifiers.push(c),n=!1),f.push(c));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),h=f.length,a=0;a<h;a+=1)f[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,n,i,a,s,o,l,c=this.stylesList.length,u=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<c;t+=1)if(("st"!==(o=(l=this.stylesList[t]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),a=l.elements,"st"===o||"gs"===o?(h.strokeStyle="st"===o?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===o?l.co:l.grd,u.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&h.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),i=(s=a[e].trNodes).length,n=0;n<i;n+=1)"m"===s[n].t?h.moveTo(s[n].p[0],s[n].p[1]):"c"===s[n].t?h.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):h.closePath();"st"!==o&&"gs"!==o||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&h.fill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,n){var i,a;for(a=t,i=e.length-1;i>=0;i-=1)"tr"===e[i].ty?(a=r[i].transform,this.renderShapeTransform(t,a)):"sh"===e[i].ty||"el"===e[i].ty||"rc"===e[i].ty||"sr"===e[i].ty?this.renderPath(e[i],r[i]):"fl"===e[i].ty?this.renderFill(e[i],r[i],a):"st"===e[i].ty?this.renderStroke(e[i],r[i],a):"gf"===e[i].ty||"gs"===e[i].ty?this.renderGradientFill(e[i],r[i],a):"gr"===e[i].ty?this.renderShape(a,e[i].it,r[i].it):e[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,n,i,a=t.trNodes,s=e.paths,o=s._length;a.length=0;var l=t.transforms.finalTransform;for(i=0;i<o;i+=1){var c=s.shapes[i];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,n=e.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var n=e.style;(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var n,i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a,s=this.globalData.canvasContext,o=e.s.v,l=e.e.v;if(1===t.t)n=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),h=e.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var p=c*h,f=Math.cos(u+e.a.v)*p+o[0],d=Math.sin(u+e.a.v)*p+o[1];n=s.createRadialGradient(f,d,0,o[0],o[1],c)}var m=t.g.p,g=e.g.c,y=1;for(a=0;a<m;a+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*a+1]),n.addColorStop(g[4*a]/100,"rgba("+g[4*a+1]+","+g[4*a+2]+","+g[4*a+3]+","+y+")");i.grd=n}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(n.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var n,i,a,s,o,l,c,u,h,p,f,d,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,y=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,i=t.finalText.length;var v=this.data.singleShape,b=.001*t.tr*t.finalSize,x=0,E=0,k=!0,w=0;for(n=0;n<i;n+=1){for(s=(a=this.globalData.fontManager.getCharData(t.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&a.data||{},y.reset(),v&&g[n].n&&(x=-b,E+=t.yOffset,E+=k?1:0,k=!1),h=(c=s.shapes?s.shapes[0].it:[]).length,y.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,y,g[n].line,x,E),f=createSizedArray(h),u=0;u<h;u+=1){for(l=c[u].ks.k.i.length,p=c[u].ks.k,d=[],o=1;o<l;o+=1)1===o&&d.push(y.applyToX(p.v[0][0],p.v[0][1],0),y.applyToY(p.v[0][0],p.v[0][1],0)),d.push(y.applyToX(p.o[o-1][0],p.o[o-1][1],0),y.applyToY(p.o[o-1][0],p.o[o-1][1],0),y.applyToX(p.i[o][0],p.i[o][1],0),y.applyToY(p.i[o][0],p.i[o][1],0),y.applyToX(p.v[o][0],p.v[o][1],0),y.applyToY(p.v[o][0],p.v[o][1],0));d.push(y.applyToX(p.o[o-1][0],p.o[o-1][1],0),y.applyToY(p.o[o-1][0],p.o[o-1][1],0),y.applyToX(p.i[0][0],p.i[0][1],0),y.applyToY(p.i[0][0],p.i[0][1],0),y.applyToX(p.v[0][0],p.v[0][1],0),y.applyToY(p.v[0][0],p.v[0][1],0)),f[u]=d}v&&(x+=g[n].l,x+=b),this.textSpans[w]?this.textSpans[w].elem=f:this.textSpans[w]={elem:f},w+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,n,i,a,s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;e=c.length;var u,h,p=null,f=null,d=null;for(t=0;t<e;t+=1)if(!c[t].n){if((o=l[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?p!==o.fc&&(p=o.fc,s.fillStyle=o.fc):p!==this.values.fill&&(p=this.values.fill,s.fillStyle=this.values.fill),n=(u=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(h=u[r]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?d!==o.sw&&(d=o.sw,s.lineWidth=o.sw):d!==this.values.sWidth&&(d=this.values.sWidth,s.lineWidth=this.values.sWidth),o&&o.sc?f!==o.sc&&(f=o.sc,s.strokeStyle=o.sc):f!==this.values.stroke&&(f=this.values.stroke,s.strokeStyle=this.values.stroke),n=(u=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(h=u[r]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r,n=0;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,n,i,a,s,o=t.sh.v,l=t.transformers,c=o._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(n,i,a,s,e);o.c&&(n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(n,i,a,s,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,n,i){this.getBoundsOfCurve(t,e,r,n);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,n){for(var i,a,s,o,l,c,u,h=[[t[0],n[0]],[t[1],n[1]]],p=0;p<2;++p)a=6*t[p]-12*e[p]+6*r[p],i=-3*t[p]+9*e[p]-9*r[p]+3*n[p],s=3*e[p]-3*t[p],a|=0,s|=0,0==(i|=0)&&0===a||(0===i?(o=-s/a)>0&&o<1&&h[p].push(this.calculateF(o,t,e,r,n,p)):(l=a*a-4*s*i)>=0&&((c=(-a+bmSqrt(l))/(2*i))>0&&c<1&&h[p].push(this.calculateF(c,t,e,r,n,p)),(u=(-a-bmSqrt(l))/(2*i))>0&&u<1&&h[p].push(this.calculateF(u,t,e,r,n,p))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,r,n,i,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*n[a]+bmPow(t,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it&&this.calculateBoundingBox(t[r].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=i,n.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var n,i,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var s=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=s}var l,c,u,h=t.l;i=h.length;var p,f=this.mHelper,d="",m=0;for(n=0;n<i;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(t.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=y?y.data:null,f.reset(),g&&g.shapes&&(p=g.shapes[0].it,f.scale(t.finalSize/100,t.finalSize/100),d=this.createPathShape(f,p),l.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(u);var v=u.getBBox();u.setAttribute("width",v.width+2),u.setAttribute("height",v.height+2),u.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=u.style,x="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=x,b.webkitTransform=x,h[n].yOffset=v.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);c.appendChild(u)}}else if(l.textContent=h[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var E=l.style,k="translate3d(0,"+-t.finalSize/1.2+"px,0)";E.transform=k,E.webkitTransform=k}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,n,i,a,s,o=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],i=l[o],o+=1,i._mdf.m&&(this.isMasked?a.setAttribute("transform",i.m):(a.style.webkitTransform=i.m,a.style.transform=i.m)),a.style.opacity=i.o,i.sw&&i._mdf.sw&&s.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&s.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(s.setAttribute("fill",i.fc),s.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var h="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=h,t.webkitTransform=h}}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,n,i=this.comp.threeDElements.length;for(t=0;t<i;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){r=e.perspectiveElem.style,n=e.container.style;var a=this.pe.v+"px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,n.transformOrigin="0px 0px 0px",n.mozTransformOrigin="0px 0px 0px",n.webkitTransformOrigin="0px 0px 0px",r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var h,p,f;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(h=this.comp.threeDElements[t]).type){if(u){var d=this.mat.toCSS();(f=h.container.style).transform=d,f.webkitTransform=d}this.pe._mdf&&((p=h.perspectiveElem.style).perspective=this.pe.v+"px",p.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var t={},e=[],r=0,n=0,i=0,a=!0,s=!1;function o(t){for(var r=0,i=t.target;r<n;)e[r].animation===i&&(e.splice(r,1),r-=1,n-=1,i.isPaused||u()),r+=1}function l(t,r){if(!t)return null;for(var i=0;i<n;){if(e[i].elem===t&&null!==e[i].elem)return e[i].animation;i+=1}var a=new AnimationItem;return h(a,t),a.setData(t,r),a}function c(){i+=1,d()}function u(){i-=1}function h(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",c),t.addEventListener("_idle",u),e.push({elem:r,animation:t}),n+=1}function p(t){var o,l=t-r;for(o=0;o<n;o+=1)e[o].animation.advanceTime(l);r=t,i&&!s?window.requestAnimationFrame(p):a=!0}function f(t){r=t,window.requestAnimationFrame(p)}function d(){!s&&i&&a&&(window.requestAnimationFrame(f),a=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return h(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setSpeed(t,r)},t.setDirection=function(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=i.length;for(n=0;n<a;n+=1)r&&i[n].setAttribute("data-bm-type",r),l(i[n],t);if(e&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,t)}},t.resize=function(){var t;for(t=0;t<n;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,i){var a;for(a=0;a<n;a+=1)e[a].animation.goToAndStop(t,r,i)},t.destroy=function(t){var r;for(r=n-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){s=!0},t.unfreeze=function(){s=!1,d()},t.setVolume=function(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n.push(e[t].animation);return n},t}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";switch(t.animType?e=t.animType:t.renderer&&(e=t.renderer),e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!=typeof e&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},n=t.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===i?r.loop=!1:"true"===i?r.loop=!0:""!==i&&(r.loop=parseInt(i,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,n=this.animationData.layers,i=n.length,a=t.layers,s=a.length;for(r=0;r<s;r+=1)for(e=0;e<i;){if(n[e].id===a[r].id){n[e]=a[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,e=0;e<i;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t,expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var n=Number(t);if(isNaN(n)){var i=this.getMarkerData(t);i&&this.goToAndStop(i.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var n=Number(t);if(isNaN(n)){var i=this.getMarkerData(t);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var r,n=t.length;for(r=0;r<n;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":case"drawnFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions=function(){var t={initExpressions:function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}}};return t}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,n=t.length,i=[];for(r=0;r<n;r+=1)i[r]=-t[r];return i}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=typeof t,n=typeof e;if("string"===r||"string"===n)return t+e;if(isNumerable(r,t)&&isNumerable(n,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,a=t.length,s=e.length,o=[];i<a||i<s;)("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?o[i]=t[i]+e[i]:o[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return o}return 0}var add=sum;function sub(t,e){var r=typeof t,n=typeof e;if(isNumerable(r,t)&&isNumerable(n,e))return"string"===r&&(t=parseInt(t,10)),"string"===n&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,a=t.length,s=e.length,o=[];i<a||i<s;)("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?o[i]=t[i]-e[i]:o[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return o}return 0}function mul(t,e){var r,n,i,a=typeof t,s=typeof e;if(isNumerable(a,t)&&isNumerable(s,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t[n]*e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t*e[n];return r}return 0}function div(t,e){var r,n,i,a=typeof t,s=typeof e;if(isNumerable(a,t)&&isNumerable(s,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t[n]/e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t/e[n];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var n=r;r=e,e=n}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var n=Math.min(t.length,e.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(e[r]-t[r],2);return Math.sqrt(i)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,n=t[0],i=t[1],a=t[2],s=Math.max(n,i,a),o=Math.min(n,i,a),l=(s+o)/2;if(s===o)e=0,r=0;else{var c=s-o;switch(r=l>.5?c/(2-s-o):c/(s+o),s){case n:e=(i-a)/c+(i<a?6:0);break;case i:e=(a-n)/c+2;break;case a:e=(n-i)/c+4}e/=6}return[e,r,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,n,i=t[0],a=t[1],s=t[2];if(0===a)e=s,n=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;e=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[e,r,n,t[3]]}function linear(t,e,r,n,i){if(void 0!==n&&void 0!==i||(n=e,i=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return n;if(t>=r)return i;var s,o=r===e?0:(t-e)/(r-e);if(!n.length)return n+(i-n)*o;var l=n.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=n[s]+(i[s]-n[s])*o;return c}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,n=e.length;t||(t=createTypedArray("float32",n));var i=createTypedArray("float32",n),a=BMMath.random();for(r=0;r<n;r+=1)i[r]=t[r]+a*(e[r]-t[r]);return i}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,n){var i,a=t.length,s=shapePool.newElement();s.setPathData(!!n,a);var o,l,c=[0,0];for(i=0;i<a;i+=1)o=e&&e[i]?e[i]:c,l=r&&r[i]?r[i]:c,s.setTripleAt(t[i][0],t[i][1],l[0]+t[i][0],l[1]+t[i][1],o[0]+t[i][0],o[1]+t[i][1],i,!0);return s}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,n,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<i;n+=1)a[n]+=-e+2*e*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),c=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)c[n]=this.pv[n]+a[n]+(-e+2*e*BMMath.random())*l;return c}return this.pv+a[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(t,e,r,n,i){return applyEase(easeOutBez,t,e,r,n,i)}function easeIn(t,e,r,n,i){return applyEase(easeInBez,t,e,r,n,i)}function ease(t,e,r,n,i){return applyEase(easeInOutBez,t,e,r,n,i)}function applyEase(t,e,r,n,i,a){void 0===i?(i=r,a=n):e=(e-r)/(n-r),e>1?e=1:e<0&&(e=0);var s=t(e);if($bm_isInstanceOfArray(i)){var o,l=i.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(a[o]-i[o])*s+i[o];return c}return(a-i)*s+i}function nearestKey(t){var e,r,n,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(e=0;e<i-1;e+=1){if(t===data.k[e].t){r=e+1,n=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,n=data.k[e+1].t):(r=e+1,n=data.k[e].t);break}}-1===r&&(r=e+1,n=data.k[e].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(t){var e,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(n=i.length,r=0;r<n;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),n=0;if(e.length){var i;for(i=0;i<e.length;i+=1)n+=Math.pow(r[i]-e[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,n=this.getValueAtTime(t),i=this.getValueAtTime(t+-.001);if(n.length)for(e=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)e[r]=(i[r]-n[r])/-.001;else e=(i-n)/-.001;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};!function(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(l<=u)return this.pv;if(r?i=u-(n=e?Math.abs(u-this.elem.comp.globalData.frameRate*e):Math.max(0,u-this.elem.data.ip)):((!e||e>c.length-1)&&(e=c.length-1),n=u-(i=c[c.length-1-e].t)),"pingpong"===t){if(Math.floor((l-i)/n)%2!=0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/n);if(this.pv.length){for(s=(o=new Array(h.length)).length,a=0;a<s;a+=1)o[a]=(p[a]-h[a])*d+f[a];return o}return(p-h)*d+f}if("continue"===t){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*((l-u)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-u)/.001*(m-g)}}return this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(l>=u)return this.pv;if(r?i=u+(n=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-u)):((!e||e>c.length-1)&&(e=c.length-1),n=(i=c[e].t)-u),"pingpong"===t){if(Math.floor((u-l)/n)%2==0)return this.getValueAtTime(((u-l)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0),d=Math.floor((u-l)/n)+1;if(this.pv.length){for(s=(o=new Array(h.length)).length,a=0;a<s;a+=1)o[a]=f[a]-(p[a]-h[a])*d;return o}return f-(p-h)*d}if("continue"===t){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*(u-l)/.001;return o}return m+(m-g)*(u-l)/.001}}return this.getValueAtTime((n-((u-l)%n+u))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,a=i-t,s=e>1?(i+t-a)/(e-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(n=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=e;else r/=e;return r}function n(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(t);e.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(t),a=this.sa.getValueAtTime(t);e.skewFromAxis(-i*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(t);e.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),c=this.rx.getValueAtTime(t),u=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var h=this.px.getValueAtTime(t),p=this.py.getValueAtTime(t);if(this.data.p.z){var f=this.pz.getValueAtTime(t);e.translate(h*this.px.mult,p*this.py.mult,-f*this.pz.mult)}else e.translate(h*this.px.mult,p*this.py.mult,0)}else{var d=this.p.getValueAtTime(t);e.translate(d[0]*this.p.mult,d[1]*this.p.mult,-d[2]*this.p.mult)}return e}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var s=a(t,e,r);return s.dynamicProperties.length?s.getValueAtTime=n.bind(s):s.getValueAtTime=i.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(n,i,a,o,l){var c=s(n,i,a,o,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=t,c.loopIn=e,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var u=0;return 0!==a&&(u=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,i,c),c.k&&l.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var r,n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0));var i=n._length,a=n[t],s=n.v,o=createSizedArray(i);for(r=0;r<i;r+=1)o[r]="i"===t||"o"===t?[a[r][0]-s[r][0],a[r][1]-s[r][1]]:[a[r][0],a[r][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,i=this._segmentsLength,a=i.lengths,s=i.totalLength*t,o=0,l=a.length,c=0;o<l;){if(c+a[o].addedLength>s){var u=o,h=r.c&&o===l-1?0:o+1,p=(s-c)/a[o].addedLength;n=bez.getPointInSegment(r.v[u],r.v[h],r.o[u],r.i[h],p,a[o]);break}c+=a[o].addedLength,o+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var n=this.pointOnPath(t,e),i=this.pointOnPath(t+.001,e),a=i[0]-n[0],s=i[1]-n[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],o),extendPrototype([c],l),l.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,n,i){var a=u(t,e,r,n,i);return a.propertyIndex=e.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,a):4===r&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}(),TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var n={};return this.copyData(n,t),n.t=r.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null};var ShapePathInterface=function(t,e,r){var n=e.sh;function i(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?i.path:null}var a=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),i},propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},ShapeExpressionInterface=function(){function t(t,s,p){var f,d=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"===t[f].ty?d.push(e(t[f],s[f],p)):"fl"===t[f].ty?d.push(r(t[f],s[f],p)):"st"===t[f].ty?d.push(i(t[f],s[f],p)):"tm"===t[f].ty?d.push(a(t[f],s[f],p)):"tr"===t[f].ty||("el"===t[f].ty?d.push(o(t[f],s[f],p)):"sr"===t[f].ty?d.push(l(t[f],s[f],p)):"sh"===t[f].ty?d.push(ShapePathInterface(t[f],s[f],p)):"rc"===t[f].ty?d.push(c(t[f],s[f],p)):"rd"===t[f].ty?d.push(u(t[f],s[f],p)):"rp"===t[f].ty?d.push(h(t[f],s[f],p)):"gf"===t[f].ty?d.push(n(t[f],s[f],p)):d.push((t[f],s[f],function(){return null})));return d}function e(e,r,n){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,n);var a=function(e,r,n){var i,a=function(t){for(var e=0,r=i.length;e<r;){if(i[e]._name===t||i[e].mn===t||i[e].propertyIndex===t||i[e].ix===t||i[e].ind===t)return i[e];e+=1}return"number"==typeof t?i[t-1]:null};a.propertyGroup=propertyGroupFactory(a,n),i=t(e.it,r.it,a.propertyGroup),a.numProperties=i.length;var o=s(e.it[e.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=e.cix,a._name=e.nm,a}(e,r,i.propertyGroup),o=s(e.it[e.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=a,i.transform=o,Object.defineProperty(i,"_name",{get:function(){return e.nm}}),i.numProperties=e.np,i.propertyIndex=e.ix,i.nm=e.nm,i.mn=e.mn,i}function r(t,e,r){function n(t){return"Color"===t||"color"===t?n.color:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(t,e,r){function n(t){return"Start Point"===t||"start point"===t?n.startPoint:"End Point"===t||"end point"===t?n.endPoint:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function i(t,e,r){var n,i=propertyGroupFactory(c,r),a=propertyGroupFactory(l,i);function s(r){Object.defineProperty(l,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var o=t.d?t.d.length:0,l={};for(n=0;n<o;n+=1)s(n),e.d.dataProps[n].p.setGroupProperty(a);function c(t){return"Color"===t||"color"===t?c.color:"Opacity"===t||"opacity"===t?c.opacity:"Stroke Width"===t||"stroke width"===t?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),e.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function a(t,e,r){function n(e){return e===t.e.ix||"End"===e||"end"===e?n.end:e===t.s.ix?n.start:e===t.o.ix?n.offset:null}var i=propertyGroupFactory(n,r);return n.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",i)),e.e.setGroupProperty(PropertyInterface("End",i)),e.o.setGroupProperty(PropertyInterface("Offset",i)),n.propertyIndex=t.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),n.mn=t.mn,n}function s(t,e,r){function n(e){return t.a.ix===e||"Anchor Point"===e?n.anchorPoint:t.o.ix===e||"Opacity"===e?n.opacity:t.p.ix===e||"Position"===e?n.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?n.rotation:t.s.ix===e||"Scale"===e?n.scale:t.sk&&t.sk.ix===e||"Skew"===e?n.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?n.skewAxis:null}var i=propertyGroupFactory(n,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),n.ty="tr",n.mn=t.mn,n.propertyGroup=r,n}function o(t,e,r){function n(e){return t.p.ix===e?n.position:t.s.ix===e?n.size:null}var i=propertyGroupFactory(n,r);n.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;return a.s.setGroupProperty(PropertyInterface("Size",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),n.mn=t.mn,n}function l(t,e,r){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.rotation:t.pt.ix===e?n.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?n.outerRadius:t.os.ix===e?n.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?n.innerRoundness:null:n.innerRadius}var i=propertyGroupFactory(n,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",i)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),a.pt.setGroupProperty(PropertyInterface("Points",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),t.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),n.mn=t.mn,n}function c(t,e,r){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?n.size:null}var i=propertyGroupFactory(n,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,a.p.setGroupProperty(PropertyInterface("Position",i)),a.s.setGroupProperty(PropertyInterface("Size",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),n.mn=t.mn,n}function u(t,e,r){function n(e){return t.r.ix===e||"Round Corners 1"===e?n.radius:null}var i=propertyGroupFactory(n,r),a=e;return n.propertyIndex=t.ix,a.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),n.mn=t.mn,n}function h(t,e,r){function n(e){return t.c.ix===e||"Copies"===e?n.copies:t.o.ix===e||"Offset"===e?n.offset:null}var i=propertyGroupFactory(n,r),a=e;return n.propertyIndex=t.ix,a.c.setGroupProperty(PropertyInterface("Copies",i)),a.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),n.mn=t.mn,n}return function(e,r,n){var i;function a(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?n:i[t-1];for(var e=0,r=i.length;e<r;){if(i[e]._name===t)return i[e];e+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return n})),i=t(e,r,a.propertyGroup),a.numProperties=i.length,a._name="Contents",a}}(),TextExpressionInterface=function(t){var e;function r(t){switch(t){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return void 0!==r&&(t.textProperty.currentData.t=void 0,(e=new String(r)).value=r||new String(r)),e}}),r},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function s(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(c){var u;function h(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return h.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return h.effect;case"ADBE Text Properties":return h.textInterface;default:return null}}h.getMatrix=t,h.invertPoint=s,h.applyPoint=a,h.toWorld=r,h.toWorldVec=e,h.fromWorld=i,h.fromWorldVec=n,h.toComp=r,h.fromComp=o,h.sampleImage=l,h.sourceRectAtTime=c.sourceRectAtTime.bind(c),h._elem=c;var p=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(h,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),h.startTime=c.data.st,h.index=c.data.ind,h.source=c.data.refId,h.height=0===c.data.ty?c.data.h:100,h.width=0===c.data.ty?c.data.w:100,h.inPoint=c.data.ip/c.comp.globalData.frameRate,h.outPoint=c.data.op/c.comp.globalData.frameRate,h._name=c.data.nm,h.registerMaskInterface=function(t){h.mask=new MaskManagerInterface(t,c)},h.registerEffectsInterface=function(t){h.effect=t},h}}(),FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function n(t){if(r[t])return e=t,"object"==typeof(r=r[t])?n:r;var i=t.indexOf(e);if(-1!==i){var a=parseInt(t.substr(i+e.length),10);return"object"==typeof(r=r[a])?n:r}return""}return function(){return e="",r=t.getFootageData(),n}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,CompExpressionInterface=function(t){function e(e){for(var r=0,n=t.layers.length;r<n;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,n,i,a;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),n=ExpressionPropertyInterface(t.py),t.pz&&(i=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),n(),i?i():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),EffectsExpressionInterface=function(){function t(r,n,i,a){function s(t){for(var e=r.ef,n=0,i=e.length;n<i;){if(t===e[n].nm||t===e[n].mn||t===e[n].ix)return 5===e[n].ty?c[n]:c[n]();n+=1}throw new Error}var o,l=propertyGroupFactory(s,i),c=[],u=r.ef.length;for(o=0;o<u;o+=1)5===r.ef[o].ty?c.push(t(r.ef[o],n.effectElements[o],n.effectElements[o].propertyGroup,a)):c.push(e(n.effectElements[o],r.ef[o].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function e(t,e,r,n){var i=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===e?r.comp.compInterface(t.p.v):i()}}return{createEffectsInterface:function(e,r){if(e.effectsManager){var n,i=[],a=e.data.ef,s=e.effectsManager.effectElements.length;for(n=0;n<s;n+=1)i.push(t(a[n],e.effectsManager.effectElements[n],r,e));var o=e.data.ef||[],l=function(t){for(n=0,s=o.length;n<s;){if(t===o[n].nm||t===o[n].mn||t===o[n].ix)return i[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var r,n=createSizedArray(e.viewData.length),i=e.viewData.length;for(r=0;r<i;r+=1)n[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<i;){if(e.masksProperties[r].nm===t)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(n){if(!t.numKeys)return 0;var i;i="s"in e.keyframes[n-1]?e.keyframes[n-1].s:"e"in e.keyframes[n-2]?e.keyframes[n-2].e:e.keyframes[n-2].s;var a="unidimensional"===r?new Number(i):Object.assign({},i);return a.time=e.keyframes[n-1].t/e.elem.comp.globalData.frameRate,a.value="unidimensional"===r?i[0]:i,a},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function n(){return t}return function(i){return i?"unidimensional"===i.propType?function(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.pv*n,a=new Number(i);return a.value=i,r(a,e,"unidimensional"),function(){return e.k&&e.getValue(),i=e.v*n,a.value!==i&&((a=new Number(i)).value=i,r(a,e,"unidimensional")),a}}(i):function(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.data&&t.data.l||t.pv.length,a=createTypedArray("float32",i),s=createTypedArray("float32",i);return a.value=s,r(a,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<i;e+=1)s[e]=t.v[e]*n,a[e]=s[e];return a}}(i):n}}(),TextExpressionSelectorPropFactory=function(){function t(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(e,r){this.pv=1,this.comp=e.comp,this.elem=e,this.mult=.01,this.propType="textSelector",this.textTotal=r.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(e,r,this),this.getMult=t,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,n=t.ef||[];this.effectElements=[];var i,a=n.length;for(r=0;r<a;r+=1)i=new GroupEffect(n[r],e),this.effectElements.push(i)}function GroupEffect(t,e){this.init(t,e)}TextSelectorProp.getTextSelectorProp=function(t,e,r){return 1===e.t?new TextExpressionSelectorPropFactory(t,e,r):propertyGetTextProp(t,e,r)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var n,i=this.data.ef.length,a=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,a[r].ty){case 0:n=new SliderEffect(a[r],e,this);break;case 1:n=new AngleEffect(a[r],e,this);break;case 2:n=new ColorEffect(a[r],e,this);break;case 3:n=new PointEffect(a[r],e,this);break;case 4:case 7:n=new CheckboxEffect(a[r],e,this);break;case 10:n=new LayerIndexEffect(a[r],e,this);break;case 11:n=new MaskIndexEffect(a[r],e,this);break;case 5:n=new EffectsManager(a[r],e,this);break;default:n=new NoValueEffect(a[r],e,this)}n&&this.effectElements.push(n)}};var lottie={};function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function setIDPrefix(t){idPrefix=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":defaultCurveSegments=200;break;default:case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(t)&&t>1&&(defaultCurveSegments=t);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var n=e[r].split("=");if(decodeURIComponent(n[0])==t)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=function(t){_useWebWorker=t},lottie.setIDPrefix=setIDPrefix,lottie.__getFactory=getFactory,lottie.version="5.8.1";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="",queryString;if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src.replace(/^[^\?]+\??/,""),renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottie}))},function(t){t.exports=JSON.parse('{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.20","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":119,"w":500,"h":500,"nm":"site","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Layer 3 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-112.987,131.818,0],"ix":2},"a":{"a":0,"k":[9.342,9.342,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":4,"s":[0,0,100]},{"t":8,"s":[100,100,100]}],"ix":6,"x":"var $bm_rt;\\nvar n, n, t, t, v, amp, freq, decay;\\n$bm_rt = n = 0;\\nif (numKeys > 0) {\\n $bm_rt = n = nearestKey(time).index;\\n if (key(n).time > time) {\\n n--;\\n }\\n}\\nif (n == 0) {\\n $bm_rt = t = 0;\\n} else {\\n $bm_rt = t = $bm_sub(time, key(n).time);\\n}\\nif (n > 0) {\\n v = velocityAtTime($bm_sub(key(n).time, $bm_div(thisComp.frameDuration, 10)));\\n amp = 0.05;\\n freq = 2;\\n decay = 5;\\n $bm_rt = $bm_sum(value, $bm_div($bm_mul($bm_mul(v, amp), Math.sin($bm_mul($bm_mul($bm_mul(freq, t), 2), Math.PI))), Math.exp($bm_mul(decay, t))));\\n} else {\\n $bm_rt = value;\\n}"}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.01,-5.016],[5.016,-0.01],[0.011,5.016],[-5.016,0.01]],"o":[[0.01,5.016],[-5.016,0.01],[-0.01,-5.016],[5.016,-0.011]],"v":[[9.082,-0.019],[0.019,9.082],[-9.082,0.02],[-0.019,-9.082]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[9.342,9.343],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":119,"st":4,"bm":0},{"ddd":0,"ind":3,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Layer 4 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-44.158,131.676,0],"ix":2},"a":{"a":0,"k":[55.121,5.122,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":5,"s":[0,100,100]},{"t":15,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.004,2.477],[0,0],[-2.477,0.005],[0,0],[-0.006,-2.477],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.477]],"v":[[50.39,4.659],[-50.37,4.867],[-54.864,0.391],[-54.866,-0.165],[-50.39,-4.659],[50.37,-4.867],[54.866,-0.391],[54.867,0.165]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[55.121,5.122],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":5,"op":119,"st":5,"bm":0},{"ddd":0,"ind":5,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Layer 5 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":18,"s":[98.188,117.519,0],"to":[0,7.333,0],"ti":[0,-7.333,0]},{"t":38,"s":[98.188,161.519,0]}],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":18,"s":[100,0,100]},{"t":38,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.092,-0.008],[0,0],[0.009,4.09],[0,0],[-4.09,0.008],[0,0],[-0.007,-4.091],[0,0]],"o":[[0,0],[-4.091,0.008],[0,0],[-0.008,-4.091],[0,0],[4.092,-0.009],[0,0],[0.008,4.09]],"v":[[64.321,34.868],[-64.176,35.135],[-71.599,27.743],[-71.713,-27.446],[-64.321,-34.869],[64.176,-35.133],[71.599,-27.742],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.393],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":18,"op":123,"st":18,"bm":0},{"ddd":0,"ind":7,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Layer 6 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-108.233,200.976,0],"ix":2},"a":{"a":0,"k":[14.041,50.652,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.008,3.464],[0,0],[-3.5,0.007],[0,0]],"o":[[0,0],[-3.464,0.007],[0,0],[-0.008,-3.501],[0,0],[0,0]],"v":[[13.792,50.351],[-7.316,50.395],[-13.603,44.135],[-13.784,-43.996],[-7.458,-50.348],[13.667,-50.402]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.041,50.653],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Layer 7 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-67.538,200.9,0],"ix":2},"a":{"a":0,"k":[54.735,50.718,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.084,0],[0,0],[0,0],[-0.008,-4.092],[0,0],[-4.084,0],[0,0],[0,0],[0.009,4.091],[0,0]],"o":[[0,0],[0,0],[-4.091,0.008],[0,0],[0.009,4.086],[0,0],[0,0],[4.091,-0.008],[0,0],[-0.009,-4.086]],"v":[[46.892,-50.469],[46.876,-50.469],[-47.084,-50.275],[-54.476,-42.852],[-54.299,43.077],[-46.892,50.469],[-46.876,50.469],[47.083,50.274],[54.476,42.852],[54.299,-43.076]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.008,-3.398],[0,0],[1.164,-1.169],[1.65,-0.004],[0,0],[0.006,3.398],[0,0],[-1.164,1.169],[-1.649,0.004],[0,0]],"o":[[0,0],[3.398,0],[0,0],[0.003,1.65],[-1.163,1.168],[0,0],[-3.398,0],[0,0],[-0.003,-1.65],[1.164,-1.169],[0,0],[0,0]],"v":[[46.892,-50.469],[46.892,-49.236],[53.066,-43.073],[53.243,42.854],[51.443,47.225],[47.081,49.043],[-46.892,49.236],[-53.066,43.074],[-53.244,-42.854],[-51.444,-47.224],[-47.082,-49.042],[46.88,-49.236]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.735,50.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Layer 8 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.332,233.613,0],"ix":2},"a":{"a":0,"k":[71.911,5.157,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":60,"s":[0,100,100]},{"t":70,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.006],[0,0],[0.006,2.477],[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.476,0.006],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[67.182,4.624],[-67.161,4.9],[-71.655,0.426],[-71.656,-0.131],[-67.18,-4.625],[67.161,-4.902],[71.656,-0.427],[71.658,0.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.911,5.157],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":60,"op":119,"st":60,"bm":0},{"ddd":0,"ind":13,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Layer 9 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.16,276.976,0],"ix":2},"a":{"a":0,"k":[68.492,5.149,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":84,"s":[0,100,100]},{"t":94,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.005,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":84,"op":119,"st":84,"bm":0},{"ddd":0,"ind":15,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Layer 10 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.119,296.67,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":92,"s":[0,100,100]},{"t":102,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.005,2.478],[0,0],[-2.478,0.005],[0,0],[-0.005,-2.477],[0,0]],"o":[[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.476]],"v":[[63.761,4.631],[-63.742,4.894],[-68.236,0.418],[-68.237,-0.138],[-63.761,-4.632],[63.741,-4.895],[68.236,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":92,"op":119,"st":92,"bm":0},{"ddd":0,"ind":17,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Layer 11 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.079,316.364,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":101,"s":[0,100,100]},{"t":111,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.006,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":101,"op":119,"st":101,"bm":0},{"ddd":0,"ind":19,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":20,"ty":4,"nm":"Layer 1 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":92,"s":[98.468,243.97,0],"to":[0,9.167,0],"ti":[0,-9.167,0]},{"t":112,"s":[98.468,298.97,0]}],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":92,"s":[100,0,100]},{"t":112,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.091,-0.009],[0,0],[0.009,4.091],[0,0],[-4.09,0.008],[0,0],[-0.008,-4.091],[0,0]],"o":[[0,0],[-4.091,0.007],[0,0],[-0.009,-4.092],[0,0],[4.091,-0.008],[0,0],[0.008,4.091]],"v":[[64.322,34.869],[-64.177,35.135],[-71.6,27.742],[-71.712,-27.445],[-64.322,-34.868],[64.176,-35.134],[71.599,-27.741],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.392],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":21,"ty":3,"nm":"Null 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[250,250,0],"to":[0,-37.5,0],"ti":[0,37.5,0]},{"t":119,"s":[250,25,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":22,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":23,"ty":4,"nm":"Layer 3 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-112.987,-93.182,0],"ix":2},"a":{"a":0,"k":[9.342,9.342,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.01,-5.016],[5.016,-0.01],[0.011,5.016],[-5.016,0.01]],"o":[[0.01,5.016],[-5.016,0.01],[-0.01,-5.016],[5.016,-0.011]],"v":[[9.082,-0.019],[0.019,9.082],[-9.082,0.02],[-0.019,-9.082]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[9.342,9.343],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":24,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":25,"ty":4,"nm":"Layer 4 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-44.158,-93.324,0],"ix":2},"a":{"a":0,"k":[55.121,5.122,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.004,2.477],[0,0],[-2.477,0.005],[0,0],[-0.006,-2.477],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.477]],"v":[[50.39,4.659],[-50.37,4.867],[-54.864,0.391],[-54.866,-0.165],[-50.39,-4.659],[50.37,-4.867],[54.866,-0.391],[54.867,0.165]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[55.121,5.122],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":26,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":27,"ty":4,"nm":"Layer 5 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.188,-63.481,0],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.092,-0.008],[0,0],[0.009,4.09],[0,0],[-4.09,0.008],[0,0],[-0.007,-4.091],[0,0]],"o":[[0,0],[-4.091,0.008],[0,0],[-0.008,-4.091],[0,0],[4.092,-0.009],[0,0],[0.008,4.09]],"v":[[64.321,34.868],[-64.176,35.135],[-71.599,27.743],[-71.713,-27.446],[-64.321,-34.869],[64.176,-35.133],[71.599,-27.742],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.393],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":28,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":29,"ty":4,"nm":"Layer 6 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-108.233,-24.024,0],"ix":2},"a":{"a":0,"k":[14.041,50.652,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.008,3.464],[0,0],[-3.5,0.007],[0,0]],"o":[[0,0],[-3.464,0.007],[0,0],[-0.008,-3.501],[0,0],[0,0]],"v":[[13.792,50.351],[-7.316,50.395],[-13.603,44.135],[-13.784,-43.996],[-7.458,-50.348],[13.667,-50.402]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.041,50.653],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":30,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":31,"ty":4,"nm":"Layer 7 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-67.538,-24.1,0],"ix":2},"a":{"a":0,"k":[54.735,50.718,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.084,0],[0,0],[0,0],[-0.008,-4.092],[0,0],[-4.084,0],[0,0],[0,0],[0.009,4.091],[0,0]],"o":[[0,0],[0,0],[-4.091,0.008],[0,0],[0.009,4.086],[0,0],[0,0],[4.091,-0.008],[0,0],[-0.009,-4.086]],"v":[[46.892,-50.469],[46.876,-50.469],[-47.084,-50.275],[-54.476,-42.852],[-54.299,43.077],[-46.892,50.469],[-46.876,50.469],[47.083,50.274],[54.476,42.852],[54.299,-43.076]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.008,-3.398],[0,0],[1.164,-1.169],[1.65,-0.004],[0,0],[0.006,3.398],[0,0],[-1.164,1.169],[-1.649,0.004],[0,0]],"o":[[0,0],[3.398,0],[0,0],[0.003,1.65],[-1.163,1.168],[0,0],[-3.398,0],[0,0],[-0.003,-1.65],[1.164,-1.169],[0,0],[0,0]],"v":[[46.892,-50.469],[46.892,-49.236],[53.066,-43.073],[53.243,42.854],[51.443,47.225],[47.081,49.043],[-46.892,49.236],[-53.066,43.074],[-53.244,-42.854],[-51.444,-47.224],[-47.082,-49.042],[46.88,-49.236]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.735,50.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":32,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":33,"ty":4,"nm":"Layer 8 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.332,8.613,0],"ix":2},"a":{"a":0,"k":[71.911,5.157,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.006],[0,0],[0.006,2.477],[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.476,0.006],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[67.182,4.624],[-67.161,4.9],[-71.655,0.426],[-71.656,-0.131],[-67.18,-4.625],[67.161,-4.902],[71.656,-0.427],[71.658,0.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.911,5.157],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":34,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":35,"ty":4,"nm":"Layer 9 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.16,51.976,0],"ix":2},"a":{"a":0,"k":[68.492,5.149,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.005,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":36,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":37,"ty":4,"nm":"Layer 10 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.119,71.67,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.005,2.478],[0,0],[-2.478,0.005],[0,0],[-0.005,-2.477],[0,0]],"o":[[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.476]],"v":[[63.761,4.631],[-63.742,4.894],[-68.236,0.418],[-68.237,-0.138],[-63.761,-4.632],[63.741,-4.895],[68.236,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":38,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":39,"ty":4,"nm":"Layer 11 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.079,91.364,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.006,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":40,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":41,"ty":4,"nm":"Layer 1 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.468,73.97,0],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.091,-0.009],[0,0],[0.009,4.091],[0,0],[-4.09,0.008],[0,0],[-0.008,-4.091],[0,0]],"o":[[0,0],[-4.091,0.007],[0,0],[-0.009,-4.092],[0,0],[4.091,-0.008],[0,0],[0.008,4.091]],"v":[[64.322,34.869],[-64.177,35.135],[-71.6,27.742],[-71.712,-27.445],[-64.322,-34.868],[64.176,-35.134],[71.599,-27.741],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.392],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":42,"ty":4,"nm":"Layer 12 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250.038,250.001,0],"ix":2},"a":{"a":0,"k":[194.843,132.395,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.937,0],[0.007,0],[0,0],[-0.01,-4.947],[0,0],[-4.939,0],[0,0],[0,0],[0.01,4.946],[0,0]],"o":[[-0.006,0],[0,0],[-4.946,0.009],[0,0],[0.01,4.94],[0,0],[0,0],[4.947,-0.009],[0,0],[-0.011,-4.94]],"v":[[185.12,-132.145],[185.1,-132.145],[-185.646,-131.379],[-194.584,-122.405],[-194.076,123.208],[-185.12,132.145],[-185.102,132.145],[185.644,131.38],[194.583,122.406],[194.076,-123.207]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[-0.007,-3.572],[0,0],[3.58,-0.008],[0,0],[0.007,3.572],[0,0],[-3.58,0.007],[0,0]],"o":[[3.571,0],[0,0],[0.008,3.58],[0,0],[-3.572,0],[0,0],[-0.007,-3.58],[0,0],[0,0]],"v":[[185.121,-129.681],[191.611,-123.202],[192.118,122.411],[185.64,128.917],[-185.12,129.68],[-191.613,123.203],[-192.119,-122.41],[-185.64,-128.915],[185.1,-129.681]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.1450980392156863,0.38823529411764707,0.9215686274509803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.843,132.395],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":43,"ty":4,"nm":"Layer 2 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[249.947,250,0],"ix":2},"a":{"a":0,"k":[194.843,132.406,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.935,-0.002],[0,0],[0.002,0.935],[0,0],[-0.935,0.002],[0,0],[-0.001,-0.934],[0,0]],"o":[[0,0],[-0.935,0.002],[0,0],[-0.002,-0.935],[0,0],[0.934,-0.001],[0,0],[0.002,0.935]],"v":[[20.118,1.755],[-20.111,1.838],[-21.805,0.149],[-21.807,-0.059],[-20.117,-1.756],[20.111,-1.839],[21.805,-0.15],[21.807,0.059]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.276,92.986],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.935,-0.001],[0,0],[0.002,0.934],[0,0],[-0.935,0.002],[0,0],[-0.001,-0.935],[0,0]],"o":[[0,0],[-0.935,0.002],[0,0],[-0.002,-0.935],[0,0],[0.935,-0.002],[0,0],[0.002,0.935]],"v":[[20.118,1.755],[-20.11,1.838],[-21.806,0.15],[-21.806,-0.059],[-20.117,-1.756],[20.11,-1.839],[21.806,-0.15],[21.806,0.059]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.26,85.305],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.735],[1.734,-0.003],[0.004,1.735],[-1.735,0.003]],"o":[[0.003,1.735],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.004]],"v":[[3.141,-0.007],[0.007,3.14],[-3.141,0.006],[-0.006,-3.14]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[45.222,9.906],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.734],[1.734,-0.003],[0.004,1.735],[-1.735,0.003]],"o":[[0.003,1.735],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.004]],"v":[[3.141,-0.007],[0.007,3.14],[-3.141,0.006],[-0.006,-3.14]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[31.925,9.933],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.735],[1.735,-0.003],[0.004,1.735],[-1.735,0.004]],"o":[[0.004,1.734],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.003]],"v":[[3.141,-0.007],[0.007,3.14],[-3.142,0.006],[-0.007,-3.141]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[18.629,9.961],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.475,-0.007],[0,0],[0.007,3.475],[0,0],[-3.475,0.006],[0,0],[-0.008,-3.475],[0,0]],"o":[[0,0],[-3.474,0.007],[0,0],[-0.007,-3.474],[0,0],[3.476,-0.008],[0,0],[0.007,3.475]],"v":[[18.349,24.552],[-18.248,24.629],[-24.552,18.35],[-24.628,-18.247],[-18.349,-24.551],[18.247,-24.628],[24.553,-18.349],[24.628,18.247]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.477,54.832],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":2,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.896,-0.004],[0,0],[0.004,1.897],[0,0],[-1.896,0.004],[0,0],[-0.004,-1.897],[0,0]],"o":[[0,0],[-1.896,0.004],[0,0],[-0.004,-1.896],[0,0],[1.896,-0.004],[0,0],[0.004,1.896]],"v":[[21.5,3.603],[-21.485,3.691],[-24.926,0.264],[-24.927,-0.161],[-21.5,-3.602],[21.485,-3.691],[24.926,-0.264],[24.927,0.162]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[35.495,242.198],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.384,0.011],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0.011,5.378]],"v":[[-22.762,122.702],[33.017,122.587],[32.51,-122.712],[-33.016,-122.577],[-32.531,112.984]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.386,141.849],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":2,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[5.385,-0.011],[0,0],[-0.011,-5.384],[0,0],[0,0],[0,0]],"o":[[0,0],[-5.384,0.011],[0,0],[0,0],[0,0],[-0.011,-5.384]],"v":[[184.557,-9.499],[-184.604,-8.737],[-194.333,1.032],[-194.316,9.51],[194.344,8.708],[194.327,0.23]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.1450980392156863,0.38823529411764707,0.9215686274509803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.785,9.762],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":2,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.946,-0.01],[0,0],[0.011,4.946],[0,0],[-4.946,0.01],[0,0],[-0.011,-4.947],[0,0]],"o":[[0,0],[-4.946,0.009],[0,0],[-0.01,-4.946],[0,0],[4.946,-0.01],[0,0],[0.009,4.947]],"v":[[185.646,131.38],[-185.102,132.146],[-194.077,123.208],[-194.583,-122.405],[-185.646,-131.38],[185.102,-132.145],[194.077,-123.207],[194.584,122.405]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.843,132.405],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 10","np":2,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0}],"markers":[]}')},,,,,,function(t,e,r){t.exports=r(77)},function(t,e){t.exports=function(t,e){if(null==t)return{};var r,n,i={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(i[r]=t[r]);return i},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],_n=!0,s=!1;try{for(r=r.call(t);!(_n=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);_n=!0);}catch(t){s=!0,i=t}finally{try{_n||null==r.return||r.return()}finally{if(s)throw i}}return a}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports},,function(t,e){var r,n,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(t){n=s}}();var l,c=[],u=!1,h=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&f())}function f(){if(!u){var t=o(p);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h<e;)l&&l[h].run();h=-1,e=c.length}l=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new d(t,e)),1!==c.length||u||o(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,r){"use strict";var n=60103,i=60106,a=60107,s=60108,o=60114,l=60109,c=60110,u=60112,h=60113,p=60120,f=60115,d=60116,m=60121,g=60122,y=60117,v=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var x=Symbol.for;n=x("react.element"),i=x("react.portal"),a=x("react.fragment"),s=x("react.strict_mode"),o=x("react.profiler"),l=x("react.provider"),c=x("react.context"),u=x("react.forward_ref"),h=x("react.suspense"),p=x("react.suspense_list"),f=x("react.memo"),d=x("react.lazy"),m=x("react.block"),g=x("react.server.block"),y=x("react.fundamental"),v=x("react.debug_trace_mode"),b=x("react.legacy_hidden")}function E(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case a:case o:case s:case h:case p:return t;default:switch(t=t&&t.$$typeof){case c:case u:case d:case f:case l:return t;default:return e}}case i:return e}}}var k=l,w=n,C=u,A=a,S=d,P=f,O=i,j=o,I=s,_=h;e.ContextConsumer=c,e.ContextProvider=k,e.Element=w,e.ForwardRef=C,e.Fragment=A,e.Lazy=S,e.Memo=P,e.Portal=O,e.Profiler=j,e.StrictMode=I,e.Suspense=_,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return E(t)===c},e.isContextProvider=function(t){return E(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return E(t)===u},e.isFragment=function(t){return E(t)===a},e.isLazy=function(t){return E(t)===d},e.isMemo=function(t){return E(t)===f},e.isPortal=function(t){return E(t)===i},e.isProfiler=function(t){return E(t)===o},e.isStrictMode=function(t){return E(t)===s},e.isSuspense=function(t){return E(t)===h},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===o||t===v||t===s||t===h||t===p||t===b||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===f||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===y||t.$$typeof===m||t[0]===g)},e.typeOf=E},function(t,e,r){"use strict";t.exports=r(54)},function(t,e,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,h=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function k(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case h:case p:case s:case l:case o:case d:return t;default:switch(t=t&&t.$$typeof){case u:case f:case y:case g:case c:return t;default:return e}}case a:return e}}}function w(t){return k(t)===p}e.AsyncMode=h,e.ConcurrentMode=p,e.ContextConsumer=u,e.ContextProvider=c,e.Element=i,e.ForwardRef=f,e.Fragment=s,e.Lazy=y,e.Memo=g,e.Portal=a,e.Profiler=l,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(t){return w(t)||k(t)===h},e.isConcurrentMode=w,e.isContextConsumer=function(t){return k(t)===u},e.isContextProvider=function(t){return k(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return k(t)===f},e.isFragment=function(t){return k(t)===s},e.isLazy=function(t){return k(t)===y},e.isMemo=function(t){return k(t)===g},e.isPortal=function(t){return k(t)===a},e.isProfiler=function(t){return k(t)===l},e.isStrictMode=function(t){return k(t)===o},e.isSuspense=function(t){return k(t)===d},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===s||t===p||t===l||t===o||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===c||t.$$typeof===u||t.$$typeof===f||t.$$typeof===b||t.$$typeof===x||t.$$typeof===E||t.$$typeof===v)},e.typeOf=k},,,,,,,,,,,,,,,function(t,e,r){var n=r(28);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},,,,,function(t,e,r){"use strict";r.r(e);var n={};r.r(n),r.d(n,"VERSION",(function(){return la.e})),r.d(n,"restArguments",(function(){return ca})),r.d(n,"isObject",(function(){return ua})),r.d(n,"isNull",(function(){return ha})),r.d(n,"isUndefined",(function(){return pa})),r.d(n,"isBoolean",(function(){return fa})),r.d(n,"isElement",(function(){return da})),r.d(n,"isString",(function(){return ga})),r.d(n,"isNumber",(function(){return ya})),r.d(n,"isDate",(function(){return va})),r.d(n,"isRegExp",(function(){return ba})),r.d(n,"isError",(function(){return xa})),r.d(n,"isSymbol",(function(){return Ea})),r.d(n,"isArrayBuffer",(function(){return ka})),r.d(n,"isDataView",(function(){return Ia})),r.d(n,"isArray",(function(){return _a})),r.d(n,"isFunction",(function(){return Aa})),r.d(n,"isArguments",(function(){return Da})),r.d(n,"isFinite",(function(){return Ma})),r.d(n,"isNaN",(function(){return Ra})),r.d(n,"isTypedArray",(function(){return Ha})),r.d(n,"isEmpty",(function(){return Xa})),r.d(n,"isMatch",(function(){return Ja})),r.d(n,"isEqual",(function(){return Ka})),r.d(n,"isMap",(function(){return ss})),r.d(n,"isWeakMap",(function(){return os})),r.d(n,"isSet",(function(){return ls})),r.d(n,"isWeakSet",(function(){return cs})),r.d(n,"keys",(function(){return Wa})),r.d(n,"allKeys",(function(){return Za})),r.d(n,"values",(function(){return us})),r.d(n,"pairs",(function(){return hs})),r.d(n,"invert",(function(){return ps})),r.d(n,"functions",(function(){return fs})),r.d(n,"methods",(function(){return fs})),r.d(n,"extend",(function(){return ms})),r.d(n,"extendOwn",(function(){return gs})),r.d(n,"assign",(function(){return gs})),r.d(n,"defaults",(function(){return ys})),r.d(n,"create",(function(){return bs})),r.d(n,"clone",(function(){return xs})),r.d(n,"tap",(function(){return Es})),r.d(n,"get",(function(){return As})),r.d(n,"has",(function(){return Ss})),r.d(n,"mapObject",(function(){return Ds})),r.d(n,"identity",(function(){return Ps})),r.d(n,"constant",(function(){return Ba})),r.d(n,"noop",(function(){return Ms})),r.d(n,"toPath",(function(){return ks})),r.d(n,"property",(function(){return js})),r.d(n,"propertyOf",(function(){return Rs})),r.d(n,"matcher",(function(){return Os})),r.d(n,"matches",(function(){return Os})),r.d(n,"times",(function(){return Bs})),r.d(n,"random",(function(){return Vs})),r.d(n,"now",(function(){return Ls})),r.d(n,"escape",(function(){return Gs})),r.d(n,"unescape",(function(){return Hs})),r.d(n,"templateSettings",(function(){return Qs})),r.d(n,"template",(function(){return Us})),r.d(n,"result",(function(){return Ks})),r.d(n,"uniqueId",(function(){return $s})),r.d(n,"chain",(function(){return to})),r.d(n,"iteratee",(function(){return Fs})),r.d(n,"partial",(function(){return no})),r.d(n,"bind",(function(){return io})),r.d(n,"bindAll",(function(){return oo})),r.d(n,"memoize",(function(){return lo})),r.d(n,"delay",(function(){return co})),r.d(n,"defer",(function(){return uo})),r.d(n,"throttle",(function(){return ho})),r.d(n,"debounce",(function(){return po})),r.d(n,"wrap",(function(){return fo})),r.d(n,"negate",(function(){return mo})),r.d(n,"compose",(function(){return go})),r.d(n,"after",(function(){return yo})),r.d(n,"before",(function(){return vo})),r.d(n,"once",(function(){return bo})),r.d(n,"findKey",(function(){return xo})),r.d(n,"findIndex",(function(){return ko})),r.d(n,"findLastIndex",(function(){return wo})),r.d(n,"sortedIndex",(function(){return Co})),r.d(n,"indexOf",(function(){return So})),r.d(n,"lastIndexOf",(function(){return Po})),r.d(n,"find",(function(){return Oo})),r.d(n,"detect",(function(){return Oo})),r.d(n,"findWhere",(function(){return jo})),r.d(n,"each",(function(){return Io})),r.d(n,"forEach",(function(){return Io})),r.d(n,"map",(function(){return _o})),r.d(n,"collect",(function(){return _o})),r.d(n,"reduce",(function(){return To})),r.d(n,"foldl",(function(){return To})),r.d(n,"inject",(function(){return To})),r.d(n,"reduceRight",(function(){return Do})),r.d(n,"foldr",(function(){return Do})),r.d(n,"filter",(function(){return Mo})),r.d(n,"select",(function(){return Mo})),r.d(n,"reject",(function(){return Ro})),r.d(n,"every",(function(){return Bo})),r.d(n,"all",(function(){return Bo})),r.d(n,"some",(function(){return Vo})),r.d(n,"any",(function(){return Vo})),r.d(n,"contains",(function(){return Lo})),r.d(n,"includes",(function(){return Lo})),r.d(n,"include",(function(){return Lo})),r.d(n,"invoke",(function(){return No})),r.d(n,"pluck",(function(){return zo})),r.d(n,"where",(function(){return Go})),r.d(n,"max",(function(){return Ho})),r.d(n,"min",(function(){return Qo})),r.d(n,"shuffle",(function(){return Jo})),r.d(n,"sample",(function(){return Xo})),r.d(n,"sortBy",(function(){return Yo})),r.d(n,"groupBy",(function(){return Ko})),r.d(n,"indexBy",(function(){return Zo})),r.d(n,"countBy",(function(){return $o})),r.d(n,"partition",(function(){return tl})),r.d(n,"toArray",(function(){return Wo})),r.d(n,"size",(function(){return el})),r.d(n,"pick",(function(){return nl})),r.d(n,"omit",(function(){return il})),r.d(n,"first",(function(){return sl})),r.d(n,"head",(function(){return sl})),r.d(n,"take",(function(){return sl})),r.d(n,"initial",(function(){return al})),r.d(n,"last",(function(){return ll})),r.d(n,"rest",(function(){return ol})),r.d(n,"tail",(function(){return ol})),r.d(n,"drop",(function(){return ol})),r.d(n,"compact",(function(){return cl})),r.d(n,"flatten",(function(){return ul})),r.d(n,"without",(function(){return pl})),r.d(n,"uniq",(function(){return fl})),r.d(n,"unique",(function(){return fl})),r.d(n,"union",(function(){return dl})),r.d(n,"intersection",(function(){return ml})),r.d(n,"difference",(function(){return hl})),r.d(n,"unzip",(function(){return gl})),r.d(n,"transpose",(function(){return gl})),r.d(n,"zip",(function(){return yl})),r.d(n,"object",(function(){return vl})),r.d(n,"range",(function(){return bl})),r.d(n,"chunk",(function(){return xl})),r.d(n,"mixin",(function(){return kl})),r.d(n,"default",(function(){return wl}));var i,a,s,o,l,c=r(0),u=r(2),h=r.n(u),p=r(30),f=r.n(p),d=r(8),m=r.n(d),g=r(31),y=r.n(g),v=r(3),b=r.n(v),x=r(1),E={dashboard:Object(c.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M15.8333 15.8333H4.16667V4.16667H10V2.5H4.16667C3.24167 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.24167 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V10H15.8333V15.8333ZM11.6667 2.5V4.16667H14.6583L6.46667 12.3583L7.64167 13.5333L15.8333 5.34167V8.33333H17.5V2.5H11.6667Z",fill:"#6B7280"})),tada:Object(c.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",Object(c.createElement)("path",{d:"M11.8301 11.1139L1.41027 15.6478C0.731054 15.9181 0.056054 15.2489 0.32046 14.5674L4.87387 3.98352",fill:"#FFB636"})," ",Object(c.createElement)("path",{d:"M0.319898 14.568L0.681773 13.7269C0.712804 13.6796 0.743742 13.6322 0.774804 13.5849C2.57471 10.8429 4.40099 8.11766 6.28965 5.43591L8.4073 7.60654C6.80949 8.70347 1.62137 14.0649 0.534648 15.4871C0.298086 15.2695 0.183117 14.9206 0.319898 14.568Z",fill:"#FFD469"})," ",Object(c.createElement)("path",{d:"M9.51185 6.38849C11.4448 8.32142 12.502 10.3981 11.8732 11.0269C11.2444 11.6557 9.16776 10.5985 7.23479 8.66555C5.30182 6.73261 4.24463 4.65592 4.87341 4.02711C5.5022 3.3983 7.57888 4.45552 9.51185 6.38849Z",fill:"#A06C33"})," ",Object(c.createElement)("path",{d:"M4.86244 10.2366C4.86244 10.4245 4.71013 10.5768 4.52229 10.5768C4.33444 10.5768 4.18213 10.4245 4.18213 10.2366C4.18213 10.0488 4.33441 9.89648 4.52229 9.89648C4.71016 9.89648 4.86244 10.0488 4.86244 10.2366Z",fill:"#F7F9AA"})," ",Object(c.createElement)("path",{d:"M15.6872 6.66153C15.6872 6.93115 15.4687 7.14972 15.1991 7.14972C14.9294 7.14972 14.7109 6.93115 14.7109 6.66153C14.7109 6.3919 14.9294 6.17334 15.1991 6.17334C15.4687 6.17334 15.6872 6.3919 15.6872 6.66153ZM12.4272 13.1622C12.1575 13.1622 11.939 13.3808 11.939 13.6504C11.939 13.92 12.1575 14.1386 12.4272 14.1386C12.6968 14.1386 12.9153 13.92 12.9153 13.6504C12.9153 13.3808 12.6967 13.1622 12.4272 13.1622Z",fill:"#FFB636"})," ",Object(c.createElement)("path",{d:"M11.1236 2.4851C11.0817 2.76838 10.8987 3.0186 10.6214 3.1716C10.43 3.27722 10.2048 3.33213 9.97118 3.33213C9.89674 3.33209 9.82241 3.3266 9.74877 3.31569C9.58352 3.29125 9.41812 3.31619 9.29502 3.3841C9.23983 3.41454 9.14502 3.48113 9.12962 3.58529C9.11424 3.68944 9.18574 3.78063 9.22971 3.82572C9.32527 3.92369 9.47112 3.99388 9.63124 4.0201C9.63565 4.02057 9.64002 4.02072 9.64443 4.02138C10.32 4.12125 10.8026 4.65638 10.7201 5.21429C10.6782 5.4976 10.4952 5.74782 10.2179 5.90082C10.0264 6.00644 9.80134 6.06135 9.56768 6.06135C9.49324 6.06131 9.41891 6.05582 9.34527 6.04491C9.18005 6.02044 9.01459 6.04538 8.89149 6.11332C8.8363 6.14375 8.74149 6.21035 8.72608 6.3145C8.7014 6.48166 8.90665 6.70235 9.24077 6.75172C9.42255 6.7786 9.54815 6.94775 9.52127 7.12957C9.49683 7.29488 9.35477 7.41369 9.19252 7.41369C9.1763 7.41369 9.15993 7.4125 9.14343 7.41007C8.46784 7.31019 7.9853 6.77504 8.06777 6.21716C8.10965 5.93385 8.29268 5.68363 8.56999 5.53063C8.82171 5.39175 9.13162 5.34057 9.44262 5.38654C9.60787 5.41094 9.77324 5.38604 9.89637 5.31813C9.95155 5.28769 10.0464 5.2211 10.0618 5.11694C10.0861 4.9525 9.88749 4.7366 9.56293 4.68263C9.55762 4.6821 9.55227 4.68166 9.54693 4.68088C9.23596 4.63488 8.95409 4.49625 8.75334 4.29047C8.53218 4.06379 8.42937 3.77129 8.47127 3.48794C8.51315 3.20466 8.69618 2.95444 8.97346 2.80144C9.22518 2.66257 9.53509 2.61138 9.84609 2.65735C10.0113 2.68172 10.1767 2.65685 10.2998 2.58894C10.355 2.5585 10.4498 2.49191 10.4652 2.38775C10.4806 2.2836 10.4091 2.19241 10.3651 2.14732C10.267 2.04669 10.1159 1.97494 9.95055 1.95054C9.76877 1.92366 9.64318 1.7545 9.67005 1.57269C9.6969 1.39088 9.86612 1.26544 10.0479 1.29216C10.3589 1.33816 10.6407 1.47679 10.8415 1.68257C11.0627 1.90929 11.1655 2.20179 11.1236 2.4851Z",fill:"#BEA4FF"})," ",Object(c.createElement)("path",{d:"M2.55419 4.99023C2.55419 5.29576 2.3065 5.54345 2.00097 5.54345C1.69544 5.54345 1.44775 5.29576 1.44775 4.99023C1.44775 4.6847 1.69544 4.43701 2.00097 4.43701C2.3065 4.43701 2.55419 4.68467 2.55419 4.99023ZM12.4431 4.35107C12.0901 4.35107 11.804 4.63723 11.804 4.9902C11.804 5.34317 12.0901 5.62932 12.4431 5.62932C12.7961 5.62932 13.0822 5.34317 13.0822 4.9902C13.0822 4.63723 12.7961 4.35107 12.4431 4.35107ZM6.73538 12.3718C6.38238 12.3718 6.09625 12.6579 6.09625 13.0109C6.09625 13.3639 6.38241 13.65 6.73538 13.65C7.08838 13.65 7.3745 13.3639 7.3745 13.0109C7.3745 12.6579 7.08838 12.3718 6.73538 12.3718ZM15.2136 9.44535C15.3103 9.2582 15.2369 9.02811 15.0497 8.93145C14.9751 8.89295 14.886 8.84182 14.7829 8.78267C13.8769 8.26289 11.9917 7.18136 9.77191 8.97357C9.608 9.10589 9.58244 9.34604 9.71475 9.50992C9.84704 9.67382 10.0872 9.69945 10.2511 9.56707C12.0647 8.10282 13.5287 8.94254 14.4033 9.44432C14.5097 9.50532 14.6101 9.56295 14.6997 9.6092C14.7442 9.63219 14.7928 9.64619 14.8427 9.6504C14.8926 9.6546 14.9428 9.64894 14.9906 9.63373C15.0383 9.61851 15.0826 9.59404 15.1208 9.56172C15.1591 9.5294 15.1906 9.48986 15.2136 9.44535Z",fill:"#FF6E83"})," ",Object(c.createElement)("path",{d:"M13.589 1.96191C13.589 2.14978 13.4367 2.30207 13.2488 2.30207C13.061 2.30207 12.9087 2.14978 12.9087 1.96191C12.9087 1.77403 13.061 1.62175 13.2488 1.62175C13.4367 1.62172 13.589 1.77403 13.589 1.96191ZM1.44807 0.371847C1.26019 0.371847 1.10791 0.524129 1.10791 0.712004C1.10791 0.899879 1.26019 1.05216 1.44807 1.05216C1.63594 1.05216 1.78825 0.899879 1.78825 0.712004C1.78825 0.524129 1.63594 0.371847 1.44807 0.371847ZM6.78185 4.81113C6.82032 4.73569 6.86775 4.64978 6.91797 4.55885C7.17279 4.09725 7.52172 3.46513 7.54272 2.72888C7.56794 1.84438 7.10729 1.04132 6.1736 0.342004C6.0115 0.220597 5.78175 0.253629 5.66044 0.41566C5.53907 0.577722 5.57204 0.807472 5.7341 0.928816C6.47629 1.48469 6.82816 2.06666 6.80988 2.70797C6.79394 3.26647 6.50685 3.7866 6.27613 4.2045C6.22297 4.30085 6.17272 4.39182 6.12885 4.47785C6.03682 4.65819 6.10841 4.87897 6.28872 4.971C6.3402 4.99738 6.39722 5.01115 6.45507 5.01116C6.52269 5.0112 6.589 4.99254 6.64667 4.95724C6.70434 4.92193 6.75113 4.87137 6.78185 4.81113Z",fill:"#59CAFC"})," "),tooltip:Object(c.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M7 0.875C3.61758 0.875 0.875 3.61758 0.875 7C0.875 10.3824 3.61758 13.125 7 13.125C10.3824 13.125 13.125 10.3824 13.125 7C13.125 3.61758 10.3824 0.875 7 0.875ZM7 12.0859C4.1918 12.0859 1.91406 9.8082 1.91406 7C1.91406 4.1918 4.1918 1.91406 7 1.91406C9.8082 1.91406 12.0859 4.1918 12.0859 7C12.0859 9.8082 9.8082 12.0859 7 12.0859Z",fill:"#3B3F5C"}),Object(c.createElement)("path",{d:"M8.52578 4.32988C8.11562 3.97031 7.57422 3.77344 7 3.77344C6.42578 3.77344 5.88437 3.97168 5.47422 4.32988C5.04766 4.70313 4.8125 5.20488 4.8125 5.74219V5.84609C4.8125 5.90625 4.86172 5.95547 4.92187 5.95547H5.57812C5.63828 5.95547 5.6875 5.90625 5.6875 5.84609V5.74219C5.6875 5.13926 6.27676 4.64844 7 4.64844C7.72324 4.64844 8.3125 5.13926 8.3125 5.74219C8.3125 6.16738 8.01172 6.55703 7.54551 6.73613C7.25566 6.84688 7.00957 7.04102 6.8332 7.29531C6.6541 7.55508 6.56113 7.8668 6.56113 8.18262V8.47656C6.56113 8.53672 6.61035 8.58594 6.67051 8.58594H7.32676C7.38691 8.58594 7.43613 8.53672 7.43613 8.47656V8.16621C7.43684 8.03349 7.47753 7.90405 7.55288 7.7948C7.62824 7.68554 7.73478 7.60152 7.85859 7.55371C8.66523 7.24336 9.18613 6.53242 9.18613 5.74219C9.1875 5.20488 8.95234 4.70313 8.52578 4.32988ZM6.45312 10.0078C6.45312 10.1529 6.51074 10.292 6.6133 10.3945C6.71586 10.4971 6.85496 10.5547 7 10.5547C7.14504 10.5547 7.28414 10.4971 7.3867 10.3945C7.48926 10.292 7.54687 10.1529 7.54687 10.0078C7.54687 9.86277 7.48926 9.72367 7.3867 9.62111C7.28414 9.51855 7.14504 9.46094 7 9.46094C6.85496 9.46094 6.71586 9.51855 6.6133 9.62111C6.51074 9.72367 6.45312 9.86277 6.45312 10.0078Z",fill:"#3B3F5C"})),youtube:Object(c.createElement)("svg",{width:"70",height:"50",viewBox:"0 0 70 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",Object(c.createElement)("path",{d:"M68.454 7.67676C68.0525 6.19296 67.2693 4.84024 66.1824 3.75328C65.0955 2.66632 63.7428 1.88306 62.259 1.48148C56.8269 0 34.9645 0 34.9645 0C34.9645 0 13.101 0.0448436 7.66888 1.52633C6.18507 1.92793 4.83236 2.71123 3.74545 3.79824C2.65853 4.88525 1.87535 6.23803 1.47388 7.72187C-0.169205 17.3737 -0.806588 32.0808 1.519 41.3465C1.92051 42.8303 2.70371 44.183 3.79062 45.27C4.87753 46.3569 6.23022 47.1402 7.714 47.5418C13.1461 49.0232 35.0091 49.0232 35.0091 49.0232C35.0091 49.0232 56.8718 49.0232 62.3036 47.5418C63.7874 47.1402 65.1402 46.357 66.2271 45.27C67.3141 44.1831 68.0973 42.8303 68.4989 41.3465C70.2319 31.681 70.766 16.9832 68.454 7.67703V7.67676Z",fill:"#FF0000"})," ",Object(c.createElement)("path",{d:"M26 35.0098L44.1368 24.5049L26.0003 14L26 35.0098Z",fill:"white"})," "),clickToPlay:Object(c.createElement)("svg",{width:"301",height:"210",viewBox:"0 0 301 210",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"}," ",Object(c.createElement)("rect",{width:"301",height:"210",fill:"url(#pattern0)"})," ",Object(c.createElement)("defs",null," ",Object(c.createElement)("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"}," ",Object(c.createElement)("use",{xlinkHref:"#image0_114_1409",transform:"translate(-0.00133934) scale(0.00182637 0.0026178)"})," ")," ",Object(c.createElement)("image",{id:"image0_114_1409",width:"549",height:"382",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiUAAAF+CAYAAABdzGpCAAAgAElEQVR4Ae29UXLrvI6F2wPoEfRrv95p3kH2TO5LV91ajj/3MgxQkuNkO9ZSlQIQJEHwoyzgONn/+Y//yBUCIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIbAm8J/r7vSGQAiEQAiEQAiEwOsIeOGxR3/dyvEUAiEQAiEQAiEQAg2BriDpbEz1PmyRIRACIRACIRACIXCYAEUFUg7Q98rDi2ZCCIRACIRACIRACDiBVdHhfdK9jY/ORl9kCIRACIRACIRACGwSoJjQQHSXR/TOx2YAGRACIRACIRACIXBuAhQbooAuWXVsK+k+zk01uw+BEAiBEAiBEDhMoBYfcrAqPLb6fD764aAyIQRCIARCIARC4DwEKEa0Y/StgmNvPz7xS/s8dLPTEAiBEAiBEAiBQwQoGlzuLTy2xikQxhwKKoNDIARCIARCIATOQ6AWIdo5BcSrJb5dnod0dhoCIRACIRACIbBJoBYmm8XIf//3f/8///M///P/6pa+o5BREL7OZlAZEAIhEAIhEAIhcB4CtUjYLEb+4z/+479UXKgY+d///d//j3tnYYJ/EWbt89DOTkMgBEIgBEIgBDYJUCzskSpK/otiBKkihYIl35ps8s6AEAiBEAiBEAiBQoBvK1x2hcnl2xErOh6KEhUn12KEsZ0fX0eh0C5hpRkCIRACIRACIXA2AhQFUwHhdoqN9puSa1HCGM1z3f2gn4119hsCIRACIRACIbAgoAJBF4VCJykuLsWIig39/Qi/tnG585uSuuY1hIgQCIEQCIEQCIGzEqjFQVeQYLsVJCpK6h+5qjCxvylhLHMnKe7qyxUCIRACIRACIRACt6JgKhz8WxKNuRQci6KEMS4730Ive64QCIEQCIEQCIEQuBUFXdHgRQXffNxkV5Rc/0kwY+r8bg0dgey5QiAEQiAEQiAEQuBSFHQFQy0qKDYu0v+OBJ1vUUy6j24Nx6/+XCEQAiEQAiEQAiclQCHQFQzYKEbURn/458DN35NoLD5WUujVnysEQiAEQiAEQuAAAZIn0qd2Nu9/R10xTzcFiPrRL7L7lzdDUbJVmIjJX+T2jmeZmEIgBEIgBD6YAMkSyVa97Tr9kpPdx/xrnRglu/uuEPHCpPt7Eu+/6vJJUYKs6/wVVv/6rLJ+CIRACITAiQkoefpFe6/0ue+o+z6kr+6H4qQWJRvfkqQgeccnIDGFQAiEQAi8PQGStQJFX8na5/Oq/m6b99il+00h8VCQ6NuPFxUlvv67sUk8IRACIRACIfBPCZAkFQS6S+n1rmMZ7/Z/uqlhceKs+6FNMaI2+k3yr22QT35TQgxDiDGHQAiEQAiEwPkIeHIkKYsCdmxbss6BJH5ov4vc2s+tCPHCpPsj1/LfJ/F5W2s4s3fhkjhCIARCIARC4J8ToHhwuZVUV/3aEL7++eauARCPy7oHFRWyeXFx0+uvbvRtyTT2aq/+ab8jn3c5p8QRAiEQAiFwQgJKkLpckjSflfhzn9gui/3jHx5X3eOyIFGRUYuSjV/d4B+/tJH/GEWWD4EQCIEQCIH3IKDEqKuTJM3vys7/16q//9P3udoXBcTt2xH/JoS/I0EuihL3063nbH6fRlYMgRAIgRAIgTcksDdZd4l1r03bZp2qvxLJtAZ2l9L99iKiLUgO/j0J/nyNqr9y7/EVAiEQAiEQAn+SgJKjLpc1YXbty68vrt8OdP0rW13vK4Lv/dR69XJb1af4KCBcPhQm9Vc3G39PorXw161b4047BEIgBEIgBE5LgITdJczO9vD3FNd/ddKNXdkEXP0ur80HwTgfu7LRh2QebcnppoB4KEb49U0tSnb86mZai7geNhxDCIRACIRACJyNwJ4kTUIlWf9nTcrXbwo07jZmkfTx52vDfWWrY9Su4/Fd+6qdtktiH4uRJ4sS/PparrOvyBAIgRAIgRA4LQElRl0uPVlW/Zas+eNOl6Ug2UrE7psYiIN2lfSvpPutOv6qnVhv+6P4mGQtyhbflGgt/Nd11SamqxoRAiEQAiEQAucl4ImxS5qykVQvSbv7I8/yTYmPn3x2dp0CdnSk7K53beYekR5r1S/7rYVJt//rr6/a8banLi729LW7/AyBEAiBEAiBExI4ktRJtprz8PckKkjKNwWXcaWY6RLyEZuOiPGuY3tG7ipCalFSvyXR/oeiRDGxxhTfCR+9bDkEQiAEQiAEHgkoUeqaEiYJ1eWeokTjfc6e5DzF8BN2j41Yd8uuKKmFi7VXe4f91ynkZwiEQAiEQAiclICSpa6tpP+QwLukPHxTMCX6VaLeimdvP3Ez3ttTXJt27bPbvxUh7mPPPq/HEBECIRACIRAC5yWghKmLpN1JErkn2vabkiEp3827ruU+uzW/a6v+iUF+0Q9LL7r8j3ubX125b9ac9gT/r5PIzxAIgRAIgRA4IQElSV1TsvRk6kn2oh/4puBhrhUGdY0uFs2vdrehd+vgfzWmm/dgoyBBvrAoUYy5QiAEQiAETkZgevlP9k/Gw54lp3uZyGtSVtuKjYekvqNPcdQ1q22r/cy6tzkUHHtk3b+KtGaPHq/07tZzJnuuEAiBEAiBkxCoL/3a/jQMdX/eRncp3e9aHNwSN4m3JuUXFCW+hmLxtuve57qP2aV78cE3P5K6vU+xeFt63f9QlCgO59rpn/bsZT8hEAIhEAJXAnrpc3U6SUFj6J8kfv6KrPvY2iMsJklCbRN8l5RJ3IuCovX1ivFauxYUk1/ilGTetB/G1MKkjsdnWVNs4dhx9jP6K89Z4gyBEAiBEDhIQAmAC31LMv6vSPajeNE7OdlkrzcJ1OVDIaEEXJMy3xRMSdyTekncD/6P9q/iqb4oHohTUrF3+/ExPq8bT39dr2FcmfO8cU60I0MgBEIgBP4oAX+ho/Py15bQvc/t6J2U7d0u9qG40F1Kf/beLBK6pCwbidml6yRsbLS/K7t4VGTILt9aj7u2Ze/mM76T3fhhD1tn4Of3bs9Y4gmBEAiBEHiCAMlYU9Fd7k0MPocwsNF+B0lMLquu9pF7+c2IJ9xVEifhV6k52FzHhqSIoC25ut1XVyioMNGYrbt+S7I1r1uriVP84bo6i3d4phJDCIRACITACwjoZc+F7nKVDGqf/Phc/Lrdbb+tE5vHg63uZW+bpLlM/jXhdkl5K/FP/Z0v2brxikP2Khl7xBdzJI8WJd0c2SqnjcKwO8fffqayXgiEQAiEwIsJfDcxdwlcIbpfb784/E13xOExdDEfsT1VjFAMdMmfPk/2W3rnxwuErfldv8+XPhU4zJ1ioH+SdR2NG4oSWHfns3n4GRACIRACIfD+BEjULruX/itsosE6Vf8tUnX9I/vypFh1tXfdJF3JLpFPyXuydz5qot9TVFT/1a/adYy3uzVl8zGdXudpTGG5dUb/6ln6rWc264RACITAqQiQqLde/t7vSdntW7rAMgb9t2Gz/h5JocFY9o39KUlyrgl5K/Ezz2X1sWr7vC29FiXyu5rTrbtnP3UdtQ8WJTobXchrMyIEQiAEQuAvEeAl7lL66iYpawx6lav59ImT9E5ezS8Tvk7ViadKig3Z0b8tldTlj+ReE/meJM5cyTpfbXzUZO997mPSu/lHxu5dTzx8LenGHP71fGj78/OyByaOQiAEQiAEfp+AXuy6eMGvpBcelySi5KEkdU0gmsuYqq/8sv5XJOtCRX6+czF/FQ97+HYBYon17o9KPbHXogKmPmbSPZHjp87vxkz+qv3IXNavssZT1/A2Y52bPVOcS3d2eiY42+88H5kbAiEQAiHwjwjwEu9e8m4jGdyStBKJJx9LJprHOPdxRBcOje/kZPsaPf90f1uxePyX4kv7tX3R30rGkmyZ53bZ6HeO0mFJ/0rWuWp34+u4vWtoXJ3b+e/GMa8bX20wGuTWefnZzk9AekIgBEIgBN6WQH2Rdy9+JV3ZSb43vUtCstlYn8u8bo3OJmjY0ZGyo1/Vtt314XOSHvNlz77PZn9wuRUY2j8Jd9LpR5K8kVqHvpX02Lbm0o/8zhpdTPjtZDe+s5Vn58b2ap/ObHoe/Pyjh0AIhEAIvDkBf5l3L/yHBO1Jo0s+q6RtxU231hGbsHrsYMZW29hdSu/umgj/q+7T96jESuGB7JLtytYVFqvx3tfF5v2uHxnr8/bE143x9dzfpMPPn7Gr3p1TZ6vnTjsyBEIgBELgzQnopa6re7nLtixIlFg86aB7wm6Si/v0NaYY9th9D187+r+ChTZjkJPfh4JEe2BvSO1R+1fflGCP2LuEvmd+N4/Y6vwjY/fMrWNg08kppupjeF44k+nMZOdcr2pECIRACITAXySwetF7MkC/yS7JKSFtJJbb/Bd+a1KTEm2dR9W39qt+j/Gid4m2JtTvtDuWe/wdiatbY2+x0M31+Gp/1/bxnU6B59LOgnNZnV8977/4eUzMIRACIXBaAtMLXomYJPCQoEkUNfGQIOnfKX0d9CmuvXYdqMZyoa/mj3tWAmVvLmtiFY961zFTu2M5jcXezZGN/io9dvTV+K353o8/ZI1tzzrdHHuGVmfn56szp835R4ZACIRACLw5AV7c08t+maSVLGoSUUKSTX1KWJZQxsKmjFEsvi6xYaO9ksJOv+uy1TbjJFnjLlYSL8nWJX0dB8apj3ErWX3smVfnaM1pjW6sxu9ZB5/sCYm9+la7szG+k/isUn6sQPbz6nTO9+uk8zMEQiAEQuBPEehe7GOCVuJWQkHWBKL2NYncjbsm/Ltkv8PmcbhO8TDFjl0H0enYqnyIb7XXLvF2PLB1idhtR5O45uIbKR/u03XGVLma4/NX67lP/LlNevXl7bp3n6u+67NSz8vbnPWf+vAl2BAIgRAIgf8joJe6Ln+5SyfpL5N0l6Q8+ciPxri8+n7we9BOjMRZ46/tbo8+Bj8PcZE4V0nTE+hKJ1njs8q6xtHxzn7Ld42zjp/adV6N2WOoYyefstex3tYa1+fDz6zqfsaXhzo/QiAEQiAE/g4BvdR11Zf7mKApHDy5ePJA9350zZWOjxdJxU68dR9H2w8FCTEr7i75st8qV2Ph0cnqpxvjtm4d73e9+q5tH7vSuzXdl/o1v47D3vmuY92fdM1pntPufK+P9OWZRo8MgRAIgRB4cwJ6oevqXuyyjQl6K1Gvkg8JCR8upzV32ol52s+WncLmbt/EK7mVOJU86967OXWMr1GT8Wqs5u0dX+Oo7Rq7+qe1u7keB/up4yZ/jHcfrmve9TnljLqz5Fl2eXnA8yMEQiAEQuBvENDLXVd9yd8lZooCJQ+KCBJJTTw1ufk49E7il7Wq1DrX5NTGdh2vfawSV92nt1u/Hmu3V0+ePtZ1HzPxYfyRsZqzd3wdp7ndfjobsbms/mhrPuOwIbF3UucmO2Ml8XWgINF55gqBEAiBEPiDBHiBe2J2fTNJK4msktiqb5WYvCDpfFiy6mL0PezVKWTu/ClGkmVNmJ48pXf7wVbHEj/9yNVeGVNl9V371a5+ff06v2vv8al57ldzqq/Oj2ww5twZR/sqt85SH0GN4XIdW2QIhEAIhMCTBPylukc/sgz+JOt9l5hJDJ48SBqSNfFstWvicl9V3+OL+BpZ97XVHvdNXFM89E+yzpsYyF7HTj6xb42vPuvatb/6q+NZF6l+bmyS1e/kpzm3eg6rc9MzTz/Pv9q5QiAEQuBGwF8Krt8GRHkgACckA7yNXmU3FluVzJUdXdJvJQW175KDJxzXaxLbavvclb7lh34luxqrxe/7mvR2v/Kp+JDSWdPlag/0+XjpU4KuiVxj8TFJ99359f7JX7cu86Z1t+zMR3ax4aM5P3/2pnOTvT7HV1NECITA2QnwgnAObnNdY2rb551FhwHSuWCT5F71w4x5Prbq3sa3S08IF13Jw5Oz2koyq2RGMkKukhLJCcmcvZL4SnLzPU16LUg07rZ/4kHWePbsqWOEv07WNboxbvPxNR7vk177Jz/M8/6jOj6QdT7Pk0tnf9Wnc5O9PsdXU0QIhMAZCdSXghhU29Q+I6+6Z9hM3NTPzRjaLr2PNdTv19R2P+g1Sd+KEiWVLsGSdDqp8atEWBOV2p0f2fDVxSBbk9DYC3tbScZe9osvxSN92vuevXX76faNrY7HPslpfLVvxap9whae05pbdvx4DHUOjBdS58W51LPT8y1bvTpbHZN2CITAhxDwD/xKVx/9SCFAr/JD8IzbYL8rBhpTb8ZXe9f2segupevS3Cqrv1tiViLpEownm6prvO6ahPa0p7Xq3G7NJrlpX1NSY8/03/bsfnzdLjbv7/Rn5tS9dX7dVsdPbZ8z6dq7+iY5zav2rX0740FfnZ0/v65rTq4QCIETEuDD30m3TXpFxrhq/4tt30vVabuU/spbzNw/DKttWvOSnLukMiW7aq8Jam97WrOb341dJLdurxQj6kN/KEx87W5N7696N16s6rjaPsqzju/aioV1tF/p35X462SNgfV9zSv3B+bX55cz6c6OZ1x9uUIgBE5KwF8AVfcXh/DQ7vRq+6s4nQF72pJw+S1JPMTayS6W29f4NbnQVpLhxobsktQeG/NdkszqfNl9nPQhyWl/U4Jze5ccL8mbteuaU2waX8cSK75WkrFIxnpCl432tBbziZPxLqVz45P2JBlHXFV28eyNwdbsnsv6/PLuwE47MgRC4IMJ+AceXZJbW0ffK+sc2u+MUXvThXQdm0vpr7o9eR71OcU5xXpLUkokfnfJiMSHJPnURLXV1jx8IFe+uvGW0G57uNq2mDFe49Av0uMmLuQUXxeb5kzjtaazxT/S+2p8zNWYbl3ZGMNc/NF+RuLDpXTde+MY1l2dlT/L0nOFQAi8GQESy0+H5eugr14eW32K1/38dPwr/8TBGNrPSM35zq1EqPlH5Z41O+Z1nq97ScqeOEg6LkmcyCnx+pxOZ77Lbhy2LvF5rKY7T9d9r9jv9qy15Ic1PTbpda9dTMypY6tv1pFkDpKxtqe7OLFrnNZhLew/JYmryo6DYmDcIh7OQXK6+ZxGhkAI/GMC+pDqQl6bNzHZbwOeUNyndNror5AKy/0+EebmlM4/NibTRnZx0Sf5qrtLjvLdJR63o2/FwT40Dh05ze3WvtiUWLi75EPfEdn5UUJe+ejmDIlvDyc/g7u9ewwUCUjFoP4uFsZIMs59Se/OuPPXjXs3G/uR9L2j74h365y+nt7/e1dMbeyRIRACLyZQk4i7r320NWbSff5RHZ+SP3G/Km6Pc/LZjdmyvWrPJD/5Q79Lgjte3nW8+1rF6TxW48a4PPF0yVMJSPajd5fUp0SO727OwI69si/nha0yvWuzJgl2r5z2oDjlc4j3tjbzt8a9oB8mzsNtt5hWa7Gnykf7WM27vlNYm/Ny6c+u9FwhEAK/SEAfxu7iQ6o+xrit2jsfR2y+Br5Zb5R6MekldH0RjeOa4oY1jsTIWGLt2sTg/lc2+l4p/YW76wW/8RLvfCheX2eKHw7qd53x+Lhbg4Qjya0z9gSkNn1HpPtA35rPOCRrN9y2uLT7xY/HwVp7JPH4fHR8/yPpPHzv3fnXsXfPRBd/fSbESrZu7NXmaxBDlTynX09sfoZACPwzAvpw6nLpOn3YaF8m2TzaRyV+JauO7U76S8leRndjmoKEfo9ftq2rjql+pjb2V8v6kvf25gt98eK+zN2R1Fb7EUv6Xcfmso1V6ytG4qjJWedN317pz4v725rvYzcSn+/LdT8b2Zd7nuKscag9xT6tsdPuMe7R2Q9jJauObSV3cWIPHSfZ6C9yTzxb74D0h0AI/BABfUC50HlZyI7eSe9Hr75o75U1hm5dt11eXvWldH0h+bhJ97g1ZuvyMfjUHPTfkLywtVbV1X76VmLTfMnKdCMJexzPMCBm9kT7Ij2umpAV55SQJ/u0t2m87N0cWBXm7MFlZQKvu33ihzi6NffuH19DjL6ux+lxuX3S8TP1y/7dm5hYgzVvsuPk+zcdH6uY+DxvvQvSHwIh8EME9AHV5XL1oZ363EfVLwts/PD1mT+tdfeiqi8lta8voml+tbMeIRIL7a6fMdXXK9t3+7QXPPbbi9levIdsSoCai6wsaxJUm7G2pvZMTN3+4df1YWvjZi3JLjbZj97TnlZ+6tpqa7wx8PjZk0vng+7yNh+/dU3Ys3YX7xDPzXdzTh6DxzvpjJ/6f8ru697tpzvPwkEx+fwpRp5T/9xHD4EQ+CUC+mDqcjl9WFd2fDCGdidlW11HYuEl8/DPGfWSuu6LMcQ2SWJifdqSbpvmv8pOvEj5lU4b/VuSpOdSepcEuxc+ydFiI77vcGj35DF28an/6N3tactHnaNYyv6JHwbOZKUz704qniP7VSya43IRn8dDvH9BErfLh89/ORvti/GrPdbPur8DoodACPwSAX1IdfFhdR3bs/LL8/6fNZZpXV4wkhd9kTDkg/GTP+zsfZIaRx9zjkpiQWo+ukvpL709YXUJuEuAcO36youfWI/yYDzzW0nsNQ61u71s2diXy9Wcuq7m6XyIq5yVnyn76yR7ZTztm+zW7eJcxHLzdY2Rtbp4ftvGZwl5dH3t7bIfP0fp4vbEfolDMlcIhMAvEtAHWZfLqqv97I1v9/m14vyzjt1a++5lu3gp3V5cO/dD7ERKXNi34vJ+X9t1jSF+130M/S+RJE+XNblVhrzcGdclSNuHx+4MjurjfhVHjVExEd8RedRPN77snbg5z9W+YcVY5t5J7adj7vtUDGq7HOLyNVex/WQfn6H62dKaulweiqNyUnvn593X9Bi+IsrPEAiBHyfQfQjdduhlsPHB12bwXfVuo4ydYuDF+vDy3pE05JP5k3/sxKq26/RPEv/Ep3HVRl9nZ7yP2a2TxPRC1k3yImHR7mR9qYun+2BO5TwkwInPyt7xuOxda7OHun4XI7Gu5BE/HRvi+cb+fb/tuSv+ujb7revDaIinrrU6h1WffxZc15ypjb2TbnO98zfFddlbx2nj3VT9+frSc4VACPwygfqh3GpfPvy8zPUS2Pmh17bke8/FuFUs/oKV3v6fuA0vafll/mqN2qfYq402/lxWXe0fu0m+9cWss7qe0+V/TTOuymleHac2548c9gWbo3JkpLW1FusiZevi3LIxHzmN79gwttm79svZ7937cs91fT9P9t7EUX3ujUXjeNa35N6xXx6P/ex8b+5B5+LnufjMui/f57EoMzoE/hgBPljvFjZx8cFUfOid5CX7kPyvL8huTrWxxhYLzdNV56t9i6O+hOuLWy+mOsba7qtb54htjMnWqwniW229eOXbpb+MeSm7VP/q9rHo3fjKmQRZ9vos302WdX3F2sXZ8cHG+OpLbfqQdYzWk63s18/zyLNTObmfi644agzsw+UiHpjWtTxOPm9I9aGvZNfnNum68Hdt7hbMcyn9lbfHxzq7A8zAEHg1gfoQ0q5S61bbVttjncb6mN/SPRbpWzcvtYskYSGvL2j5YNzKn3Os+9U8Xav5rMNakpe7vrgVH32NxI/LrXVr/0MMzTq3+I72KRlpjkvt0dv0y8Z5TFJjprtjx1p1TvVPf7O/ymtve8m1xupxwmNLEvPKl8bUfu2d9Zr9ctZ796lxvlfa+LnJylwx+B4XsVT/XWx85lxePog7fsjfT1347mS3j2dsir36/6n9xG8ILAnwIGoQOrKzdX0+rtOZU6XG6urs2K5DfkywjuR0+wvt8oKcXtLmgzmTz2nfbHQrLvxf4vGXcY2NF7ePGXStid8pbrcz9iGGzj/JTfHoJiFqrHTmoCPpr/tSgsIHshtTExljO9nN3zOO/bCHIo9yhfGSaxcrrFy6rr107c6XbNyVoez4kr9yP7vf5b61XhdHWbvGQhvfneQz10mNf6eLeDrZ7W3Lpr0xBv2d9ptYTkCge5j9YeweUJ/jOvPcNumMrZLx1a72T19ae+vWS01jXD786oYEaS/ILb/qny76Jh93sdialxfwN17c7ndaG3sde1m7xqJ2l/A8Rk/6Gk/b9S4hyQfJUf1b69TxrKN5+PG4uvHTGvjq9r/jGYPpJFu2XSwwIw7FVXVsVda9T22ti8+FnPayx+7P1t3ea0wHYsFnt74+h7L/lctjRe/2Ndm0T5/nbRjQTzsyBF5OwB8ydJfSubU4epVdHzak5rhefdD2MeidlO3V194YeZktX456WdoLWr59HvutUnsijk6v4719F4+t/fDHjztf3O5P63TxV5vPafUucdbEojZJfZIrP8ypfrs5jEXWObUtH9y1jza+JP0ciu5nt1d33g98WR+pOIkBWWK4+ej6ZcPXJLXG5PNq37u3adzhPe+IB5/dmvVz9+r3zKv9aQ9c6OxL9k7HhmScy6qrnSsEfoyAHkYudB7Qd5KK0eOjXW3s5bvS/VYOvMhuL3Jeft3Le3hZ4xNftF12e1C/Lh+Hji+XtxhXsXWJiD0tpNb1tWjf1vS5rCEpJlNy6+yaM90rX12fbPiS7m3skt3cLrbJ5r6kOwvTObtnJJwfuNeY2KOty9y7X491/dhWTOSfcYMkxmf2Wef4M3fbR7fnIRafX33T5jP29Wn7+z+1L111f26nv5OXyfkRAj9JgIdRa3QPKrZ3l69m1HHpGNxehv7i6xLZxgu78+02zqdKH+O6v3DvYnwitrv5vs9GVwyb40nUNYGorfimfuydZF/IzrfbOh+Tzeft1X0f+BUb6Q0jP7tn9JZ5x0Jry97E0PqYxmkf8sM9jTM7z8a0v73PNvPbeOv5LPa6FY/6//Ll8Xe6bNhdut7tn/6uL7YQ+BYBHi7JqmN7dykAHiPtbz37P7AAACAASURBVIG5Tna/nc5LUX3oF1lfjGrXMdZmfreGbLo6OY1XDOq7i4m2XtI1PpImCRPJnFdIfLJWjUFtxUa/ZI219vtY1+u8upaP3atv+ST+rRgblpzVdJ5b9vG867693cTRPi8vGLcVv/rrM75nDmPu4vY9ciZlD5rHHHx00mP6ivBv/9QedSFX+tfIr58+3u3RQ+ClBPxBQ5d85ualqLmuP+PrFXMESn6+czG/i4c98mJ7kDtejA9zNthpLx4T7Sm+1r8ScJdctbYnZ9rXmFpfR/rc9xRDl8xrrN2Y6pt2PQPaR3zgC4kPl/TtkQuu3TkesemMNP7urDzOqtexL24Ti8tpP/4so1fZzfU9s87ev5fq/LnN15f+iZf2yzXp9EeGwK8Q4EH0D+Ok8wJQPzqys636WIMxW5Lxe6TAaZzLa3O38PnTmoq5vWsiVTKQTeOVuKZ5llSmNX1P0xjZneddjFq/i69LqB4vcSMXe3hYr/qRj5og1e5iqLGq3Y3rbN0a0zrd/M7W+ezGdTbFrntgtzrPPX3tmXfxYhviuDu/HWPq8+axEpPbqu7PtOt13NRmjVvc9ZnRWdg+5MfnTH5l/+Tr0/f3yWf3cXvzh3H1gaSPD7Datw9+o3u/68xH0ufSdcZNUmP33Do4jeNyHdskGduto7g8NtoXqRdgfSmSCBtmd3OL327tVVyMX8amNUhKSMXbJVFsmuMvdte39oQPlxMfH4NOjMitWJnXrSEfe+fjp8rObx3TtX2e9MJNZ8e5cY5IPaPoW5LnSeMuOtw6yZidEp8uXff4XdeY6WZvLjt9mo/d13v45+XX9RmDZG4nPQb15wqBEPhBAnzIug+j2/zDK51bY9CPyDqvti++SBrXNRgj6brGYpukEKrP5Ur3vskn67b7JhlNCYD+Hfym9Ylx6pd9jFHrq7/GB3Pim6Tm4gNZ94LdpXS/j6xfx7qfle5FgPtYzdnT1/ndmlfnqF24rc7T+7bO/+Hsfe+uNzHUZ7o+S972mJ7V2YvLSd+7xmUPvk/pOp8r7z1+agxq5wqBEPgBAvpAcm19OB9ebuUlWl9gL2n7y3t4aSpuYqv6tCftWX0uJ93HTf7avfLik6wvRe2lJi7tgzkNW63t+5xi6extfL7envhqvFtt98++pjl1/WmcPw/MmcZWeze3O4c6b6vd+d2aQ+xI+Shn3p0jNp5V2luS5+byHHTxKo4mhrt5VvRj31r3SD97cindL/nT5XK1xi3Oumedz9XPbYztr/Pp635FkZ8hEAIvJcAHW075ELqOTZIPruSv3ry0kRsvzi5mt7nOXoGqPl2d9Hmuw0I29JskMdUXovZCX5Xyc31h3vyYb1/7iC5fDzGyThefbDW2qa2x3NOYlb1bfxrPc4A8GifzkEfmTzHJjj/kamy3Xztjzn06X55R9bs+jcd+ewa69RW3YrY4NI851QftV0j24PKysfJDa/lFe08MD7++ue51z1ytyVq+fvQQCIEfIMCHbfXh5MXEy7KV+pDrZed3ecm18+wl2PbzkkfK/9YcK7JW+6p9wovNdWydbGNWfNo7+++SAP2dZP6wzy6OlU0xqv8h1mfjI+ZuXyQ3xuyRkx/ZfX43zvu3dJ4hl8zpmKvP7d5mHtJ9Sq+xM67bg2zlfDiv6Vzr81nb07zbs1DjVdueE1+fOZPPZ+3E7FL61qX1dB1at3I/MJ+1XF4CyI8QCIHXEeCDLY/o3YecF9JDQuMlqpdt/cD7C099vJD9Bc/8Lem+0LfmXPu1H+Lv9jbZYKJ+1308flsu2q/WZt/E7ZK+STL/ugdfx+PYo4+xsnZ3fvRN0vfS6dO8zt7Nx6bYuvjU789W57fa8OmyctacavMz8H7XuxhrfNMY93/Vp3P15xEdOc3B7s/Bfyp2j0d6KUo0jzn4eFZ6jOgupeuS/z0X41wuY9N+OXfb62qO4qB/T0wZEwIh8E0CWx9oXkiSDzcvZH+x8aHvpMYzp/pb2Ttfdf7Q1v7YAy+XV8kHHsTAXtivZN2DmHn/pOOzyCP7Yv8P8WpN+ZXsznCKaRr/7B7lr87d217F2PVVv5xD4XtjJR9dX7Wr3TFkvVVf59+SYX1e9ZGXbUvWebXNcyH7pNc5e9pTXJrb9bnta8Txn8SFL9rflfgjIvZAOzIEQuCFBPiArT64t5ezvzh5IW+9iHkhI0kAmuc+8F1tK//MqVJr6Da79ucv3dV+9/Thq2WjtXwf0x4qC43rbtuHr3d0T23MHqfi4ZwkV/HVsT6v6t2equ2IP/df/exp+3zpWrue2cD8dq7erzW9Xf1vtev8q6/pOdTHX31+0XY5ze/sPBtd3xGbYmI8usuqq/2dS2vpQqITw3ckvlxKzxUCIfBDBPggrz64vKw8Gd5ezHqZrpLJ1FcTh17CvJiRbuv8kEg8GUivY93fdexqv3v6WiYeR92f2jUukmE3lvGao1tt92/60Xg1/u4s1SaGmjxZm35ktxf20/VNfvAnOc2rMdHe49P9o3frqK/j8qxt2g+xI9lDsw7n1J2vvw7Uz4Xuspv/EzbF4OsSU5WMqfZXtfHvUvrRW/G4D+LDRjsyBELghQT4gE0f2Db58gJfvXh52U5jvF9j3KcnSfq6RCIbY/2lXscy7jpGe/V9TXvv7MzDx0Ny93iIHVnjUmKiz2U3TmPd93UPrN/F2tkYfye1Nr5JlkjF4rFJn+LzscxHel/1R7v69TnS/WbOM7KuoxgLzzs+3+kjZjggZVfsg+/u7LDp4y/d5bV5J3xM1fH1Hcn67hsbgdA3tbG/SrJeJ2XbcyuWOt9tr4o1fkIgBAoB/+B1H1a9mGVvX9B6oXYvd710eeF6wuBljOzG+Hit6+1uLdm6+FjDpXyVsezZ91ltXbvlgW/W8djRPR50+pDYOznslzMi1k76Htv4p/WxI7tzUKz0I+s4temb5DNzJl/VzvMkWdlqXc7vDeTqPPURVr/LPXr3TDxrY70ujktgb/Kjxsd+p/jp7+a9yZYSRgh8LgH/4PmHseoPCYyXfU0gvOin5EO/S3ztkd16nmjkg7avgU5/k3R8z568ZWf/rmN7kKwx7YdYkJUV9pVkDYuNmH0frtPv8i524u0Y04fsYqPPZfVV9+pj0Z+Zw9yV5LlA1j1o3cLT+XD2kxy5Lny6f3T37+dXdb2VZNt7MdZl9bmnrfUYh04M+Kb9r6XH0+nYJLl9T/T/631k/RA4FQE+eHwoXbYvWr34pxc7L/opOdDvchrb2X0eOrF4XDWx+dgmSWjPJAWX2Kv0MXe6x9DFLxuxID1RY9uSrFPi9jilT/ddzPjAZ8fO99LF5v2uV1++Vx/n+jNzfD7xyY/2pj6X0usamsN4eFwlDMXM+da297nesm7WYBzrTVIvJ/W5vDZbwVjvxOZS+nSzFuNp49Pt2N5Repzs1fdS+9mD27FFhkAIvJgAHzQ+nJ3kRXknSQDdi10vd/o7ScJw2Y2bbD5PumLQWL3kXdZxjC3J4G5f3+3z9af4O2aM7WIm7jqPtUrM3Rm6TftV2+WFAf4k61qKgRi7Ptnor7IbX8fUdp2z8l/nVoaFz/IZkS8bXzk5x706nDtf9F34LwoCX0uvALVdXputYCyd3kZ36TprdDb8Mcbb766zH+Ks7bqnrp+5kSEQAi8mwAdOst71pcnL8yL1Aq8JgARaE4W3uznev6XX+SQsJRPNRXaJzRLO3V5eYfe1V3uocWk/Gl/3pTZ7U3+dx3oldp0h51bPk/a4d3zWtYixi9NjVH931711Y9xW19+zRp0DP+ejNbxd51gfrH5C+vm4vnctvQI0tl6drY6h7WM7XbbJ3vnA9pdktz/F7/a/tJ/EGgIfQYCXTyd5Yd4lMV7sNdHQ9uTS6Yxz2Y3rbDWJyIePU1JRG+njsVviudvXXrt8crM269FeSY/JGVRd49xP7V/Ey1lyfrSrbPevNbsYZa8x1Bg9XtfrPO+b9KNz6ni1F4zu9q4YrmNhtMWOcb8p9cLRej914RupdVz/qXXfye/Z9vtO7BPLyQnw4ZPsbl7Kdy9vkm+XtJQEtpJUN29rjietbj79xNbJa8J52MsRe7c2e2ZNYlnJLnlWW8fEx9DfxM9Zcn5de5ND3ava1aZ4Vvv0Po9dOv4kfZzrdY73ud7FxRoNn27vYgQvJNzeQepVpTg6eTV/S+C7Oql2b7te56UdAiEQAk8R4MUi2d0PL3AlA73Ap0TgyaLTu3mrxFR91Pl1rmIjxi25M2Fd/NUEWds1jhq3t+vc2u58Tfse9uBnWZOstx/OF37dejVO39OWXufW9p49a05dp8aJX40b2PiexYk2urM7ousD6ONr2/uO6PhxKf2nLsWWKwRCIAR+nQAvn+4FyYu6lXrh8/J3WRNG1/bx6F1C6uZ263ZzSaz4oO3SktG4R8YT55bsYiEGlys/nQ/Z6hz8NfvQeWpP3blio3/ce7emx9DFSUyd3OMP3j7f10Tf66th4/vdwwleLvVBpe26bFtt5m1J/CDxTVsyVwiEQAh8DAFecquX45i4pqTgyaTTn53nvkhMSPn0fvSa4Gi7JGlpTtXxwzpVat1uP8xbyerL290875fuY4i7SM6VM6Ttkj5P1De925vH4TFMumJSH3LyKbuPY7xs0xyPxXX8FB63fV3t4uD7dy6Trg8/feguO13j3V7n00Yyts7DfnGWHyEQAiHwiQT8xcdLUdJf1vVlPv4qg8SipDDdXYLZM8/9eQKSfnQ+SWsl6evi1ZpiREw1HuyTnHzKTzen+q/7vZ6Xn5OfoZ9rpzOPObTHX88pnhoDccPFpesaV/evdh1T23VOZeIxae7ihoHGoG9JffY1ppNX87K/m9vZ3P9KZ83IEAiBEPgYAv5SlF7v8cU+JQgS00qukgnzSEi0XXZre/8eHf9bUr66eOsadUztr+1uD55UfXw31vulDwlY57mVeL3/4by7tdkr7FgfWWOZ7HXc1Pb50ruYZNM9+TD7Hib1c6APvGwur83R1vVXH7Tdb2dzX9FDIARC4CMJ8PKTrDeJ6iFJ6eW+Sgzq27pJakglE+bgv0r6Jbuk5P179bpGbU9rebysxV6Q2CfZ7UFz6/huXF1fcTe3zpRzrOdb24x78NOtrzhlr7y83cTz4PuXxxzhAR8++Gp3V7XXdjens3XzOls3N7YQCIEQ+BgCevFNd5tESJokX5ckJcYgsZOEaqLTOMa47jZ8Sdb5anv/EZ01kHWu749kXMeoXWPqxritjp981/XVdj/oir+5p7Nd2e/8dHEqhmatu3lv1K+9KrbVnrs+fchld1n1r97nfuL7udmZFQIhEAIfRoCXYvdC5iXeJpouUclGgnSphKC2SxIW42pfHc84ZE3U09qM3yuJg/FH9qk5jN8TT92D2nXenjFaF55Fdue6ZXs4d/bkschW1mqfk388hr2yJ9orqY+4+jt5NUeEQAiEQAj8BAF/+dYX9TLJeIJCJ5EjlZBImMjO5n2exLC7lK6bNZE1mTPOJcl1z1jm4d8lfd+V7tN1xUesbpc+xe7cTNeZHknI/gww73KGHodisDWWz4mNI5ab32vy39PeWgPfLquu9urW54t+9J/4zMVnCIRACIRAQ0AvYF28iKscE4GSsSepmiyViDTGZdUtWY3r+Bz3160v2+quSX5K7u6jzqn79LHP6JXhVnsV88CznunR9l3BwB6HtfwctQ5tdNbGp9s7W9fPOKSPqbrae27/DHx9Ir7mobuUv1whEAIhEAI/RGB6afPSl3y4p2StsUpcLrv5z9jcr/SawEmYk+xinsZif2YOc/fIuodVe6sg0XqF63S2z9h5BjQXXXJqY39mrdUc1qz+3b6aX/v0sZLN5bUZEQIhEAIh8FsE/EVcX9Rqe+K505X8uuSpOSRG5MrPM33yy11jwD7JZwqMusaqMJjWnexdPHU9b6/WXrDszvY7Nk/+k87z8511fnquPmdaw+W1ebPTjgyBEAiBEPhhAquXPsnmrhgh8SnJerKUTsLUGPUz9ickSd5jYH36Ounj0btxbmMccs86Pn+lyxd+kRrf2env1h8Yr86XPj1i6Eckz4fmuN61j/j9rbHs22XV1c4VAiEQAiHwwwT04udaJYG2IFES6pKmbOpTUnV5TVqjr6P9JPkaQ5esGYsksbukb5I+VvqeddyXxk9zZK/+69zaT9vHSR84rs7X+/Q8ePsTdfbYSbdJzxUCIRACIbAgoCTBhb4lNZ4xna6+7uZ/+bq8KyqmZDokxru53x1DAq4xTInfkzcJHfnMHPe3pXuM3VjvJ6Y6rhvDWPUteHZn6zZ/JmSvbR/7E3pdj7bH8t118bmS6ssVAiEQAiEwEPCXsobQdh3bSnZ9su25x4JESZCk6FJ2JVSXi4RZCxXFVG0Pbffva0tXgq4JvbZfMaf6nNp1rW5cV3B042Sr/mjLR1OcwHM6673PkuYzdvK1svtc9FfLGuMe/xqTKwRCIARCYEGAlytDaLuUvro1d+pf9TFnWYxQOJAQXdKnBIq+kFqPomPS6b9JfHdJ+p2KEueCrpjrfaQo0dxuPP5LYcJ5dpLnYK+UD8ZW3f0zppNuW+nq4/K1ZPtuG7+RIRACIRACA4E9L1p/8f+GvlmYkAiRFARWaNwKicamPXRrYF/NvfQ9U5R0CZ24a7HgbfaI9L5O79bpxsl2ZCw+ujnEpr5r8obv6nnRI6n+6fI+/Ghs1bG5dN39yO6X97nuY6ru41yv49IOgRAIgRDYScBfpugupf/2TSIbi4IpkV6T4e3XN00hMvlkj94vm7dvutZXnySJGEnSnmSXzKexbse/pHx4X9W7NVZzuvHVJ232jezmynZlB9cqeTxl53JdtqmNfZLdXNb4CUkcne9VXzc+thAIgRA4HQFelJ2U7V/eSvxa3+WtGLjaL+1VMlQC9bGDPq2DvV0XX1qji4HkPcln5sjX3qKk8y+bfCj2TtY5jK9j2XuVGu/3dd7Wc8QHT+O4XMfWydW4VV/nK7YQCIEQCIF/RIAXdifdJv3oTSFxdF4dj59lUVATKd8geOKtybNpa23WQUdiH2UXgxLy6vbiAr2O9z3QV9dSW32MlV7HwAQfjK1S/cTCnDpG7Z03/CTrrcdeNpfX5tMCf52DVV83PrYQCIEQCIFfIMDLuZOyHb2VoDSHRMV8t9NP30oyjzn4HeWUgD2ZWnyjn2YfxLKac+nrYqAAmKQnfwoAxnrs1datJRt39eu+Kwf59rWku3/667wd7dUZ06fHXTqX69giQyAEQiAEPpCAv/DRJY/cnqQ1j2SNjuzGsQ59tDtZ/dJupSdRErJsxPeNxNquh1+k/HcxqF99002sSPnwscz3dbAxZ498hgVxsPYByTPgsp6xPl7YPvCjli2FQAiEQAhMBPTy5yIRHJFKzBrv0pM1fW6ruo9Bl/Tb/fuY6uuureTZFQTfSKp3/hf7vhu3isFjQZesBQVFidZUfy0E3NbNr/7U9oKk+ntx28/Mz7XqehZl43IdW2QIhEAIhMAHE+DF7wlC2/V21ZV0ZSP5Tjr9eyQ+OtnZ9vi8+3UDiVlJ25O47WOXz6Pju6JEPoihk8SK9KJkz/ryydwq5esHC5LprGRf3f7MffDHLVsLgRAIgRCoBJQcdLlcJQz6lLSld/LVCX1aB/tyPRJ9VxCQkBnjBcKehH90TI1BbdaeZFdIHF1X47UWN2s948fOHe5+Dugupe+9/Vms+uVBzY8QCIEQCIHPJKBEwbU3afxGEUKy69ZSnN6/W68FgZJ9VxQ863/PvBqD2j6vFgtqb83x+T+gw7uTk032Z289j5rr8tqMCIEQCIEQ+EQC9aW/J4F0BcLuguDFyVLxHlq7S+4UJfJFMVDl0XUYjx/ayK7AqGO7tn9bUgsZfD8hK0dvd7psP3XrcybfXK7LVtuMiwyBEAiBEPjDBPzlLn3P7QXJoWLAEyXJFkmf2txKuNNd5inuQ7HUgoCiBL+TPLKOfLCOZJ1LnxcZjGF92i593mqcz9nQnR96J2X76VsfJ62RKwRCIARC4CQE/KVPktHW0TtJ0lcf+i5J4pTUraTK7Qn5qC4fR2NhvOKo68kfMWqc9E7iYyWrf3z5nDpG8Xj/StfcYf+cT5U6q2rztvSujf0npD9z6C6l5wqBEAiBEDgBASUZXS67xOPJbLMI8eSL/ooCpBYQtC1xK/bN+HwMPlyqX3ET+yTdT9U1x31Kr2No13GsR/8B6ftHd+k6Zyqb35Pdxzyj85xpbqdj++rNzxAIgRAIgdMR2JtcDiV6JVEl1p8sRDyRP5vEidF9SZcdn+je3ioSNLbzOc0TJx8/fPvRnYHOjyICufdMf2KcPkD47XRsLqXr0rxcIRACIRACJyPAy98liaTKLhEubUrINcl6wn21XhK44ic+17HdJEVGFys+GSPpOmtMtrpH/DGvSvnxOcN49rOS6vvNWx8d1kN36R8tjeuuzt7ZurmxhUAIhEAI/GECvOwlV7eSt/pd3hK6J1VPzF2C92T7al3rsb7Fuxmzx9/FjF/5xn+V7gNdY+oe5Yv+ldRcjb2Ohz17oc2ZYUdi/y2pj4DW2iN9zNeM/AyBEAiBEDg9gS6JTElMyW7zJlErkdZkvKdNEkbib8/aVoRoD8TKfryN3squkFDsxCLJzTreh61jIBv9ByT78b2g/wupD47WXclr920c7cgQCIEQCIEQeCDgSWWV2JS41d8mcOyelLtkvCpINN7n41MSu9s2dGJlT8SNfdd+uj1QUBCTJLrHKttq/hB/Fx82l9JffevhqD6xIdWP7rLql0H5EQIhEAIhEAJHCXiiqUlJ7V0JnMTcJeKpGNFY5tWE7u0hgVNoIGus7IX4aSOxM/9BTnshNmKvcpon+7AXYicm2p0k/mekng3Nq9J91T5vu44ft0nPFQIhEAIhEAKHCZBUPCFVnST5kLC75Dol41qU1ORMUifZd7532BQ78dZ90Ka/k+0ea+xqEz9xu5wYMKfZh8fdxUXs35V6QOSjk52NsV3fxUl+hEAIhEAIhMB3CZBsXEqvtyfINmF7Mu6Sd7WRmH2ekjTtJmG365ZxiptYq173VNvMc3m35laRodh1T+O8iClx1zWJDTvtZ6SeEc1byWv3bRztyBAIgRAIgRD4NQKerKaER2K8S9CeVCkkJGvxUdtTMYI/fNHeKRU7cVZ92tdkH/epNep+jrTZ+2JPxOR7wbYl9dBoTJXVdh1yJxjjxmqrbR8bPQRCIARCIASeJkCCcSm93iTHMVFTRKy+HSBxM7bKRZIe17UixGOs8R9tV18P6yt29nNEsudmr4qxrns0bj0IzEH3h0N9uUIgBEIgBELgbQmQqEhmVXqifEjOnly3ChL/hoDkjHQ/B3TFSnxVr/t4to3/h70fKUx874v9PRujHi7N9Ys20vuih0AIhEAIhMBbESBZuZRe74dk7EmVomJvQcJ4+XDdfW7ois8LBeLFRvtVEr8jh9Xe1bdjn9OetvagB4ox6G/1kCWYEAiBEAiBENhDQMlMF0mtSk/G6ntIyiTbVVLWrzYYh+x87bARg8uqq/1Tt/N4YEH8YrGzEMHf0Xg5M5eXg8yPEAiBEAiBEPiLBJQIdW0lxDH5ehJe/U2FChEvRlzHx0IqvmeTd90b+0V6f2fzfteJZ5PNjn25L1+j0z1GdEldGp8rBEIgBEIgBP4cARJYl/hk80TZJl4Ki9U3JOqTL8YiF4na16pxTLHuseuAGIdeZe2n3Unno36Pe0tnfOd3ZfN4q652rhAIgRAIgRD4swRWCZDEuUywWwWJihAKEeSOBM7aW/Ht6dfhMI6DUlvXSjJnS07FiebBDh1fdQ72SXqsVb9sJD9CIARCIARC4K8SUPLTNSVB2UmoD5LiYk9BIj+Mr/qwBmuvYlv1sS+Xl81aEUK7k/Kty+VqPfooNGobe5WM25I1lq/o8jMEQiAEQiAEPoCAkqAul54YPXlKb28VGtPfkKhYoRBBTn7MrhhY2+NZ6XUf3r5ssuwTW5Vao17YVut3fd0eOls3122Kh3aNjb7OHlsIhEAIhEAI/BkCSnS6SHhVtkWIFQ+Xbz6OFCQ7ChPFcCRxE7/Lla6+Zy5npfmV1Z72kX3hj7U8ZmJxW/QQCIEQCIEQ+JMEPKmR/KokgT4UJhQWkqtf2/g4L2QGXeuzZo3F2wKuNpfr2H5Ssp5L6a++tQdfw9s/ub/4DoEQCIEQCIFfJ7CVRB+KES8mXlyQ7ClG3ilBeyxV3+K66tdD4P5+/aHIgiEQAiEQAiHwmwRq0qtJkgKhLUr824/p1zY+RoUMbS9qTK/rd23xIe7fZLV3LWImTtrPStZ95z0TY2QIhEAIhEAIfJvAKmG2BQmFhIqMqSDRr3N2FCL4VwwUQV082mRNzLX9bRBPOiAOpMeKTXK6p/GEgw/akSEQAiEQAiHwcQRIktoYukuKBAqHBzn9HYn/SxsKmIXUmqzl66MT3185AMWtq8rO1o35mv1/82lHhkAIhEAIhMBHEvBkKL3eDwUIRQW/gpkKEn1zorGMQzK/kXVtbwu+2n/5In6k9rJH/8t7TuwhEAIhEAIhsItATYhq+823FsvCZPq1jYoQChFkU4j4Gr6269qM2p98ffr+PvnssrcQCIEQCIEXEfDkX3UvGB4KExUa07cksvu3JEMx4v7r2iRp5Iu2GzchEAIhEAIhEALvSICE3xUEsj0UIm5TUTJ9S7KzIKEomdYXM4/xHRkmphAIgRAIgRAIgRcQ8IRfCwMKhofChF/FTN+SqJ8xSC9mTNearFPX1/aI7wVbjYsQCIEQCIEQCIF3JUDCr8WA2hQKhwsSFSobhQg+fZ0aw7syS1whEAIhEAIhEAIvJqAiQFctBrxN8XAnKTh+8Nc2xPUVYX6GQAiEQAiEQAh8PAEvQFxXEaL2XTGiNgXJ9Gsb/ri1m1tsvl7VAS97rhAIIWbeGQAAIABJREFUgRAIgRAIgQ8nQMKvBQHth4KEokKFyTe/JdEaFD6sJ6kLeW1GhEAIhEAIhEAIfDIBEr8XBOgUCw9FyYu+JdE6rMGaSDGXnisEQiAEQiAEQuBEBGohQPuhGOEbEskXfEuSguRED1m2GgIhEAIhEAJbBPg2gkLEJUXDXXHywm9JfC3XFbPauUIgBEIgBEIgBE5CgMTvBQF6W5DwTYkKk+kPXPkWhbELyVouhV7tXCEQAiEQAiEQAicj4AWB62NRooJk+tXNzn9xo3Xw72sKvdq5QiAEQiAEQiAETkSA5O9Fget3v7Lh246tX91oHGOQzDXp61T9REeQrYZACIRACIRACECgFgTebosSio7unwHrWxIKEaQVIu7P10FXTNJzhUAIhEAIhEAInIwABQBFgUsvIB50FRxdUSL7RjEiX76O68Kvdq4QCIEQCIEQCIGTEaAA8MJAOoXDQzHCtx6rP3DlmxTGFun+67onw5/thkAIhEAIhEAIQKAWBd4eC5LpW5Kdf+BKweNrSdeFvDYjQiAEQiAEQiAEzkCAAqAWB2pTODwUJvx6ZvrVTb4lOcOjkz2GQAiEQAiEwOsJHCpI+DXM6lc3T/49iXZGkfT6XcZjCIRACIRACITAWxOgCJgKk4dvSfgWpCtKZHuyICGOt4aV4EIgBEIgBEIgBH6OQFeMyDb+6oZvSrpf3ez4exL3Xdf+uV3GcwiEQAiEQAiEwFsTUFGgqxYHtNtvSVSUdN+SqEjhWxQKl0Hi3yVxfEWUnyEQAiEQAiEQAqcj4IUBOsWI2uh38htFCT5Zy+Xp4GfDIRACIRACIRACXwRUEOjywgD9rgjx4kR/M9IVJbJt/D2JfMsva7i8hhIRAiEQAiEQAiFwVgJeGLi+LEqe/HuSVUGitXOFQAiEQAiEQAickABFgBci6BQPbWGib0O6omTjWxL3yTouT3gE2XIIhEAIhEAIhAAEvChwvS1G+BVO96sb/siVMYP0NVxXPGrnCoEQCIEQCIEQOCEBigAvDqT7NxptcdIVJTv+nsT91jVPiD9bDoEQCIEQCIEQcAK1ONhVlHS/ulFRooJm8Ssc913X9Ziih0AIhEAIhEAInIyACgNdtUCgeGi/JVHhsSpKhl/brL4l8TiuIUWEQAiEQAiEQAichYAXArUooRhpi5OtP3Ld+KakruVxnIV99hkCIRACIRACIdAQ6IqEthjhG5Du70n4I9dFQeKFTl1TYVGcNCHGFAIhEAIhEAIh8MkEamHgbf9VC8XETU5FyUZBIv/49bWk5wqBEAiBEAiBEDg5gVoc0L4VIHw7IknRMRUlPsbnmY7/KnUMsuUKgRAIgRAIgRA4IQGKgFog8G3GWJh0RYlsFC1WhLgPrYPvuuYJ8WfLIRACIRACIRACTqAWB7S9mLjTVXhMRYmKjkVhkqLEyUcPgRAIgRAIgRC4EaAAqZJvM+6KES84nvznwPit66mdKwRCIARCIARC4OQEugJBtoeCBJu+CXmiKMFnt56OQPZcIRACIRACIRACJyVAIVALBb7ReChM+NVMV5TQh6SIKbKuRfukR5Bth0AIhEAIhEAIiAAFQZUPxQiFBQXHqihhbCPrOrSJJacSAiEQAiEQAiFwYgIUBlUuC5NvFCV8C1PXO/ERZOshEAIhEAIhEAK1MKBN4dAWJvq2pCtK9M0I36Q035LgkzVc6iTUzhUCIRACIRACIXBiAl4cuN4WJBQeU1EyFCMUJEhfh2IEeeKjyNZDIARCIARC4LwEanFAm+KhLUxW35QsihL3yTrI855Adh4CIRACIRACIXAhoKJAF8UBsi1GKDhWRUl+fXMlGhECIRACIRACIXCYAIVIlWNh0v3XXPXrHIqWQco/35bUtdTOFQIhEAIhEAIhcGICXXHgxUNbmDxZlKQgOfGDlq2HQAiEQAiEwBaBVVFCEfFQmKx+fTN8S4KPaT3Zc4VACIRACIRACJyYAMVAVyxQSNxJFSSromTxNyVaQ766tXQExHLi48jWQyAEQiAEQuC8BLoCwYuHu4KEb0FWRQljBum+69rnPYXsPARCIARCIAROTkBFga5aHFA4tAWJio1VUbL4pmT6loQ4ruFEhEAIhEAIhEAInJFAV5BQlCDvihOKju4/nkYfsvm2ZFpP9lwhEAIhEAIhEAInJkAx0BULd8WIFxgqOlZFiY9t9G4tHQGxnPg4svUQCIEQCIEQODeBrkjgVy1tYfIDRUkKknM/g9l9CIRACIRACNy+nZgKk7Yo0bcf3Tcl+u+XqG/Hr28oenzdHEcIhEAIhEAIhMDJCXhhgE7R0BYlKjq6/4AaRUnzKxv3wxqdPPlRZPshEAIhEAIhcF4CKgx0dQXCWJh8oyjROvj1NYnhK5r8DIEQCIEQCIEQOCUBLw5c9283bjq/mpm+KaF/8W2Jr+G64KudKwRCIARCIARC4IQEKAq0dXQk32jcChIKjdU3JTuLEnyzFvKER5Ath0AIhEAIhEAIQICCwCVFw0NBQmHSfVPC/1PwRmGidfDvayoetXOFQAiEQAiEQAicmIAXB+gUDm1hosKj+xc4FCRIihiT+O/kiY8gWw+BEAiBEAiBEFBxoKsrEsaCREVGV5TwL3AWRQnFTl2PGL6iyc8QCIEQCIEQCIHTEajFgbcpIB6KExUd3a9wKErsm5E6V/7x62tJ14W8NiNCIARCIARCIATORKAWB2pTONSi4taeipKNb0ncb7fumbhnryEQAiEQAiEQAkaAbya6AuFWgNRvPqZvSnb+sSuFSV1TYRGPhRg1BEIgBEIgBELgLAQoBGqRoPayMOn+roRvSpCND/x2652FefYZAiEQAiEQAiFQCKgw0NUVCBQPY2HSFSU7/q5k+qaEGK4hRYRACIRACIRACJyRAAWBS4qHtiiZfoWjokR9i29K8OdroYu99FwhEAIhEAIhEAInJEARQGHgcixMpqLkm39X4rGc8Ciy5RAIgRAIgRAIAS9Eqs43Gw9ShcnqVzjf+LYkJxICIRACIRACIXBSAv4NhRclFCKyoV8kBcdUlNCPrPOvv6aRL18PXccgPVcIhEAIhEAIhMCJCJD8KQiqvCtGvLhQwdH990pe9CucEx1BthoCIRACIRACIeAEVsXJsjCZvi1RAbP4pgSftQii7bFFD4EQCIEQCIEQOAmBrYJE/RQRD3IqSnYWJPJHIYIUdo/pJMeQbYZACIRACIRACIiAFwEUB0gKh4eCRMXK9CscFSXfKEyIJ6cTAiEQAiEQAiFwMgIUARQiLttihG9PVHhM35bs+BWO1qHo8TWl60JemxEhEAIhEAIhEAJnIEABUIsDtdvChG9Cpm9LdhQlFCTIuvYZuGePIRACIRACIRAChcBWUdIWJypMpqJE9gOFSVeQEFMJNc0QCIEQCIEQCIFPJkABUIsD2u23JXyL0v0KRzb6N6TW6L4tEW/i+mT22VsIhEAIhEAIhEAhQAFAIeKSouGuONn6Fc43vy3xeEqoaYZACIRACIRACHwqAS8AvBhBb4sSfcNBYbL6toQxO74xYT2XYq52rhAIgRAIgRAIgRMRIPl7UYB+9y1JLTD2/m3JokDROhQ/rInUEUjPFQIhEAIhEAIhcAICJH0KAZcUC8vCZPq2hEIEWQsaa/uaVecIZM8VAiEQAiEQAiFwAgIk/VoU0G4LExUcq29LKEiQVohUf6zjUtjVzhUCIRACIRACIXACAiR9LwaqXguIh/bq2xIKEmRTmGg9+azrevsER5EthkAIhEAIhEAIQEBFgC4vBlx/KEZUTKjY0D0VJoxxeS1Cqj+t1RUnxOTyEmh+hEAIhEAIhEAIfB6BVUFCoVCLiFtbRcnq1zg7ChJ8eRFUdagTK+3IEAiBEAiBEAiBDyNAsq/FAO1lcbL6tkR9XpjQLt+YaB3WYM0qQS57rhAIgRAIgRAIgQ8mQLKvxQBtvtG4kxQZ07cl+tWOFyWlGLnztbMwIc4PPopsLQRCIARCIARCgIRPIeKyKyDubFNhIjvFC3JRnGhN+fW10XVC0rlcxxYZAiEQAiEQAiHwxwmQ4CkAOnlXhFBYUGhITn/0qsJE430s8xvZre02oVY7VwiEQAiEQAiEwAcTINl7EeD6sjCZvi1RsaKChKKkKUQ6v75u1XUEsuUKgRAIgRAIgRD4YAK1AKDNr1W6AuJm21OYUJwgmyJFa7Ie67sUfrVdXpsRIRACIRACIRACn0LAk70XAui3AqQpJi59069xnvzD173FifgT+6ecRfYRAiEQAiEQAqclQFJ3STGCpEh4KE745kNyKkxe+IevxKPDIt7THlw2HgIhEAIhEAKfSoCEP8mHgsS/NVFR8sLCxIugKR6Kkio/9XyyrxAIgRAIgRA4DQFP7qtCYCxOVJSs/r7k4DcmFCaKxXVi08FU/TSHlY2GQAiEQAiEwKcTUJLXRbKvcixI/FuTo4WJihmf3+g1jq59DT2/1gFEZAiEQAiEQAj8dQJK+Lq6xI+tLU4oLn7oG5Pu2xLicUnsX7vIzxAIgRAIgRAIgT9LQAlelyf6qrdFiX/DcaQw8XkLXTFsFSbE7fKymfwIgRAIgRAIgRD4mwT2FCYUCW2BoqLkSGGisYuCpK5Ri6SuLfK+j795Eok6BEIgBEIgBELgQsCTek38fGtRC4Zb+9nCZKNAURy+do2rtjlK2XOFQAiEQAiEQAj8QQIk8Zrkve3Fwa0YUdHghYX01R+/dv9Jep+/+AZFsRCDx+W60Kvt8tqMCIEQCIEQCIEQ+CsEPJl7onedouCuKKmFxN7CxAuaFxYmxCvu7OmvnEHiDIEQCIEQCIEQMAIkcpJ7lZuFiQqMPYWJvlH5pcKEPWmbrtu2o4ZACIRACIRACLwTARK2S+n1Xn5TwjcnewuTnd+SdGvWuKa2GKvP5bUZEQIhEAIhEAIh8O4ESPCKE73KrlC4sx0pTChOkBQ3g1QsrFXjmtrsxeW7n0PiC4EQCIEQCIHTE1Bi1zUleNlVFCApEC6yFhZqT/8nftg1hnlIKzzu/A/2Vaz0sadOXjacH29DQGfG5Tq2yBAIgRAIgRMRIBGQ0Du5WSxQYEhSgEyy+//MYf5QiLC+YpPusosXm45ROhc6Envk7xPYOoOt/t+POCuGQAiEQAj8CgESgOTqpjhYShUYW/9kWAULhQhyoyCpaxInRQrtSQqk+nL9GwLOHn1LKlLGVP3f7CKrhkAIhEAI/AoBXv6S000BUAuEW5sCY29h8uS/zrmtd42VuKa43S6Yarus+ldvfr6KALwrZ+ycj/e7ze1VVztXCIRACITABxKoSYLE4JICwAuDUVdxMv0ax+0a5wXNE9+aeFwe70rXEaqfy3Vskc8TcJ7oktzyXO3Y3I7NpfRcIRACIRACH07AkwHJo0ovANqChAKD4mLPr3P8b000r/rA1yAVo8dVY57aOk76OFq1c72WgDOF9xGpaBiPToTuG1tkCIRACITAhxDgJU8S6KQXAG1hQvFAcbGnMPG/NdF85iLxuSEVL/F1sXc2HZ3snbyaI3YSgGNlCXfstI9In4sumSsEQiAEQuCDCZBYVgmDxL8sSryAUHGxpzjxb00oSJDub9AVMzGhr/bR9eloZe/k1RyxQaDj17F+1paz2TiAdIdACITAJxEgqWhPW4mDImCUFBV7CxN9a6LiRAWGz7WCY1zLxihujXO5tRf62XcnP+mcX70X8eOC5U9LrVfXJYbIEAiBEAiBP06AF7zLKbGQ9NW/p1C4jPlOcXJkHRtLfNM+VnYdp/o7eTVHGIGO1Yqv+vw52hrb9fvZWChRQyAEQiAEPomAEgBXlwywkVQ2CxP/5kO6/0ucSf/mr3S6mBQ3MbOHvVI8NLaTV/NpRcdli6ufAzpyay79fhZVP+1hZOMhEAIh8EkEpgSjPZIMXJJIJHfdFCh7/taEX+loDvOq3LmuYvZYfQ/P6jDh/OXnbBd73svQz8B1zZ/aW77FnDjOxj/7DYEQCIHTEOBFv5UUvF+JZfetAuPZ4kTrUKAcWfOawIhRsZMMfR97dT0MjEXnAZH9LBcMRslZ+zdgG+cmX3vPRpzPxPssz1X2GQIhEAItgTHZWFImgZDwW1kLCbV1T7/GqXaSGn6QGwmujcWSnse+Z6/TGMHz5IiObOH+USN7cim9u/+rnuPGucmHnxntzje2yv6PYk3YIRACIRACKwJ66XORAFbSE7wnllEnQe391mT1a52SzMY1h3Hal8e/2ueePnHTOC50JPa/LNmLZHf/13Susg/n0J2bfHM23TrYxFJ6rhAIgRAIgQ8mwIveJYmgSpJHl1xuNooRJRvXpyRW/9f2i4sT7YHY0DtZ93qkrcdD4zt5Nf8p4XsZOazOM4XJnzrvBBsCIRACb0mABKTg0CdJoj8kVaSsklktUDRWcyhuqrSC41Ac1/1pjvZX5bTnPXbYraT3SX+nS3vUtdrrhZfOop6Xtw8WJnvOgLhcXoLNjxAIgRAIgc8ksEpGXZ+SyXhTRPgY2XQfKU749kR+8Il030/q2leXFLF1+37GpidG81by2v3Phcc57fVyFl6IdPrBc9JaW9yd3z8HlQBCIARCIAReT4AkJM9VH5OS/S/qsTDpCgUSleQzxYnPl3/a3VoHbJ4QPTG6PrF4xu6sNb9ru+1rxM/+9DhWe4LJhf3WGR48H62L/ymG3+bys9TjPQRCIARCYElgb3LyBKJEcuhWsuLeSmz1f4VrvG6tSdKr8mg8w/i6R29Lf9WtA5GvSda+69CboP9mOKgw36X0elMw3J311vlxNgPjO1/XNVmnrk9b25Pu8tqMCIEQCIEQ+DQCvPC1LxLBHlkTzK72s8UJv9oh6VW5MwnuiVF790SJjtzD5jtjOAekfKGvpPddJlx/MN/7sa3iHFltFSa1iNxxNopjxddj971FD4EQCIEQ+FACnqi0xa2ERf+YvHYko/GfnNZvTLytpFcTH0XKnjWfGONJk+SJhMNPS85kr1Q809itWNlbe7ZifbQw2XE+xMTatJHsRe1cIRACIRACJyDAC98lSWGSJJE2gdUCgOSEpH8ryXlR4npXoODzB6QYsE/0TrpN+m/dekRZCx2Jfa/cPNetM1O/zpmzRhpDWLpUfKzdxcp+JHOFQAiEQAichIASgq4uMXQ2EoknmF26JyvpW8nOixLXa4GC3yo3kuKumBsfYsJc+KiNHds7S4+XvdzJylJtP4Oqe2Giscw3Vnf+r/YtZjyXLi8Pa36EQAiEQAh8HgElBV2d3Eqqm4ltSkg1YT1bnCgx1gKFNesa2L8pSaJ179hX0vuk/6t7iv2haKC4cFmLkdr2segbzPdwuT6mt+eUdmQIhEAIhMCHElBy0EWydB1blZ7g1PeQ2LZsSlyMkf6HCpQ9e4WJS9fh5zbpP3F3a7V74EwoKqrcOqM6njbnPMgVA57FywOaHyEQAiEQAucjcDQxkvTaRDckooexSmAayzcg9X+J720z3xMivpF7Y3rROJKuc8J2RHIu+KHdSca4rLratxs2LqXX+x8UJuxPn0TpuUIgBEIgBE5AgBe+SxLClvSEp7G3ZHdErwlxKwHuKVS8SFEsvoa3j8T5g2Nh5xK9Y0zfltx1Hs6mFiPe3joX9ft41zfYaR/drY+f7LlCIARCIAROSMATAHqXLDqbJ89dyXAjUe36r43uKVA0hiJFaypZdnIrnh/oF8cVK+9H3ys3z8M5eAGx0n+oMPE9SfdbH0O1c4VACIRACJyUAEnAk8MenUSosatke7hPiXIrIe4tULxI8cSsmGv71ft4R3++Z+l77hXrJ78xWT1f+hiqP1cIhEAIhEAI3BLCKnF4Xy1O1He4EPEiwecrafLNxyo5HunDn2Rd15N27fO4/pru+9pTiNQxK76rwoR1B17+HLmuj6HauUIgBEIgBE5OgGRAkhAO9C1JgeLycIFCIqtSiY2CYpUkn+nD76cVKs6w6mofube4Tr6GgsSfkfpc8cyd/KOY7YdACIRACDgBJQtdLmsCmdo16RwuTmoyI6liV5tiYithPtOPb6TWJYYtSYzvJBXzd2+xWLFc+R9YTM+PP3dfT2F+hkAIhEAInJ6AFySCMSWRzv6ywqQWAZ7g6KN42Eqcq6S6p8/Xkc76W1IxM8bj/ymdtTop27P3Ft/J77BPPTc8JzxDPGen//AFQAiEQAiEwExASUMXyeNZybcmmo/+tCTpVl+yU0DsKTZeMYb1kMR2VGovzKn7mtrdeGySr7y3ChP1d+sNsXfPEc/Z1xOXnyEQAiEQAiHQEFAC4SKZqI2+kvV/EVOIaA76U9KTr3zRdl02ioVXFCDP+GB9l8T6XVn3Stv9Sn/VrT2sGKi/rqWYmnt6ZniueN4iQyAEQiAEQqAloETChT4lly27EpXGkLBcx/YtSWK2NS7+ZKdAWCXY3+wjnk6yj5X0Puk/fa/YfLMwqc8X7cgQCIEQCIEQaAmogNCFRFf72VsFg+Z+qxDp5nvC9n7sskn3gmCVdN+lz+Od9J8sTlYcamHi3E2fnpWvpys/QyAEQiAEQuAgASUWLvQp2azsFCWMof3yIsWS4sW3FyfeR0L3hL9KxJ/Q53vdo2/tGYYDY87apZ4ltXOFQAiEQAiEwFMEPImgu5R+5KYg0Rx0l5diwguIV+pDAn34m5WatLcS9Fn7KUyGM+qei6cewkwKgRAIgRAIgRUBEo7GoB+RFCKag+6y6mr/+t0VMbLVokXtMxcmzdn4ufJc8Kysnqv0hUAIhEAIhMAhAkoyXOidJBk9K70wkY9fL0q0ZleYEMvUNxUun1q8wKPI7tz13MieKwRCIARCIAR+lADJhmSkxdCPyq4gkQ+3U6Rgp/1P5FSgkKhX/epbFTJ8M/Ou38awR5OcST33H30A4zwEQiAEQiAEOgJKRrpISq5je1ZSmDCfIkRt9LeVq+Kkxk+xIjvzOsk4lxQyz8q9BZD8E1OJn/NB8gxcHoz8CIEQCIEQCIHfJKBkxIXukmT1rPTiBH2PfNuCxZN6TfS0vfD4SV3FxlZhcqAg4Yzr80A7MgRCIARCIAR+hQCFCIvR7iTJ6ztyT2Ei/3+iOOni/OkC5ZsFCfzrGer8ZcsVAiEQAiEQAm9JgCRFAlOQ6K+QniDR90iNeaubQkRxof/ENyVb346o39cdOE1n95YPYYIKgRAIgRAIgY6AkhkX+pTgXmmvhYp8V5u3V7r6fuT2YoTixAuE7+hHvh1hHWJo9tudjc5V9lwhEAIhEAIh8KcIkLyQCh5d8qdvig7WoY2UHV3SdfrcxpiXSS9QKBKelXsKks53U4ywZ7gh/fz+1IOYYEMgBEIgBEKgElBy04V0ncT3W9ITb6djW0nvk37o9oJEc7uCYa9t69c1/DFr9TfErDNgb/U8vk4wP0MgBEIgBELgwwgo4dULG8lQ/ej/SnqCrjptyUO3FyW1WNjb3vPtyKogIYYS+8SZs1J/rhAIgRAIgRD4WAKe6FY6fZL/8qYYUQxV3yxOKAZc7i1EGLf17Uj9Y1bmsWYpRIi57scZ6+FTO1cIhEAIhEAInI6AJ8AtnX6X0n/rroWJ1iXRt5LiwKUXDpP+nW9HfK0mvomVHjz15QqBEAiBEAiBEBgIkCiPyCnxvsJeC5O2GPFiwIuEqQhx+w8WJMSOrDx0BHAejiPmEAiBEAiBEAiBjoAnUHSkxqMjsan93ZvEvlmUqEDxomOlb/26ZvrbEfn0QmjQtWfi9v3DpWMcWwiEQAiEQAiEwDcJKOn6RXslPVHv0UnwY2FCsbAqRNT3nW9HKEBYi3aRW/sRK9g4t+ghEAIhEAIhEAL/gABJ2eVWMqcg0Tj0m6QYUR96lVvfjmz9MWuKkX/wpGTJEAiBEAiBEPgFAkcLkrYYqQUKhYgXJ89+O1J9L9rEJtnd4FRfrhAIgRAIgRAIgTci4MkZ3aX0eutbEdlu345MOoWJ5NGCRD75RgQ5rWPx1Fi9Lexq5wqBEAiBEAiBEPgDBEjansyrfrgo2fp1jf8x6y8UI+zxDxxHQgyBEAiBEAiBcxIgWbusBYnafEPiOrY7uffbkYOFCGuwfhcjNp2kdJfXZkQIhEAIhEAIhMA7E/AETmKvUkWBbBQHD3Lvr2v4tUyVK9+2do2rtsVZtlwhEAIhEAIhEAJ/iIAn75rcvb1ZkDzz7Yh/U7IoSIiDGGhXKeyy5QqBEAiBEAiBEPjDBGqC9zbFwMM3IxQSzxQkfEuCj0EqDtb3mKou9LL5VdveFz0EQiAEQiAEQuDNCJC4XUqvd1uQqLDY+8esKi52FiJehLheYyJmIXX9zRAnnBAIgRAIgRAIgSMEuoRfbXeFyZFvR54oSPYUI8R3ZJ8ZGwIhEAIhEAIh8KYE+IaBBF8lxcGtING3HXsKkgPfitx8X7/xYM0aS22DVPZcIRACIRACIRACH0CApF6TPm2KhP/aU4xozPD3IV58VJ21tqRwa0yuEAiBEAiBEAiBDyNAgt8qBn66IKHwWcUh9MT7YceQ7YRACIRACIRACJDkXdbCYLMg0bcjT/y6RuvsLUZ0UsSYUwuBEAiBEAiBEPhAAiT6WojctVe/tvnGr2v2FiTE+IH4s6UQCIEQCIEQCAEnQNK/K0Su30zINn5T8uS3Ixef5r9bV/HJzuU6tsgQCIEQCIEQCIEPIeCJvisM7mz+bckT347IF9+MIO/8W5EivOrjch1bZAiEQAiEQAiEwAcSIOm7lD7dFBWSfmt81578dHbhld3ltRkRAiEQAiEQAiHw6QS8COgKBWwUI2qju3TdxzB/JcVY/blCIARCIARCIAROToCCYFU41L5ahKgfWx27agu9+rlcxxYZAiEQAiEQAiFwIgIUAy6l/9QttKxV9RNhz1ZDIARCIARCIAScAMWBy58qRnwNxUDb44keAiEQAiEQAiFwcgIUCBQkwoH+KonPk6PO9kMgBEIgBEIgBDoCFCPS8ZyHAAABCUlEQVTqQ6cIwUb7qGQ+6+KfdmQIhEAIhEAIhEAIPBCgYHB5tAjxuVqgth8WjSEEQiAEQiAEQiAEnADFAzbanXSb65qrdrXhk35vRw+BEAiBEAiBEAiBkQBFhQagd7Kz4ZQ+2pEhEAIhEAIhEAIh8C0CXlxM+rcWyOQQCIEQCIEQCIEQeAUBL1Re4S8+QiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEzkbg/weHhyJVF3c2ogAAAABJRU5ErkJggg=="})," ")," "),twitter:Object(c.createElement)("svg",{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M14 1.18378C13.4848 1.38455 12.9313 1.52024 12.3503 1.58129C12.9434 1.26885 13.3988 0.774108 13.6132 0.184623C13.0494 0.478685 12.4326 0.685871 11.7893 0.797228C11.2654 0.306615 10.5189 0 9.69276 0C8.10649 0 6.82041 1.13033 6.82041 2.52444C6.82041 2.72233 6.84584 2.91498 6.89478 3.0998C4.50767 2.99448 2.39127 1.98946 0.974586 0.462109C0.727398 0.83496 0.585758 1.26866 0.585758 1.73125C0.585758 2.60712 1.09288 3.37978 1.86353 3.83252C1.40741 3.81996 0.961324 3.71168 0.562516 3.51672C0.562352 3.5273 0.562352 3.53787 0.562352 3.54849C0.562352 4.77164 1.55241 5.79199 2.86634 6.02391C2.44338 6.12501 1.99972 6.13981 1.56926 6.06717C1.93473 7.07012 2.99551 7.79996 4.25234 7.82039C3.26933 8.49745 2.03082 8.90106 0.68518 8.90106C0.453305 8.90106 0.224711 8.88909 0 8.86578C1.2711 9.58206 2.78086 10 4.40289 10C9.68609 10 12.5751 6.15321 12.5751 2.81721C12.5751 2.70772 12.5723 2.59885 12.5668 2.4906C13.1291 2.13332 13.6144 1.69079 14 1.18378Z",fill:"#59CAFC"})),angleLeft:Object(c.createElement)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M11.115 15.885L4.245 9L11.115 2.115L9 0L0 9L9 18L11.115 15.885Z",fill:"black"})),angleRight:Object(c.createElement)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M0.000232837 15.885L6.87023 9L0.000232837 2.115L2.11523 0L11.1152 9L2.11523 18L0.000232837 15.885Z",fill:"black"})),sync:Object(c.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M4.5835 7.33332L8.25016 11H5.50016C5.50016 14.0342 7.966 16.5 11.0002 16.5C11.926 16.5 12.806 16.2708 13.5668 15.8583L14.9052 17.1967C13.7777 17.9117 12.4393 18.3333 11.0002 18.3333C6.9485 18.3333 3.66683 15.0517 3.66683 11H0.916832L4.5835 7.33332ZM16.5002 11C16.5002 7.96582 14.0343 5.49999 11.0002 5.49999C10.0743 5.49999 9.19433 5.72916 8.4335 6.14166L7.09516 4.80332C8.22266 4.08832 9.561 3.66666 11.0002 3.66666C15.0518 3.66666 18.3335 6.94832 18.3335 11H21.0835L17.4168 14.6667L13.7502 11H16.5002Z",fill:"#6B7280"})),angleUP:Object(c.createElement)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M4.47171 0.204743L0.220381 4.1544C-0.0734605 4.4274 -0.0734605 4.86883 0.220381 5.13892L0.926852 5.79526C1.22069 6.06825 1.69584 6.06825 1.98656 5.79526L5 2.99564L8.01344 5.79526C8.30728 6.06825 8.78243 6.06825 9.07315 5.79526L9.77962 5.13892C10.0735 4.86592 10.0735 4.42449 9.77962 4.1544L5.52829 0.204743C5.2407 -0.0682478 4.76555 -0.0682478 4.47171 0.204743Z",fill:"#3B3F5C"})),angleDown:Object(c.createElement)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",Object(c.createElement)("path",{d:"M4.47171 5.79526L0.220381 1.8456C-0.0734605 1.5726 -0.0734605 1.13117 0.220381 0.861084L0.926852 0.204743C1.22069 -0.0682478 1.69584 -0.0682478 1.98656 0.204743L5 3.00436L8.01344 0.204743C8.30728 -0.0682478 8.78243 -0.0682478 9.07315 0.204743L9.77962 0.861084C10.0735 1.13408 10.0735 1.57551 9.77962 1.8456L5.52829 5.79526C5.2407 6.06825 4.76555 6.06825 4.47171 5.79526Z",fill:"#3B3F5C"})," "),arrowRight:Object(c.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",Object(c.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000488281 4.50001C-0.000488281 4.3674 0.0521901 4.24022 0.145958 4.14645C0.239726 4.05268 0.366903 4.00001 0.499512 4.00001H12.2925L9.14551 0.854006C9.05162 0.760119 8.99888 0.632782 8.99888 0.500006C8.99888 0.36723 9.05162 0.239893 9.14551 0.146006C9.2394 0.0521192 9.36674 -0.000625607 9.49951 -0.00062561C9.63229 -0.000625613 9.75963 0.0521192 9.85351 0.146006L13.8535 4.14601C13.9001 4.19245 13.937 4.24763 13.9622 4.30837C13.9874 4.36912 14.0004 4.43424 14.0004 4.50001C14.0004 4.56577 13.9874 4.63089 13.9622 4.69164C13.937 4.75238 13.9001 4.80756 13.8535 4.85401L9.85351 8.85401C9.75963 8.94789 9.63229 9.00064 9.49951 9.00064C9.36674 9.00064 9.2394 8.94789 9.14551 8.85401C9.05162 8.76012 8.99888 8.63278 8.99888 8.50001C8.99888 8.36723 9.05162 8.23989 9.14551 8.14601L12.2925 5.00001H0.499512C0.366903 5.00001 0.239726 4.94733 0.145958 4.85356C0.0521901 4.75979 -0.000488281 4.63261 -0.000488281 4.50001V4.50001Z",fill:"white"})," "),questionMark:Object(c.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",Object(c.createElement)("path",{d:"M8 0C3.58214 0 0 3.58214 0 8C0 12.4179 3.58214 16 8 16C12.4179 16 16 12.4179 16 8C16 3.58214 12.4179 0 8 0ZM8 12.6429C7.60536 12.6429 7.28571 12.3232 7.28571 11.9286C7.28571 11.5339 7.60536 11.2143 8 11.2143C8.39464 11.2143 8.71429 11.5339 8.71429 11.9286C8.71429 12.3232 8.39464 12.6429 8 12.6429ZM9.12321 8.72322C8.9615 8.78566 8.82235 8.8954 8.72392 9.0381C8.62549 9.18081 8.57235 9.34986 8.57143 9.52321V9.92857C8.57143 10.0071 8.50714 10.0714 8.42857 10.0714H7.57143C7.49286 10.0714 7.42857 10.0071 7.42857 9.92857V9.54464C7.42857 9.13214 7.54821 8.725 7.78393 8.38571C8.01429 8.05357 8.33571 7.8 8.71429 7.65536C9.32143 7.42143 9.71429 6.9125 9.71429 6.35714C9.71429 5.56964 8.94464 4.92857 8 4.92857C7.05536 4.92857 6.28571 5.56964 6.28571 6.35714V6.49286C6.28571 6.57143 6.22143 6.63571 6.14286 6.63571H5.28571C5.20714 6.63571 5.14286 6.57143 5.14286 6.49286V6.35714C5.14286 5.65536 5.45 5 6.00714 4.5125C6.54286 4.04286 7.25 3.78571 8 3.78571C8.75 3.78571 9.45714 4.04464 9.99286 4.5125C10.55 5 10.8571 5.65536 10.8571 6.35714C10.8571 7.38929 10.1768 8.31786 9.12321 8.72322Z",fill:"#3B3F5C"})," "),favorite:Object(c.createElement)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),arrowRightBold:Object(c.createElement)("svg",{width:"51",height:"44",viewBox:"0 0 51 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 22C0 21.1712 0.329241 20.3763 0.915292 19.7903C1.50134 19.2042 2.2962 18.875 3.125 18.875H39.3313L25.9125 5.46248C25.3257 4.87569 24.9961 4.07983 24.9961 3.24998C24.9961 2.42013 25.3257 1.62427 25.9125 1.03748C26.4993 0.450689 27.2952 0.121033 28.125 0.121033C28.9548 0.121033 29.7507 0.450689 30.3375 1.03748L49.0875 19.7875C49.3785 20.0778 49.6094 20.4226 49.767 20.8023C49.9245 21.1819 50.0056 21.5889 50.0056 22C50.0056 22.411 49.9245 22.818 49.767 23.1977C49.6094 23.5773 49.3785 23.9222 49.0875 24.2125L30.3375 42.9625C29.7507 43.5493 28.9548 43.8789 28.125 43.8789C27.2952 43.8789 26.4993 43.5493 25.9125 42.9625C25.3257 42.3757 24.9961 41.5798 24.9961 40.75C24.9961 39.9201 25.3257 39.1243 25.9125 38.5375L39.3313 25.125H3.125C2.2962 25.125 1.50134 24.7957 0.915292 24.2097C0.329241 23.6236 0 22.8288 0 22Z",fill:"black"})),cross:Object(c.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),reset:Object(c.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{d:"M1.76219 1.7625C2.84969 0.675 4.34219 0 5.99969 0C9.31469 0 11.9922 2.685 11.9922 6C11.9922 9.315 9.31469 12 5.99969 12C3.20219 12 0.869689 10.0875 0.202188 7.5H1.76219C2.37719 9.2475 4.04219 10.5 5.99969 10.5C8.48219 10.5 10.4997 8.4825 10.4997 6C10.4997 3.5175 8.48219 1.5 5.99969 1.5C4.75469 1.5 3.64469 2.0175 2.83469 2.835L5.24969 5.25H-0.000311852V0L1.76219 1.7625Z",fill:"#6B7280"}))},k=Object(u.createContext)(),w=function(){return Object(u.useContext)(k)},C=function(t){var e=t.preview,r=t.content,n=t.controls,i=t.actions,a=t.stepName,s=w(),o=b()(s,2),l=o[0],h=l.showSidebar,p=l.currentIndex,f=o[1];return Object(u.useEffect)((function(){document.querySelector(".step-content").addEventListener("scroll",(function(t){setTimeout((function(){1===t.target.classList.length&&localStorage.setItem("st-scroll-position",t.target.scrollTop)}),200)}))}),[]),Object(u.useLayoutEffect)((function(){var t=document.querySelector(".step-content"),e=localStorage.getItem("st-scroll-position");e&&e>100&&2===p&&1===t.classList.length&&t.scrollTo(0,e)})),Object(c.createElement)("div",{className:"step-row\n\t\t\t\t".concat(e?"":"step-full-width","\n\t\t\t\t").concat(h?"show-sidebar":"hide-sidebar","\n\t\t\t")},Object(c.createElement)("div",{className:"step-col ".concat(e?"step-col-left":""," ")},Object(c.createElement)("div",{className:"toggle-sidebar-wrap",onClick:function(){f({type:"set",showSidebar:!h})}},h&&E.angleLeft,!h&&E.angleRight),Object(c.createElement)("div",{className:"step-content ".concat(a||""),style:{padding:2===p?"5% 6% 6% 6%":""}},Object(c.createElement)("div",{className:"content-wrapper"},r&&r,n&&Object(c.createElement)("div",{className:"step-controls",tabIndex:"1"},n))),i&&Object(c.createElement)("div",{className:"step-actions",tabIndex:"1"},i)),e&&Object(c.createElement)("div",{className:"step-col step-col-right"},e))},A=(r(50),r(14)),S=r.n(A),P=r(15),O=(P.a.div(i||(i=S()(["\n\tdisplay: ",";\n\tjustify-content: space-between;\n\t","\n"])),(function(t){return t.hidden?"none":"flex"}),(function(t){return t.maxHeight&&"\n\t\tmax-height: ".concat(t.maxHeight,"px;\n\t")})),P.a.div(a||(a=S()(["\n\twidth: 50%;\n\t","\n"])),(function(t){return t.width&&"\n width: ".concat(t.width,";\n ")})),P.a.button(s||(s=S()(["\n\tcolor: var( --st-background-primary );\n\tborder: none;\n\tmargin-top: 1em;\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: relative;\n\tbackground: var( --st-color-accent );\n\tborder-radius: var( --st-border-radius-4 );\n\tmargin: 0;\n\tcursor: pointer;\n\tline-height: 1;\n\tfont-size: 15px;\n\tfont-weight: var( --st-font-weight-bold );\n\tpadding: 15px 32px;\n\ttransition: background 200ms ease-in-out;\n\n\t&:hover {\n\t\tbackground: var( --st-color-accent-hover );\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t\tbackground: var( --st-color-accent-hover );\n\t}\n\n\tsvg {\n\t\tfill: #fff;\n\t}\n\n\t","\n\n\t","\n\n ","\n\n\t","\n\n\t","\n"])),(function(t){return t.before&&"\n svg {\n margin: 0 12px 0 0;\n }\n "}),(function(t){return t.after&&"\n svg {\n\t\t\tmargin: 0 0 0 12px;\n }\n "}),(function(t){return t.ml1&&"\n margin-left: 1em;\n "}),(function(t){return t.type&&"primary"===t.type&&"\n\t\tbackground: #2271b1;\n "}),(function(t){return t.type&&"secondary"===t.type&&"\n\t\tbackground: #f6f7f7;\n\t\tcolor: #2271b1;\n\t\tborder-color: #2271b1;\n "}))),j=(P.a.progress(o||(o=S()(["\n\twidth: 100%;\n"]))),P.a.span(l||(l=S()(["\n\tcursor: pointer;\n\tfont-size: var(--st-font-size-xs);\n\tcolor: var(--st-color-body);\n\n\tsvg {\n\t\tfill: #757575;\n\t}\n\n\t&: hover,\n\t&: focus {\n\t\tcolor: #2d4ad1;\n\t\toutline: none;\n\n\t\tsvg {\n\t\t\tfill: #2d4ad1;\n\t\t}\n\t}\n\n\t","\n\n\t","\n"])),(function(t){return t.before&&"\n\t\tsvg {\n\t\t\tmargin-right: 10px;\n\t\t}\n\t"}),(function(t){return t.after&&"\n\t\tsvg {\n\t\t\tmargin-left: 10px;\n\t\t}\n\t"}))),I=function(t){var e=t.className,r=t.children,n=t.onClick,i=t.after,a=t.before,s=t.gray,o=t.large,l=t.mb1,u=t.ml1,h=t.disabled;return Object(c.createElement)(O,{className:e,gray:s,large:o,mb1:l,ml1:u,after:i,before:a,onClick:n,disabled:h},a?Object(c.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0009 4.4999C14.0009 4.36729 13.9482 4.24011 13.8544 4.14635C13.7607 4.05258 13.6335 3.9999 13.5009 3.9999H1.70789L4.85489 0.853899C4.90138 0.807411 4.93826 0.752222 4.96342 0.691483C4.98858 0.630743 5.00153 0.565643 5.00153 0.499899C5.00153 0.434155 4.98858 0.369055 4.96342 0.308316C4.93826 0.247576 4.90138 0.192387 4.85489 0.145899C4.80841 0.0994111 4.75322 0.062535 4.69248 0.0373759C4.63174 0.0122168 4.56664 -0.000732422 4.50089 -0.000732422C4.43515 -0.000732422 4.37005 0.0122168 4.30931 0.0373759C4.24857 0.062535 4.19338 0.0994111 4.14689 0.145899L0.146894 4.1459C0.100331 4.19234 0.0633877 4.24752 0.0381812 4.30827C0.0129748 4.36901 0 4.43413 0 4.4999C0 4.56567 0.0129748 4.63079 0.0381812 4.69153C0.0633877 4.75228 0.100331 4.80745 0.146894 4.8539L4.14689 8.8539C4.19338 8.90039 4.24857 8.93726 4.30931 8.96242C4.37005 8.98758 4.43515 9.00053 4.50089 9.00053C4.56664 9.00053 4.63174 8.98758 4.69248 8.96242C4.75322 8.93726 4.80841 8.90039 4.85489 8.8539C4.90138 8.80741 4.93826 8.75222 4.96342 8.69148C4.98858 8.63074 5.00153 8.56564 5.00153 8.4999C5.00153 8.43416 4.98858 8.36905 4.96342 8.30832C4.93826 8.24758 4.90138 8.19239 4.85489 8.1459L1.70789 4.9999H13.5009C13.6335 4.9999 13.7607 4.94722 13.8544 4.85345C13.9482 4.75968 14.0009 4.63251 14.0009 4.4999Z"})):"",r,i?Object(c.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4.50002C0 4.36741 0.0526784 4.24024 0.146447 4.14647C0.240215 4.0527 0.367392 4.00002 0.5 4.00002H12.293L9.146 0.854021C9.05211 0.760135 8.99937 0.632797 8.99937 0.500021C8.99937 0.367245 9.05211 0.239908 9.146 0.146021C9.23989 0.0521345 9.36722 -0.000610348 9.5 -0.000610352C9.63278 -0.000610355 9.76011 0.0521345 9.854 0.146021L13.854 4.14602C13.9006 4.19247 13.9375 4.24764 13.9627 4.30839C13.9879 4.36913 14.0009 4.43425 14.0009 4.50002C14.0009 4.56579 13.9879 4.63091 13.9627 4.69165C13.9375 4.7524 13.9006 4.80758 13.854 4.85402L9.854 8.85402C9.76011 8.94791 9.63278 9.00065 9.5 9.00065C9.36722 9.00065 9.23989 8.94791 9.146 8.85402C9.05211 8.76013 8.99937 8.6328 8.99937 8.50002C8.99937 8.36725 9.05211 8.23991 9.146 8.14602L12.293 5.00002H0.5C0.367392 5.00002 0.240215 4.94734 0.146447 4.85357C0.0526784 4.75981 0 4.63263 0 4.50002Z"})):"")},_=(r(55),function(t){var e=t.selected,r=t.options,n=t.onChange,i=t.tabIndex,a=t.type;return Object(c.createElement)("div",{className:"ist-color-palettes st-".concat(a,"-style-pallete")},Object.values(r).map((function(t,r){var s=t.title||"",o=t.colors[0]||"",l=t.colors[1]||"",u=t.colors[2]||"",h=t.colors[3]||"",p=t.colors[4]||"";return Object(c.createElement)("div",{key:r,className:"ist-color-palette ".concat(t.slug===e?"ist-color-palette-active":""),onClick:function(e){n(e,t)},onKeyDown:function(e){!function(t,e){38===(t=t||window.event).keyCode?t.target.previousSibling&&t.target.previousSibling.focus():40===t.keyCode?t.target.nextSibling&&t.target.nextSibling.focus():"Enter"===t.key&&n(t,e)}(e,t)},tabIndex:i},"default"===a&&Object(c.createElement)("div",{className:"ist-colors-title"},s),Object(c.createElement)("div",{className:"ist-colors-list"},Object(c.createElement)("div",{className:"ist-palette-color",style:{backgroundColor:o}}),Object(c.createElement)("div",{className:"ist-palette-color",style:{backgroundColor:l}}),Object(c.createElement)("div",{className:"ist-palette-color",style:{backgroundColor:u}}),Object(c.createElement)("div",{className:"ist-palette-color",style:{backgroundColor:h}}),Object(c.createElement)("div",{className:"ist-palette-color",style:{backgroundColor:p}})))})))}),F=function(t){var e=t.children,r=t.after,n=t.before,i=t.onClick,a=t.customizeStep,s=t.disabled,o=t.hidden,l=w(),u=b()(l,2),h=u[0].currentIndex,p=u[1],f=function(t){!0!==a&&p({type:"set",currentIndex:h-1}),"function"==typeof i&&i(t)};return Object(c.createElement)(j,{before:n,after:r,className:"ist-link\n\t\t\t\t".concat(s?"disabled":"","\n\t\t\t\t").concat(o?"hidden-btn":"","\n\t\t\t"),onClick:f,tabIndex:o?-1:0,onKeyPress:f},n?Object(c.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0009 4.4999C14.0009 4.36729 13.9482 4.24011 13.8544 4.14635C13.7607 4.05258 13.6335 3.9999 13.5009 3.9999H1.70789L4.85489 0.853899C4.90138 0.807411 4.93826 0.752222 4.96342 0.691483C4.98858 0.630743 5.00153 0.565643 5.00153 0.499899C5.00153 0.434155 4.98858 0.369055 4.96342 0.308316C4.93826 0.247576 4.90138 0.192387 4.85489 0.145899C4.80841 0.0994111 4.75322 0.062535 4.69248 0.0373759C4.63174 0.0122168 4.56664 -0.000732422 4.50089 -0.000732422C4.43515 -0.000732422 4.37005 0.0122168 4.30931 0.0373759C4.24857 0.062535 4.19338 0.0994111 4.14689 0.145899L0.146894 4.1459C0.100331 4.19234 0.0633877 4.24752 0.0381812 4.30827C0.0129748 4.36901 0 4.43413 0 4.4999C0 4.56567 0.0129748 4.63079 0.0381812 4.69153C0.0633877 4.75228 0.100331 4.80745 0.146894 4.8539L4.14689 8.8539C4.19338 8.90039 4.24857 8.93726 4.30931 8.96242C4.37005 8.98758 4.43515 9.00053 4.50089 9.00053C4.56664 9.00053 4.63174 8.98758 4.69248 8.96242C4.75322 8.93726 4.80841 8.90039 4.85489 8.8539C4.90138 8.80741 4.93826 8.75222 4.96342 8.69148C4.98858 8.63074 5.00153 8.56564 5.00153 8.4999C5.00153 8.43416 4.98858 8.36905 4.96342 8.30832C4.93826 8.24758 4.90138 8.19239 4.85489 8.1459L1.70789 4.9999H13.5009C13.6335 4.9999 13.7607 4.94722 13.8544 4.85345C13.9482 4.75968 14.0009 4.63251 14.0009 4.4999Z"})):"",e,r?Object(c.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4.50002C0 4.36741 0.0526784 4.24024 0.146447 4.14647C0.240215 4.0527 0.367392 4.00002 0.5 4.00002H12.293L9.146 0.854021C9.05211 0.760135 8.99937 0.632797 8.99937 0.500021C8.99937 0.367245 9.05211 0.239908 9.146 0.146021C9.23989 0.0521345 9.36722 -0.000610348 9.5 -0.000610352C9.63278 -0.000610355 9.76011 0.0521345 9.854 0.146021L13.854 4.14602C13.9006 4.19247 13.9375 4.24764 13.9627 4.30839C13.9879 4.36913 14.0009 4.43425 14.0009 4.50002C14.0009 4.56579 13.9879 4.63091 13.9627 4.69165C13.9375 4.7524 13.9006 4.80758 13.854 4.85402L9.854 8.85402C9.76011 8.94791 9.63278 9.00065 9.5 9.00065C9.36722 9.00065 9.23989 8.94791 9.146 8.85402C9.05211 8.76013 8.99937 8.6328 8.99937 8.50002C8.99937 8.36725 9.05211 8.23991 9.146 8.14602L12.293 5.00002H0.5C0.367392 5.00002 0.240215 4.94734 0.146447 4.85357C0.0526784 4.75981 0 4.63263 0 4.50002Z"})):"")},T=r(7),D=(r(56),function(t){var e=t.className,r=t.options,n=t.onSelect,i=t.selected,a=t.type;return Object(c.createElement)("ul",{className:"ist-font-selector ".concat(e)},Object.keys(r).map((function(t){var e=M(r[t]["body-font-family"])||"",s=M(r[t]["headings-font-family"],e)||"",o=r[t]["body-font-weight"],l=r[t]["headings-font-weight"],u=r[t].id;return Object(c.createElement)(T.Tooltip,{content:"other"===a?"".concat(s," / ").concat(e):null,key:u},Object(c.createElement)("li",{className:"\n\t\t\t\t\t\tist-font\n\t\t\t\t\t\t".concat(u===i?"active":"","\n\t\t\t\t\t\t"),key:u,onClick:function(t){n(t,u)},tabIndex:"0",onKeyDown:function(t){!function(t,e){37===(t=t||window.event).keyCode?t.target.previousSibling&&t.target.previousSibling.focus():39===t.keyCode?t.target.nextSibling&&t.target.nextSibling.focus():"Enter"===t.key&&n(t,e)}(t,u)}},Object(c.createElement)(c.Fragment,null,"default"===a&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("span",{style:{fontFamily:s,fontWeight:l},className:"heading-font-preview"},s),Object(c.createElement)("span",{className:"font-separator"},"/"),Object(c.createElement)("span",{style:{fontFamily:e,fontWeight:o},className:"body-font-preview"},e)),"other"===a&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("span",{style:{fontFamily:s,fontWeight:l},className:"heading-font-preview"},"A"),Object(c.createElement)("span",{style:{fontFamily:e,fontWeight:o},className:"body-font-preview"},"a")))))})))}),M=function(t,e){if(!t)return"";if(t){var r=t.match(/'([^']+)'/);return r?r[1]:"inherit"===t?e:t}return e||void 0},R=function(t){var e=t.options,r=t.onSelect,n=t.selected,i=w(),a=b()(i,2),s=a[0],o=s.currentIndex,l=s.currentCustomizeIndex,u=s.templateResponse,h=s.licenseStatus,p=s.importError,f=s.typographyIndex,d=a[1],m=e.map((function(t,e){return t.id=e,t})),g=m.filter((function(t){return t.default})),y=m.filter((function(t){return!t.default}));return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"d-flex-space-between"},Object(c.createElement)("h4",{className:"ist-default-fonts-heading"},Object(x.__)("Change Fonts","astra-sites")),Object(c.createElement)("div",{className:"customize-reset-btn ".concat(0===f?"disabled":"active"),onClick:function(t){r(t,g[0].id)}},E.reset)),Object(c.createElement)(D,{className:"ist-default-fonts",options:g,onSelect:r,selected:n,type:"default"}),Object(c.createElement)(D,{className:"ist-other-fonts",options:y,onSelect:r,selected:n,type:"other"}),Object(c.createElement)(I,{className:"ist-button",onClick:function(){p||("free"===u["astra-site-type"]||h?d({type:"set",currentIndex:o+1}):astraSitesVars.isPro?d({type:"set",validateLicenseStatus:!0,currentCustomizeIndex:l+1}):d({type:"set",currentCustomizeIndex:l+1}))},after:!0},Object(x.__)("Continue","astra-sites")),Object(c.createElement)(F,{customizeStep:!0,onClick:function(){d({type:"set",currentCustomizeIndex:l-1})}},Object(x.__)("Back","astra-sites")))},B=r(9);function V(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var L=function(){return!!astraSitesVars.isWhiteLabeled},N=function(t){var e=document.getElementById("astra-starter-templates-preview");e&&e.contentWindow.postMessage({call:"starterTemplatePreviewDispatch",value:t},"*")},z=function(t){localStorage.setItem("starter-templates-onboarding",JSON.stringify(t))},G=function(t){var e=t["thumbnail-image-url"]||"";return""===e&&!1===L()&&(e="".concat(starterTemplates.imageDir,"placeholder.png")),function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?V(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({id:t.id,image:e,title:Object(B.decodeEntities)(t.title),badge:"agency-mini"===t["astra-sites-type"]?Object(x.__)("Premium","astra-sites"):""},t)},H=r(35),Q=/^(?:[a-z]+:|#|\?|\.|\/)/i;function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function W(t,e){if(null==t)return{};var r,n,i={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}function X(t,e){if(null==t)return{};var r,n,i=W(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function J(t){var e,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=J(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}var Y=function(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=J(t))&&(n&&(n+=" "),n+=e);return n};function U(t){for(var e="https://material-ui.com/production-error/?code="+t,r=1;r<arguments.length;r+=1)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}function K(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function Z(t){if(t.type)return t;if("#"===t.charAt(0))return Z(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(U(3,t));var n=t.substring(e+1,t.length-1).split(",");return{type:r,values:n=n.map((function(t){return parseFloat(t)}))}}function $(t){var e=t.type,r=t.values;return-1!==e.indexOf("rgb")?r=r.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e,"(").concat(r.join(", "),")")}function tt(t){var e="hsl"===(t=Z(t)).type?Z(function(t){var e=(t=Z(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,a=n*Math.min(i,1-i),s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-a*Math.max(Math.min(e-3,9-e,1),-1)},o="rgb",l=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===t.type&&(o+="a",l.push(e[3])),$({type:o,values:l})}(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}var et=r(12),rt=r.n(et),nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},it="object"===("undefined"==typeof window?"undefined":nt(window))&&"object"===("undefined"==typeof document?"undefined":nt(document))&&9===document.nodeType;function at(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function st(t,e,r){return e&&at(t.prototype,e),r&&at(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function lt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ot(t,e)}function ct(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var ut={}.constructor;function ht(t){if(null==t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(ht);if(t.constructor!==ut)return t;var e={};for(var r in t)e[r]=ht(t[r]);return e}function pt(t,e,r){void 0===t&&(t="unnamed");var n=r.jss,i=ht(e);return n.plugins.onCreateRule(t,i,r)||(t[0],null)}var ft=function(t,e){for(var r="",n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=e),r+=t[n];return r},dt=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=", "),r+=ft(t[n]," ");else r=ft(t,", ");return e||"!important"!==t[t.length-1]||(r+=" !important"),r};function mt(t){return t&&!1===t.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function gt(t,e){for(var r="",n=0;n<e;n++)r+=" ";return r+t}function yt(t,e,r){void 0===r&&(r={});var n="";if(!e)return n;var i=r.indent,a=void 0===i?0:i,s=e.fallbacks;!1===r.format&&(a=-1/0);var o=mt(r),l=o.linebreak,c=o.space;if(t&&a++,s)if(Array.isArray(s))for(var u=0;u<s.length;u++){var h=s[u];for(var p in h){var f=h[p];null!=f&&(n&&(n+=l),n+=gt(p+":"+c+dt(f)+";",a))}}else for(var d in s){var m=s[d];null!=m&&(n&&(n+=l),n+=gt(d+":"+c+dt(m)+";",a))}for(var g in e){var y=e[g];null!=y&&"fallbacks"!==g&&(n&&(n+=l),n+=gt(g+":"+c+dt(y)+";",a))}return(n||r.allowEmpty)&&t?(n&&(n=""+l+n+l),gt(""+t+c+"{"+n,--a)+gt("}",a)):n}var vt=/([[\].#*$><+~=|^:(),"'`\s])/g,bt="undefined"!=typeof CSS&&CSS.escape,xt=function(t){return bt?bt(t):t.replace(vt,"\\$1")},Et=function(){function t(t,e,r){this.type="style",this.isProcessed=!1;var n=r.sheet,i=r.Renderer;this.key=t,this.options=r,this.style=e,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,r){if(void 0===e)return this.style[t];var n=!!r&&r.force;if(!n&&this.style[t]===e)return this;var i=e;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var a=null==i||!1===i,s=t in this.style;if(a&&!s&&!n)return this;var o=a&&s;if(o?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return o?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),kt=function(t){function e(e,r,n){var i;i=t.call(this,e,r,n)||this;var a=n.selector,s=n.scoped,o=n.sheet,l=n.generateId;return a?i.selectorText=a:!1!==s&&(i.id=l(ct(ct(i)),o),i.selectorText="."+xt(i.id)),i}lt(e,t);var r=e.prototype;return r.applyTo=function(t){var e=this.renderer;if(e){var r=this.toJSON();for(var n in r)e.setProperty(t,n,r[n])}return this},r.toJSON=function(){var t={};for(var e in this.style){var r=this.style[e];"object"!=typeof r?t[e]=r:Array.isArray(r)&&(t[e]=dt(r))}return t},r.toString=function(t){var e=this.options.sheet,r=e&&e.options.link?q({},t,{allowEmpty:!0}):t;return yt(this.selectorText,this.style,r)},st(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,r=this.renderable;r&&e&&(e.setSelector(r,t)||e.replaceRule(r,this))}},get:function(){return this.selectorText}}]),e}(Et),wt={onCreateRule:function(t,e,r){return"@"===t[0]||r.parent&&"keyframes"===r.parent.type?null:new kt(t,e,r)}},Ct={indent:1,children:!0},At=/@([\w-]+)/,St=function(){function t(t,e,r){this.type="conditional",this.isProcessed=!1,this.key=t;var n=t.match(At);for(var i in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new Yt(q({},r,{parent:this})),e)this.rules.add(i,e[i]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},e.replaceRule=function(t,e,r){var n=this.rules.replace(t,e,r);return n&&this.options.jss.plugins.onProcessRule(n),n},e.toString=function(t){void 0===t&&(t=Ct);var e=mt(t).linebreak;if(null==t.indent&&(t.indent=Ct.indent),null==t.children&&(t.children=Ct.children),!1===t.children)return this.query+" {}";var r=this.rules.toString(t);return r?this.query+" {"+e+r+e+"}":""},t}(),Pt=/@media|@supports\s+/,Ot={onCreateRule:function(t,e,r){return Pt.test(t)?new St(t,e,r):null}},jt={indent:1,children:!0},It=/@keyframes\s+([\w-]+)/,_t=function(){function t(t,e,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var n=t.match(It);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var i=r.scoped,a=r.sheet,s=r.generateId;for(var o in this.id=!1===i?this.name:xt(s(this,a)),this.rules=new Yt(q({},r,{parent:this})),e)this.rules.add(o,e[o],q({},r,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=jt);var e=mt(t).linebreak;if(null==t.indent&&(t.indent=jt.indent),null==t.children&&(t.children=jt.children),!1===t.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(t);return r&&(r=""+e+r+e),this.at+" "+this.id+" {"+r+"}"},t}(),Ft=/@keyframes\s+/,Tt=/\$([\w-]+)/g,Dt=function(t,e){return"string"==typeof t?t.replace(Tt,(function(t,r){return r in e?e[r]:t})):t},Mt=function(t,e,r){var n=t[e],i=Dt(n,r);i!==n&&(t[e]=i)},Rt={onCreateRule:function(t,e,r){return"string"==typeof t&&Ft.test(t)?new _t(t,e,r):null},onProcessStyle:function(t,e,r){return"style"===e.type&&r?("animation-name"in t&&Mt(t,"animation-name",r.keyframes),"animation"in t&&Mt(t,"animation",r.keyframes),t):t},onChangeValue:function(t,e,r){var n=r.options.sheet;if(!n)return t;switch(e){case"animation":case"animation-name":return Dt(t,n.keyframes);default:return t}}},Bt=function(t){function e(){return t.apply(this,arguments)||this}return lt(e,t),e.prototype.toString=function(t){var e=this.options.sheet,r=e&&e.options.link?q({},t,{allowEmpty:!0}):t;return yt(this.key,this.style,r)},e}(Et),Vt={onCreateRule:function(t,e,r){return r.parent&&"keyframes"===r.parent.type?new Bt(t,e,r):null}},Lt=function(){function t(t,e,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){var e=mt(t).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=yt(this.at,this.style[n]),this.style[n+1]&&(r+=e);return r}return yt(this.at,this.style,t)},t}(),Nt=/@font-face/,zt={onCreateRule:function(t,e,r){return Nt.test(t)?new Lt(t,e,r):null}},Gt=function(){function t(t,e,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){return yt(this.key,this.style,t)},t}(),Ht={onCreateRule:function(t,e,r){return"@viewport"===t||"@-ms-viewport"===t?new Gt(t,e,r):null}},Qt=function(){function t(t,e,r){this.type="simple",this.isProcessed=!1,this.key=t,this.value=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",r=0;r<this.value.length;r++)e+=this.key+" "+this.value[r]+";",this.value[r+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),qt={"@charset":!0,"@import":!0,"@namespace":!0},Wt=[wt,Ot,Rt,Vt,zt,Ht,{onCreateRule:function(t,e,r){return t in qt?new Qt(t,e,r):null}}],Xt={process:!0},Jt={force:!0,process:!0},Yt=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,r){var n=this.options,i=n.parent,a=n.sheet,s=n.jss,o=n.Renderer,l=n.generateId,c=n.scoped,u=q({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:o,generateId:l,scoped:c,name:t,keyframes:this.keyframes,selector:void 0},r),h=t;t in this.raw&&(h=t+"-d"+this.counter++),this.raw[h]=e,h in this.classes&&(u.selector="."+xt(this.classes[h]));var p=pt(h,e,u);if(!p)return null;this.register(p);var f=void 0===u.index?this.index.length:u.index;return this.index.splice(f,0,p),p},e.replace=function(t,e,r){var n=this.get(t),i=this.index.indexOf(n);n&&this.remove(n);var a=r;return-1!==i&&(a=q({},r,{index:i})),this.add(t,e,a)},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof kt?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof _t&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof kt?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof _t&&delete this.keyframes[t.name]},e.update=function(){var t,e,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.get(t),e,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],e,r)},e.updateOne=function(e,r,n){void 0===n&&(n=Xt);var i=this.options,a=i.jss.plugins,s=i.sheet;if(e.rules instanceof t)e.rules.update(r,n);else{var o=e.style;if(a.onUpdate(r,e,s,n),n.process&&o&&o!==e.style){for(var l in a.onProcessStyle(e.style,e,s),e.style){var c=e.style[l];c!==o[l]&&e.prop(l,c,Jt)}for(var u in o){var h=e.style[u],p=o[u];null==h&&h!==p&&e.prop(u,null,Jt)}}}},e.toString=function(t){for(var e="",r=this.options.sheet,n=!!r&&r.options.link,i=mt(t).linebreak,a=0;a<this.index.length;a++){var s=this.index[a].toString(t);(s||n)&&(e&&(e+=i),e+=s)}return e},t}(),Ut=function(){function t(t,e){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=q({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new Yt(this.options),t)this.rules.add(r,t[r]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(t,e,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.replaceRule=function(t,e,r){var n=this.rules.get(t);if(!n)return this.addRule(t,e,r);var i=this.rules.replace(t,e,r);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?n.renderable&&this.renderer.replaceRule(n.renderable,i):this.renderer.deleteRule(n)),i):i:(this.deployed=!1,i)},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var r=[];for(var n in t){var i=this.addRule(n,t[n],e);i&&r.push(i)}return r},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"==typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,r){return this.rules.updateOne(t,e,r),this},e.toString=function(t){return this.rules.toString(t)},t}(),Kt=function(){function t(){this.plugins={internal:[],external:[]},this.registry={}}var e=t.prototype;return e.onCreateRule=function(t,e,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](t,e,r);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)e.style=this.registry.onProcessStyle[n](e.style,e,r)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,r,n)},e.onChangeValue=function(t,e,r){for(var n=t,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,e,r);return n},e.use=function(t,e){void 0===e&&(e={queue:"external"});var r=this.plugins[e.queue];-1===r.indexOf(t)&&(r.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var r in e)r in t&&t[r].push(e[r]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),Zt=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,r=t.options.index;if(-1===e.indexOf(t))if(0===e.length||r>=this.index)e.push(t);else for(var n=0;n<e.length;n++)if(e[n].options.index>r)return void e.splice(n,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,r=e.attached,n=W(e,["attached"]),i=mt(n).linebreak,a="",s=0;s<this.registry.length;s++){var o=this.registry[s];null!=r&&o.attached!==r||(a&&(a+=i),a+=o.toString(n))}return a},st(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),$t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),te="2f1acc6c3a606b082e5eef5e54414ffb";null==$t[te]&&($t[te]=0);var ee=$t[te]++,re=function(t){void 0===t&&(t={});var e=0;return function(r,n){e+=1;var i="",a="";return n&&(n.options.classNamePrefix&&(a=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),t.minify?""+(a||"c")+ee+i+e:a+r.key+"-"+ee+(i?"-"+i:"")+"-"+e}},ne=function(t){var e;return function(){return e||(e=t()),e}},ie=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(t){return""}},ae=function(t,e,r){try{var n=r;if(Array.isArray(r)&&(n=dt(r,!0),"!important"===r[r.length-1]))return t.style.setProperty(e,n,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,n):t.style.setProperty(e,n)}catch(t){return!1}return!0},se=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(t){}},oe=function(t,e){return t.selectorText=e,t.selectorText===e},le=ne((function(){return document.querySelector("head")}));var ce=ne((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),ue=function(t,e,r){try{"insertRule"in t?t.insertRule(e,r):"appendRule"in t&&t.appendRule(e)}catch(t){return!1}return t.cssRules[r]},he=function(t,e){var r=t.cssRules.length;return void 0===e||e>r?r:e},pe=function(){function t(t){this.getPropertyValue=ie,this.setProperty=ae,this.removeProperty=se,this.setSelector=oe,this.hasInsertedRules=!1,this.cssRules=[],t&&Zt.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},r=e.media,n=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var a=ce();a&&this.element.setAttribute("nonce",a)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var r=e.insertionPoint,n=function(t){var e=Zt.registry;if(e.length>0){var r=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(n.attached&&n.options.index>e.index&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if((r=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t[r];if(n.attached&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t))&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=t.insertionPoint;if(n&&"string"==typeof n){var i=function(t){for(var e=le(),r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===t)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(e);if(!1!==n&&n.parent)n.parent.insertBefore(t,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,a=i.parentNode;a&&a.insertBefore(t,i.nextSibling)}else le().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var r=0;r<t.index.length;r++)this.insertRule(t.index[r],r,e)},e.insertRule=function(t,e,r){if(void 0===r&&(r=this.element.sheet),t.rules){var n=t,i=r;if("conditional"===t.type||"keyframes"===t.type){var a=he(r,e);if(!1===(i=ue(r,n.toString({children:!1}),a)))return!1;this.refCssRule(t,a,i)}return this.insertRules(n.rules,i),i}var s=t.toString();if(!s)return!1;var o=he(r,e),l=ue(r,s,o);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(t,o,l),l)},e.refCssRule=function(t,e,r){t.renderable=r,t.options.parent instanceof Ut&&this.cssRules.splice(e,0,r)},e.deleteRule=function(t){var e=this.element.sheet,r=this.indexOf(t);return-1!==r&&(e.deleteRule(r),this.cssRules.splice(r,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var r=this.indexOf(t);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(e,r))},e.getRules=function(){return this.element.sheet.cssRules},t}(),fe=0,de=function(){function t(t){this.id=fe++,this.version="10.9.0",this.plugins=new Kt,this.options={id:{minify:!1},createGenerateId:re,Renderer:it?pe:null,plugins:[]},this.generateId=re({minify:!1});for(var e=0;e<Wt.length;e++)this.plugins.use(Wt[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=q({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var r=e.index;"number"!=typeof r&&(r=0===Zt.index?0:Zt.index+1);var n=new Ut(t,q({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},e.removeStyleSheet=function(t){return t.detach(),Zt.remove(t),this},e.createRule=function(t,e,r){if(void 0===e&&(e={}),void 0===r&&(r={}),"object"==typeof t)return this.createRule(void 0,t,e);var n=q({},r,{name:t,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var i=pt(t,e,n);return i&&this.plugins.onProcessRule(i),i},e.use=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.forEach((function(e){t.plugins.use(e)})),this},t}(),me=function(t){return new de(t)},ge="object"==typeof CSS&&null!=CSS&&"number"in CSS;function ye(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,r=t.newClasses;if(t.Component,!r)return e;var n=q({},e);return Object.keys(r).forEach((function(t){r[t]&&(n[t]="".concat(e[t]," ").concat(r[t]))})),n}me();var ve=function(t,e,r,n){var i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(r,n)},be=function(t,e,r){var n=t.get(e);return n?n.get(r):void 0},xe=function(t,e,r){t.get(e).delete(r)},Ee=h.a.createContext(null);function ke(){return h.a.useContext(Ee)}var we="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Ce=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],Ae=Date.now(),Se="fnValues"+Ae,Pe="fnStyle"+ ++Ae,Oe="@global",je=function(){function t(t,e,r){for(var n in this.type="global",this.at=Oe,this.isProcessed=!1,this.key=t,this.options=r,this.rules=new Yt(q({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n&&this.options.jss.plugins.onProcessRule(n),n},e.replaceRule=function(t,e,r){var n=this.rules.replace(t,e,r);return n&&this.options.jss.plugins.onProcessRule(n),n},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(t){return this.rules.toString(t)},t}(),Ie=function(){function t(t,e,r){this.type="global",this.at=Oe,this.isProcessed=!1,this.key=t,this.options=r;var n=t.substr("@global ".length);this.rule=r.jss.createRule(n,e,q({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),_e=/\s*,\s*/g;function Fe(t,e){for(var r=t.split(_e),n="",i=0;i<r.length;i++)n+=e+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var Te=/\s*,\s*/g,De=/&/g,Me=/\$([\w-]+)/g,Re=function(){function t(t,e){return function(r,n){var i=t.getRule(n)||e&&e.getRule(n);return i?i.selector:n}}function e(t,e){for(var r=e.split(Te),n=t.split(Te),i="",a=0;a<r.length;a++)for(var s=r[a],o=0;o<n.length;o++){var l=n[o];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(De,s):s+" "+l}return i}function r(t,e,r){if(r)return q({},r,{index:r.index+1});var n=t.options.nestingLevel;n=void 0===n?1:n+1;var i=q({},t.options,{nestingLevel:n,index:e.indexOf(t)+1});return delete i.name,i}return{onProcessStyle:function(n,i,a){if("style"!==i.type)return n;var s,o,l=i,c=l.options.parent;for(var u in n){var h=-1!==u.indexOf("&"),p="@"===u[0];if(h||p){if(s=r(l,c,s),h){var f=e(u,l.selector);o||(o=t(c,a)),f=f.replace(Me,o);var d=l.key+"-"+u;"replaceRule"in c?c.replaceRule(d,n[u],q({},s,{selector:f})):c.addRule(d,n[u],q({},s,{selector:f}))}else p&&c.addRule(u,{},s).addRule(l.key,n[u],{selector:l.selector});delete n[u]}}return n}}},Be=/[A-Z]/g,Ve=/^ms-/,Le={};function Ne(t){return"-"+t.toLowerCase()}var ze=function(t){if(Le.hasOwnProperty(t))return Le[t];var e=t.replace(Be,Ne);return Le[t]=Ve.test(e)?"-"+e:e};function Ge(t){var e={};for(var r in t)e[0===r.indexOf("--")?r:ze(r)]=t[r];return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(Ge):e.fallbacks=Ge(t.fallbacks)),e}var He=ge&&CSS?CSS.px:"px",Qe=ge&&CSS?CSS.ms:"ms",qe=ge&&CSS?CSS.percent:"%";function We(t){var e=/(-[a-z])/g,r=function(t){return t[1].toUpperCase()},n={};for(var i in t)n[i]=t[i],n[i.replace(e,r)]=t[i];return n}var Xe=We({"animation-delay":Qe,"animation-duration":Qe,"background-position":He,"background-position-x":He,"background-position-y":He,"background-size":He,border:He,"border-bottom":He,"border-bottom-left-radius":He,"border-bottom-right-radius":He,"border-bottom-width":He,"border-left":He,"border-left-width":He,"border-radius":He,"border-right":He,"border-right-width":He,"border-top":He,"border-top-left-radius":He,"border-top-right-radius":He,"border-top-width":He,"border-width":He,"border-block":He,"border-block-end":He,"border-block-end-width":He,"border-block-start":He,"border-block-start-width":He,"border-block-width":He,"border-inline":He,"border-inline-end":He,"border-inline-end-width":He,"border-inline-start":He,"border-inline-start-width":He,"border-inline-width":He,"border-start-start-radius":He,"border-start-end-radius":He,"border-end-start-radius":He,"border-end-end-radius":He,margin:He,"margin-bottom":He,"margin-left":He,"margin-right":He,"margin-top":He,"margin-block":He,"margin-block-end":He,"margin-block-start":He,"margin-inline":He,"margin-inline-end":He,"margin-inline-start":He,padding:He,"padding-bottom":He,"padding-left":He,"padding-right":He,"padding-top":He,"padding-block":He,"padding-block-end":He,"padding-block-start":He,"padding-inline":He,"padding-inline-end":He,"padding-inline-start":He,"mask-position-x":He,"mask-position-y":He,"mask-size":He,height:He,width:He,"min-height":He,"max-height":He,"min-width":He,"max-width":He,bottom:He,left:He,top:He,right:He,inset:He,"inset-block":He,"inset-block-end":He,"inset-block-start":He,"inset-inline":He,"inset-inline-end":He,"inset-inline-start":He,"box-shadow":He,"text-shadow":He,"column-gap":He,"column-rule":He,"column-rule-width":He,"column-width":He,"font-size":He,"font-size-delta":He,"letter-spacing":He,"text-decoration-thickness":He,"text-indent":He,"text-stroke":He,"text-stroke-width":He,"word-spacing":He,motion:He,"motion-offset":He,outline:He,"outline-offset":He,"outline-width":He,perspective:He,"perspective-origin-x":qe,"perspective-origin-y":qe,"transform-origin":qe,"transform-origin-x":qe,"transform-origin-y":qe,"transform-origin-z":qe,"transition-delay":Qe,"transition-duration":Qe,"vertical-align":He,"flex-basis":He,"shape-margin":He,size:He,gap:He,grid:He,"grid-gap":He,"row-gap":He,"grid-row-gap":He,"grid-column-gap":He,"grid-template-rows":He,"grid-template-columns":He,"grid-auto-rows":He,"grid-auto-columns":He,"box-shadow-x":He,"box-shadow-y":He,"box-shadow-blur":He,"box-shadow-spread":He,"font-line-height":He,"text-shadow-x":He,"text-shadow-y":He,"text-shadow-blur":He});function Je(t,e,r){if(null==e)return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=Je(t,e[n],r);else if("object"==typeof e)if("fallbacks"===t)for(var i in e)e[i]=Je(i,e[i],r);else for(var a in e)e[a]=Je(t+"-"+a,e[a],r);else if("number"==typeof e&&!1===isNaN(e)){var s=r[t]||Xe[t];return!s||0===e&&s===He?e.toString():"function"==typeof s?s(e).toString():""+e+s}return e}var Ye=function(t){void 0===t&&(t={});var e=We(t);return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n in t)t[n]=Je(n,t[n],e);return t},onChangeValue:function(t,r){return Je(r,t,e)}}};function Ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ke(t,e){if(t){if("string"==typeof t)return Ue(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(t,e):void 0}}function Ze(t){return function(t){if(Array.isArray(t))return Ue(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Ke(t)||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.")}()}var $e="",tr="",er="",rr="",nr=it&&"ontouchstart"in document.documentElement;if(it){var ir={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},ar=document.createElement("p").style;for(var sr in ir)if(sr+"Transform"in ar){$e=sr,tr=ir[sr];break}"Webkit"===$e&&"msHyphens"in ar&&($e="ms",tr=ir.ms,rr="edge"),"Webkit"===$e&&"-apple-trailing-word"in ar&&(er="apple")}var or=$e,lr=tr,cr=er,ur=rr,hr=nr,pr={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===or?"-webkit-"+t:lr+t)}},fr={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===or?lr+"print-"+t:t)}},dr=/[-\s]+(.)?/g;function mr(t,e){return e?e.toUpperCase():""}function gr(t){return t.replace(dr,mr)}function yr(t){return gr("-"+t)}var vr,br={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===or){if(gr("mask-image")in e)return t;if(or+yr("mask-image")in e)return lr+t}return t}},xr={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==cr||hr?t:lr+t)}},Er={noPrefill:["transform"],supportedProperty:function(t,e,r){return"transform"===t&&(r.transform?t:lr+t)}},kr={noPrefill:["transition"],supportedProperty:function(t,e,r){return"transition"===t&&(r.transition?t:lr+t)}},wr={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===or||"ms"===or&&"edge"!==ur?lr+t:t)}},Cr={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===or||"ms"===or||"apple"===cr?lr+t:t)}},Ar={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===or?"WebkitColumn"+yr(t)in e&&lr+"column-"+t:"Moz"===or&&"page"+yr(t)in e&&"page-"+t)}},Sr={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===or)return t;var r=t.replace("-inline","");return or+yr(r)in e&&lr+r}},Pr={supportedProperty:function(t,e){return gr(t)in e&&t}},Or={supportedProperty:function(t,e){var r=yr(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:or+r in e?lr+t:"Webkit"!==or&&"Webkit"+r in e&&"-webkit-"+t}},jr={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===or?""+lr+t:t)}},Ir={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===or?lr+"scroll-chaining":t)}},_r={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Fr={supportedProperty:function(t,e){var r=_r[t];return!!r&&or+yr(r)in e&&lr+r}},Tr={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Dr=Object.keys(Tr),Mr=function(t){return lr+t},Rr=[pr,fr,br,xr,Er,kr,wr,Cr,Ar,Sr,Pr,Or,jr,Ir,Fr,{supportedProperty:function(t,e,r){var n=r.multiple;if(Dr.indexOf(t)>-1){var i=Tr[t];if(!Array.isArray(i))return or+yr(i)in e&&lr+i;if(!n)return!1;for(var a=0;a<i.length;a++)if(!(or+yr(i[0])in e))return!1;return i.map(Mr)}return!1}}],Br=Rr.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),Vr=Rr.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Ze(e.noPrefill)),t}),[]),Lr={};if(it){vr=document.createElement("p");var Nr=window.getComputedStyle(document.documentElement,"");for(var zr in Nr)isNaN(zr)||(Lr[Nr[zr]]=Nr[zr]);Vr.forEach((function(t){return delete Lr[t]}))}function Gr(t,e){if(void 0===e&&(e={}),!vr)return t;if(null!=Lr[t])return Lr[t];"transition"!==t&&"transform"!==t||(e[t]=t in vr.style);for(var r=0;r<Br.length&&(Lr[t]=Br[r](t,vr.style,e),!Lr[t]);r++);try{vr.style[t]=""}catch(t){return!1}return Lr[t]}var Hr,Qr={},qr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Wr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xr(t,e,r){return"var"===e?"var":"all"===e?"all":"all"===r?", all":(e?Gr(e):", "+Gr(r))||e||r}function Jr(t,e){var r=e;if(!Hr||"content"===t)return e;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=t+r;if(null!=Qr[n])return Qr[n];try{Hr.style[t]=r}catch(t){return Qr[n]=!1,!1}if(qr[t])r=r.replace(Wr,Xr);else if(""===Hr.style[t]&&("-ms-flex"===(r=lr+r)&&(Hr.style[t]="-ms-flexbox"),Hr.style[t]=r,""===Hr.style[t]))return Qr[n]=!1,!1;return Hr.style[t]="",Qr[n]=r,Qr[n]}it&&(Hr=document.createElement("p"));var Yr=function(){function t(e){for(var r in e){var n=e[r];if("fallbacks"===r&&Array.isArray(n))e[r]=n.map(t);else{var i=!1,a=Gr(r);a&&a!==r&&(i=!0);var s=!1,o=Jr(a,dt(n));o&&o!==n&&(s=!0),(i||s)&&(i&&delete e[r],e[a||r]=o||n)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at="-"===(r=e.at)[1]||"ms"===or?r:"@"+lr+"keyframes"+r.substr(10)}var r},onProcessStyle:function(e,r){return"style"!==r.type?e:t(e)},onChangeValue:function(t,e){return Jr(e,dt(t))||t}}};var Ur,Kr=me({plugins:[{onCreateRule:function(t,e,r){if("function"!=typeof e)return null;var n=pt(t,{},r);return n[Pe]=e,n},onProcessStyle:function(t,e){if(Se in e||Pe in e)return t;var r={};for(var n in t){var i=t[n];"function"==typeof i&&(delete t[n],r[n]=i)}return e[Se]=r,t},onUpdate:function(t,e,r,n){var i=e,a=i[Pe];a&&(i.style=a(t)||{});var s=i[Se];if(s)for(var o in s)i.prop(o,s[o](t),n)}},{onCreateRule:function(t,e,r){if(!t)return null;if(t===Oe)return new je(t,e,r);if("@"===t[0]&&"@global "===t.substr(0,"@global ".length))return new Ie(t,e,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var r=t.options,n=t.style,i=n?n[Oe]:null;if(i){for(var a in i)e.addRule(a,i[a],q({},r,{selector:Fe(a,t.selector)}));delete n[Oe]}}(t,e),function(t,e){var r=t.options,n=t.style;for(var i in n)if("@"===i[0]&&i.substr(0,Oe.length)===Oe){var a=Fe(i.substr(Oe.length),t.selector);e.addRule(a,n[i],q({},r,{selector:a})),delete n[i]}}(t,e))}},Re(),{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=Ge(t[e]);return t}return Ge(t)},onChangeValue:function(t,e,r){if(0===e.indexOf("--"))return t;var n=ze(e);return e===n?t:(r.prop(n,t),null)}},Ye(),"undefined"==typeof window?null:Yr(),(Ur=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length},{onProcessStyle:function(t,e){if("style"!==e.type)return t;for(var r={},n=Object.keys(t).sort(Ur),i=0;i<n.length;i++)r[n[i]]=t[n[i]];return r}})]}),Zr={disableGeneration:!1,generateClassName:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,r=void 0!==e&&e,n=t.productionPrefix,i=void 0===n?"jss":n,a=t.seed,s=void 0===a?"":a,o=""===s?"":"".concat(s,"-"),l=0,c=function(){return l+=1};return function(t,e){var n=e.options.name;if(n&&0===n.indexOf("Mui")&&!e.options.link&&!r){if(-1!==Ce.indexOf(t.key))return"Mui-".concat(t.key);var a="".concat(o).concat(n,"-").concat(t.key);return e.options.theme[we]&&""===s?"".concat(a,"-").concat(c()):a}return"".concat(o).concat(i).concat(c())}}(),jss:Kr,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},$r=h.a.createContext(Zr),tn=-1e9;function en(){return tn+=1}function rn(t){return(rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nn(t){return t&&"object"===rn(t)&&t.constructor===Object}function an(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},n=r.clone?q({},t):t;return nn(t)&&nn(e)&&Object.keys(e).forEach((function(i){"__proto__"!==i&&(nn(e[i])&&i in t?n[i]=an(t[i],e[i],r):n[i]=e[i])})),n}function sn(t){var e="function"==typeof t;return{create:function(r,n){var i;try{i=e?t(r):t}catch(t){throw t}if(!n||!r.overrides||!r.overrides[n])return i;var a=r.overrides[n],s=q({},i);return Object.keys(a).forEach((function(t){s[t]=an(s[t],a[t])})),s},options:{}}}var on={};function ln(t,e,r){var n=t.state;if(t.stylesOptions.disableGeneration)return e||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,i=!0),e!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=e,i=!0),i&&(n.cacheClasses.value=ye({baseClasses:n.cacheClasses.lastJSS,newClasses:e,Component:r})),n.cacheClasses.value}function cn(t,e){var r=t.state,n=t.theme,i=t.stylesOptions,a=t.stylesCreator,s=t.name;if(!i.disableGeneration){var o=be(i.sheetsManager,a,n);o||(o={refs:0,staticSheet:null,dynamicStyles:null},ve(i.sheetsManager,a,n,o));var l=q({},a.options,i,{theme:n,flip:"boolean"==typeof i.flip?i.flip:"rtl"===n.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=i.sheetsRegistry;if(0===o.refs){var u;i.sheetsCache&&(u=be(i.sheetsCache,a,n));var h=a.create(n,s);u||((u=i.jss.createStyleSheet(h,q({link:!1},l))).attach(),i.sheetsCache&&ve(i.sheetsCache,a,n,u)),c&&c.add(u),o.staticSheet=u,o.dynamicStyles=function t(e){var r=null;for(var n in e){var i=e[n],a=typeof i;if("function"===a)r||(r={}),r[n]=i;else if("object"===a&&null!==i&&!Array.isArray(i)){var s=t(i);s&&(r||(r={}),r[n]=s)}}return r}(h)}if(o.dynamicStyles){var p=i.jss.createStyleSheet(o.dynamicStyles,q({link:!0},l));p.update(e),p.attach(),r.dynamicSheet=p,r.classes=ye({baseClasses:o.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else r.classes=o.staticSheet.classes;o.refs+=1}}function un(t,e){var r=t.state;r.dynamicSheet&&r.dynamicSheet.update(e)}function hn(t){var e=t.state,r=t.theme,n=t.stylesOptions,i=t.stylesCreator;if(!n.disableGeneration){var a=be(n.sheetsManager,i,r);a.refs-=1;var s=n.sheetsRegistry;0===a.refs&&(xe(n.sheetsManager,i,r),n.jss.removeStyleSheet(a.staticSheet),s&&s.remove(a.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),s&&s.remove(e.dynamicSheet))}}function pn(t,e){var r,n=h.a.useRef([]),i=h.a.useMemo((function(){return{}}),e);n.current!==i&&(n.current=i,r=t()),h.a.useEffect((function(){return function(){r&&r()}}),[i])}function fn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.name,n=e.classNamePrefix,i=e.Component,a=e.defaultTheme,s=void 0===a?on:a,o=X(e,["name","classNamePrefix","Component","defaultTheme"]),l=sn(t),c=r||n||"makeStyles";l.options={index:en(),name:r,meta:c,classNamePrefix:c};var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=ke()||s,n=q({},h.a.useContext($r),o),a=h.a.useRef(),c=h.a.useRef();pn((function(){var i={name:r,state:{},stylesCreator:l,stylesOptions:n,theme:e};return cn(i,t),c.current=!1,a.current=i,function(){hn(i)}}),[e,l]),h.a.useEffect((function(){c.current&&un(a.current,t),c.current=!0}));var u=ln(a.current,t.classes,i);return u};return u}function dn(t){var e=t.theme,r=t.name,n=t.props;if(!e||!e.props||!e.props[r])return n;var i,a=e.props[r];for(i in a)void 0===n[i]&&(n[i]=a[i]);return n}function mn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gn=["xs","sm","md","lg","xl"];function yn(t){var e=t.values,r=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,n=t.unit,i=void 0===n?"px":n,a=t.step,s=void 0===a?5:a,o=X(t,["values","unit","step"]);function l(t){var e="number"==typeof r[t]?r[t]:t;return"@media (min-width:".concat(e).concat(i,")")}function c(t,e){var n=gn.indexOf(e);return n===gn.length-1?l(t):"@media (min-width:".concat("number"==typeof r[t]?r[t]:t).concat(i,") and ")+"(max-width:".concat((-1!==n&&"number"==typeof r[gn[n+1]]?r[gn[n+1]]:e)-s/100).concat(i,")")}return q({keys:gn,values:r,up:l,down:function(t){var e=gn.indexOf(t)+1,n=r[gn[e]];return e===gn.length?l("xs"):"@media (max-width:".concat(("number"==typeof n&&e>0?n:t)-s/100).concat(i,")")},between:c,only:function(t){return c(t,t)},width:function(t){return r[t]}},o)}function vn(t,e,r){var n;return q({gutters:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),q({paddingLeft:e(2),paddingRight:e(2)},r,mn({},t.up("sm"),q({paddingLeft:e(3),paddingRight:e(3)},r[t.up("sm")])))},toolbar:(n={minHeight:56},mn(n,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),mn(n,t.up("sm"),{minHeight:64}),n)},r)}var bn={black:"#000",white:"#fff"},xn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},En="#7986cb",kn="#3f51b5",wn="#303f9f",Cn="#ff4081",An="#f50057",Sn="#c51162",Pn="#e57373",On="#f44336",jn="#d32f2f",In="#ffb74d",Fn="#ff9800",Tn="#f57c00",Dn="#64b5f6",Mn="#2196f3",Rn="#1976d2",Bn="#81c784",Vn="#4caf50",Ln="#388e3c",Nn={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:bn.white,default:xn[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},zn={text:{primary:bn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:xn[800],default:"#303030"},action:{active:bn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Gn(t,e,r,n){var i=n.light||n,a=n.dark||1.5*n;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:"light"===e?t.light=function(t,e){if(t=Z(t),e=K(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;return $(t)}(t.main,i):"dark"===e&&(t.dark=function(t,e){if(t=Z(t),e=K(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return $(t)}(t.main,a)))}function Hn(t){var e=t.primary,r=void 0===e?{light:En,main:kn,dark:wn}:e,n=t.secondary,i=void 0===n?{light:Cn,main:An,dark:Sn}:n,a=t.error,s=void 0===a?{light:Pn,main:On,dark:jn}:a,o=t.warning,l=void 0===o?{light:In,main:Fn,dark:Tn}:o,c=t.info,u=void 0===c?{light:Dn,main:Mn,dark:Rn}:c,h=t.success,p=void 0===h?{light:Bn,main:Vn,dark:Ln}:h,f=t.type,d=void 0===f?"light":f,m=t.contrastThreshold,g=void 0===m?3:m,y=t.tonalOffset,v=void 0===y?.2:y,b=X(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(t){return function(t,e){var r=tt(t),n=tt(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(t,zn.text.primary)>=g?zn.text.primary:Nn.text.primary}var E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=q({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(U(4,e));if("string"!=typeof t.main)throw new Error(U(5,JSON.stringify(t.main)));return Gn(t,"light",r,v),Gn(t,"dark",n,v),t.contrastText||(t.contrastText=x(t.main)),t},k={dark:zn,light:Nn};return an(q({common:bn,type:d,primary:E(r),secondary:E(i,"A400","A200","A700"),error:E(s),warning:E(l),info:E(u),success:E(p),grey:xn,contrastThreshold:g,getContrastText:x,augmentColor:E,tonalOffset:v},k[d]),b)}function Qn(t){return Math.round(1e5*t)/1e5}function qn(t){return Qn(t)}var Wn={textTransform:"uppercase"};function Xn(t,e){var r="function"==typeof e?e(t):e,n=r.fontFamily,i=void 0===n?'"Roboto", "Helvetica", "Arial", sans-serif':n,a=r.fontSize,s=void 0===a?14:a,o=r.fontWeightLight,l=void 0===o?300:o,c=r.fontWeightRegular,u=void 0===c?400:c,h=r.fontWeightMedium,p=void 0===h?500:h,f=r.fontWeightBold,d=void 0===f?700:f,m=r.htmlFontSize,g=void 0===m?16:m,y=r.allVariants,v=r.pxToRem,b=X(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=s/14,E=v||function(t){return"".concat(t/g*x,"rem")},k=function(t,e,r,n,a){return q({fontFamily:i,fontWeight:t,fontSize:E(e),lineHeight:r},'"Roboto", "Helvetica", "Arial", sans-serif'===i?{letterSpacing:"".concat(Qn(n/e),"em")}:{},a,y)},w={h1:k(l,96,1.167,-1.5),h2:k(l,60,1.2,-.5),h3:k(u,48,1.167,0),h4:k(u,34,1.235,.25),h5:k(u,24,1.334,0),h6:k(p,20,1.6,.15),subtitle1:k(u,16,1.75,.15),subtitle2:k(p,14,1.57,.1),body1:k(u,16,1.5,.15),body2:k(u,14,1.43,.15),button:k(p,14,1.75,.4,Wn),caption:k(u,12,1.66,.4),overline:k(u,12,2.66,1,Wn)};return an(q({htmlFontSize:g,pxToRem:E,round:qn,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:d},w),b,{clone:!1})}function Jn(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Yn=["none",Jn(0,2,1,-1,0,1,1,0,0,1,3,0),Jn(0,3,1,-2,0,2,2,0,0,1,5,0),Jn(0,3,3,-2,0,3,4,0,0,1,8,0),Jn(0,2,4,-1,0,4,5,0,0,1,10,0),Jn(0,3,5,-1,0,5,8,0,0,1,14,0),Jn(0,3,5,-1,0,6,10,0,0,1,18,0),Jn(0,4,5,-2,0,7,10,1,0,2,16,1),Jn(0,5,5,-3,0,8,10,1,0,3,14,2),Jn(0,5,6,-3,0,9,12,1,0,3,16,2),Jn(0,6,6,-3,0,10,14,1,0,4,18,3),Jn(0,6,7,-4,0,11,15,1,0,4,20,3),Jn(0,7,8,-4,0,12,17,2,0,5,22,4),Jn(0,7,8,-4,0,13,19,2,0,5,24,4),Jn(0,7,9,-4,0,14,21,2,0,5,26,4),Jn(0,8,9,-5,0,15,22,2,0,6,28,5),Jn(0,8,10,-5,0,16,24,2,0,6,30,5),Jn(0,8,11,-5,0,17,26,2,0,6,32,5),Jn(0,9,11,-5,0,18,28,2,0,7,34,6),Jn(0,9,12,-6,0,19,29,2,0,7,36,6),Jn(0,10,13,-6,0,20,31,3,0,8,38,7),Jn(0,10,13,-6,0,21,33,3,0,8,40,7),Jn(0,10,14,-6,0,22,35,3,0,8,42,7),Jn(0,11,14,-7,0,23,36,3,0,9,44,8),Jn(0,11,15,-7,0,24,38,3,0,9,46,8)],Un={borderRadius:4};var Kn=function(t,e){return e?an(t,e,{clone:!1}):t},Zn={xs:0,sm:600,md:960,lg:1280,xl:1920},$n={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(Zn[t],"px)")}};function ti(t,e,r){if(Array.isArray(e)){var n=t.theme.breakpoints||$n;return e.reduce((function(t,i,a){return t[n.up(n.keys[a])]=r(e[a]),t}),{})}if("object"===rn(e)){var i=t.theme.breakpoints||$n;return Object.keys(e).reduce((function(t,n){return t[i.up(n)]=r(e[n]),t}),{})}return r(e)}var ei,ri,ni={m:"margin",p:"padding"},ii={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ai={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},si=(ei=function(t){if(t.length>2){if(!ai[t])return[t];t=ai[t]}var e,r,n=(e=t.split(""),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],_n=!0,s=!1;try{for(r=r.call(t);!(_n=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);_n=!0);}catch(t){s=!0,i=t}finally{try{_n||null==r.return||r.return()}finally{if(s)throw i}}return a}}(e,r)||Ke(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=n[0],a=n[1],s=ni[i],o=ii[a]||"";return Array.isArray(o)?o.map((function(t){return s+t})):[s+o]},ri={},function(t){return void 0===ri[t]&&(ri[t]=ei(t)),ri[t]}),oi=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function li(t){var e=t.spacing||8;return"number"==typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"==typeof e?e:function(){}}function ci(t){var e=li(t.theme);return Object.keys(t).map((function(r){if(-1===oi.indexOf(r))return null;var n=function(t,e){return function(r){return t.reduce((function(t,n){return t[n]=function(t,e){if("string"==typeof e||null==e)return e;var r=t(Math.abs(e));return e>=0?r:"number"==typeof r?-r:"-".concat(r)}(e,r),t}),{})}}(si(r),e),i=t[r];return ti(t,i,n)})).reduce(Kn,{})}ci.propTypes={},ci.filterProps=oi;var ui=ci;function hi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=li({spacing:t}),r=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return 0===r.length?e(1):1===r.length?e(r[0]):r.map((function(t){if("string"==typeof t)return t;var r=e(t);return"number"==typeof r?"".concat(r,"px"):r})).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return t}}),r.mui=!0,r}var pi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},fi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function di(t){return"".concat(Math.round(t),"ms")}var mi={easing:pi,duration:fi,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.duration,n=void 0===r?fi.standard:r,i=e.easing,a=void 0===i?pi.easeInOut:i,s=e.delay,o=void 0===s?0:s;return X(e,["duration","easing","delay"]),(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"==typeof n?n:di(n)," ").concat(a," ").concat("string"==typeof o?o:di(o))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}},gi={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var yi=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,r=void 0===e?{}:e,n=t.mixins,i=void 0===n?{}:n,a=t.palette,s=void 0===a?{}:a,o=t.spacing,l=t.typography,c=void 0===l?{}:l,u=X(t,["breakpoints","mixins","palette","spacing","typography"]),h=Hn(s),p=yn(r),f=hi(o),d=an({breakpoints:p,direction:"ltr",mixins:vn(p,f,i),overrides:{},palette:h,props:{},shadows:Yn,typography:Xn(h,c),spacing:f,shape:Un,transitions:mi,zIndex:gi},u),m=arguments.length,g=new Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return g.reduce((function(t,e){return an(t,e)}),d)}(),vi=function(t,e){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var n=e.defaultTheme,i=e.withTheme,a=void 0!==i&&i,s=e.name,o=X(e,["defaultTheme","withTheme","name"]),l=s,c=fn(t,q({defaultTheme:n,Component:r,name:s||r.displayName,classNamePrefix:l},o)),u=h.a.forwardRef((function(t,e){t.classes;var i,o=t.innerRef,l=X(t,["classes","innerRef"]),u=c(q({},r.defaultProps,t)),p=l;return("string"==typeof s||a)&&(i=ke()||n,s&&(p=dn({theme:i,name:s,props:l})),a&&!p.theme&&(p.theme=i)),h.a.createElement(r,q({ref:o||e,classes:u},p))}));return rt()(u,r),u}}(t,q({defaultTheme:yi},e))},bi=u.forwardRef((function(t,e){var r=t.animation,n=void 0===r?"pulse":r,i=t.classes,a=t.className,s=t.component,o=void 0===s?"span":s,l=t.height,c=t.variant,h=void 0===c?"text":c,p=t.width,f=X(t,["animation","classes","className","component","height","variant","width"]),d=Boolean(f.children);return u.createElement(o,q({ref:e,className:Y(i.root,i[h],a,d&&[i.withChildren,!p&&i.fitContent,!l&&i.heightAuto],!1!==n&&i[n])},f,{style:q({width:p,height:l},f.style)}))})),xi=vi((function(t){return{root:{display:"block",backgroundColor:(e=t.palette.text.primary,r="light"===t.palette.type?.11:.13,e=Z(e),r=K(r),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=r,$(e)),height:"1.2em"},text:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 60%",transform:"scale(1, 0.60)",borderRadius:t.shape.borderRadius,"&:empty:before":{content:'"\\00a0"'}},rect:{},circle:{borderRadius:"50%"},pulse:{animation:"$pulse 1.5s ease-in-out 0.5s infinite"},"@keyframes pulse":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}},wave:{position:"relative",overflow:"hidden","&::after":{animation:"$wave 1.6s linear 0.5s infinite",background:"linear-gradient(90deg, transparent, ".concat(t.palette.action.hover,", transparent)"),content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}},"@keyframes wave":{"0%":{transform:"translateX(-100%)"},"60%":{transform:"translateX(100%)"},"100%":{transform:"translateX(100%)"}},withChildren:{"& > *":{visibility:"hidden"}},fitContent:{maxWidth:"fit-content"},heightAuto:{height:"auto"}};var e,r}),{name:"MuiSkeleton"})(bi),Ei=[0,1,2,3,4,5,6,7,8,9,10],ki=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function wi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=parseFloat(t);return"".concat(r/e).concat(String(t).replace(String(r),"")||"px")}var Ci=u.forwardRef((function(t,e){var r=t.alignContent,n=void 0===r?"stretch":r,i=t.alignItems,a=void 0===i?"stretch":i,s=t.classes,o=t.className,l=t.component,c=void 0===l?"div":l,h=t.container,p=void 0!==h&&h,f=t.direction,d=void 0===f?"row":f,m=t.item,g=void 0!==m&&m,y=t.justify,v=t.justifyContent,b=void 0===v?"flex-start":v,x=t.lg,E=void 0!==x&&x,k=t.md,w=void 0!==k&&k,C=t.sm,A=void 0!==C&&C,S=t.spacing,P=void 0===S?0:S,O=t.wrap,j=void 0===O?"wrap":O,I=t.xl,_=void 0!==I&&I,F=t.xs,T=void 0!==F&&F,D=t.zeroMinWidth,M=void 0!==D&&D,R=X(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),B=Y(s.root,o,p&&[s.container,0!==P&&s["spacing-xs-".concat(String(P))]],g&&s.item,M&&s.zeroMinWidth,"row"!==d&&s["direction-xs-".concat(String(d))],"wrap"!==j&&s["wrap-xs-".concat(String(j))],"stretch"!==a&&s["align-items-xs-".concat(String(a))],"stretch"!==n&&s["align-content-xs-".concat(String(n))],"flex-start"!==(y||b)&&s["justify-content-xs-".concat(String(y||b))],!1!==T&&s["grid-xs-".concat(String(T))],!1!==A&&s["grid-sm-".concat(String(A))],!1!==w&&s["grid-md-".concat(String(w))],!1!==E&&s["grid-lg-".concat(String(E))],!1!==_&&s["grid-xl-".concat(String(_))]);return u.createElement(c,q({className:B,ref:e},R))})),Ai=vi((function(t){return q({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(t,e){var r={};return Ei.forEach((function(e){var n=t.spacing(e);0!==n&&(r["spacing-".concat("xs","-").concat(e)]={margin:"-".concat(wi(n,2)),width:"calc(100% + ".concat(wi(n),")"),"& > $item":{padding:wi(n,2)}})})),r}(t),t.breakpoints.keys.reduce((function(e,r){return function(t,e,r){var n={};ki.forEach((function(t){var e="grid-".concat(r,"-").concat(t);if(!0!==t)if("auto"!==t){var i="".concat(Math.round(t/12*1e8)/1e6,"%");n[e]={flexBasis:i,flexGrow:0,maxWidth:i}}else n[e]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else n[e]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===r?q(t,n):t[e.breakpoints.up(r)]=n}(e,t,r),e}),{}))}),{name:"MuiGrid"})(Ci);function Si(t,e){var r={};return Object.keys(t).forEach((function(n){-1===e.indexOf(n)&&(r[n]=t[n])})),r}var Pi=function(t){var e=function(e){var r=t(e);return e.css?q({},Kn(r,t(q({theme:e.theme},e.css))),Si(e.css,[t.filterProps])):e.sx?q({},Kn(r,t(q({theme:e.theme},e.sx))),Si(e.sx,[t.filterProps])):r};return e.propTypes={},e.filterProps=["css","sx"].concat(Ze(t.filterProps)),e},Oi=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=function(t){return e.reduce((function(e,r){var n=r(t);return n?Kn(e,n):e}),{})};return n.propTypes={},n.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),n};function ji(t,e){return e&&"string"==typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}var Ii=function(t){var e=t.prop,r=t.cssProperty,n=void 0===r?t.prop:r,i=t.themeKey,a=t.transform,s=function(t){if(null==t[e])return null;var r=t[e],s=ji(t.theme,i)||{};return ti(t,r,(function(t){var e;return"function"==typeof s?e=s(t):Array.isArray(s)?e=s[t]||t:(e=ji(s,t)||t,a&&(e=a(e))),!1===n?e:mn({},n,e)}))};return s.propTypes={},s.filterProps=[e],s};function _i(t){return"number"!=typeof t?t:"".concat(t,"px solid")}var Fi=Oi(Ii({prop:"border",themeKey:"borders",transform:_i}),Ii({prop:"borderTop",themeKey:"borders",transform:_i}),Ii({prop:"borderRight",themeKey:"borders",transform:_i}),Ii({prop:"borderBottom",themeKey:"borders",transform:_i}),Ii({prop:"borderLeft",themeKey:"borders",transform:_i}),Ii({prop:"borderColor",themeKey:"palette"}),Ii({prop:"borderRadius",themeKey:"shape"})),Ti=Oi(Ii({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),Ii({prop:"display"}),Ii({prop:"overflow"}),Ii({prop:"textOverflow"}),Ii({prop:"visibility"}),Ii({prop:"whiteSpace"})),Di=Oi(Ii({prop:"flexBasis"}),Ii({prop:"flexDirection"}),Ii({prop:"flexWrap"}),Ii({prop:"justifyContent"}),Ii({prop:"alignItems"}),Ii({prop:"alignContent"}),Ii({prop:"order"}),Ii({prop:"flex"}),Ii({prop:"flexGrow"}),Ii({prop:"flexShrink"}),Ii({prop:"alignSelf"}),Ii({prop:"justifyItems"}),Ii({prop:"justifySelf"})),Mi=Oi(Ii({prop:"gridGap"}),Ii({prop:"gridColumnGap"}),Ii({prop:"gridRowGap"}),Ii({prop:"gridColumn"}),Ii({prop:"gridRow"}),Ii({prop:"gridAutoFlow"}),Ii({prop:"gridAutoColumns"}),Ii({prop:"gridAutoRows"}),Ii({prop:"gridTemplateColumns"}),Ii({prop:"gridTemplateRows"}),Ii({prop:"gridTemplateAreas"}),Ii({prop:"gridArea"})),Ri=Oi(Ii({prop:"position"}),Ii({prop:"zIndex",themeKey:"zIndex"}),Ii({prop:"top"}),Ii({prop:"right"}),Ii({prop:"bottom"}),Ii({prop:"left"})),Bi=Oi(Ii({prop:"color",themeKey:"palette"}),Ii({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),Vi=Ii({prop:"boxShadow",themeKey:"shadows"});function Li(t){return t<=1?"".concat(100*t,"%"):t}var Ni=Ii({prop:"width",transform:Li}),zi=Ii({prop:"maxWidth",transform:Li}),Gi=Ii({prop:"minWidth",transform:Li}),Hi=Ii({prop:"height",transform:Li}),Qi=Ii({prop:"maxHeight",transform:Li}),qi=Ii({prop:"minHeight",transform:Li}),Wi=(Ii({prop:"size",cssProperty:"width",transform:Li}),Ii({prop:"size",cssProperty:"height",transform:Li}),Oi(Ni,zi,Gi,Hi,Qi,qi,Ii({prop:"boxSizing"}))),Xi=Oi(Ii({prop:"fontFamily",themeKey:"typography"}),Ii({prop:"fontSize",themeKey:"typography"}),Ii({prop:"fontStyle",themeKey:"typography"}),Ii({prop:"fontWeight",themeKey:"typography"}),Ii({prop:"letterSpacing"}),Ii({prop:"lineHeight"}),Ii({prop:"textAlign"}));function Ji(t,e){var r={};return Object.keys(t).forEach((function(n){-1===e.indexOf(n)&&(r[n]=t[n])})),r}var Yi,Ui=Pi(Oi(Fi,Ti,Di,Mi,Ri,Bi,Vi,Wi,ui,Xi)),Ki=(Yi=function(t){return function(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.name,a=X(n,["name"]),s=i,o="function"==typeof e?function(t){return{root:function(r){return e(q({theme:t},r))}}}:{root:e},l=fn(o,q({Component:t,name:i||t.displayName,classNamePrefix:s},a));e.filterProps&&(r=e.filterProps,delete e.filterProps),e.propTypes&&(e.propTypes,delete e.propTypes);var c=h.a.forwardRef((function(e,n){var i=e.children,a=e.className,s=e.clone,o=e.component,c=X(e,["children","className","clone","component"]),u=l(e),p=Y(u.root,a),f=c;if(r&&(f=Ji(f,r)),s)return h.a.cloneElement(i,q({className:Y(i.props.className,p)},f));if("function"==typeof i)return i(q({className:p},f));var d=o||t;return h.a.createElement(d,q({ref:n,className:p},f),i)}));return rt()(c,t),c}}("div"),function(t,e){return Yi(t,q({defaultTheme:yi},e))})(Ui,{name:"MuiBox"}),Zi=function(){return Object(c.createElement)("div",{className:"site-loading-skeleton"},Object(c.createElement)(Ai,{container:!0},Object(c.createElement)(Ai,{item:!0,xs:4},Object(c.createElement)(Ki,{p:"3em 8em",display:"flex"},Object(c.createElement)(xi,{variant:"rect",width:234,height:45,animation:"wave"}))),Object(c.createElement)(Ai,{item:!0,xs:8},Object(c.createElement)(Ki,{p:"3em 8em",display:"flex",justifyContent:"flex-end",gridGap:"25px"},Object(c.createElement)(xi,{variant:"rect",width:100,height:45,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",width:100,height:45,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",width:100,height:45,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",width:100,height:45,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",width:200,height:45,animation:"wave"}))),Object(c.createElement)(Ai,{item:!0,xs:6},Object(c.createElement)(Ki,{p:"1rem 2rem 1rem 8rem",display:"flex",flexDirection:"column",height:"100%"},Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",height:120,animation:"wave"})),Object(c.createElement)(Ki,{m:"1em 0"},Object(c.createElement)(xi,{variant:"rect",height:20,animation:"wave"})),Object(c.createElement)(Ki,{m:"1em 0"},Object(c.createElement)(xi,{variant:"rect",height:20,animation:"wave"})),Object(c.createElement)(Ki,{m:"3em 0"},Object(c.createElement)(xi,{variant:"rect",width:250,height:50,animation:"wave"})))),Object(c.createElement)(Ai,{item:!0,xs:6},Object(c.createElement)(Ki,{p:"1rem 8rem 1rem 2rem",display:"flex",justifyContent:"flex-end",gridGap:"25px"},Object(c.createElement)(xi,{variant:"rect",width:516,height:320,animation:"wave"}))),Object(c.createElement)(Ai,{item:!0,xs:12},Object(c.createElement)(Ki,{p:"3em 8em",display:"flex",justifyContent:"space-evenly",gridGap:"25px"},Object(c.createElement)(xi,{variant:"rect",width:"100%",height:320,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",width:"100%",height:320,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",width:"100%",height:320,animation:"wave"})))))},$i=Object(u.memo)((function(){var t=w(),e=b()(t,1)[0],r=e.templateResponse,n=e.siteLogo,i=Object(u.useState)(""),a=b()(i,2),s=a[0],o=a[1],l=Object(u.useState)(!0),h=b()(l,2),p=h[0],f=h[1];return Object(u.useEffect)((function(){var t,e=r?r["astra-site-url"]:"";""!==e&&o((t=function(t){return t?(t=t.trim(),Q.test(t)||Object(H.isEmail)(t)?t:"https://"+t+"/"):t}(e.replace(/^\/+|\/+$/g,""))).endsWith("/")?t:t+"/")}),[r]),Object(u.useEffect)((function(){!1===p&&N({param:"cleanStorage",data:n})}),[p]),Object(c.createElement)(c.Fragment,null,p?Object(c.createElement)(Zi,null):null,""!==s&&Object(c.createElement)("iframe",{id:"astra-starter-templates-preview",title:"Website Preview",height:"100%",width:"100%",src:s,onLoad:function(){f(!1)}}))})),ta=r(11),ea=r.n(ta),ra={};!function t(e,r,n,i){var a=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function s(){}function o(t){var n=r.exports.Promise,i=void 0!==n?n:e.Promise;return"function"==typeof i?new i(t):(t(s,s),null)}var l,c,u,h,p,f,d,m,g=(u=Math.floor(1e3/60),h={},p=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(l=function(t){var e=Math.random();return h[e]=requestAnimationFrame((function r(n){p===n||p+u-1<n?(p=n,delete h[e],t()):h[e]=requestAnimationFrame(r)})),e},c=function(t){h[t]&&cancelAnimationFrame(h[t])}):(l=function(t){return setTimeout(t,u)},c=function(t){return clearTimeout(t)}),{frame:l,cancel:c}),y=(m={},function(){if(f)return f;if(!n&&a){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{f=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",t),null}!function(t){function e(e,r){t.postMessage({options:e||{},callback:r})}t.init=function(e){var r=e.transferControlToOffscreen();t.postMessage({canvas:r},[r])},t.fire=function(r,n,i){if(d)return e(r,null),d;var a=Math.random().toString(36).slice(2);return d=o((function(n){function s(e){e.data.callback===a&&(delete m[a],t.removeEventListener("message",s),d=null,i(),n())}t.addEventListener("message",s),e(r,a),m[a]=s.bind(null,{data:{callback:a}})}))},t.reset=function(){for(var e in t.postMessage({reset:!0}),m)m[e](),delete m[e]}}(f)}return f}),v={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function b(t,e,r){return function(t,e){return e?e(t):t}(t&&null!=t[e]?t[e]:v[e],r)}function x(t){return t<0?0:Math.floor(t)}function E(t,e){return Math.floor(Math.random()*(e-t))+t}function k(t){return parseInt(t,16)}function w(t){return t.map(C)}function C(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:k(e.substring(0,2)),g:k(e.substring(2,4)),b:k(e.substring(4,6))}}function A(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function S(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function P(t,r){var s,l=!t,c=!!b(r||{},"resize"),u=b(r,"disableForReducedMotion",Boolean),h=a&&b(r||{},"useWorker")?y():null,p=l?A:S,f=!(!t||!h||!t.__confetti_initialized),d="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function m(e,r,a){for(var l,c,u,h=b(e,"particleCount",x),f=b(e,"angle",Number),d=b(e,"spread",Number),m=b(e,"startVelocity",Number),y=b(e,"decay",Number),v=b(e,"gravity",Number),k=b(e,"drift",Number),C=b(e,"colors",w),A=b(e,"ticks",Number),S=b(e,"shapes"),P=b(e,"scalar"),O=function(t){var e=b(t,"origin",Object);return e.x=b(e,"x",Number),e.y=b(e,"y",Number),e}(e),j=h,I=[],_=t.width*O.x,F=t.height*O.y;j--;)I.push((void 0,void 0,c=(l={x:_,y:F,angle:f,spread:d,startVelocity:m,color:C[j%C.length],shape:S[E(0,S.length)],ticks:A,decay:y,gravity:v,drift:k,scalar:P}).angle*(Math.PI/180),u=l.spread*(Math.PI/180),{x:l.x,y:l.y,wobble:10*Math.random(),velocity:.5*l.startVelocity+Math.random()*l.startVelocity,angle2D:-c+(.5*u-Math.random()*u),tiltAngle:Math.random()*Math.PI,color:l.color,shape:l.shape,tick:0,totalTicks:l.ticks,decay:l.decay,drift:l.drift,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*l.gravity,ovalScalar:.6,scalar:l.scalar}));return s?s.addFettis(I):(s=function(t,e,r,a,s){var l,c,u=e.slice(),h=t.getContext("2d"),p=o((function(e){function o(){l=c=null,h.clearRect(0,0,a.width,a.height),s(),e()}l=g.frame((function e(){!n||a.width===i.width&&a.height===i.height||(a.width=t.width=i.width,a.height=t.height=i.height),a.width||a.height||(r(t),a.width=t.width,a.height=t.height),h.clearRect(0,0,a.width,a.height),(u=u.filter((function(t){return function(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.wobble+=.1,e.velocity*=e.decay,e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+5,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble);var r=e.tick++/e.totalTicks,n=e.x+e.random*e.tiltCos,i=e.y+e.random*e.tiltSin,a=e.wobbleX+e.random*e.tiltCos,s=e.wobbleY+e.random*e.tiltSin;return t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-r)+")",t.beginPath(),"circle"===e.shape?t.ellipse?t.ellipse(e.x,e.y,Math.abs(a-n)*e.ovalScalar,Math.abs(s-i)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function(t,e,r,n,i,a,s,o,l){t.save(),t.translate(e,r),t.rotate(a),t.scale(n,i),t.arc(0,0,1,0,o,void 0),t.restore()}(t,e.x,e.y,Math.abs(a-n)*e.ovalScalar,Math.abs(s-i)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):(t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(i)),t.lineTo(Math.floor(a),Math.floor(s)),t.lineTo(Math.floor(n),Math.floor(e.wobbleY))),t.closePath(),t.fill(),e.tick<e.totalTicks}(h,t)}))).length?l=g.frame(e):o()})),c=o}));return{addFettis:function(t){return u=u.concat(t),p},canvas:t,promise:p,reset:function(){l&&g.cancel(l),c&&c()}}}(t,I,p,r,a)).promise}function v(r){var n=u||b(r,"disableForReducedMotion",Boolean),i=b(r,"zIndex",Number);if(n&&d)return o((function(t){t()}));l&&s?t=s.canvas:l&&!t&&(t=function(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}(i),document.body.appendChild(t)),c&&!f&&p(t);var a={width:t.width,height:t.height};function g(){if(h){var e={getBoundingClientRect:function(){if(!l)return t.getBoundingClientRect()}};return p(e),void h.postMessage({resize:{width:e.width,height:e.height}})}a.width=a.height=null}function y(){s=null,c&&e.removeEventListener("resize",g),l&&t&&(document.body.removeChild(t),t=null,f=!1)}return h&&!f&&h.init(t),f=!0,h&&(t.__confetti_initialized=!0),c&&e.addEventListener("resize",g,!1),h?h.fire(r,a,y):m(r,a,y)}return v.reset=function(){h&&h.reset(),s&&s.reset()},v}r.exports=P(null,{useWorker:!0,resize:!0}),r.exports.create=P}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),ra,!1);var na=ra.exports,ia=(ra.exports.create,r(57),starterTemplates.siteUrl),aa=(r(58),starterTemplates),sa=aa.imageDir,oa=aa.isBrizyEnabled,la=r(5);function ca(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var a=Array(e+1);for(i=0;i<e;i++)a[i]=arguments[i];return a[e]=n,t.apply(this,a)}}function ua(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function ha(t){return null===t}function pa(t){return void 0===t}function fa(t){return!0===t||!1===t||"[object Boolean]"===la.t.call(t)}function da(t){return!(!t||1!==t.nodeType)}function ma(t){var e="[object "+t+"]";return function(t){return la.t.call(t)===e}}var ga=ma("String"),ya=ma("Number"),va=ma("Date"),ba=ma("RegExp"),xa=ma("Error"),Ea=ma("Symbol"),ka=ma("ArrayBuffer"),wa=ma("Function"),Ca=la.p.document&&la.p.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof Ca&&(wa=function(t){return"function"==typeof t||!1});var Aa=wa,Sa=ma("Object"),Pa=la.s&&Sa(new DataView(new ArrayBuffer(8))),Oa="undefined"!=typeof Map&&Sa(new Map),ja=ma("DataView"),Ia=Pa?function(t){return null!=t&&Aa(t.getInt8)&&ka(t.buffer)}:ja,_a=la.k||ma("Array");function Fa(t,e){return null!=t&&la.i.call(t,e)}var Ta=ma("Arguments");!function(){Ta(arguments)||(Ta=function(t){return Fa(t,"callee")})}();var Da=Ta;function Ma(t){return!Ea(t)&&Object(la.f)(t)&&!isNaN(parseFloat(t))}function Ra(t){return ya(t)&&Object(la.g)(t)}function Ba(t){return function(){return t}}function Va(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=la.b}}function La(t){return function(e){return null==e?void 0:e[t]}}var Na=La("byteLength"),za=Va(Na),Ga=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Ha=la.r?function(t){return la.l?Object(la.l)(t)&&!Ia(t):za(t)&&Ga.test(la.t.call(t))}:Ba(!1),Qa=La("length");function qa(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return!0===e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=la.n.length,n=t.constructor,i=Aa(n)&&n.prototype||la.c,a="constructor";for(Fa(t,a)&&!e.contains(a)&&e.push(a);r--;)(a=la.n[r])in t&&t[a]!==i[a]&&!e.contains(a)&&e.push(a)}function Wa(t){if(!ua(t))return[];if(la.m)return Object(la.m)(t);var e=[];for(var r in t)Fa(t,r)&&e.push(r);return la.h&&qa(t,e),e}function Xa(t){if(null==t)return!0;var e=Qa(t);return"number"==typeof e&&(_a(t)||ga(t)||Da(t))?0===e:0===Qa(Wa(t))}function Ja(t,e){var r=Wa(e),n=r.length;if(null==t)return!n;for(var i=Object(t),a=0;a<n;a++){var s=r[a];if(e[s]!==i[s]||!(s in i))return!1}return!0}function Ya(t){return t instanceof Ya?t:this instanceof Ya?void(this._wrapped=t):new Ya(t)}function Ua(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,Na(t))}function Ka(t,e){return function t(e,r,n,i){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return!1;if(e!=e)return r!=r;var a=typeof e;return("function"===a||"object"===a||"object"==typeof r)&&function e(r,n,i,a){r instanceof Ya&&(r=r._wrapped),n instanceof Ya&&(n=n._wrapped);var s=la.t.call(r);if(s!==la.t.call(n))return!1;if(Pa&&"[object Object]"==s&&Ia(r)){if(!Ia(n))return!1;s="[object DataView]"}switch(s){case"[object RegExp]":case"[object String]":return""+r==""+n;case"[object Number]":return+r!=+r?+n!=+n:0==+r?1/+r==1/n:+r==+n;case"[object Date]":case"[object Boolean]":return+r==+n;case"[object Symbol]":return la.d.valueOf.call(r)===la.d.valueOf.call(n);case"[object ArrayBuffer]":case"[object DataView]":return e(Ua(r),Ua(n),i,a)}var o="[object Array]"===s;if(!o&&Ha(r)){if(Na(r)!==Na(n))return!1;if(r.buffer===n.buffer&&r.byteOffset===n.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof r||"object"!=typeof n)return!1;var l=r.constructor,c=n.constructor;if(l!==c&&!(Aa(l)&&l instanceof l&&Aa(c)&&c instanceof c)&&"constructor"in r&&"constructor"in n)return!1}a=a||[];for(var u=(i=i||[]).length;u--;)if(i[u]===r)return a[u]===n;if(i.push(r),a.push(n),o){if((u=r.length)!==n.length)return!1;for(;u--;)if(!t(r[u],n[u],i,a))return!1}else{var h,p=Wa(r);if(u=p.length,Wa(n).length!==u)return!1;for(;u--;)if(!Fa(n,h=p[u])||!t(r[h],n[h],i,a))return!1}return i.pop(),a.pop(),!0}(e,r,n,i)}(t,e)}function Za(t){if(!ua(t))return[];var e=[];for(var r in t)e.push(r);return la.h&&qa(t,e),e}function $a(t){var e=Qa(t);return function(r){if(null==r)return!1;var n=Za(r);if(Qa(n))return!1;for(var i=0;i<e;i++)if(!Aa(r[t[i]]))return!1;return t!==is||!Aa(r[ts])}}Ya.VERSION=la.e,Ya.prototype.value=function(){return this._wrapped},Ya.prototype.valueOf=Ya.prototype.toJSON=Ya.prototype.value,Ya.prototype.toString=function(){return String(this._wrapped)};var ts="forEach",es=["clear","delete"],rs=["get","has","set"],ns=es.concat(ts,rs),is=es.concat(rs),as=["add"].concat(es,ts,"has"),ss=Oa?$a(ns):ma("Map"),os=Oa?$a(is):ma("WeakMap"),ls=Oa?$a(as):ma("Set"),cs=ma("WeakSet");function us(t){for(var e=Wa(t),r=e.length,n=Array(r),i=0;i<r;i++)n[i]=t[e[i]];return n}function hs(t){for(var e=Wa(t),r=e.length,n=Array(r),i=0;i<r;i++)n[i]=[e[i],t[e[i]]];return n}function ps(t){for(var e={},r=Wa(t),n=0,i=r.length;n<i;n++)e[t[r[n]]]=r[n];return e}function fs(t){var e=[];for(var r in t)Aa(t[r])&&e.push(r);return e.sort()}function ds(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var i=1;i<n;i++)for(var a=arguments[i],s=t(a),o=s.length,l=0;l<o;l++){var c=s[l];e&&void 0!==r[c]||(r[c]=a[c])}return r}}var ms=ds(Za),gs=ds(Wa),ys=ds(Za,!0);function vs(t){if(!ua(t))return{};if(la.j)return Object(la.j)(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function bs(t,e){var r=vs(t);return e&&gs(r,e),r}function xs(t){return ua(t)?_a(t)?t.slice():ms({},t):t}function Es(t,e){return e(t),t}function ks(t){return _a(t)?t:[t]}function ws(t){return Ya.toPath(t)}function Cs(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function As(t,e,r){var n=Cs(t,ws(e));return pa(n)?r:n}function Ss(t,e){for(var r=(e=ws(e)).length,n=0;n<r;n++){var i=e[n];if(!Fa(t,i))return!1;t=t[i]}return!!r}function Ps(t){return t}function Os(t){return t=gs({},t),function(e){return Ja(e,t)}}function js(t){return t=ws(t),function(e){return Cs(e,t)}}function Is(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,i){return t.call(e,r,n,i)};case 4:return function(r,n,i,a){return t.call(e,r,n,i,a)}}return function(){return t.apply(e,arguments)}}function _s(t,e,r){return null==t?Ps:Aa(t)?Is(t,e,r):ua(t)&&!_a(t)?Os(t):js(t)}function Fs(t,e){return _s(t,e,1/0)}function Ts(t,e,r){return Ya.iteratee!==Fs?Ya.iteratee(t,e):_s(t,e,r)}function Ds(t,e,r){e=Ts(e,r);for(var n=Wa(t),i=n.length,a={},s=0;s<i;s++){var o=n[s];a[o]=e(t[o],o,t)}return a}function Ms(){}function Rs(t){return null==t?Ms:function(e){return As(t,e)}}function Bs(t,e,r){var n=Array(Math.max(0,t));e=Is(e,r,1);for(var i=0;i<t;i++)n[i]=e(i);return n}function Vs(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}Ya.toPath=ks,Ya.iteratee=Fs;var Ls=Date.now||function(){return(new Date).getTime()};function Ns(t){var e=function(e){return t[e]},r="(?:"+Wa(t).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(i,e):t}}var zs={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Gs=Ns(zs),Hs=Ns(ps(zs)),Qs=Ya.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},qs=/(.)^/,Ws={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Xs=/\\|'|\r|\n|\u2028|\u2029/g;function Js(t){return"\\"+Ws[t]}var Ys=/^\s*(\w|\$)+\s*$/;function Us(t,e,r){!e&&r&&(e=r),e=ys({},e,Ya.templateSettings);var n=RegExp([(e.escape||qs).source,(e.interpolate||qs).source,(e.evaluate||qs).source].join("|")+"|$","g"),i=0,a="__p+='";t.replace(n,(function(e,r,n,s,o){return a+=t.slice(i,o).replace(Xs,Js),i=o+e.length,r?a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?a+="'+\n((__t=("+n+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),e})),a+="';\n";var s,o=e.variable;if(o){if(!Ys.test(o))throw new Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{s=new Function(o,"_",a)}catch(t){throw t.source=a,t}var l=function(t){return s.call(this,t,Ya)};return l.source="function("+o+"){\n"+a+"}",l}function Ks(t,e,r){var n=(e=ws(e)).length;if(!n)return Aa(r)?r.call(t):r;for(var i=0;i<n;i++){var a=null==t?void 0:t[e[i]];void 0===a&&(a=r,i=n),t=Aa(a)?a.call(t):a}return t}var Zs=0;function $s(t){var e=++Zs+"";return t?t+e:e}function to(t){var e=Ya(t);return e._chain=!0,e}function eo(t,e,r,n,i){if(!(n instanceof e))return t.apply(r,i);var a=vs(t.prototype),s=t.apply(a,i);return ua(s)?s:a}var ro=ca((function(t,e){var r=ro.placeholder,n=function(){for(var i=0,a=e.length,s=Array(a),o=0;o<a;o++)s[o]=e[o]===r?arguments[i++]:e[o];for(;i<arguments.length;)s.push(arguments[i++]);return eo(t,n,this,this,s)};return n}));ro.placeholder=Ya;var no=ro,io=ca((function(t,e,r){if(!Aa(t))throw new TypeError("Bind must be called on a function");var n=ca((function(i){return eo(t,n,e,this,r.concat(i))}));return n})),ao=Va(Qa);function so(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var i=n.length,a=0,s=Qa(t);a<s;a++){var o=t[a];if(ao(o)&&(_a(o)||Da(o)))if(e>1)so(o,e-1,r,n),i=n.length;else for(var l=0,c=o.length;l<c;)n[i++]=o[l++];else r||(n[i++]=o)}return n}var oo=ca((function(t,e){var r=(e=so(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=io(t[n],t)}return t}));function lo(t,e){var r=function(n){var i=r.cache,a=""+(e?e.apply(this,arguments):n);return Fa(i,a)||(i[a]=t.apply(this,arguments)),i[a]};return r.cache={},r}var co=ca((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),uo=no(co,Ya,1);function ho(t,e,r){var n,i,a,s,o=0;r||(r={});var l=function(){o=!1===r.leading?0:Ls(),n=null,s=t.apply(i,a),n||(i=a=null)},c=function(){var c=Ls();o||!1!==r.leading||(o=c);var u=e-(c-o);return i=this,a=arguments,u<=0||u>e?(n&&(clearTimeout(n),n=null),o=c,s=t.apply(i,a),n||(i=a=null)):n||!1===r.trailing||(n=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(n),o=0,n=i=a=null},c}function po(t,e,r){var n,i,a,s,o,l=function(){var c=Ls()-i;e>c?n=setTimeout(l,e-c):(n=null,r||(s=t.apply(o,a)),n||(a=o=null))},c=ca((function(c){return o=this,a=c,i=Ls(),n||(n=setTimeout(l,e),r&&(s=t.apply(o,a))),s}));return c.cancel=function(){clearTimeout(n),n=a=o=null},c}function fo(t,e){return no(e,t)}function mo(t){return function(){return!t.apply(this,arguments)}}function go(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function yo(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function vo(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}var bo=no(vo,2);function xo(t,e,r){e=Ts(e,r);for(var n,i=Wa(t),a=0,s=i.length;a<s;a++)if(e(t[n=i[a]],n,t))return n}function Eo(t){return function(e,r,n){r=Ts(r,n);for(var i=Qa(e),a=t>0?0:i-1;a>=0&&a<i;a+=t)if(r(e[a],a,e))return a;return-1}}var ko=Eo(1),wo=Eo(-1);function Co(t,e,r,n){for(var i=(r=Ts(r,n,1))(e),a=0,s=Qa(t);a<s;){var o=Math.floor((a+s)/2);r(t[o])<i?a=o+1:s=o}return a}function Ao(t,e,r){return function(n,i,a){var s=0,o=Qa(n);if("number"==typeof a)t>0?s=a>=0?a:Math.max(a+o,s):o=a>=0?Math.min(a+1,o):a+o+1;else if(r&&a&&o)return n[a=r(n,i)]===i?a:-1;if(i!=i)return(a=e(la.q.call(n,s,o),Ra))>=0?a+s:-1;for(a=t>0?s:o-1;a>=0&&a<o;a+=t)if(n[a]===i)return a;return-1}}var So=Ao(1,ko,Co),Po=Ao(-1,wo);function Oo(t,e,r){var n=(ao(t)?ko:xo)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function jo(t,e){return Oo(t,Os(e))}function Io(t,e,r){var n,i;if(e=Is(e,r),ao(t))for(n=0,i=t.length;n<i;n++)e(t[n],n,t);else{var a=Wa(t);for(n=0,i=a.length;n<i;n++)e(t[a[n]],a[n],t)}return t}function _o(t,e,r){e=Ts(e,r);for(var n=!ao(t)&&Wa(t),i=(n||t).length,a=Array(i),s=0;s<i;s++){var o=n?n[s]:s;a[s]=e(t[o],o,t)}return a}function Fo(t){var e=function(e,r,n,i){var a=!ao(e)&&Wa(e),s=(a||e).length,o=t>0?0:s-1;for(i||(n=e[a?a[o]:o],o+=t);o>=0&&o<s;o+=t){var l=a?a[o]:o;n=r(n,e[l],l,e)}return n};return function(t,r,n,i){var a=arguments.length>=3;return e(t,Is(r,i,4),n,a)}}var To=Fo(1),Do=Fo(-1);function Mo(t,e,r){var n=[];return e=Ts(e,r),Io(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function Ro(t,e,r){return Mo(t,mo(Ts(e)),r)}function Bo(t,e,r){e=Ts(e,r);for(var n=!ao(t)&&Wa(t),i=(n||t).length,a=0;a<i;a++){var s=n?n[a]:a;if(!e(t[s],s,t))return!1}return!0}function Vo(t,e,r){e=Ts(e,r);for(var n=!ao(t)&&Wa(t),i=(n||t).length,a=0;a<i;a++){var s=n?n[a]:a;if(e(t[s],s,t))return!0}return!1}function Lo(t,e,r,n){return ao(t)||(t=us(t)),("number"!=typeof r||n)&&(r=0),So(t,e,r)>=0}var No=ca((function(t,e,r){var n,i;return Aa(e)?i=e:(e=ws(e),n=e.slice(0,-1),e=e[e.length-1]),_o(t,(function(t){var a=i;if(!a){if(n&&n.length&&(t=Cs(t,n)),null==t)return;a=t[e]}return null==a?a:a.apply(t,r)}))}));function zo(t,e){return _o(t,js(e))}function Go(t,e){return Mo(t,Os(e))}function Ho(t,e,r){var n,i,a=-1/0,s=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,l=(t=ao(t)?t:us(t)).length;o<l;o++)null!=(n=t[o])&&n>a&&(a=n);else e=Ts(e,r),Io(t,(function(t,r,n){((i=e(t,r,n))>s||i===-1/0&&a===-1/0)&&(a=t,s=i)}));return a}function Qo(t,e,r){var n,i,a=1/0,s=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,l=(t=ao(t)?t:us(t)).length;o<l;o++)null!=(n=t[o])&&n<a&&(a=n);else e=Ts(e,r),Io(t,(function(t,r,n){((i=e(t,r,n))<s||i===1/0&&a===1/0)&&(a=t,s=i)}));return a}var qo=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Wo(t){return t?_a(t)?la.q.call(t):ga(t)?t.match(qo):ao(t)?_o(t,Ps):us(t):[]}function Xo(t,e,r){if(null==e||r)return ao(t)||(t=us(t)),t[Vs(t.length-1)];var n=Wo(t),i=Qa(n);e=Math.max(Math.min(e,i),0);for(var a=i-1,s=0;s<e;s++){var o=Vs(s,a),l=n[s];n[s]=n[o],n[o]=l}return n.slice(0,e)}function Jo(t){return Xo(t,1/0)}function Yo(t,e,r){var n=0;return e=Ts(e,r),zo(_o(t,(function(t,r,i){return{value:t,index:n++,criteria:e(t,r,i)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function Uo(t,e){return function(r,n,i){var a=e?[[],[]]:{};return n=Ts(n,i),Io(r,(function(e,i){var s=n(e,i,r);t(a,e,s)})),a}}var Ko=Uo((function(t,e,r){Fa(t,r)?t[r].push(e):t[r]=[e]})),Zo=Uo((function(t,e,r){t[r]=e})),$o=Uo((function(t,e,r){Fa(t,r)?t[r]++:t[r]=1})),tl=Uo((function(t,e,r){t[r?0:1].push(e)}),!0);function el(t){return null==t?0:ao(t)?t.length:Wa(t).length}function rl(t,e,r){return e in r}var nl=ca((function(t,e){var r={},n=e[0];if(null==t)return r;Aa(n)?(e.length>1&&(n=Is(n,e[1])),e=Za(t)):(n=rl,e=so(e,!1,!1),t=Object(t));for(var i=0,a=e.length;i<a;i++){var s=e[i],o=t[s];n(o,s,t)&&(r[s]=o)}return r})),il=ca((function(t,e){var r,n=e[0];return Aa(n)?(n=mo(n),e.length>1&&(r=e[1])):(e=_o(so(e,!1,!1),String),n=function(t,r){return!Lo(e,r)}),nl(t,n,r)}));function al(t,e,r){return la.q.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function sl(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:al(t,t.length-e)}function ol(t,e,r){return la.q.call(t,null==e||r?1:e)}function ll(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:ol(t,Math.max(0,t.length-e))}function cl(t){return Mo(t,Boolean)}function ul(t,e){return so(t,e,!1)}var hl=ca((function(t,e){return e=so(e,!0,!0),Mo(t,(function(t){return!Lo(e,t)}))})),pl=ca((function(t,e){return hl(t,e)}));function fl(t,e,r,n){fa(e)||(n=r,r=e,e=!1),null!=r&&(r=Ts(r,n));for(var i=[],a=[],s=0,o=Qa(t);s<o;s++){var l=t[s],c=r?r(l,s,t):l;e&&!r?(s&&a===c||i.push(l),a=c):r?Lo(a,c)||(a.push(c),i.push(l)):Lo(i,l)||i.push(l)}return i}var dl=ca((function(t){return fl(so(t,!0,!0))}));function ml(t){for(var e=[],r=arguments.length,n=0,i=Qa(t);n<i;n++){var a=t[n];if(!Lo(e,a)){var s;for(s=1;s<r&&Lo(arguments[s],a);s++);s===r&&e.push(a)}}return e}function gl(t){for(var e=t&&Ho(t,Qa).length||0,r=Array(e),n=0;n<e;n++)r[n]=zo(t,n);return r}var yl=ca(gl);function vl(t,e){for(var r={},n=0,i=Qa(t);n<i;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function bl(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),i=Array(n),a=0;a<n;a++,t+=r)i[a]=t;return i}function xl(t,e){if(null==e||e<1)return[];for(var r=[],n=0,i=t.length;n<i;)r.push(la.q.call(t,n,n+=e));return r}function El(t,e){return t._chain?Ya(e).chain():e}function kl(t){return Io(fs(t),(function(e){var r=Ya[e]=t[e];Ya.prototype[e]=function(){var t=[this._wrapped];return la.o.apply(t,arguments),El(this,r.apply(Ya,t))}})),Ya}Io(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=la.a[t];Ya.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),El(this,r)}})),Io(["concat","join","slice"],(function(t){var e=la.a[t];Ya.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),El(this,t)}}));var wl=Ya,Cl=kl(n);Cl._=Cl;var Al,Sl=Al||(Al={});Sl.Pop="POP",Sl.Push="PUSH",Sl.Replace="REPLACE";function Pl(t){t.preventDefault(),t.returnValue=""}function Ol(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function jl(t){var e={};if(t){var r=t.indexOf("#");0<=r&&(e.hash=t.substr(r),t=t.substr(0,r)),0<=(r=t.indexOf("?"))&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function Il(t,e){if(!t)throw new Error(e)}const _l=Object(u.createContext)(null),Fl=Object(u.createContext)(null),Tl=Object(u.createContext)({outlet:null,matches:[]});function Dl(t){let{basename:e="/",children:r=null,location:n,navigationType:i=Al.Pop,navigator:a,static:s=!1}=t;Ml()&&Il(!1);let o=Vl(e),l=Object(u.useMemo)(()=>({basename:o,navigator:a,static:s}),[o,a,s]);"string"==typeof n&&(n=jl(n));let{pathname:c="/",search:h="",hash:p="",state:f=null,key:d="default"}=n,m=Object(u.useMemo)(()=>{let t=function(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=t.charAt(e.length);return r&&"/"!==r?null:t.slice(e.length)||"/"}(c,o);return null==t?null:{pathname:t,search:h,hash:p,state:f,key:d}},[o,c,h,p,f,d]);return null==m?null:Object(u.createElement)(_l.Provider,{value:l},Object(u.createElement)(Fl.Provider,{children:r,value:{location:m,navigationType:i}}))}function Ml(){return null!=Object(u.useContext)(Fl)}function Rl(){Ml()||Il(!1);let{basename:t,navigator:e}=Object(u.useContext)(_l),{matches:r}=Object(u.useContext)(Tl),{pathname:n}=(Ml()||Il(!1),Object(u.useContext)(Fl).location),i=JSON.stringify(r.map(t=>t.pathnameBase)),a=Object(u.useRef)(!1);return Object(u.useEffect)(()=>{a.current=!0}),Object(u.useCallback)((function(r,s){if(void 0===s&&(s={}),!a.current)return;if("number"==typeof r)return void e.go(r);let o=function(t,e,r){let n,i="string"==typeof t?jl(t):t,a=""===t||""===i.pathname?"/":i.pathname;if(null==a)n=r;else{let t=e.length-1;if(a.startsWith("..")){let e=a.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}n=t>=0?e[t]:"/"}let s=function(t,e){void 0===e&&(e="/");let{pathname:r,search:n="",hash:i=""}="string"==typeof t?jl(t):t;return{pathname:r?r.startsWith("/")?r:function(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(t=>{".."===t?r.length>1&&r.pop():"."!==t&&r.push(t)}),r.length>1?r.join("/"):"/"}(r,e):e,search:Ll(n),hash:Nl(i)}}(i,n);return a&&"/"!==a&&a.endsWith("/")&&!s.pathname.endsWith("/")&&(s.pathname+="/"),s}(r,JSON.parse(i),n);"/"!==t&&(o.pathname=Bl([t,o.pathname])),(s.replace?e.replace:e.push)(o,s.state)}),[t,e,i,n])}const Bl=t=>t.join("/").replace(/\/\/+/g,"/"),Vl=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Ll=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",Nl=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";r(59);var zl=function(t,e){var r=new URLSearchParams(window.location.search);return e?r.set(t,e):r.delete(t),r.toString()},Gl=function(){return Object(c.createElement)("div",{className:"site-list-loading-skeleton"},Object(c.createElement)(Ai,{container:!0},Object(c.createElement)(Ai,{item:!0,xs:12},Object(c.createElement)(Ki,{display:"flex",justifyContent:"center"},Object(c.createElement)(xi,{variant:"rect",width:600,height:36,animation:"wave"}))),Object(c.createElement)(Ai,{item:!0,xs:12},Object(c.createElement)(Ki,{display:"flex",justifyContent:"center",m:"44px 0 50px 0"},Object(c.createElement)(xi,{variant:"rect",width:740,height:48,animation:"wave"}))),Object(c.createElement)(Ai,{item:!0,xs:12},Object(c.createElement)(Ki,{display:"flex",justifyContent:"space-between",p:"0 0 8px 0"},Object(c.createElement)(Ki,{display:"flex",gridGap:"15px",alignItems:"center"},Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:80,height:41,animation:"wave"}))),Object(c.createElement)(Ki,{display:"flex",gridGap:"15px",alignItems:"center"},Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:110,height:40,animation:"wave"})),Object(c.createElement)(Ki,null,Object(c.createElement)(xi,{variant:"rect",width:110,height:40,animation:"wave"}))))),Object(c.createElement)(Ai,{item:!0,xs:12},Object(c.createElement)(Ki,{p:"44px 0 0 0",display:"grid",gridGap:"40px",gridTemplateColumns:"1fr 1fr 1fr 1fr"},Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"})))))},Hl=function(){return Object(c.createElement)("div",{className:"st-grid-skeleton"},Object(c.createElement)(Ai,{container:!0},Object(c.createElement)(Ai,{item:!0,xs:12},Object(c.createElement)(Ki,{p:"0",display:"grid",gridGap:"40px",gridTemplateColumns:"1fr 1fr 1fr 1fr"},Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"}),Object(c.createElement)(xi,{variant:"rect",height:380,animation:"wave"})))))},Ql=r(6),ql=r.n(Ql),Wl=r(4),Xl=r.n(Wl),Jl=starterTemplates,Yl=Jl.themeStatus,Ul=Jl.nonce,Kl=function(){var t=ql()(Xl.a.mark((function t(e,r){var n,i,a,s;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=b()(r,2),i=n[0].currentIndex,a=n[1],(s=new FormData).append("action","astra-sites-api-request"),s.append("url","astra-sites/"+e),s.append("_ajax_nonce",astraSitesVars._ajax_nonce),t.next=7,fetch(ajaxurl,{method:"post",body:s}).then((function(t){return t.json()})).then((function(t){if(t.success)starterTemplates.previewUrl="https:"+t.data["astra-site-url"],a({type:"set",templateId:e,templateResponse:t.data,importErrorMessages:{},importErrorResponse:[],importError:!1});else{var r={};if(void 0!==t.data.response_code){var n=t.data.code.toString();switch(n){case"401":case"404":r={primaryText:astraSitesVars.server_import_primary_error,secondaryText:"",errorCode:n,errorText:t.data.message,solutionText:"",tryAgain:!0};break;case"500":r={primaryText:astraSitesVars.server_import_primary_error,secondaryText:"",errorCode:n,errorText:t.data.message,solutionText:astraSitesVars.ajax_request_failed_secondary,tryAgain:!0};break;case"WP_Error":r={primaryText:astraSitesVars.client_import_primary_error,secondaryText:"",errorCode:n,errorText:t.data.message,solutionText:"",tryAgain:!0};break;case"Cloudflare":r={primaryText:astraSitesVars.cloudflare_import_primary_error,secondaryText:"",errorCode:n,errorText:t.data.message,solutionText:"",tryAgain:!0};break;default:r={primaryText:Object(x.__)("Fetching related demo failed.","astra-sites"),secondaryText:"",errorCode:"",errorText:t.data,solutionText:astraSitesVars.ajax_request_failed_secondary,tryAgain:!1}}a({type:"set",importError:!0,importErrorMessages:r,importErrorResponse:t.data,templateResponse:null,currentIndex:i+3})}}})).catch((function(t){a({type:"set",importError:!0,importErrorMessages:{primaryText:Object(x.__)("Fetching related demo failed.","astra-sites"),secondaryText:astraSitesVars.ajax_request_failed_secondary,errorCode:"",errorText:t,solutionText:"",tryAgain:!1}})}));case 7:case"end":return t.stop()}}),t)})));return function(_x,e){return t.apply(this,arguments)}}(),Zl=function(){var t=ql()(Xl.a.mark((function t(e){var r,n,i;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=b()(e,2),ea()(r[0]),n=r[1],(i=new FormData).append("action","astra-required-plugins"),i.append("_ajax_nonce",astraSitesVars._ajax_nonce),t.next=8,fetch(ajaxurl,{method:"post",body:i}).then((function(t){return t.json()})).then((function(t){if(t.success){var e=t.data.required_plugins,r=e.notinstalled||"",i=e.inactive||"";n({type:"set",requiredPlugins:t.data,notInstalledList:r,notActivatedList:i})}}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),$l=function(){var t=ql()(Xl.a.mark((function t(e){var r;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==e.id){t.next=2;break}return t.abrupt("return");case 2:return(r=new FormData).append("action","astra_sites_set_site_data"),r.append("param","site-logo"),r.append("logo",e.id),r.append("logo-width",e.width),r.append("security",Ul),t.next=10,fetch(ajaxurl,{method:"post",body:r});case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),tc=function(){var t=ql()(Xl.a.mark((function t(e){var r;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return(r=new FormData).append("action","astra_sites_set_site_data"),r.append("param","site-colors"),r.append("palette",e),r.append("security",Ul),t.next=9,fetch(ajaxurl,{method:"post",body:r});case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ec=function(){var t=ql()(Xl.a.mark((function t(e){var r;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new FormData).append("action","astra_sites_set_site_data"),r.append("param","site-typography"),r.append("typography",JSON.stringify(e)),r.append("security",Ul),t.next=7,fetch(ajaxurl,{method:"post",body:r});case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rc=function(t,e){var r=Object.keys(e),n=[],i=0,a={};for(var s in e)0!==i&&i%t==0&&(n.push(a),a={}),a[s]=e[r[i]],i++;return n.push(a),n},nc=function(){var t=ql()(Xl.a.mark((function t(e){var r,n,i,a,s;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=b()(e,2),n=r[1],t.prev=1,(i=new FormData).append("action","astra-sites-filesystem-permission"),i.append("_ajax_nonce",astraSitesVars._ajax_nonce),t.next=7,fetch(astraSitesVars.ajaxurl,{method:"POST",body:i});case 7:return a=t.sent,t.next=10,a.json();case 10:s=t.sent,n({type:"set",fileSystemPermissions:s.data}),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(1),console.error(t.t0);case 17:case"end":return t.stop()}}),t,null,[[1,14]])})));return function(e){return t.apply(this,arguments)}}(),ic=function(){var t=ql()(Xl.a.mark((function t(e,r,n,i){var a;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=new FormData).append("action","astra-sites-generate-analytics-lead"),a.append("status",r),a.append("id",n),a.append("try-again-count",e),a.append("type","astra-sites"),a.append("page-builder",i),a.append("_ajax_nonce",astraSitesVars._ajax_nonce),t.next=10,fetch(ajaxurl,{method:"post",body:a});case 10:case"end":return t.stop()}}),t)})));return function(e,r,n,i){return t.apply(this,arguments)}}(),ac=function(t){var e=t.sites||{},r=w(),n=b()(r,2),i=n[0],a=i.favoriteSiteIDs,s=i.currentIndex,o=n[1],l=[];if(Object.keys(e).length)for(var u in e){var h=G(e[u]);l.push(h)}var p=function(t,e){var r=a;e&&!r.includes(t)?r.push(t):r=a.filter((function(e){return e!==t})),o({type:"set",favoriteSiteIDs:r})},f=function(){var t=ql()(Xl.a.mark((function t(e,r,n){var i,a,s;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.preventDefault(),i="id-".concat(r.id),p(i,n),(a=new FormData).append("action","astra-sites-favorite"),a.append("is_favorite",n),a.append("site_id",i),t.next=10,fetch(ajaxurl,{method:"post",body:a});case 10:return s=t.sent,t.next=13,s.json();case 13:t.sent.success||p(i,!1),t.next=19;break;case 17:t.prev=17,t.t0=t.catch(0);case 19:case"end":return t.stop()}}),t,null,[[0,17]])})));return function(_x,e,r){return t.apply(this,arguments)}}();return Object(c.createElement)(T.Grid,{column:4,options:l,hasFavorite:!0,onFavoriteClick:f,favoriteList:a,onClick:function(){var t=ql()(Xl.a.mark((function t(e,n){return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.stopPropagation(),o({type:"set",currentIndex:s+1,selectedTemplateName:n.title,selectedTemplateType:n["astra-sites-type"]}),t.next=4,Kl(n.id,r);case 4:return t.next=6,Zl(r);case 6:nc(r);case 7:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()})};function sc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(60);var oc=function(t){var e=t.setSiteData,r=w(),n=b()(r,2),i=n[0],a=i.siteSearchTerm,s=i.searchTerms,o=i.searchTermsWithCount,l=i.builder,h=i.siteType,p=n[1],f=mc(),d=Rl(),m=Object(u.useRef)(),g=Object(u.useRef)(),y=function(t){if(t.preventDefault(),m&&g){var e=document.querySelector(".site-list-header"),r=0;e&&e.clientHeight&&(r=e.clientHeight),r-=m.current.clientHeight,(g.current.getBoundingClientRect().top||0)<=r?document.body.classList.add("st-search-box-fixed"):document.body.classList.remove("st-search-box-fixed")}};return Object(u.useEffect)((function(){return document.querySelector(".step-content").addEventListener("scroll",y),function(){return document.querySelector(".step-content").removeEventListener("scroll",y)}}),[]),Object(c.createElement)("div",{className:"st-search-box-wrap",ref:g},Object(c.createElement)("div",{className:"st-search-filter st-search-box",ref:m},Object(c.createElement)(T.Search,{apiUrl:"".concat(astraSitesVars.ApiDomain,"wp-json/starter-templates/v2/sites-search/?search=").concat(a,"&page-builder=").concat(l,"&type=").concat(h),beforeSearchResult:function(){a&&e({gridSkeleton:!0})},onSearchResult:function(t){if(a){var r,n,i,l,c=[];if(t.success&&t.ids.length){var u,h=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return sc(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sc(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){o=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}(t.ids);try{for(h.s();!(u=h.n()).done;){var d=u.value;f[d]&&(c[d]=f[d])}}catch(t){h.e(t)}finally{h.f()}}r=Object.keys(c).length,n=a.toLowerCase(),i=s,l=o,""===n||n.length<3||s.includes(n)||(i.push(n),l.push({term:n,count:r}),p({type:"set",searchTerms:i,searchTermsWithCount:l})),e({sites:c,gridSkeleton:!1})}else e({gridSkeleton:!1})},value:Object(B.decodeEntities)(a),placeholder:Object(x.__)("Search for Starter Templates","astra-sites"),onSearch:function(t,r){var n={gridSkeleton:!0};r||(n.sites=f),e(n),p({type:"set",siteSearchTerm:r,onMyFavorite:!1,siteBusinessType:"",selectedMegaMenu:"",siteType:"",siteOrder:"popular"});var i=zl("s",r);d("?".concat(i))},onKeyUp:function(t){t.preventDefault();var e=document.querySelector(".st-templates-content");if((e?parseInt(e.getBoundingClientRect().top):0)<0&&32!==t.keyCode&&16!==t.keyCode&&17!==t.keyCode&&18!==t.keyCode){var r=document.querySelector(".site-list-header"),n=r?parseInt(r.clientHeight):0;document.querySelector(".step-content").scrollTo({behavior:"smooth",left:0,top:e.offsetTop-n-20})}}})))},lc=(r(61),function(){return Object(c.createElement)("div",{className:"st-no-favorites"},Object(c.createElement)("h3",null,Object(x.__)("No favorites added. Press the heart icon to add templates as favorites.","astra-sites")))}),cc=function(t){var e=t.sites,r=w(),n=b()(r,1)[0].siteSearchTerm,i=mc(),a=e;if(n){var s={multipurpose:{},top20:{}};for(var o in i){var l=i[o];Object.values(l.categories).includes("multipurpose")?s.multipurpose[o]=l:Object.keys(s.top20).length<=20&&(s.top20[o]=l)}a=Object.assign(s.multipurpose,s.top20)}return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"st-sites-grid st-related-sites-grid"},Object(c.createElement)("div",{className:"st-sites-found-message"},Object(x.__)("Other suggested Starter Templates","astra-sites")),Object(c.createElement)(ac,{sites:a})))};function uc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uc(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var pc=function(){var t=Object(u.useState)({skeleton:!0,allFavorites:[]}),e=b()(t,2),r=e[0],n=e[1],i=w(),a=b()(i,1)[0],s=a.favoriteSiteIDs,o=a.onMyFavorite,l=mc();return Object(u.useEffect)((function(){n(hc(hc({},r),{},{skeleton:!0}));var t=[];if(o&&Object.keys(l).length>0)for(var e in l)if(s.length&&s.includes(e)){var i=G(l[e]);t.push(i)}n(hc(hc({},r),{},{allFavorites:t,skeleton:!1}))}),[s,o]),Object(c.createElement)(c.Fragment,null,r.skeleton?Object(c.createElement)("div",{className:"st-sites-grid st-sites-favorites-grid"},Object(c.createElement)(ac,{skeleton:r.skeleton})):Object(c.createElement)(c.Fragment,null,r.allFavorites.length?Object(c.createElement)("div",{className:"st-sites-grid"},Object(c.createElement)(ac,{sites:r.allFavorites})):Object(c.createElement)(c.Fragment,null,Object(c.createElement)(lc,null),Object(c.createElement)(cc,{sites:l}))))};function fc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fc(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var mc=function(){var t=w(),e=b()(t,1)[0],r=e.builder,n=e.siteType,i=e.siteOrder,a=e.allSitesData,s=Object.keys(a).length?a:astraSitesVars.all_sites,o=[];if(r)for(var l in s)r===s[l]["astra-site-page-builder"]&&(o[l]=s[l]);if(n)for(var c in o)n===o[c]["astra-sites-type"]?o[c]=o[c]:delete o[c];return"latest"===i&&Object.keys(o).length&&(o=Yo(Object.values(o),"publish-date").reverse()),o},gc=(r(62),r(63),starterTemplates.imageDir),yc=function(){return Object(c.createElement)("div",{className:"branding-wrap"},L()?Object(c.createElement)("h3",null,astraSitesVars.whiteLabelName):Object(c.createElement)(T.Logo,{className:"ist-logo",src:"".concat(gc,"logo.svg"),alt:Object(x.__)("Starter Templates","astra-sites"),href:astraSitesVars.st_page_url}))},vc=starterTemplates,bc=vc.imageDir,xc=vc.isBrizyEnabled,Ec=function(){var t=w(),e=b()(t,2),r=e[0].builder,n=e[1],i=[{id:"gutenberg",title:Object(x.__)("Block Editor","astra-sites"),image:"".concat(bc,"block-editor.svg")},{id:"elementor",title:Object(x.__)("Elementor","astra-sites"),image:"".concat(bc,"elementor.svg")},{id:"beaver-builder",title:Object(x.__)("Beaver Builder","astra-sites"),image:"".concat(bc,"beaver-builder.svg")}];return"1"===xc&&i.push({id:"brizy",title:Object(x.__)("Brizy","astra-sites"),image:"".concat(bc,"brizy.svg")}),Object(c.createElement)("div",{className:"st-page-builder-filter"},Object(c.createElement)(T.ToggleDropdown,{value:r,options:i,className:"st-page-builder-toggle",onClick:function(t,e){n({type:"set",builder:e.id,siteSearchTerm:"",siteBusinessType:Sh.siteBusinessType,selectedMegaMenu:Sh.selectedMegaMenu,siteType:"",siteOrder:"popular",onMyFavorite:!1});var r=new FormData;r.append("action","astra-sites-change-page-builder"),r.append("_ajax_nonce",astraSitesVars._ajax_nonce),r.append("page_builder",e.id),fetch(ajaxurl,{method:"post",body:r})}}))},kc=(r(64),starterTemplates.adminUrl),wc=function(){return Object(c.createElement)("a",{className:"st-exit-to-dashboard",href:kc},Object(c.createElement)(T.Tooltip,{content:Object(x.__)("Exit to Dashboard","astra-sites")},E.dashboard))},Cc=(r(65),function(){var t=w(),e=b()(t,2),r=e[0],n=e[1],i=r.onMyFavorite;return Object(c.createElement)("div",{className:"st-my-favorite ".concat(i?"active":""),onClick:function(t){t.stopPropagation(),n({type:"set",onMyFavorite:!i,siteType:"",siteOrder:Sh.siteOrder,siteBusinessType:Sh.siteBusinessType,selectedMegaMenu:Sh.selectedMegaMenu,siteSearchTerm:""})}},Object(c.createElement)(T.Tooltip,{content:Object(x.__)("My Favorite","astra-sites")},E.favorite))}),Ac=r(16),Sc=r.n(Ac);function Pc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pc(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function jc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Ic(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ic(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){o=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}function Ic(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var _c=wp.ajax.post,Fc=starterTemplates.nonce,Tc=[],Dc=!1,Mc=function(t,e){var r=new FormData;return r.append(t,e),r},Rc=function(){if(Tc&&Dc){var t=Tc.every(Boolean);return Tc=[],Dc=!1,t}},Bc=function(){var t=ql()(Xl.a.mark((function t(){var e,r,n,i,a,s;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-update-library")});case 3:return e=t.sent,t.next=6,e.json();case 6:return r=t.sent,t.next=9,r.data;case 9:if(n=t.sent,i=null,a=null,s=null,Tc=[],"updated"!==n){t.next=19;break}Tc.push(!0),Dc=!0,t.next=60;break;case 19:return t.next=21,Qc();case 21:return i=t.sent,t.t0=Tc,t.next=25,Hc();case 25:return t.t1=t.sent,t.t0.push.call(t.t0,t.t1),t.t2=Tc,t.next=30,Gc();case 30:return t.t3=t.sent,t.t2.push.call(t.t2,t.t3),t.t4=Tc,t.next=35,zc();case 35:return t.t5=t.sent,t.t4.push.call(t.t4,t.t5),t.t6=Tc,t.next=40,Nc();case 40:return t.t7=t.sent,t.t6.push.call(t.t6,t.t7),t.t8=Tc,t.next=45,Lc();case 45:return t.t9=t.sent,t.t8.push.call(t.t8,t.t9),t.t10=Tc,t.next=50,Vc();case 50:return t.t11=t.sent,t.t10.push.call(t.t10,t.t11),Tc.push(i),t.next=55,qc();case 55:return a=t.sent,t.next=58,Wc();case 58:s=t.sent,Dc=!0;case 60:return t.abrupt("return",{sites:i,categories:a,categoriesAndTags:s});case 63:return t.prev=63,t.t12=t.catch(0),Tc.push(!1),Dc=!0,t.abrupt("return",!1);case 68:case"end":return t.stop()}}),t,null,[[0,63]])})));return function(){return t.apply(this,arguments)}}(),Vc=function(){var t=ql()(Xl.a.mark((function t(){return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-update-library-complete")}).then((function(t){return t.json()}));case 3:if(!0!==t.sent.success){t.next=6;break}return t.abrupt("return",!0);case 6:return t.abrupt("return",!1);case 9:return t.prev=9,t.t0=t.catch(0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(){return t.apply(this,arguments)}}(),Lc=function(){var t=ql()(Xl.a.mark((function t(){return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-import-page-builders")}).then((function(t){return t.json()}));case 3:if(!0!==t.sent.success){t.next=6;break}return t.abrupt("return",!0);case 6:return t.abrupt("return",!1);case 9:return t.prev=9,t.t0=t.catch(0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(){return t.apply(this,arguments)}}(),Nc=function(){var t=ql()(Xl.a.mark((function t(){var e,r,n,i,a;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-get-blocks-request-count")}).then((function(t){return t.json()})).then((function(t){return t.data}));case 3:if(!(e=t.sent)){t.next=11;break}for(r=[],n=1;n<=e;n++)(i=new FormData).append("action","astra-sites-import-blocks"),i.append("page_no",n),r.push(fetch(ajaxurl,{method:"post",body:i}));return t.next=9,Promise.allSettled(r).then((function(t){return Promise.all(t.map((function(t){return t.value.json()})))}));case 9:return a=t.sent,t.abrupt("return",a.every((function(t){return!0===t.success})));case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(0),t.abrupt("return",!1);case 16:case"end":return t.stop()}}),t,null,[[0,13]])})));return function(){return t.apply(this,arguments)}}(),zc=function(){var t=ql()(Xl.a.mark((function t(){return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-import-page-builders")}).then((function(t){return t.json()}));case 3:if(!0!==t.sent.success){t.next=6;break}return t.abrupt("return",!0);case 6:return t.abrupt("return",!1);case 9:return t.prev=9,t.t0=t.catch(0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(){return t.apply(this,arguments)}}(),Gc=function(){var t=ql()(Xl.a.mark((function t(){return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-import-all-categories")}).then((function(t){return t.json()}));case 3:if(!0!==t.sent.success){t.next=6;break}return t.abrupt("return",!0);case 6:return t.abrupt("return",!1);case 9:return t.prev=9,t.t0=t.catch(0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(){return t.apply(this,arguments)}}(),Hc=function(){var t=ql()(Xl.a.mark((function t(){return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-import-all-categories-and-tags")}).then((function(t){return t.json()}));case 3:if(!0!==t.sent.success){t.next=6;break}return t.abrupt("return",!0);case 6:return t.abrupt("return",!1);case 9:return t.prev=9,t.t0=t.catch(0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(){return t.apply(this,arguments)}}(),Qc=function(){var t=ql()(Xl.a.mark((function t(){var e,r,n,i,a;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_c({action:"astra-sites-get-sites-request-count",_ajax_nonce:Fc});case 3:if(!(e=t.sent)){t.next=23;break}r=[],n=1;case 7:if(!(n<=e)){t.next=19;break}return(i=new FormData).append("action","astra-sites-import-sites"),i.append("page_no",n),t.t0=r,t.next=14,fetch(ajaxurl,{method:"post",body:i});case 14:t.t1=t.sent,t.t0.push.call(t.t0,t.t1);case 16:n++,t.next=7;break;case 19:return t.next=21,Promise.allSettled(r).then((function(t){return Promise.all(t.map((function(t){return t.value.json()})))})).then((function(t){var e,r={},n=jc(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;"object"===Sc()(i.data)&&(r=Oc(Oc({},r),i.data))}}catch(t){n.e(t)}finally{n.f()}return r}));case 21:return a=t.sent,t.abrupt("return",a);case 23:return t.abrupt("return",null);case 26:return t.prev=26,t.t2=t.catch(0),t.abrupt("return",null);case 29:case"end":return t.stop()}}),t,null,[[0,26]])})));return function(){return t.apply(this,arguments)}}(),qc=function(){var t=ql()(Xl.a.mark((function t(){var e,r;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-get-all-categories")});case 3:return e=t.sent,t.next=6,e.json();case 6:return r=t.sent,t.abrupt("return",r.data.length?r.data:null);case 10:return t.prev=10,t.t0=t.catch(0),t.abrupt("return",null);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(){return t.apply(this,arguments)}}(),Wc=function(){var t=ql()(Xl.a.mark((function t(){var e,r;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(ajaxurl,{method:"post",body:Mc("action","astra-sites-get-all-categories-and-tags")});case 3:return e=t.sent,t.next=6,e.json();case 6:return r=t.sent,t.abrupt("return",r.data.length?r.data:null);case 10:return t.prev=10,t.t0=t.catch(0),t.abrupt("return",null);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(){return t.apply(this,arguments)}}();function Xc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xc(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}r(66);var Yc=function(){var t=w(),e=b()(t,2);ea()(e[0]);var r=e[1],n=Object(u.useState)({isLoading:!1,updatedData:null,syncStatus:null}),i=b()(n,2),a=i[0],s=i[1],o=a.isLoading,l=a.updatedData,h=a.syncStatus;if(!0===h&&l){var p=l.sites,f=l.categories,d=l.categoriesAndTags;p&&f&&d&&r({type:"set",allSitesData:p,allCategories:f,allCategoriesAndTags:d}),s(Jc(Jc({},a),{},{updatedData:null}))}var m=function(){var t=ql()(Xl.a.mark((function t(e){var r;return Xl.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.stopPropagation(),!o){t.next=3;break}return t.abrupt("return");case 3:return s(Jc(Jc({},a),{},{isLoading:!0})),t.next=6,Bc();case 6:r=t.sent,s({isLoading:!1,updatedData:r,syncStatus:Rc()});case 8:case"end":return t.stop()}}),t)})));return function(_x){return t.apply(this,arguments)}}();return Object(u.useEffect)((function(){if(o)return window.onbeforeunload=function(){return!0},function(){window.onbeforeunload=null}}),[o]),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"st-sync-library ".concat(o?"loading":""),onClick:m},Object(c.createElement)(T.Tooltip,{content:Object(x.__)("Sync Library","astra-sites")},E.sync)),!o&&!0===h&&Object(c.createElement)(T.Toaster,{type:"success",message:Object(x.__)("Library refreshed successfully","astra-sites"),autoHideDuration:5,bottomRight:!0}),!o&&!1===h&&Object(c.createElement)(T.Toaster,{type:"error",message:Object(x.__)("Library refreshed failed!","astra-sites"),autoHideDuration:5,bottomRight:!0}))},Uc=(r(67),function(){var t=w(),e=b()(t,2),r=e[0],n=r.selectedTemplateName,i=r.currentIndex,a=r.licenseStatus,s=r.selectedTemplateType,o=e[1];return Object(c.createElement)("div",{className:"change-template-wrap"},Object(c.createElement)("div",{className:"template-name"},Object(c.createElement)("p",{className:"label"},Object(x.__)("Selected Template:","astra-sites")),Object(c.createElement)("h5",null,Object(B.decodeEntities)(n)),!a&&"free"!==s&&Object(c.createElement)(T.PremiumBadge,null)),Object(c.createElement)("div",{className:"change-btn-wrap",onClick:function(){N({param:"clearPreviewAssets",data:{}}),setTimeout((function(){o({type:"set",currentIndex:i-1,currentCustomizeIndex:0})}),300)}},Object(c.createElement)("span",{className:"change-btn"},E.cross)))}),Kc=starterTemplates.imageDir,Zc=r(17),$c=r.n(Zc),tu=starterTemplates.restNonce,eu=r(36),ru=r(37),nu=r(19);function iu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function au(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?iu(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}r(68);var su=function(){var t=w(),e=b()(t,2),r=e[0].siteLogo,n=e[1];Object(eu.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",(function(){return nu.MediaUpload}));var i=function(t){n({type:"set",siteLogo:t}),N({param:"siteLogo",data:t})},a=function(){i(Sh.siteLogo)},s=function(t){var e=au(au({},r),{},{width:t});n({type:"set",siteLogo:e}),N({param:"siteLogo",data:e})},o=function(t){r.url&&(t.stopPropagation(),s(Sh.siteLogo.width))};return Object(u.useEffect)((function(){if(astraSitesVars.isRTLEnabled){var t=document.querySelector(".components-range-control__wrapper"),e=t.children[3].style.left;t.children[3].style.marginRight="-10px",t.children[3].style.removeProperty("margin-left"),t.children[3].style.right=e,t.children[4].style.removeProperty("transform"),t.children[4].style.removeProperty("left"),t.children[4].style.right=e,t.children[4].style.transform="translateX(50%)"}})),Object(c.createElement)(nu.MediaUpload,{onSelect:function(t){return function(t){var e,n,a,s={id:t.id,url:t.url,width:r.width};"http:"===window.location.protocol?(e=t.url,n=function(t){s.dataUri=t,i(s)},(a=new Image).onload=function(){var t=document.createElement("canvas");t.width=this.naturalWidth,t.height=this.naturalHeight,t.getContext("2d").drawImage(this,0,0),n(t.toDataURL("image/png"))},a.src=e):i(s)}(t)},allowedTypes:["image"],value:r.id,render:function(t){var e=t.open;return Object(c.createElement)(c.Fragment,null,""!==r.url&&void 0!==r.url?Object(c.createElement)("div",{className:"ist-logo-wrapper"},Object(c.createElement)("div",{className:"ist-remove-logo",onClick:a,title:Object(x.__)("Remove Logo","astra-sites")},Object(c.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"#333333"},Object(c.createElement)("path",{d:"M8 0.7L7.3 0L4 3.3L0.7 0L0 0.7L3.3 4L0 7.3L0.7 8L4 4.7L7.3 8L8 7.3L4.7 4L8 0.7Z",fill:"#333333"}))),Object(c.createElement)("div",{className:"ist-selected-image",onClick:e},Object(c.createElement)("div",{onClick:e,className:"ist-logo-preview-wrap"},Object(c.createElement)("img",{alt:Object(x.__)("Site Logo","astra-sites"),src:r.url}),Object(c.createElement)("div",{className:"ist-change-logo",onClick:e},Object(x.__)("Change Logo","astra-sites"))))):"",""===r.url?Object(c.createElement)("div",null,Object(c.createElement)(I,{className:"ist-button ist-button-outline ist-logo-button",onClick:e},Object(c.createElement)("h5",null,Object(x.__)("Upload File Here","astra-sites")),Object(c.createElement)("p",null,Object(x.__)("Suggested Dimensions: 180x60 pixels","astra-sites")))):"",""===r.url&&Object(c.createElement)("div",{className:"logo-skip-info"},Object(c.createElement)("h5",null,Object(x.__)("Don’t have a logo? No problem!","astra-sites")),Object(c.createElement)("p",null,Object(x.__)("You can upload it later","astra-sites"))),Object(c.createElement)("div",{className:"astra-sites-ai-logo-wrap"},Object(c.createElement)("div",{className:"label"},Object(x.__)("Logo Width","astra-sitess")),Object(c.createElement)("div",{className:"control-reset ".concat(r.width===Sh.siteLogo.width?"disabled":""),onClick:o},E.reset)),Object(c.createElement)("div",{className:"astra-sites-ai-rangecontrol-wrap"},Object(c.createElement)(ru.RangeControl,{value:r.width,min:0,max:500,step:1,onChange:function(t){s(t)},trackColor:"#4361ee",disabled:""===r.url})))}})},ou=r(20),lu=r.n(ou),cu=[{"body-font-family":"'Source Sans Pro', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Playfair Display', serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Lato', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Poppins', sans-serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Lato', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:17,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Montserrat', sans-serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Karla', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:17,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Rubik', sans-serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Roboto', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Roboto Condensed', sans-serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:17,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Merriweather', serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Open Sans', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Vollkorn', serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Work Sans', sans-serif","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Open Sans', sans-serif","headings-font-weight":700,"headings-line-height":"","headings-font-variant":""}];function uu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uu(Object(r),!0).forEach((function(e){m()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function pu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var fu=function(t,e){if(!t)return"";if(t){var r=t.match(/'([^']+)'/);return r?r[1]:"inherit"===t?e:t}return e||void 0},du=function(){var t=w(),e=b()(t,2),r=e[0],n=r.typographyIndex,i=r.templateResponse,a=e[1],s=Object(u.useState)(cu),o=b()(s,2),l=o[0],h=o[1],p=function(t){var e={};if(t&&"astra-site-customizer-data"in t){var r=t["astra-site-customizer-data"]||"";if(r){var n=r["astra-settings"]||[];["h1","h2","h3","h4","h5","h6"].forEach((function(t){e["font-family-"+t]=n["font-family-".concat(t)],e["font-weight-"+t]=n["font-weight-".concat(t)],e["text-transform-"+t]=n["text-transform-".concat(t)],e["line-height-"+t]=n["line-height-".concat(t)]}))}}return e}(i),f=Object(u.useState)(p),d=b()(f,1)[0];Object(u.useEffect)((function(){var t=document.getElementById("google-fonts-url");if(null!==i){var e=[],r=function(t){var e={};if(t&&"astra-site-customizer-data"in t){var r=t["astra-site-customizer-data"]||"";if(r){var n=r["astra-settings"]||[],i=n["headings-font-family"];e={default:!0,"body-font-family":n["body-font-family"],"body-font-variant":n["body-font-variant"],"body-font-weight":n["body-font-weight"],"font-size-body":n["font-size-body"],"body-line-height":n["body-line-height"],"headings-font-family":i,"headings-font-weight":n["headings-font-weight"],"headings-line-height":n["headings-line-height"],"headings-font-variant":n["headings-font-variant"]}}}return e}(i);if(e.push(r),!document.getElementById("google-fonts-domain")){var s=document.createElement("link");s.id="google-fonts-domain",s.setAttribute("rel","preconnect"),s.setAttribute("href","https://fonts.gstatic.com"),document.head.appendChild(s)}t&&t.remove();var o=document.createElement("link");o.id="google-fonts-url",o.setAttribute("rel","stylesheet");var c=[],u=r["body-font-family"]||"",p=parseInt(r["body-font-weight"])||"";p&&(p=":wght@".concat(p)),u&&(u=void 0!==(u=fu(u))?u.replace(" ","+"):u,c.push("family=".concat(u).concat(p)));var f=r["headings-font-family"]||"",d=parseInt(r["headings-font-weight"])||"";d&&(d=":wght@".concat(d)),f&&(f=void 0!==(f=fu(f,u))?f.replace(" ","+"):f,c.push("family=".concat(f).concat(d)));var g="";if(l){var y,v=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return pu(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pu(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){o=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}(l);try{for(v.s();!(y=v.n()).done;){var b=y.value,x=fu(b["headings-font-family"]).replaceAll(" ","+"),E=b["headings-font-weight"],k=fu(b["body-font-family"]).replaceAll(" ","+"),w=b["body-font-weight"];g+="&family=".concat(x,":wght@").concat(E,"&family=").concat(k,":wght@").concat(w)}}catch(t){v.e(t)}finally{v.f()}g=g.replace(/[&]{1}$/i,"")}if(c){var C="https://fonts.googleapis.com/css2?".concat(c.join("&")).concat(g,"&display=swap");o.setAttribute("href",C),document.head.insertAdjacentElement("afterbegin",o)}0===n&&(m(r),a({type:"set",typography:r})),l=e.concat(l),h(l)}}),[i]);var m=function(t){var e=d?hu(hu({},t),d):t;N({param:"siteTypography",data:JSON.parse(JSON.stringify(e))})};return Object(c.createElement)("div",{className:"typography-section"},Object(c.createElement)(R,{selected:n,options:l,onSelect:function(t,e){var r=l[e]||l[0];m(r),a({type:"set",typographyIndex:e,typography:r})}}))},mu=[{slug:"style-1",title:Object(x.__)("Style 1","astra-sites"),colors:["#8E43F0","#7215EA","#FFFFFF","#EEEBF4","#150E1F","#494153","#000000","#4B4F58","#F6F7F8"]},{slug:"style-2",title:Object(x.__)("Style 2","astra-sites"),colors:["#EF4D48","#D90700","#FFFFFF","#EEEAEC","#2B161B","#3C2F32","#000000","#4B4F58","#F6F7F8"]},{slug:"style-3",title:Object(x.__)("Style 3","astra-sites"),colors:["#FF42B3","#FF0099","#FFFFFF","#EEEAEC","#2B161B","#3C2F32","#000000","#4B4F58","#F6F7F8"]},{slug:"style-4",title:Object(x.__)("Style 4","astra-sites"),colors:["#FF6A97","#FA036B","#FFFFFF","#EEEAEC","#2B161B","#3C2F32","#000000","#4B4F58","#F6F7F8"]},{slug:"style-5",title:Object(x.__)("Style 5","astra-sites"),colors:["#FF7A3D","#FF5100","#FFFFFF","#F1EDEB","#1E1810","#443D3A","#000000","#4B4F58","#F6F7F8"]},{slug:"style-6",title:Object(x.__)("Style 6","astra-sites"),colors:["#F9C349","#FFB100","#FFFFFF","#F0EFEC","#1E1810","#4D4A46","#000000","#4B4F58","#F6F7F8"]},{slug:"style-7",title:Object(x.__)("Style 7","astra-sites"),colors:["#30C7B5","#00AC97","#FFFFFF","#F0EFEC","#1E1810","#4D4A46","#000000","#4B4F58","#F6F7F8"]},{slug:"style-8",title:Object(x.__)("Style 8","astra-sites"),colors:["#1BAE70","#06752E","#FFFFFF","#EBECEB","#14261C","#3D4641","#000000","#4B4F58","#F6F7F8"]},{slug:"style-9",title:Object(x.__)("Style 9","astra-sites"),colors:["#2FE6FF","#00D0EC","#FFFFFF","#E8EBEC","#101218","#3B4244","#000000","#4B4F58","#F6F7F8"]},{slug:"style-10",title:Object(x.__)("Style 10","astra-sites"),colors:["#4175FC","#084AF3","#FFFFFF","#E8EBEC","#101218","#3B4244","#000000","#4B4F58","#F6F7F8"]}],gu=[{slug:"style-1",title:Object(x.__)("Style 1","astra-sites"),colors:["#8E43F0","#6300E2","#150E1F","#584D66","#F3F1F6","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-2",title:Object(x.__)("Style 2","astra-sites"),colors:["#EF4D48","#D90700","#2B161B","#453E3E","#F7F3F5","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-3",title:Object(x.__)("Style 3","astra-sites"),colors:["#FF42B3","#FF0099","#2B161B","#554B4E","#F6F3F5","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-4",title:Object(x.__)("Style 4","astra-sites"),colors:["#FF6A97","#FA036B","#2B161B","#645659","#F8F3F5","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-5",title:Object(x.__)("Style 5","astra-sites"),colors:["#FF7A3D","#FF5100","#1E1810","#575250","#F8F5F4","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-6",title:Object(x.__)("Style 6","astra-sites"),colors:["#F9C349","#FFB100","#1E1810","#62615C","#F8F7F3","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-7",title:Object(x.__)("Style 7","astra-sites"),colors:["#30C7B5","#00AC97","#14261C","#4F5655","#F3F6F3","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-8",title:Object(x.__)("Style 8","astra-sites"),colors:["#1BAE70","#06752E","#14261C","#4E5652","#F4F6F4","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-9",title:Object(x.__)("Style 9","astra-sites"),colors:["#2FC1FF","#08ACF2","#101218","#4C5253","#F3F6F6","#FFFFFF","#000000","#4B4F58","#F6F7F8"]},{slug:"style-10",title:Object(x.__)("Style 10","astra-sites"),colors:["#4175FC","#084AF3","#101218","#494B51","#F3F5F5","#FFFFFF","#000000","#4B4F58","#F6F7F8"]}],yu=[{content:function(){var t=w(),e=b()(t,2);ea()(e[0]);var r=e[1];return Object(u.useEffect)((function(){r({type:"set",designStep:1})}),[]),Object(c.createElement)(c.Fragment,null,Object(c.createElement)(Uc,null),Object(c.createElement)("div",{className:"customizer-header"},Object(c.createElement)("div",{className:"header-name"},Object(c.createElement)("h3",{className:"ist-customizer-heading"},Object(x.__)("Logo","astra-sites")),Object(c.createElement)("p",{className:"screen-description"},Object(x.__)("Choose a logo for your site. You can update it anytime later.","astra-sites")))))},controls:function(){var t=w(),e=b()(t,2),r=e[0],n=r.siteLogo,i=r.currentCustomizeIndex,a=r.currentIndex,s=r.templateId,o=e[1],l=0===s?"disabled-btn":"";return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(su,null),Object(c.createElement)(I,{className:"ist-button ist-next-step ".concat(l),onClick:function(){o({type:"set",currentCustomizeIndex:i+1})},disabled:0===s,after:!0},""!==n.url?Object(x.__)("Continue","astra-sites"):Object(x.__)("Skip & Continue","astra-sites")),Object(c.createElement)(F,{onClick:function(){N({param:"clearPreviewAssets",data:{}}),setTimeout((function(){o({type:"set",currentIndex:a-1,currentCustomizeIndex:0})}),300)}},Object(x.__)("Back","astra-sites")))},class:"customize-business-logo"},{content:function(){var t=w(),e=b()(t,2),r=e[0].builder,n=e[1];return Object(u.useEffect)((function(){n({type:"set",designStep:2})}),[]),Object(c.createElement)(c.Fragment,null,Object(c.createElement)(Uc,null),Object(c.createElement)("div",{className:"customizer-header"},Object(c.createElement)("div",{className:"header-name"},Object(c.createElement)("h3",{className:"ist-customizer-heading"},"beaver-builder"===r||"brizy"===r?Object(x.__)("Fonts","astra-sites"):Object(x.__)("Colors & Fonts","astra-sites")),Object(c.createElement)("p",{className:"screen-description"},Object(x.__)("Choose colors and fonts for your site. You can update them anytime later.","astra-sites")))))},controls:function(){var t=w(),e=b()(t,2),r=e[0],n=r.activePaletteSlug,i=r.templateResponse,a=r.builder,s=e[1],o=Object(u.useState)([]),l=b()(o,2),h=l[0],p=l[1],f=Object(u.useState)(gu),d=b()(f,2),m=d[0],g=d[1],y=function(t,e){e&&(s({type:"set",activePaletteSlug:e.slug,activePalette:e}),N({param:"colorPalette",data:e}))};Object(u.useEffect)((function(){var t=function(t){var e=[];if(t&&"astra-site-customizer-data"in t){var r=t["astra-site-customizer-data"]||"";if(r){var n=r["astra-settings"]["global-color-palette"].palette||[];n&&(e=[{slug:"default",title:Object(x.__)("DEFAULT COLORS","astra-sites"),colors:n}])}}return e}(i);p(t);var e="light"===function(t){var e="light";return t&&"astra-site-color-scheme"in t&&""!==t["astra-site-color-scheme"]&&(e=t["astra-site-color-scheme"]),e}(i)?gu:mu,r=i["astra-custom-palettes"]||[];if(r.length&&r.length%2==0){var n=r,a=[];n.map((function(t){var r={slug:t.slug,title:t.slug},n=lu()(e[0].colors);return n[0]=t.colors[0],n[1]=t.colors[1],r.colors=n,a.push(r),a})),(n=[].concat(a,lu()(e))).map((function(t,e){return n[e].title="Style"+(e+1),n[e].slug="style-"+(e+1),n})),e=n}g(e)}),[i]);var v=function(t){y(0,Object.values(h)[0])};return Object(c.createElement)(c.Fragment,null,Object(c.createElement)((function(){return"beaver-builder"===a||"brizy"===a?null:Object(c.createElement)("div",{className:"colors-section"},Object(c.createElement)("div",{className:"d-flex-space-between"},Object(c.createElement)("h4",null,Object(x.__)("Change Colors","astra-sites")),Object(c.createElement)("div",{className:"customize-reset-btn ".concat("default"===n?"disabled":"active"),onClick:v},E.reset)),h?Object(c.createElement)(c.Fragment,null,Object(c.createElement)(_,{selected:n,options:h,onChange:function(t,e){y(0,e)},tabIndex:"0",type:"default"})):"",Object(c.createElement)(_,{selected:n,options:m,onChange:function(t,e){y(0,e)},tabIndex:"0",type:"others"}))}),null),Object(c.createElement)(du,null))},actions:null,class:"customize-typography-colors"},{content:function(){var t=w(),e=b()(t,2),r=e[0].builder,n=e[1];Object(u.useEffect)((function(){n({type:"set",designStep:2})}),[]);var i=Object(x.__)("This is a premium template and comes with our Essentials and Growth Bundle. <br/><br/> Get access to this premium template and 100+ more.","astra-sites");return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(Uc,null),Object(c.createElement)("div",{className:"customizer-header"},Object(c.createElement)("div",{className:"header-name"},!L()&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h3",{className:"ist-customizer-heading"},Object(x.__)("Liked this Starter Template?","astra-sites")),Object(c.createElement)("p",{className:"screen-description",dangerouslySetInnerHTML:{__html:i}})),Object(c.createElement)(I,{className:"st-access-btn",onClick:L()?function(){"#"!==astraSitesVars.whiteLabelUrl&&window.open(astraSitesVars.whiteLabelUrl)}:function(){window.open(astraSitesVars.cta_links[r])}},Object(x.__)("Unlock Access","astra-sites"),Object(c.createElement)("img",{className:"st-get-access",alt:"Get Access",src:"".concat(Kc,"get-access.svg")})))))},controls:function(){var t=w(),e=b()(t,2),r=e[0],n=r.templateId,i=(r.templateResponse,r.currentCustomizeIndex),a=r.importError,s=r.currentIndex,o=r.validateLicenseStatus,l=e[1],h=Object(u.useState)(""),p=b()(h,2),f=p[0],d=p[1],m=Object(u.useState)(!1),g=b()(m,2),y=g[0],v=g[1],k=Object(u.useState)(""),C=b()(k,2),A=C[0],S=C[1];Object(u.useEffect)((function(){a&&l({type:"set",currentIndex:s+2})}),[a]);var P=y?"processing":"",O=Object(x.sprintf)(//translators: %1$s Support page URL.
|
1 |
+
(window.webpackJsonp_astra_sites=window.webpackJsonp_astra_sites||[]).push([[1],{50:function(t,e,r){},55:function(t,e,r){},56:function(t,e,r){},57:function(t,e,r){},58:function(t,e,r){},59:function(t,e,r){},60:function(t,e,r){},61:function(t,e,r){},62:function(t,e,r){},63:function(t,e,r){},64:function(t,e,r){},65:function(t,e,r){},66:function(t,e,r){},67:function(t,e,r){},68:function(t,e,r){},73:function(t,e,r){},74:function(t,e,r){},75:function(t,e,r){},76:function(t,e,r){}}]),function(t){function e(e){for(var n,s,o=e[0],l=e[1],c=e[2],h=0,p=[];h<o.length;h++)s=o[h],Object.prototype.hasOwnProperty.call(i,s)&&i[s]&&p.push(i[s][0]),i[s]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);for(u&&u(e);p.length;)p.shift()();return a.push.apply(a,c||[]),r()}function r(){for(var t,e=0;e<a.length;e++){for(var r=a[e],n=!0,o=1;o<r.length;o++){var l=r[o];0!==i[l]&&(n=!1)}n&&(a.splice(e--,1),t=s(s.s=r[0]))}return t}var n={},i={0:0},a=[];function s(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=n,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(r,n,function(e){return t[e]}.bind(null,n));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var o=window.webpackJsonp_astra_sites=window.webpackJsonp_astra_sites||[],l=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var u=l;a.push([45,1]),r()}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.wp.i18n},function(t,e){t.exports=window.React},function(t,e,r){var n=r(47),i=r(48),a=r(27),s=r(49);t.exports=function(t,e){return n(t)||i(t,e)||a(t,e)||s()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=window.regeneratorRuntime},function(t,e,r){"use strict";(function(t){r.d(e,"e",(function(){return n})),r.d(e,"p",(function(){return i})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return o})),r.d(e,"o",(function(){return l})),r.d(e,"q",(function(){return c})),r.d(e,"t",(function(){return u})),r.d(e,"i",(function(){return h})),r.d(e,"r",(function(){return p})),r.d(e,"s",(function(){return f})),r.d(e,"k",(function(){return d})),r.d(e,"m",(function(){return m})),r.d(e,"j",(function(){return g})),r.d(e,"l",(function(){return y})),r.d(e,"g",(function(){return v})),r.d(e,"f",(function(){return b})),r.d(e,"h",(function(){return x})),r.d(e,"n",(function(){return E})),r.d(e,"b",(function(){return k}));var n="1.13.2",i="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||Function("return this")()||{},a=Array.prototype,s=Object.prototype,o="undefined"!=typeof Symbol?Symbol.prototype:null,l=a.push,c=a.slice,u=s.toString,h=s.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,f="undefined"!=typeof DataView,d=Array.isArray,m=Object.keys,g=Object.create,y=p&&ArrayBuffer.isView,v=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=Math.pow(2,53)-1}).call(this,r(29))},function(t,e){function r(t,e,r,n,i,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(n,i)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(i,a){var s=t.apply(e,n);function o(t){r(s,i,a,o,l,"next",t)}function l(t){r(s,i,a,o,l,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=33)}([function(t,e){t.exports=r(2)},function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r,n,i,a=t[1]||"",s=t[3];if(!s)return a;if(e&&"function"==typeof btoa){var o=(r=s,n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(i," */")),l=s.sources.map((function(t){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(t," */")}));return[a].concat(l).concat([o]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(i[s]=!0)}for(var o=0;o<t.length;o++){var l=[].concat(t[o]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),e.push(l))}},e}},function(t,e,r){"use strict";var n,i=function(){var t={};return function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}t[e]=r}return t[e]}}(),a=[];function s(t){for(var e=-1,r=0;r<a.length;r++)if(a[r].identifier===t){e=r;break}return e}function o(t,e){for(var r={},n=[],i=0;i<t.length;i++){var o=t[i],l=e.base?o[0]+e.base:o[0],c=r[l]||0,u="".concat(l," ").concat(c);r[l]=c+1;var h=s(u),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(a[h].references++,a[h].updater(p)):a.push({identifier:u,updater:m(p,e),references:1}),n.push(u)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=i(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var c,u=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function h(t,e,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=u(e,i);else{var a=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(a,s[e]):t.appendChild(a)}}function p(t,e,r){var n=r.css,i=r.media,a=r.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f=null,d=0;function m(t,e){var r,n,i;if(e.singleton){var a=d++;r=f||(f=l(e)),n=h.bind(null,r,a,!1),i=h.bind(null,r,a,!0)}else r=l(e),n=p.bind(null,r,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var r=o(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<r.length;n++){var i=s(r[n]);a[i].references--}for(var l=o(t,e),c=0;c<r.length;c++){var u=s(r[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}r=l}}}},function(t,e,r){(e=r(1)(!1)).push([t.i,"body {\n\t/* Colors */\n --stc-color-accent: #2563EB;\n --stc-color-accent-hover: #1D4ED8;\n --stc-color-heading: #1F2937;\n --stc-color-body: #4B5563;\n --stc-color-light-gray: #E5E7EB;\n --stc-color-placeholder: #6B7280;\n --stc-color-white: #FFFFFF;\n --stc-color-favorite: #E91E63;\n --stc-background-secondary: #F7F7F9;\n --stc-background-primary: #FFFFFF;\n --stc-background-light: #F9FAFB;\n\n /* Font sizes */\n --stc-font-size-xxl: 30px;\n --stc-font-size-xl: 24px;\n --stc-font-size-l: 20px;\n --stc-font-size-m: 18px;\n --stc-font-size-s: 16px;\n --stc-font-size-xs: 14px;\n --stc-font-size-xxs: 11px;\n\n\n /** Font Weight */\n --stc-font-weight-extra-bold: 600;\n --stc-font-weight-bold: 500;\n --stc-font-weight-normal: 400;\n\n /** Font Line Height */\n --stc-font-line-height-xl: 36px;\n --stc-font-line-height-l: 32px;\n --stc-font-line-height-m: 28px;\n --stc-font-line-height-s: 24px;\n --stc-font-line-height-xs: 20px;\n\n /** Border */\n --stc-border-color: #D1D5DB;\n --stc-border-radius-5: 5px;\n --stc-border-radius-4: 4px;\n --stc-border-radius-3: 3px;\n --stc-border-radius-2: 2px;\n --stc-border-radius-1: 1px;\n}\n",""]),t.exports=e},function(t,e,r){t.exports=function(t,e){var r,n,i=0;function a(){var a,s,o=r,l=arguments.length;t:for(;o;){if(o.args.length===arguments.length){for(s=0;s<l;s++)if(o.args[s]!==arguments[s]){o=o.next;continue t}return o!==r&&(o===n&&(n=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=r,o.prev=null,r.prev=o,r=o),o.val}o=o.next}for(a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];return o={args:a,val:t.apply(null,a)},r?(r.prev=o,o.next=r):n=o,i===e.maxSize?(n=n.prev).next=null:i++,r=o,o.val}return e=e||{},a.clear=function(){r=null,n=null,i=0},a}},function(t,e,r){var n;!function(){"use strict";var i={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 a(t){return o(c(t),arguments)}function s(t,e){return a.apply(null,[t].concat(e||[]))}function o(t,e){var r,n,s,o,l,c,u,h,p,f=1,d=t.length,m="";for(n=0;n<d;n++)if("string"==typeof t[n])m+=t[n];else if("object"==typeof t[n]){if((o=t[n]).keys)for(r=e[f],s=0;s<o.keys.length;s++){if(null==r)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',o.keys[s],o.keys[s-1]));r=r[o.keys[s]]}else r=o.param_no?e[o.param_no]:e[f++];if(i.not_type.test(o.type)&&i.not_primitive.test(o.type)&&r instanceof Function&&(r=r()),i.numeric_arg.test(o.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(a("[sprintf] expecting number but found %T",r));switch(i.number.test(o.type)&&(h=r>=0),o.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,o.width?parseInt(o.width):0);break;case"e":r=o.precision?parseFloat(r).toExponential(o.precision):parseFloat(r).toExponential();break;case"f":r=o.precision?parseFloat(r).toFixed(o.precision):parseFloat(r);break;case"g":r=o.precision?String(Number(r.toPrecision(o.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=o.precision?r.substring(0,o.precision):r;break;case"t":r=String(!!r),r=o.precision?r.substring(0,o.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=o.precision?r.substring(0,o.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=o.precision?r.substring(0,o.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(o.type)?m+=r:(!i.number.test(o.type)||h&&!o.sign?p="":(p=h?"+":"-",r=r.toString().replace(i.sign,"")),c=o.pad_char?"0"===o.pad_char?"0":o.pad_char.charAt(1):" ",u=o.width-(p+r).length,l=o.width&&u>0?c.repeat(u):"",m+=o.align?p+r+l:"0"===c?p+l+r:l+p+r)}return m}var l=Object.create(null);function c(t){if(l[t])return l[t];for(var e,r=t,n=[],a=0;r;){if(null!==(e=i.text.exec(r)))n.push(e[0]);else if(null!==(e=i.modulo.exec(r)))n.push("%");else{if(null===(e=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){a|=1;var s=[],o=e[2],c=[];if(null===(c=i.key.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=i.key_access.exec(o)))s.push(c[1]);else{if(null===(c=i.index_access.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}e[2]=s}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return l[t]=n}e.sprintf=a,e.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=s,void 0===(n=function(){return{sprintf:a,vsprintf:s}}.call(e,r,e,t))||(t.exports=n))}()},function(t,e,r){var n=r(2),i=r(7);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-button{margin:0;padding:0 10px;cursor:pointer;border-width:1px;white-space:nowrap;border-style:solid;text-decoration:none;display:inline-block;box-sizing:border-box;-webkit-appearance:none;color:var(--stc-color-white);font-size:var(--stc-font-size-xs);border-color:var(--stc-color-accent);min-height:var(--stc-font-line-height-l);border-radius:var(--stc-border-radius-3);background-color:var(--stc-color-accent)}.stc-button:hover,.stc-button:focus{border-color:var(--stc-color-accent-hover);background-color:var(--stc-color-accent-hover)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(9);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,'@keyframes stc-visible{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible}}.stc-grid-wrap{display:grid;grid-gap:2.5rem}.stc-grid-wrap.grid-1{grid-template-columns:repeat(1, 1fr)}.stc-grid-wrap.grid-2{grid-template-columns:repeat(2, 1fr)}.stc-grid-wrap.grid-3{grid-template-columns:repeat(3, 1fr)}.stc-grid-wrap.grid-4{grid-template-columns:repeat(4, 1fr)}.stc-grid-wrap.grid-5{grid-template-columns:repeat(5, 1fr)}.stc-grid-wrap.grid-6{grid-template-columns:repeat(6, 1fr)}.stc-grid-item-header{display:flex;align-items:center;justify-content:space-between;padding:16px 25px;border-top:1px solid #e9e9e9;position:relative}.stc-grid-item-title{margin:15px 0;text-align:center;color:var(--stc-color-body);font-size:var(--stc-font-size-m);font-weight:var(--stc-font-weight-bold);line-height:var(--stc-font-line-height-s)}.stc-grid-item{cursor:pointer}.stc-grid-item:hover .stc-grid-item-hover-button-wrap{animation:stc-visible .2s linear forwards}.stc-grid-item-screenshot{display:block;cursor:pointer;overflow:hidden;position:relative;background-size:100%;background-repeat:no-repeat;background-position:center top;background-color:var(--stc-background-secondary);border-top-left-radius:var(--stc-border-radius-2);border-top-right-radius:var(--stc-border-radius-2)}.stc-grid-item-screenshot:after{content:"";display:block;padding-top:118%}.stc-grid-item-inner{margin:0;position:relative;transition:all .15s;box-sizing:border-box;background:var(--stc-color-white);border-radius:var(--stc-border-radius-5);border:1px solid var(--stc-color-light-gray);transition:opacity .25s ease-in-out}.stc-grid-item-inner:hover{box-shadow:0px 15px 20px -10px rgba(0,0,0,.25)}.stc-grid-item-inner:hover .stc-grid-item-hover-button-wrapper{animation:stc-visible .2s linear forwards}.stc-grid-item-inner:hover .stc-grid-item-blur{opacity:1}.stc-grid-item-badge{background:#ffc107;color:#000;padding:4px 12px;font-size:var(--stc-font-size-xxs);top:-4px;right:-4px;text-transform:uppercase;position:absolute;z-index:1;border-radius:var(--stc-border-radius-2);font-weight:var(--stc-font-weight-extra-bold);letter-spacing:.3px;z-index:4}.stc-grid-favorite svg{width:16px;height:16px;cursor:pointer}.stc-grid-favorite svg path{fill:var(--stc-color-placeholder)}.stc-grid-favorite svg:hover path,.stc-grid-favorite.active svg path{fill:var(--stc-color-favorite)}.stc-grid-item-hover-button-wrap{display:flex;align-items:center;justify-content:center;position:absolute;left:0;background:var(--stc-background-primary);width:100%;height:auto;visibility:hidden;opacity:0}.stc-grid-item-hover-button{padding:7px 25px;background:var(--stc-color-accent);font-size:18px;font-weight:600;color:var(--stc-color-white);line-height:24px;text-decoration:none !important;border-radius:var(--stc-border-radius-2)}.stc-grid-item-hover-button:hover{background:var(--stc-color-accent-hover);color:var(--stc-color-white)}.stc-grid-new-item .stc-grid-item-header{padding:20px 20px;border-top:1px solid #e9e9e9;background:var(--stc-color-white);box-sizing:border-box;border-radius:0px 0px 4px 4px;display:grid}.stc-grid-new-item .stc-grid-item-desc{font-weight:400;font-size:15px;line-height:25px}.stc-grid-new-item .stc-grid-item-title{color:var(--st-color-heading);font-size:var(--st-font-size-xs);line-height:var(--st-line-height-xs);margin:0;padding:0;text-align:center;width:100%;font-weight:600;display:flex;align-items:center;line-height:24px}.stc-grid-new-item .stc-grid-item-hover-button-wrap{justify-content:center;position:absolute;left:0;background:transparent;width:100%;height:auto;visibility:hidden;opacity:0;color:var(--stc-color-white);margin-top:15px}.stc-grid-new-item .stc-grid-item{cursor:default}.stc-grid-item-hover-button-wrapper{justify-content:center;position:absolute;left:0;background:transparent;width:100%;height:auto;visibility:hidden;opacity:0;top:45%;bottom:50%;font-weight:600;font-size:16px;line-height:24px;align-items:center;text-align:center;z-index:3}.st-template-page-builder-wrap{display:flex;align-content:center;justify-content:center;align-items:center}.st-template-page-builder-wrap span>svg{width:32px;height:auto;margin:5px;border-radius:50%}.stc-grid-item-screenshot-wrap{position:relative}.stc-grid-item-blur{background:rgba(255,255,255,.8);z-index:2;position:absolute;inset:0;opacity:0}',""]),t.exports=e},function(t,e,r){var n=r(2),i=r(11);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-tooltip{position:relative}.stc-tooltip-visible{opacity:1;visibility:visible}.stc-tooltip-hidden{opacity:0;visibility:hidden}.stc-tooltip-content{position:absolute;right:0;z-index:99;color:#fff;box-shadow:0px 4px 8px -2px rgba(9,30,66,.25),0px 0px 1px rgba(9,30,66,.31);font-weight:400;line-height:1;text-align:center;min-width:max-content;border-radius:2px;background:var(--stc-color-heading);font-size:13px;top:135%;padding:6px 12px}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(13);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-search{display:inline-block;position:relative}.stc-search .stc-search-input{width:740px;padding:16px 22px 16px 44px;opacity:1;font-size:var(--stc-font-size-s);border:var(--stc-search-input-border, none);font-weight:var(--stc-font-weight-normal);border-radius:var(--stc-border-radius-4, 4px);background:var(--stc-background-primary);box-shadow:var(--stc-search-input-box-shadow, 0px 0px 4px -1px rgba(0, 0, 0, 0.06), 0px 2px 6px -1px rgba(0, 0, 0, 0.1));height:var(--stc-search-input-height, 62px)}.stc-search .stc-search-input:focus{outline:none;border:var(--stc-search-input--focus-border, none)}.stc-search .stc-search-input:hover,.stc-search .stc-search-input:active,.stc-search .stc-search-input:focus{box-shadow:0px 2px 6px -1px rgba(0,0,0,.06),0px 4px 8px -1px rgba(0,0,0,.1)}.stc-search .stc-search-input::-webkit-input-placeholder{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-xs)}.stc-search .stc-search-input::-webkit-search-cancel-button{display:none}.stc-search.stc-search-have-input .stc-search-input:focus+.stc-search-icon,.stc-search.stc-search-have-input .stc-search-input:hover+.stc-search-icon{--stc-search-icon-opacity: 0;--stc-search-icon-visibility: hidden}.stc-search-icon,.stc-cross-icon{top:0;bottom:0;padding:0;left:18px;border:none;line-height:0;position:absolute;background:var(--stc-search-icon-background, 0 0);color:var(--stc-color-light-gray);opacity:var(--stc-search-icon-opacity, 1);visibility:var(--stc-search-icon-visibility, visible)}.stc-search-icon:focus,.stc-search-icon:hover,.stc-cross-icon:focus,.stc-cross-icon:hover{background:transparent;box-shadow:none}.stc-search-icon svg,.stc-cross-icon svg{fill:var(--stc-color-placeholder)}.stc-search-icon svg{width:14px}.stc-cross-icon{display:none;cursor:pointer}.stc-search-have-input .stc-cross-icon{display:block}.stc-search-have-input .stc-search-icon{display:none}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(15);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-category-list{display:flex}.stc-category-list-item{display:flex;cursor:pointer;padding:0px 10px;align-items:center;justify-content:space-between;color:rgba(49,42,64,.7)}.stc-category-list-item:hover .stc-category-list-title,.stc-category-list-item.active .stc-category-list-title{color:var(--stc-color-heading)}.stc-category-list-more{--stc-toggle-dropdown-selected-background: transparent;--stc-toggle-dropdown-popup-min-width: 220px;--stc-toggle-dropdown-popup-item-padding: 5px 17px;--stc-toggle-dropdown-popup-padding: 10px 0;--stc-toggle-dropdown-border-color: transparent;--stc-toggle-dropdown-selected-padding: 0;--stc-toggle-dropdown-popup-left: calc( 100% - var( --stc-toggle-dropdown-popup-min-width ) )}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(17);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-toggle-dropdown{--stc-logo-width: 20px;--stc-logo-height: 20px;--stc-logo-border-raidus: 50%;position:relative}.stc-toggle-dropdown-popup{right:0;position:absolute;z-index:99;background:var(--stc-color-white);box-shadow:1px 2px 5px 1px rgba(0,0,0,.15);top:var(--stc-toggle-dropdown-popup-top, 100%);left:var(--stc-toggle-dropdown-popup-left, 0);text-align:left;padding:var(--stc-toggle-dropdown-popup-padding, 0);border-radius:var(--stc-border-radius-4);min-width:var(--stc-toggle-dropdown-popup-min-width, auto)}.stc-toggle-dropdown-popup-item{margin:var(--stc-toggle-dropdown-popup-item-margin, 0 0 5px 0);cursor:var(--stc-toggle-dropdown-popup-item-cursor, initial);padding:var(--stc-toggle-dropdown-popup-item-padding, 12px 22px);margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child{margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child:hover,.stc-toggle-dropdown-popup-item:last-child.active{border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4)}.stc-toggle-dropdown-popup-item:hover,.stc-toggle-dropdown-popup-item.active{background-color:var(--stc-background-light)}.stc-toggle-dropdown-selected{border:1px solid var(--stc-toggle-dropdown-border-color, var(--stc-border-color));background:var(--stc-toggle-dropdown-selected-background, var(--stc-color-white));padding:var(--stc-toggle-dropdown-selected-padding, 6px 10px 6px 16px);border-radius:var(--stc-border-radius-4);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-body);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.stc-toggle-dropdown-selected svg{margin-left:10px;height:var(--stc-toggle-dropdown-icon-height, 6px);fill:var(--stc-color-body)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(19);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){var n=r(1),i=r(3);(e=n(!1)).i(i),e.push([t.i,".stc-logo{display:flex;align-items:center}.stc-logo-image{width:var(--stc-logo-width, 34px);height:var(--stc-logo-height, 34px);border-radius:var(--stc-logo-border-raidus, 0)}.stc-logo-text{margin-left:8px;color:var(--stc-color-body);font-size:var(--stc-font-size-xs);font-weight:var(--stc-font-weight-normal);line-height:var(--stc-font-line-height-xs)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(21);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-suggestion-list{border:1px solid var(--stc-border-color);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-border-color);max-width:var(--stc-suggestion-list-max-width, 100%);text-align:var(--stc-suggestion-list-text-align, left);z-index:var(--stc-suggestion-list-z-index, 10);background:var(--stc-suggestion-list-background, var(--stc-color-white));position:var(--stc-suggestion-list-position, relative);left:var(--stc-suggestion-list-left, 0);right:var(--stc-suggestion-list-right, 0);border-radius:var(--stc-suggestion-list-border-radius, 0);padding:0;margin:0}.stc-suggession{cursor:pointer;padding:9px 22px;font-size:var(--stc-font-size-s);color:rgba(75,85,99,.5)}.stc-suggession:hover{background:var(--stc-background-light)}.stc-suggestion-highlight{color:var(--stc-color-heading)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(23);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".st-toaster{display:flex;align-items:center;justify-content:space-between;width:max-content;max-width:20.125rem;padding:1rem;background-color:var(--st-background-primary);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);border:1px solid #ddd;border-radius:var(--stc-border-radius-4);position:fixed;z-index:999}.st-toaster.bottom-right,.st-toaster.bottom-center,.st-toaster.bottom-left{bottom:12%}.st-toaster.bottom-right{right:2%;left:auto}.st-toaster.bottom-center{right:50%;left:auto;transform:translateX(50%)}.st-toaster.bottom-left{left:2%;right:auto}.st-toaster.top-right,.st-toaster.top-center,.st-toaster.top-left{top:12%}.st-toaster.top-left{left:2%;right:auto}.st-toaster.top-center{left:50%;right:auto;transform:translateX(-50%)}.st-toaster.top-right{right:2%;left:auto}.st-toaster.left-center{top:50%;left:2%;transform:translateY(-50%)}.st-toaster .content{display:flex}.st-toaster .content .status-icon svg{width:1.25rem;height:1.25rem}.st-toaster .content .status-icon.success{color:var(--st-context-success-color, #39b54a)}.st-toaster .content .status-icon.failed{color:var(--st-context-error-color, #d72b3f)}.st-toaster .content .message{display:flex;margin-left:.625rem}.st-toaster .toaster-close{display:flex;margin-left:1rem}.st-toaster .toaster-close .close-btn{cursor:pointer;padding:0;margin:0;background:none;border:none}.st-toaster .toaster-close .close-btn svg{width:1.25rem;height:1.25rem;fill:var(--st-color-placeholder, #6B7280)}.st-toaster.visible{animation:toaster-in .3s linear forwards}.st-toaster.hidden{animation:toaster-out .3s linear forwards}@keyframes toaster-in{from{opacity:0}to{opacity:1}}@keyframes toaster-out{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(25);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-sites-no-results{border-bottom:1px solid var(--stc-border-color);box-sizing:border-box;padding:var(--stc-sites-no-results-padding, 30px 30px 30px 0);text-align:left;background:var(--stc-background-secondary)}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(27);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-mega-menu-wrap{text-align:left}.stc-mega-menu-toggle{background:var(--stc-color-white);border:1px solid var(--stc-border-color);border-radius:var(--stc-border-radius-2);fill:var(--stc-color-placeholder);padding:10px 13px;box-sizing:border-box;cursor:pointer;display:none}.stc-mega-menu-group{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:18px 22px 22px 22px;left:-22px;z-index:9;display:flex;flex-wrap:wrap;margin:var(--stc-mega-menu-group-margin, 0)}.stc-mega-menu-group.stc-mega-menu-group-two-col{width:400px}.stc-mega-menu-item{position:relative;white-space:nowrap}.stc-mega-menu-item:hover>.stc-mega-menu-group{visibility:visible;opacity:1}.stc-mega-menu-item:last-child{margin-right:0}.stc-mega-menu-section-title{font-weight:600;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);display:flex;align-items:center;color:var(--stc-color-heading);margin-bottom:6px}.stc-mega-menu-children{color:var(--stc-color-body);font-weight:normal;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs)}.stc-mega-menu-child-item{margin-bottom:6px;cursor:pointer;font-size:13px}.stc-mega-menu-child-item.stc-mega-menu-child-item-active,.stc-mega-menu-child-item:hover{color:var(--stc-color-accent-hover)}.stc-mega-menu-child-item:last-child{margin-bottom:0}.stc-mega-menu-item:hover>.stc-mega-menu-item-title,.stc-mega-menu-item-active>.stc-mega-menu-item-title{border-bottom-color:var(--stc-color-heading)}.stc-mega-menu-item-title{cursor:pointer;border-bottom:2px solid transparent;display:inline-block;font-size:15px;margin:var(--stc-mega-menu-item-title-margin, 0 20px 0 0);padding:var(--stc-mega-menu-item-title-padding, 0 0 20px 0)}.stc-mega-menu-item-title svg{width:10px;height:10px;fill:var(--stc-color-placeholder);margin-left:10px}.stc-mega-menu-item-title:hover svg{fill:var(--stc-color-heading)}.stc-mega-menu-item-active svg{fill:var(--stc-color-heading)}@media(min-width: 769px){.stc-mega-menu{display:flex;position:relative}.stc-mega-menu-group{position:absolute;top:100%;opacity:0;visibility:hidden;width:230px}.stc-mega-menu-group-col-2,.stc-mega-menu-group-col-3{width:400px}.stc-mega-menu-group-col-2 .stc-mega-menu-section,.stc-mega-menu-group-col-3 .stc-mega-menu-section{width:50%}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2){padding-bottom:20px}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(3),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(3){border-right:1px solid var(--stc-color-light-gray)}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding-left:25px}}@media(max-width: 768px){.stc-mega-menu-item-title{font-weight:var(--stc-font-weight-bold);font-size:var(--stc-font-size-m);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-heading);margin-bottom:8px;padding:0}.stc-mega-menu-section-title{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-s)}.stc-mega-menu-container{display:none}.stc-mega-menu-show .stc-mega-menu-container{display:block}.stc-mega-menu-toggle{display:inline-block}.stc-mega-menu-item-title svg{display:none}.stc-mega-menu-item{margin-bottom:38px}.stc-mega-menu-group{background:transparent;box-shadow:none;border-radius:initial;padding:0;margin:0;width:100%;flex-direction:column}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding:0}.stc-mega-menu-container{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:37px 45px;position:absolute;left:0;right:0;z-index:2;margin-top:15px;overflow-y:auto;height:50vh}.stc-mega-menu-section{width:100%;margin-bottom:15px}.stc-mega-menu-section:last-child{margin-bottom:0}}",""]),t.exports=e},function(t,e,r){var n=r(2),i=r(29);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-grid-item-badge{background:#ffc107;color:#000;padding:4px 12px;font-size:var(--stc-font-size-xxs);top:-4px;right:-4px;text-transform:uppercase;position:absolute;z-index:1;border-radius:var(--stc-border-radius-2);font-weight:var(--stc-font-weight-extra-bold);letter-spacing:.3px}",""]),t.exports=e},function(t){t.exports=JSON.parse('[{"ID":9888,"title":"Business","parent":"0","children":[{"ID":6771,"title":"Business","parent":"1","children":[{"ID":4523,"title":"Agency","parent":"2"},{"ID":7382,"title":"Restaurant","parent":"2"},{"ID":4232,"title":"Hotel & Travel","parent":"2"},{"ID":5398,"title":"Construction","parent":"2"},{"ID":673,"title":"Real Estate","parent":"2"},{"ID":3667,"title":"Transport","parent":"2"},{"ID":9928,"title":"Manufacturing","parent":"2"},{"ID":1998,"title":"Pets","parent":"2"},{"ID":8288,"title":"Gardening","parent":"2"},{"ID":9990,"title":"Landing Pages","parent":"2"}]}]},{"ID":1373,"title":"Local Business","parent":"0","children":[{"ID":4714,"title":"Local Business","parent":"0","children":[{"ID":5547,"title":"Electrician","parent":"13"},{"ID":4720,"title":"Plumber","parent":"13"},{"ID":4528,"title":"AC Technician","parent":"13"},{"ID":4032,"title":"Roofing Services","parent":"13"},{"ID":2650,"title":"Courier Delivery","parent":"13"},{"ID":8189,"title":"Movers","parent":"13"},{"ID":121,"title":"Cleaning Services","parent":"13"},{"ID":3608,"title":"Transport","parent":"13"},{"ID":5346,"title":"Catering","parent":"13"},{"ID":3057,"title":"Car Garage","parent":"13"}]}]},{"ID":3502,"title":"Personal Care","parent":"0","children":[{"ID":7110,"title":"Personal Care","parent":"0","children":[{"ID":4687,"title":"Salon","parent":"24"},{"ID":1983,"title":"Beauty","parent":"24"},{"ID":8916,"title":"Fitness","parent":"24"},{"ID":2870,"title":"Yoga","parent":"24"},{"ID":7507,"title":"Spa & Massage","parent":"24"}]}]},{"ID":23,"title":"Professionals","parent":"0","children":[{"ID":5502,"title":"Professionals","parent":"0","children":[{"ID":6825,"title":"Finance","parent":"30"},{"ID":2015,"title":"Accountant","parent":"30"},{"ID":1815,"title":"Law","parent":"30"},{"ID":5330,"title":"Coach","parent":"30"},{"ID":8139,"title":"Medical","parent":"30"},{"ID":4121,"title":"Photography","parent":"30"},{"ID":2605,"title":"Consultant","parent":"30"},{"ID":2864,"title":"Interior Designer","parent":"30"},{"ID":4900,"title":"Web Designer","parent":"30"}]}]},{"ID":5770,"title":"Personal Sites","parent":"0","children":[{"ID":9870,"title":"Personal Sites","parent":"0","children":[{"ID":6211,"title":"Portfolio & CV","parent":"40"},{"ID":1768,"title":"Photographer","parent":"40"},{"ID":3180,"title":"Artist","parent":"40"},{"ID":2923,"title":"Author","parent":"40"},{"ID":1650,"title":"Musician","parent":"40"}]}]},{"ID":5358,"title":"Community","parent":"0","children":[{"ID":9049,"title":"Institutes","parent":"46","children":[{"ID":4882,"title":"Preschool","parent":"46"},{"ID":3596,"title":"School","parent":"46"},{"ID":8436,"title":"Kindergarten","parent":"46"},{"ID":4607,"title":"University","parent":"46"}]},{"ID":4677,"title":"Non Profit","parent":"0","children":[{"ID":3816,"title":"Church","parent":"52"},{"ID":6629,"title":"Charity","parent":"52"}]},{"ID":1736,"title":"Events","parent":"0","children":[{"ID":3629,"title":"Wedding","parent":"56"},{"ID":556,"title":"Conference","parent":"56"},{"ID":7875,"title":"Celebrations","parent":"56"}]}]},{"ID":2438,"title":"E-Commerce","parent":"0","children":[{"ID":2306,"title":"Online Store","parent":"60","children":[{"ID":6285,"title":"Online Shop","parent":"60"},{"ID":78,"title":"Clothing store","parent":"60"},{"ID":5341,"title":"Jewelry store","parent":"60"},{"ID":5312,"title":"Sports store","parent":"60"},{"ID":3310,"title":"Book store","parent":"60"}]},{"ID":3751,"title":"E-Learning","parent":"60","children":[{"ID":5309,"title":"Online Courses","parent":"66"},{"ID":6030,"title":"Course Marketplace","parent":"66"},{"ID":5771,"title":"LMS","parent":"66"}]}]},{"ID":24381,"title":"Blog","parent":"0","children":[{"ID":2306,"title":"Blog","parent":"60","children":[{"ID":6285,"title":"Blogger","parent":"60"},{"ID":78,"title":"Food Blog","parent":"60"},{"ID":5341,"title":"Travel Blog","parent":"60"},{"ID":5312,"title":"News Site","parent":"60"},{"ID":3310,"title":"Magazine","parent":"60"},{"ID":5309,"title":"Fashion Blog","parent":"66"},{"ID":6030,"title":"Influence Blog","parent":"66"},{"ID":5771,"title":"Podcast","parent":"66"}]}]}]')},function(t,e,r){var n=r(2),i=r(32);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]),n(i,{insert:"head",singleton:!1}),t.exports=i.locals||{}},function(t,e,r){(e=r(1)(!1)).push([t.i,".stc-mega-menu-filter{--stc-mega-menu-item-title-margin: 0px 20px -20px 0px;--stc-mega-menu-item-title-padding: 0px 0px 15px 0px;--stc-mega-menu-group-margin: 18px 0px 0px 0px}",""]),t.exports=e},function(t,e,r){"use strict";r.r(e),r.d(e,"Button",(function(){return a})),r.d(e,"Grid",(function(){return rt})),r.d(e,"Search",(function(){return nt})),r.d(e,"CategoryList",(function(){return st})),r.d(e,"ToggleDropdown",(function(){return pt})),r.d(e,"Logo",(function(){return ft})),r.d(e,"Tooltip",(function(){return et})),r.d(e,"SuggestionList",(function(){return mt})),r.d(e,"Toaster",(function(){return vt})),r.d(e,"SiteOrder",(function(){return bt})),r.d(e,"SiteType",(function(){return xt})),r.d(e,"NoResultFound",(function(){return Et})),r.d(e,"MegaMenu",(function(){return wt})),r.d(e,"PremiumBadge",(function(){return Ct})),r.d(e,"SiteBusinessType",(function(){return St}));var n=r(0),i=r.n(n),a=(r(6),function(t){var e=t.children;return i.a.createElement("button",{className:"stc-button"},e)});let s;function o(t){if("string"!=typeof t||-1===t.indexOf("&"))return t;void 0===s&&(s=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),s.innerHTML=t;const e=s.textContent;return s.innerHTML="",e}var l=r(4),c=r.n(l),u=r(5),h=r.n(u);const p=c()(console.error);var f,d,m,g;f={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},d=["(","?"],m={")":["("],":":["?","?:"]},g=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var y={"!":function(t){return!t},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"==":function(t,e){return t===e},"!=":function(t,e){return t!==e},"&&":function(t,e){return t&&e},"||":function(t,e){return t||e},"?:":function(t,e,r){if(t)throw e;return r}},v={contextDelimiter:"",onMissingKey:null};function b(t,e){var r;for(r in this.data=t,this.pluralForms={},this.options={},v)this.options[r]=void 0!==e&&r in e?e[r]:v[r]}b.prototype.getPluralForm=function(t,e){var r,n,i,a,s=this.pluralForms[t];return s||("function"!=typeof(i=(r=this.data[t][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(t){var e,r,n;for(e=t.split(";"),r=0;r<e.length;r++)if(0===(n=e[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),a=function(t){var e=function(t){for(var e,r,n,i,a=[],s=[];e=t.match(g);){for(r=e[0],(n=t.substr(0,e.index).trim())&&a.push(n);i=s.pop();){if(m[r]){if(m[r][0]===i){r=m[r][1]||r;break}}else if(d.indexOf(i)>=0||f[i]<f[r]){s.push(i);break}a.push(i)}m[r]||s.push(r),t=t.substr(e.index+r.length)}return(t=t.trim())&&a.push(t),a.concat(s.reverse())}(t);return function(t){return function(t,e){var r,n,i,a,s,o,l=[];for(r=0;r<t.length;r++){if(s=t[r],a=y[s]){for(n=a.length,i=Array(n);n--;)i[n]=l.pop();try{o=a.apply(null,i)}catch(t){return t}}else o=e.hasOwnProperty(s)?e[s]:+s;l.push(o)}return l[0]}(e,t)}}(n),i=function(t){return+a({n:t})}),s=this.pluralForms[t]=i),s(e)},b.prototype.dcnpgettext=function(t,e,r,n,i){var a,s,o;return a=void 0===i?0:this.getPluralForm(t,i),s=r,e&&(s=e+this.options.contextDelimiter+r),(o=this.data[t][s])&&o[a]?o[a]:(this.options.onMissingKey&&this.options.onMissingKey(r,t),0===a?r:n)};const x={"":{plural_forms:t=>1===t?0:1}},E=/^i18n\.(n?gettext|has_translation)(_|$)/;var k=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},w=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},C=function(t,e){return function(r,n,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const s=t[e];if(!w(r))return;if(!k(n))return;if("function"!=typeof i)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const o={callback:i,priority:a,namespace:n};if(s[r]){const t=s[r].handlers;let e;for(e=t.length;e>0&&!(a>=t[e-1].priority);e--);e===t.length?t[e]=o:t.splice(e,0,o),s.__current.forEach(t=>{t.name===r&&t.currentIndex>=e&&t.currentIndex++})}else s[r]={handlers:[o],runs:0};"hookAdded"!==r&&t.doAction("hookAdded",r,n,i,a)}},A=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n,i){const a=t[e];if(!w(n))return;if(!r&&!k(i))return;if(!a[n])return 0;let s=0;if(r)s=a[n].handlers.length,a[n]={runs:a[n].runs,handlers:[]};else{const t=a[n].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===i&&(t.splice(e,1),s++,a.__current.forEach(t=>{t.name===n&&t.currentIndex>=e&&t.currentIndex--}))}return"hookRemoved"!==n&&t.doAction("hookRemoved",n,i),s}},S=function(t,e){return function(r,n){const i=t[e];return void 0!==n?r in i&&i[r].handlers.some(t=>t.namespace===n):r in i}},P=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n){const i=t[e];i[n]||(i[n]={handlers:[],runs:0}),i[n].runs++;const a=i[n].handlers;for(var s=arguments.length,o=new Array(s>1?s-1:0),l=1;l<s;l++)o[l-1]=arguments[l];if(!a||!a.length)return r?o[0]:void 0;const c={name:n,currentIndex:0};for(i.__current.push(c);c.currentIndex<a.length;){const t=a[c.currentIndex].callback.apply(null,o);r&&(o[0]=t),c.currentIndex++}return i.__current.pop(),r?o[0]:void 0}},O=function(t,e){return function(){var r,n;const i=t[e];return null!==(r=null===(n=i.__current[i.__current.length-1])||void 0===n?void 0:n.name)&&void 0!==r?r:null}},j=function(t,e){return function(r){const n=t[e];return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}},I=function(t,e){return function(r){const n=t[e];if(w(r))return n[r]&&n[r].runs?n[r].runs:0}};const _=new class{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=C(this,"actions"),this.addFilter=C(this,"filters"),this.removeAction=A(this,"actions"),this.removeFilter=A(this,"filters"),this.hasAction=S(this,"actions"),this.hasFilter=S(this,"filters"),this.removeAllActions=A(this,"actions",!0),this.removeAllFilters=A(this,"filters",!0),this.doAction=P(this,"actions"),this.applyFilters=P(this,"filters",!0),this.currentAction=O(this,"actions"),this.currentFilter=O(this,"filters"),this.doingAction=j(this,"actions"),this.doingFilter=j(this,"filters"),this.didAction=I(this,"actions"),this.didFilter=I(this,"filters")}},{addAction:F,addFilter:T,removeAction:D,removeFilter:M,hasAction:R,hasFilter:B,removeAllActions:V,removeAllFilters:L,doAction:N,applyFilters:z,currentAction:G,currentFilter:H,doingAction:Q,doingFilter:q,didAction:W,didFilter:X,actions:J,filters:Y}=_,U=((t,e,r)=>{const n=new b({}),i=new Set,a=()=>{i.forEach(t=>t())},s=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";n.data[e]={...x,...n.data[e],...t},n.data[e][""]={...x[""],...n.data[e][""]}},o=(t,e)=>{s(t,e),a()},l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return n.data[t]||s(void 0,t),n.dcnpgettext(t,e,r,i,a)},c=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return t},u=(t,e,n)=>{let i=l(n,e,t);return r?(i=r.applyFilters("i18n.gettext_with_context",i,t,e,n),r.applyFilters("i18n.gettext_with_context_"+c(n),i,t,e,n)):i};if(r){const t=t=>{E.test(t)&&a()};r.addAction("hookAdded","core/i18n",t),r.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return n.data[t]},setLocaleData:o,resetLocaleData:(t,e)=>{n.data={},n.pluralForms={},o(t,e)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,e)=>{let n=l(e,void 0,t);return r?(n=r.applyFilters("i18n.gettext",n,t,e),r.applyFilters("i18n.gettext_"+c(e),n,t,e)):n},_x:u,_n:(t,e,n,i)=>{let a=l(i,void 0,t,e,n);return r?(a=r.applyFilters("i18n.ngettext",a,t,e,n,i),r.applyFilters("i18n.ngettext_"+c(i),a,t,e,n,i)):a},_nx:(t,e,n,i,a)=>{let s=l(a,i,t,e,n);return r?(s=r.applyFilters("i18n.ngettext_with_context",s,t,e,n,i,a),r.applyFilters("i18n.ngettext_with_context_"+c(a),s,t,e,n,i,a)):s},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(t,e,i)=>{var a,s;const o=e?e+""+t:t;let l=!(null===(a=n.data)||void 0===a||null===(s=a[null!=i?i:"default"])||void 0===s||!s[o]);return r&&(l=r.applyFilters("i18n.has_translation",l,t,e,i),l=r.applyFilters("i18n.has_translation_"+c(i),l,t,e,i)),l}}})(0,0,_);U.getLocaleData.bind(U),U.setLocaleData.bind(U),U.resetLocaleData.bind(U),U.subscribe.bind(U);const K=U.__.bind(U);U._x.bind(U),U._n.bind(U),U._nx.bind(U),U.isRTL.bind(U),U.hasTranslation.bind(U);var Z={search:React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M17.7043 16.2848L14.3054 12.8958C15.402 11.4988 15.9971 9.77351 15.9948 7.99743C15.9948 6.41569 15.5258 4.86947 14.647 3.5543C13.7683 2.23913 12.5192 1.21408 11.0579 0.608771C9.59657 0.00346513 7.98855 -0.15491 6.43721 0.153672C4.88586 0.462254 3.46085 1.22393 2.34239 2.34239C1.22393 3.46085 0.462254 4.88586 0.153672 6.43721C-0.15491 7.98855 0.00346513 9.59657 0.608771 11.0579C1.21408 12.5192 2.23913 13.7683 3.5543 14.647C4.86947 15.5258 6.41569 15.9948 7.99743 15.9948C9.77351 15.9971 11.4988 15.402 12.8958 14.3054L16.2848 17.7043C16.3777 17.798 16.4883 17.8724 16.6101 17.9231C16.7319 17.9739 16.8626 18 16.9945 18C17.1265 18 17.2572 17.9739 17.379 17.9231C17.5008 17.8724 17.6114 17.798 17.7043 17.7043C17.798 17.6114 17.8724 17.5008 17.9231 17.379C17.9739 17.2572 18 17.1265 18 16.9945C18 16.8626 17.9739 16.7319 17.9231 16.6101C17.8724 16.4883 17.798 16.3777 17.7043 16.2848ZM1.99936 7.99743C1.99936 6.81112 2.35114 5.65146 3.01022 4.66508C3.66929 3.6787 4.60606 2.90991 5.70207 2.45593C6.79807 2.00196 8.00408 1.88317 9.16759 2.11461C10.3311 2.34605 11.3999 2.91731 12.2387 3.75615C13.0775 4.595 13.6488 5.66375 13.8802 6.82726C14.1117 7.99077 13.9929 9.19678 13.5389 10.2928C13.0849 11.3888 12.3162 12.3256 11.3298 12.9846C10.3434 13.6437 9.18373 13.9955 7.99743 13.9955C6.40664 13.9955 4.88101 13.3636 3.75615 12.2387C2.6313 11.1138 1.99936 9.58821 1.99936 7.99743Z"})),cross:React.createElement("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),dropdown:React.createElement("svg",{viewBox:"0 0 6 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M2.68303 3.8635L0.132229 1.2304C-0.0440763 1.0484 -0.0440763 0.754114 0.132229 0.574056L0.556111 0.136496C0.732416 -0.0454985 1.01751 -0.0454985 1.19194 0.136496L3 2.0029L4.80806 0.136496C4.98437 -0.0454985 5.26946 -0.0454985 5.44389 0.136496L5.86777 0.574056C6.04408 0.75605 6.04408 1.05034 5.86777 1.2304L3.31697 3.8635C3.14442 4.0455 2.85933 4.0455 2.68303 3.8635Z",fillOpacity:"0.6"})),favorite:React.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),close:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})),success:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 1792 1792",fill:"#44C997",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"})),error:React.createElement("svg",{"x-description":"Heroicon name: solid/x-circle",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})),toggle:React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1 2.05556C0.723858 2.05556 0.5 2.27941 0.5 2.55556C0.5 2.8317 0.723858 3.05556 1 3.05556V2.05556ZM15 3.05556C15.2761 3.05556 15.5 2.8317 15.5 2.55556C15.5 2.27941 15.2761 2.05556 15 2.05556V3.05556ZM1 7.5C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5V7.5ZM15 8.5C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5V8.5ZM1 12.9444C0.723858 12.9444 0.5 13.1683 0.5 13.4444C0.5 13.7206 0.723858 13.9444 1 13.9444V12.9444ZM15 13.9444C15.2761 13.9444 15.5 13.7206 15.5 13.4444C15.5 13.1683 15.2761 12.9444 15 12.9444V13.9444ZM1 3.05556H4.11111V2.05556H1V3.05556ZM15 2.05556H7.22222V3.05556H15V2.05556ZM1 8.5H10.3333V7.5H1V8.5ZM15 7.5H13.4444V8.5H15V7.5ZM1 13.9444H2.55556V12.9444H1V13.9444ZM15 12.9444H5.66667V13.9444H15V12.9444ZM6.72222 2.55556C6.72222 3.13852 6.24963 3.61111 5.66667 3.61111V4.61111C6.80192 4.61111 7.72222 3.69081 7.72222 2.55556H6.72222ZM5.66667 3.61111C5.0837 3.61111 4.61111 3.13852 4.61111 2.55556H3.61111C3.61111 3.69081 4.53141 4.61111 5.66667 4.61111V3.61111ZM4.61111 2.55556C4.61111 1.97259 5.0837 1.5 5.66667 1.5V0.5C4.53141 0.5 3.61111 1.4203 3.61111 2.55556H4.61111ZM5.66667 1.5C6.24963 1.5 6.72222 1.97259 6.72222 2.55556H7.72222C7.72222 1.4203 6.80192 0.5 5.66667 0.5V1.5ZM12.9444 8C12.9444 8.58297 12.4719 9.05556 11.8889 9.05556V10.0556C13.0241 10.0556 13.9444 9.13525 13.9444 8H12.9444ZM11.8889 9.05556C11.3059 9.05556 10.8333 8.58297 10.8333 8H9.83333C9.83333 9.13525 10.7536 10.0556 11.8889 10.0556V9.05556ZM10.8333 8C10.8333 7.41703 11.3059 6.94444 11.8889 6.94444V5.94444C10.7536 5.94444 9.83333 6.86475 9.83333 8H10.8333ZM11.8889 6.94444C12.4719 6.94444 12.9444 7.41703 12.9444 8H13.9444C13.9444 6.86475 13.0241 5.94444 11.8889 5.94444V6.94444ZM5.16667 13.4444C5.16667 14.0274 4.69408 14.5 4.11111 14.5V15.5C5.24636 15.5 6.16667 14.5797 6.16667 13.4444H5.16667ZM4.11111 14.5C3.52814 14.5 3.05556 14.0274 3.05556 13.4444H2.05556C2.05556 14.5797 2.97586 15.5 4.11111 15.5V14.5ZM3.05556 13.4444C3.05556 12.8615 3.52814 12.3889 4.11111 12.3889V11.3889C2.97586 11.3889 2.05556 12.3092 2.05556 13.4444H3.05556ZM4.11111 12.3889C4.69408 12.3889 5.16667 12.8615 5.16667 13.4444H6.16667C6.16667 12.3092 5.24636 11.3889 4.11111 11.3889V12.3889Z"}))};function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tt(t,e):void 0}}(t,e)||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 tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(8),r(10);var et=function(t){var e=t.children,r=t.content,a=$(Object(n.useState)(!1),2),s=a[0],o=a[1],l=$(Object(n.useState)(null),2),c=l[0],u=l[1],h=function(){u(setTimeout((function(){o(!1)}),50))};return i.a.createElement("div",{className:"stc-tooltip",onMouseEnter:function(){o(!0)},onMouseLeave:h},e,r?i.a.createElement("div",{className:"stc-tooltip-content ".concat(s?"stc-tooltip-visible":"stc-tooltip-hidden"),onMouseEnter:function(){clearTimeout(c)},onMouseLeave:h},r):null)},rt=function(t){var e=t.className,r=t.column,n=t.options,a=t.onClick,s=t.hasFavorite,l=t.onFavoriteClick,c=t.favoriteList,u=t.buttonLabel,h=t.enableNewUi;return n.length?i.a.createElement("div",{className:"\n\t\t\t\tstc-grid-wrap\t\t\t\t\n\t\t\t\tgrid-".concat(r||"3","\n\t\t\t\t").concat(null!=e?e:"","\n\t\t\t"),column:r},n.map((function(t,e){var r=!(!c||!c.length)&&c.includes("id-".concat(t.id)),n={};return t.image&&(n.backgroundImage="url(".concat(t.image,")")),i.a.createElement("div",{className:"stc-grid-item","data-id":t.id,key:e},i.a.createElement("div",{className:"stc-grid-item-inner"},t.badge?i.a.createElement(Ct,{badge:t.badge}):null,h?i.a.createElement("div",{className:"stc-grid-item-screenshot-wrap"},i.a.createElement("div",{className:"stc-grid-item-screenshot",style:n}),i.a.createElement("div",{className:"stc-grid-item-blur",onClick:function(e){"function"==typeof a&&a(e,t)}})):i.a.createElement("div",{className:"stc-grid-item-screenshot",style:n,onClick:function(e){"function"==typeof a&&a(e,t)}}),i.a.createElement("div",{className:"stc-grid-item-header"},i.a.createElement("div",{className:"stc-grid-item-title"},o(t.title)),t.desc?i.a.createElement("div",{className:"stc-grid-item-desc"},t.desc.substring(0,100)):null,null!=t&&t.link&&!h?i.a.createElement("div",{className:"stc-grid-item-hover-button-wrap"},i.a.createElement("a",{className:"stc-grid-item-hover-button",href:t.link,target:"_blank",rel:"noreferrer"},u)):null,s?i.a.createElement(et,{content:"".concat(r?"":K("Add to favorites"))},i.a.createElement("div",{className:"stc-grid-favorite ".concat(r?"active":""),onClick:function(e){"function"==typeof l&&l(e,t,!r)}},Z.favorite)):null),h?i.a.createElement("div",{className:"stc-grid-item-hover-button-wrapper"},i.a.createElement("div",{className:"st-template-page-builder-wrap",dangerouslySetInnerHTML:{__html:t.pageBuilder}}),i.a.createElement("div",{className:"stc-grid-item-hover-button-wrap"},i.a.createElement("a",{className:"stc-grid-item-hover-button",href:t.link,rel:"noreferrer"},u))):null))}))):""};r(12);var nt=Object(n.memo)((function(t){var e=t.apiUrl,r=t.onSearchResult,a=t.beforeSearchResult,s=t.onSearch,o=t.value,l=t.placeholder,c=t.onKeyUp,u=l||K("Search.."),h=Object(n.useRef)(null),p=function(t,e,r){var i=this,a=Object(n.useRef)(null),s=Object(n.useRef)(0),o=Object(n.useRef)(null),l=Object(n.useRef)([]),c=Object(n.useRef)(),u=Object(n.useRef)(),h=Object(n.useRef)(t),p=Object(n.useRef)(!0);h.current=t;var f=!e&&0!==e&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");e=+e||0;var d=!!(r=r||{}).leading,m=!("trailing"in r)||!!r.trailing,g="maxWait"in r,y=g?Math.max(+r.maxWait||0,e):null;return Object(n.useEffect)((function(){return p.current=!0,function(){p.current=!1}}),[]),Object(n.useMemo)((function(){var t=function(t){var e=l.current,r=c.current;return l.current=c.current=null,s.current=t,u.current=h.current.apply(r,e)},r=function(t,e){f&&cancelAnimationFrame(o.current),o.current=f?requestAnimationFrame(t):setTimeout(t,e)},n=function(t){if(!p.current)return!1;var r=t-a.current,n=t-s.current;return!a.current||r>=e||r<0||g&&n>=y},v=function(e){return o.current=null,m&&l.current?t(e):(l.current=c.current=null,u.current)},b=function(){var t=Date.now();if(n(t))return v(t);if(p.current){var i=t-a.current,o=t-s.current,l=e-i,c=g?Math.min(l,y-o):l;r(b,c)}},x=function(){for(var h=[],f=0;f<arguments.length;f++)h[f]=arguments[f];var m=Date.now(),y=n(m);if(l.current=h,c.current=i,a.current=m,y){if(!o.current&&p.current)return s.current=a.current,r(b,e),d?t(a.current):u.current;if(g)return r(b,e),t(a.current)}return o.current||r(b,e),u.current};return x.cancel=function(){o.current&&(f?cancelAnimationFrame(o.current):clearTimeout(o.current)),s.current=0,l.current=a.current=c.current=o.current=null},x.isPending=function(){return!!o.current},x.flush=function(){return o.current?v(Date.now()):u.current},x}),[d,g,e,y,m,f])}(Object(n.useCallback)((function(t){"function"==typeof a&&a(),t?fetch(e).then((function(t){return t.json()})).then((function(e){"function"==typeof r&&r(e,t)})):r({},t)}),[o]),300,{maxWait:2e3});return Object(n.useEffect)((function(){e&&p(o),o&&h.current.focus()}),[o]),i.a.createElement("div",{className:"stc-search ".concat(o?"stc-search-have-input":"")},i.a.createElement("input",{ref:h,className:"stc-search-input",type:"search",value:o,placeholder:u,onChange:function(t){"function"==typeof s&&s(t,t.target.value)},onKeyUp:function(t){"function"==typeof c&&c(t)}}),i.a.createElement("button",{className:"stc-search-icon"},Z.search),i.a.createElement("button",{className:"stc-cross-icon",onClick:function(t){"function"==typeof s&&(s(t,""),document.getElementsByClassName("stc-search-input")[0].focus())}},Z.cross))}));function it(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return at(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?at(t,e):void 0}}(t,e)||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 at(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(14);var st=Object(n.memo)((function(t){var e=t.options,r=t.value,a=t.onClick,s=t.limit,l="";void 0!==r?l=r:e.length&&(l=e[0].id);var c=it(Object(n.useState)(l),2),u=c[0],h=c[1],p=it(Object(n.useState)(!1),2),f=p[0],d=p[1],m=it(Object(n.useState)([]),2),g=m[0],y=m[1],v=it(Object(n.useState)(e),2),b=v[0],x=v[1];Object(n.useEffect)((function(){if(s){var t=e.slice(s,s+e.length),r=e.slice(0,s);t.length&&(t=t.map((function(t){return t.title=o(t.name),t}))),y(t),x(r)}}),[]),Object(n.useEffect)((function(){h(l)}),[r]);var E=function(t,e){"function"==typeof a&&a(t,e)};return i.a.createElement("div",{className:"stc-category-list"},b.length?i.a.createElement(i.a.Fragment,null,b.map((function(t,e){return i.a.createElement("div",{className:"stc-category-list-item ".concat((r=t.id,u===r?"active":"")),onClick:function(e){h(t.id),E(e,t)},key:e},i.a.createElement("span",{className:"stc-category-list-title"},o(t.name)));var r})),g.length?i.a.createElement(pt,{className:"stc-category-list-item stc-category-list-more",toggle:f,onToggle:function(t,e){d(e)},label:K("More"),value:u,options:g,onClick:function(t,e){d(!1),E(t,e)}}):null):i.a.createElement("span",null,K("No Categories")))}));function ot(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(r),!0).forEach((function(e){ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ut(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ht(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ht(t,e):void 0}}(t,e)||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 ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(16);var pt=function(t){var e=t.label,r=t.options,a=t.className,s=t.value,o=t.onClick,l=ut(Object(n.useState)({option:{id:"",title:"",image:""}}),2),c=l[0],u=l[1],h=ut(Object(n.useState)(!1),2),p=h[0],f=h[1],d=Object(n.useRef)(),m=function(t){d&&!d.current.contains(t.target)&&f(!1)};return Object(n.useEffect)((function(){var t={id:"",title:"",image:""};r.map((function(e){return s===e.id&&(t=e),t})),u(lt(lt({},c),{},{option:t}))}),[s]),Object(n.useEffect)((function(){return document.querySelector("body").addEventListener("click",m),function(){return document.querySelector("body").removeEventListener("click",m)}}),[]),r.length?i.a.createElement("div",{ref:d,className:"stc-toggle-dropdown ".concat(a)},i.a.createElement("div",{className:"stc-toggle-dropdown-selected",onClick:function(){f(!p)}},e&&""===c.option.title?e:i.a.createElement(i.a.Fragment,null,c.option.image?i.a.createElement(ft,{text:c.option.title,src:c.option.image}):c.option.title),Z.dropdown),p&&i.a.createElement("div",{className:"stc-toggle-dropdown-popup"},i.a.createElement("div",{className:"stc-toggle-dropdown-popup-content"},r.map((function(t,e){return i.a.createElement("div",{className:"stc-toggle-dropdown-popup-item ".concat(c.option.id===t.id?"active":""),onClick:function(e){u(lt(lt({},c),{},{option:t})),"function"==typeof o&&(o(e,t),f(!1))},key:e},t.image?i.a.createElement(ft,{text:t.title,src:t.image}):t.title)}))))):""},ft=(r(18),function(t){var e=t.className,r=t.text,n=t.src,a=t.alt,s=t.onClick,o=t.href;return r||n?i.a.createElement("span",{className:"stc-logo ".concat(e||""),onClick:function(t){"function"==typeof s&&s(t)}},n?i.a.createElement(i.a.Fragment,null,o?i.a.createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer"},i.a.createElement("img",{src:n,className:"stc-logo-image",alt:a})):i.a.createElement("img",{src:n,className:"stc-logo-image",alt:a})):null,r?i.a.createElement("div",{className:"stc-logo-text",alt:a},r):null):""}),dt=(r(20),function(t){var e=t.value,r=t.options,n=t.onClick;return r.length?i.a.createElement("div",{className:"stc-suggestion-list"},r.map((function(t,r){var a=o(t).replace(new RegExp("("+e+")","gi"),'<span class="stc-suggestion-highlight">$1</span>');return i.a.createElement("div",{key:r,className:"stc-suggession",dangerouslySetInnerHTML:{__html:a},onClick:function(e){"function"==typeof n&&n(e,t)}})}))):""}),mt=Object(n.memo)(dt);function gt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(t){o=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return yt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(t,e):void 0}}(t,e)||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 yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(22);var vt=function(t){var e=t.type,r=t.message,a=t.autoHideDuration,s=void 0===a?3:a,o=t.topLeft,l=t.topRight,c=t.topCenter,u=t.bottomLeft,h=t.bottomRight,p=t.bottomCenter,f=t.leftCenter,d=t.style,m=gt(Object(n.useState)(!0),2),g=m[0],y=m[1],v=gt(Object(n.useState)(!1),2),b=v[0],x=v[1];setTimeout((function(){y(!1)}),1e3*s),g||setTimeout((function(){x(!0)}),500);var E=[o&&"top-left",l&&"top-right",c&&"top-center",u&&"bottom-left",h&&"bottom-right",p&&"bottom-center",f&&"left-center"].filter(Boolean).join("");return b?null:i.a.createElement("div",{className:"st-toaster ".concat(g?"visible":"hidden"," ").concat(E||""),style:d},i.a.createElement("div",{className:"content"},i.a.createElement("div",{className:"status-icon ".concat("error"===e?"failed":e)},Z[e]),i.a.createElement("div",{className:"message"},i.a.createElement("p",null,r))),i.a.createElement("div",{className:"toaster-close"},i.a.createElement("button",{className:"close-btn",onClick:function(t){t.stopPropagation(),y(!1)}},Z.close)))},bt=Object(n.memo)((function(t){var e=t.value,r=t.onClick;
|