Jetpack by WordPress.com - Version 9.0.3

Version Description

Release date: June 2, 2021

Security:

  • Carousel: prevent fetching comments from posts, and from attachments of private posts.
Download this release

Release Info

Developer jeherve
Plugin Icon 128x128 Jetpack by WordPress.com
Version 9.0.3
Comparing to
See all releases

Code changes from version 5.0.1 to 9.0.3

3rd-party/3rd-party.php CHANGED
@@ -1,16 +1,42 @@
1
  <?php
 
 
 
 
 
 
 
 
2
 
3
- /*
4
- * Placeholder to load 3rd party plugin tweaks until a legit system
5
- * is architected
6
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/buddypress.php' );
9
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/wpml.php' );
10
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/bitly.php' );
11
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/bbpress.php' );
12
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/woocommerce.php' );
 
13
 
14
- // We can't load this conditionally since polldaddy add the call in class constuctor.
15
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/polldaddy.php' );
16
- require_once( JETPACK__PLUGIN_DIR . '3rd-party/woocommerce-services.php' );
1
  <?php
2
+ /**
3
+ * Compatibility files for third-party plugins.
4
+ * This is used to improve compatibility of specific Jetpack features with third-party plugins.
5
+ *
6
+ * @package Jetpack
7
+ */
8
+
9
+ namespace Automattic\Jetpack;
10
 
11
+ /**
12
+ * Loads the individual 3rd-party compat files.
 
13
  */
14
+ function load_3rd_party() {
15
+ // Array of third-party compat files to always require.
16
+ $compat_files = array(
17
+ 'bbpress.php',
18
+ 'beaverbuilder.php',
19
+ 'bitly.php',
20
+ 'buddypress.php',
21
+ 'class.jetpack-amp-support.php',
22
+ 'class-jetpack-crm-data.php',
23
+ 'class.jetpack-modules-overrides.php', // Special case. Tools to be used to override module settings.
24
+ 'creative-mail.php',
25
+ 'debug-bar.php',
26
+ 'domain-mapping.php',
27
+ 'polldaddy.php',
28
+ 'qtranslate-x.php',
29
+ 'vaultpress.php',
30
+ 'wpml.php',
31
+ 'woocommerce.php',
32
+ 'woocommerce-services.php',
33
+ );
34
 
35
+ foreach ( $compat_files as $file ) {
36
+ if ( file_exists( JETPACK__PLUGIN_DIR . '/3rd-party/' . $file ) ) {
37
+ require_once JETPACK__PLUGIN_DIR . '/3rd-party/' . $file;
38
+ }
39
+ }
40
+ }
41
 
42
+ load_3rd_party();
 
 
3rd-party/bbpress.php CHANGED
@@ -1,4 +1,10 @@
1
  <?php
 
 
 
 
 
 
2
  add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
3
 
4
  /**
@@ -8,12 +14,37 @@ add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ens
8
  * @since 3.7.1
9
  */
10
  function jetpack_bbpress_compat() {
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  if ( function_exists( 'sharing_display' ) ) {
12
- add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
13
  add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
14
  add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
15
  }
16
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  /**
18
  * Use Photon for all images in Topics and replies.
19
  *
1
  <?php
2
+ /**
3
+ * Compatibility functions for bbpress.
4
+ *
5
+ * @package Jetpack
6
+ */
7
+
8
  add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
9
 
10
  /**
14
  * @since 3.7.1
15
  */
16
  function jetpack_bbpress_compat() {
17
+ if ( ! function_exists( 'bbpress' ) ) {
18
+ return;
19
+ }
20
+
21
+ /**
22
+ * Add compatibility layer for REST API.
23
+ *
24
+ * @since 8.5.0 Moved from root-level file and check_rest_api_compat()
25
+ */
26
+ require_once 'class-jetpack-bbpress-rest-api.php';
27
+ Jetpack_BbPress_REST_API::instance();
28
+
29
+ // Adds sharing buttons to bbPress items.
30
  if ( function_exists( 'sharing_display' ) ) {
31
+ add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
32
  add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
33
  add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
34
  }
35
 
36
+ /**
37
+ * Enable Markdown support for bbpress post types.
38
+ *
39
+ * @author Brandon Kraft
40
+ * @since 6.0.0
41
+ */
42
+ if ( function_exists( 'bbp_get_topic_post_type' ) ) {
43
+ add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
44
+ add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
45
+ add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
46
+ }
47
+
48
  /**
49
  * Use Photon for all images in Topics and replies.
50
  *
3rd-party/beaverbuilder.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Beaverbuilder Compatibility.
4
+ */
5
+ class Jetpack_BeaverBuilderCompat {
6
+
7
+ function __construct() {
8
+ add_action( 'init', array( $this, 'beaverbuilder_refresh' ) );
9
+ }
10
+
11
+ /**
12
+ * If masterbar module is active force BeaverBuilder to refresh when publishing a layout.
13
+ */
14
+ function beaverbuilder_refresh() {
15
+ if ( Jetpack::is_module_active( 'masterbar' ) ) {
16
+ add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' );
17
+ }
18
+ }
19
+ }
20
+ new Jetpack_BeaverBuilderCompat();
3rd-party/class-jetpack-bbpress-rest-api.php ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * REST API Compatibility: bbPress & Jetpack
4
+ * Enables bbPress to work with the Jetpack REST API
5
+ *
6
+ * @package Jetpack
7
+ */
8
+
9
+ /**
10
+ * REST API Compatibility: bbPress.
11
+ */
12
+ class Jetpack_BbPress_REST_API {
13
+
14
+ /**
15
+ * Singleton
16
+ *
17
+ * @var Jetpack_BbPress_REST_API.
18
+ */
19
+ private static $instance;
20
+
21
+ /**
22
+ * Returns or creates the singleton.
23
+ *
24
+ * @return Jetpack_BbPress_REST_API
25
+ */
26
+ public static function instance() {
27
+ if ( isset( self::$instance ) ) {
28
+ return self::$instance;
29
+ }
30
+
31
+ self::$instance = new self();
32
+ }
33
+
34
+ /**
35
+ * Jetpack_BbPress_REST_API constructor.
36
+ */
37
+ private function __construct() {
38
+ add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) );
39
+ add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 );
40
+ add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) );
41
+ }
42
+
43
+ /**
44
+ * Adds the bbPress post types to the rest_api_allowed_post_types filter.
45
+ *
46
+ * @param array $allowed_post_types Allowed post types.
47
+ *
48
+ * @return array
49
+ */
50
+ public function allow_bbpress_post_types( $allowed_post_types ) {
51
+ $allowed_post_types[] = 'forum';
52
+ $allowed_post_types[] = 'topic';
53
+ $allowed_post_types[] = 'reply';
54
+ return $allowed_post_types;
55
+ }
56
+
57
+ /**
58
+ * Adds the bbpress meta keys to the rest_api_allowed_public_metadata filter.
59
+ *
60
+ * @param array $allowed_meta_keys Allowed meta keys.
61
+ *
62
+ * @return array
63
+ */
64
+ public function allow_bbpress_public_metadata( $allowed_meta_keys ) {
65
+ $allowed_meta_keys[] = '_bbp_forum_id';
66
+ $allowed_meta_keys[] = '_bbp_topic_id';
67
+ $allowed_meta_keys[] = '_bbp_status';
68
+ $allowed_meta_keys[] = '_bbp_forum_type';
69
+ $allowed_meta_keys[] = '_bbp_forum_subforum_count';
70
+ $allowed_meta_keys[] = '_bbp_reply_count';
71
+ $allowed_meta_keys[] = '_bbp_total_reply_count';
72
+ $allowed_meta_keys[] = '_bbp_topic_count';
73
+ $allowed_meta_keys[] = '_bbp_total_topic_count';
74
+ $allowed_meta_keys[] = '_bbp_topic_count_hidden';
75
+ $allowed_meta_keys[] = '_bbp_last_topic_id';
76
+ $allowed_meta_keys[] = '_bbp_last_reply_id';
77
+ $allowed_meta_keys[] = '_bbp_last_active_time';
78
+ $allowed_meta_keys[] = '_bbp_last_active_id';
79
+ $allowed_meta_keys[] = '_bbp_sticky_topics';
80
+ $allowed_meta_keys[] = '_bbp_voice_count';
81
+ $allowed_meta_keys[] = '_bbp_reply_count_hidden';
82
+ $allowed_meta_keys[] = '_bbp_anonymous_reply_count';
83
+
84
+ return $allowed_meta_keys;
85
+ }
86
+
87
+ /**
88
+ * Adds the needed caps to the bbp_map_meta_caps filter.
89
+ *
90
+ * @param array $caps Capabilities for meta capability.
91
+ * @param string $cap Capability name.
92
+ * @param int $user_id User id.
93
+ * @param array $args Arguments.
94
+ *
95
+ * @return array
96
+ */
97
+ public function adjust_meta_caps( $caps, $cap, $user_id, $args ) {
98
+
99
+ // Return early if not a REST request or if not meta bbPress caps.
100
+ if ( $this->should_adjust_meta_caps_return_early( $caps, $cap, $user_id, $args ) ) {
101
+ return $caps;
102
+ }
103
+
104
+ // $args[0] could be a post ID or a post_type string.
105
+ if ( is_int( $args[0] ) ) {
106
+ $_post = get_post( $args[0] );
107
+ if ( ! empty( $_post ) ) {
108
+ $post_type = get_post_type_object( $_post->post_type );
109
+ }
110
+ } elseif ( is_string( $args[0] ) ) {
111
+ $post_type = get_post_type_object( $args[0] );
112
+ }
113
+
114
+ // no post type found, bail.
115
+ if ( empty( $post_type ) ) {
116
+ return $caps;
117
+ }
118
+
119
+ // reset the needed caps.
120
+ $caps = array();
121
+
122
+ // Add 'do_not_allow' cap if user is spam or deleted.
123
+ if ( bbp_is_user_inactive( $user_id ) ) {
124
+ $caps[] = 'do_not_allow';
125
+
126
+ // Moderators can always edit meta.
127
+ } elseif ( user_can( $user_id, 'moderate' ) ) {
128
+ $caps[] = 'moderate';
129
+
130
+ // Unknown so map to edit_posts.
131
+ } else {
132
+ $caps[] = $post_type->cap->edit_posts;
133
+ }
134
+
135
+ return $caps;
136
+ }
137
+
138
+ /**
139
+ * Should adjust_meta_caps return early?
140
+ *
141
+ * @param array $caps Capabilities for meta capability.
142
+ * @param string $cap Capability name.
143
+ * @param int $user_id User id.
144
+ * @param array $args Arguments.
145
+ *
146
+ * @return bool
147
+ */
148
+ private function should_adjust_meta_caps_return_early( $caps, $cap, $user_id, $args ) {
149
+ // only run for REST API requests.
150
+ if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
151
+ return true;
152
+ }
153
+
154
+ // only modify caps for meta caps and for bbPress meta keys.
155
+ if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ), true ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) {
156
+ return true;
157
+ }
158
+
159
+ return false;
160
+ }
161
+ }
3rd-party/class-jetpack-crm-data.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Compatibility functions for the Jetpack CRM plugin.
4
+ *
5
+ * @since 9.0.0
6
+ *
7
+ * @package Jetpack
8
+ */
9
+
10
+ namespace Automattic\Jetpack;
11
+
12
+ /**
13
+ * Provides Jetpack CRM plugin data.
14
+ */
15
+ class Jetpack_CRM_Data {
16
+
17
+ const JETPACK_CRM_PLUGIN_SLUG = 'zero-bs-crm/ZeroBSCRM.php';
18
+
19
+ /**
20
+ * Provides Jetpack CRM plugin data for use in the Contact Form block sidebar menu.
21
+ *
22
+ * @return array An array containing the Jetpack CRM plugin data.
23
+ */
24
+ public function get_crm_data() {
25
+ jetpack_require_lib( 'plugins' );
26
+ $plugins = \Jetpack_Plugins::get_plugins();
27
+
28
+ // Set default values.
29
+ $response = array(
30
+ 'crm_installed' => false,
31
+ 'crm_active' => false,
32
+ 'crm_version' => null,
33
+ 'jp_form_ext_enabled' => null,
34
+ 'can_install_crm' => false,
35
+ 'can_activate_crm' => false,
36
+ 'can_activate_extension' => false,
37
+ );
38
+
39
+ if ( isset( $plugins[ self::JETPACK_CRM_PLUGIN_SLUG ] ) ) {
40
+ $response['crm_installed'] = true;
41
+
42
+ $crm_data = $plugins[ self::JETPACK_CRM_PLUGIN_SLUG ];
43
+
44
+ $response['crm_active'] = $crm_data['active'];
45
+ $response['crm_version'] = $crm_data['Version'];
46
+
47
+ if ( $response['crm_active'] ) {
48
+ if ( function_exists( 'zeroBSCRM_isExtensionInstalled' ) ) {
49
+ $response['jp_form_ext_enabled'] = zeroBSCRM_isExtensionInstalled( 'jetpackforms' );
50
+ }
51
+ }
52
+ }
53
+
54
+ $response['can_install_crm'] = $response['crm_installed'] ? false : current_user_can( 'install_plugins' );
55
+ $response['can_activate_crm'] = $response['crm_active'] ? false : current_user_can( 'activate_plugins' );
56
+
57
+ if ( $response['crm_active'] && function_exists( 'zeroBSCRM_extension_install_jetpackforms' ) ) {
58
+ $response['can_activate_extension'] = current_user_can( 'admin_zerobs_manage_options' );
59
+ }
60
+
61
+ return $response;
62
+ }
63
+
64
+ /**
65
+ * Activates Jetpack CRM's Jetpack Forms extension. This is used by a button in the Jetpack Contact Form
66
+ * sidebar menu.
67
+ *
68
+ * @return true|WP_Error Returns true if activation is success, else returns a WP_Error object.
69
+ */
70
+ public function activate_crm_jetpackforms_extension() {
71
+ if ( function_exists( 'zeroBSCRM_extension_install_jetpackforms' ) ) {
72
+ return zeroBSCRM_extension_install_jetpackforms();
73
+ }
74
+
75
+ return new WP_Error( 'jp_forms_extension_activation_failed', esc_html__( 'The Jetpack Forms extension could not be activated.', 'jetpack' ) );
76
+ }
77
+ }
3rd-party/class.jetpack-amp-support.php ADDED
@@ -0,0 +1,533 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
+
3
+ use Automattic\Jetpack\Sync\Functions;
4
+
5
+ /**
6
+ * Manages compatibility with the amp-wp plugin
7
+ *
8
+ * @see https://github.com/Automattic/amp-wp
9
+ */
10
+ class Jetpack_AMP_Support {
11
+
12
+ /**
13
+ * Apply custom AMP changes on the front-end.
14
+ */
15
+ public static function init() {
16
+
17
+ // Add Stats tracking pixel on Jetpack sites when the Stats module is active.
18
+ if (
19
+ Jetpack::is_module_active( 'stats' )
20
+ && ! ( defined( 'IS_WPCOM' ) && IS_WPCOM )
21
+ ) {
22
+ add_action( 'amp_post_template_footer', array( 'Jetpack_AMP_Support', 'add_stats_pixel' ) );
23
+ }
24
+
25
+ /**
26
+ * Remove this during the init hook in case users have enabled it during
27
+ * the after_setup_theme hook, which triggers before init.
28
+ */
29
+ remove_theme_support( 'jetpack-devicepx' );
30
+
31
+ // Sharing.
32
+ add_filter( 'jetpack_sharing_display_markup', array( 'Jetpack_AMP_Support', 'render_sharing_html' ), 10, 2 );
33
+ add_filter( 'sharing_enqueue_scripts', array( 'Jetpack_AMP_Support', 'amp_disable_sharedaddy_css' ) );
34
+ add_action( 'wp_enqueue_scripts', array( 'Jetpack_AMP_Support', 'amp_enqueue_sharing_css' ) );
35
+
36
+ // Sharing for Reader mode.
37
+ if ( function_exists( 'jetpack_social_menu_include_svg_icons' ) ) {
38
+ add_action( 'amp_post_template_footer', 'jetpack_social_menu_include_svg_icons' );
39
+ }
40
+ add_action( 'amp_post_template_css', array( 'Jetpack_AMP_Support', 'amp_reader_sharing_css' ), 10, 0 );
41
+
42
+ // enforce freedom mode for videopress.
43
+ add_filter( 'videopress_shortcode_options', array( 'Jetpack_AMP_Support', 'videopress_enable_freedom_mode' ) );
44
+
45
+ // include Jetpack og tags when rendering native AMP head.
46
+ add_action( 'amp_post_template_head', array( 'Jetpack_AMP_Support', 'amp_post_jetpack_og_tags' ) );
47
+
48
+ // Post rendering changes for legacy AMP.
49
+ add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
50
+
51
+ // Disable Comment Likes.
52
+ add_filter( 'jetpack_comment_likes_enabled', array( 'Jetpack_AMP_Support', 'comment_likes_enabled' ) );
53
+
54
+ // Transitional mode AMP should not have comment likes.
55
+ add_filter( 'the_content', array( 'Jetpack_AMP_Support', 'disable_comment_likes_before_the_content' ) );
56
+
57
+ // Remove the Likes button from the admin bar.
58
+ add_filter( 'jetpack_admin_bar_likes_enabled', array( 'Jetpack_AMP_Support', 'disable_likes_admin_bar' ) );
59
+
60
+ // Add post template metadata for legacy AMP.
61
+ add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
62
+
63
+ // Filter photon image args for AMP Stories.
64
+ add_filter( 'jetpack_photon_post_image_args', array( 'Jetpack_AMP_Support', 'filter_photon_post_image_args_for_stories' ), 10, 2 );
65
+
66
+ // Sync the amp-options.
67
+ add_filter( 'jetpack_options_whitelist', array( 'Jetpack_AMP_Support', 'filter_jetpack_options_safelist' ) );
68
+ }
69
+
70
+ /**
71
+ * Disable the Comment Likes feature on AMP views.
72
+ *
73
+ * @param bool $enabled Should comment likes be enabled.
74
+ */
75
+ public static function comment_likes_enabled( $enabled ) {
76
+ return $enabled && ! self::is_amp_request();
77
+ }
78
+
79
+ /**
80
+ * Apply custom AMP changes in wp-admin.
81
+ */
82
+ public static function admin_init() {
83
+ // disable Likes metabox for post editor if AMP canonical disabled.
84
+ add_filter( 'post_flair_disable', array( 'Jetpack_AMP_Support', 'is_amp_canonical' ), 99 );
85
+ }
86
+
87
+ /**
88
+ * Is the page in AMP 'canonical mode'.
89
+ * Used when themes register support for AMP with `add_theme_support( 'amp' )`.
90
+ *
91
+ * @return bool is_amp_canonical
92
+ */
93
+ public static function is_amp_canonical() {
94
+ return function_exists( 'amp_is_canonical' ) && amp_is_canonical();
95
+ }
96
+
97
+ /**
98
+ * Does the page return AMP content.
99
+ *
100
+ * @return bool $is_amp_request Are we on am AMP view.
101
+ */
102
+ public static function is_amp_request() {
103
+ $is_amp_request = ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() );
104
+
105
+ /**
106
+ * Returns true if the current request should return valid AMP content.
107
+ *
108
+ * @since 6.2.0
109
+ *
110
+ * @param boolean $is_amp_request Is this request supposed to return valid AMP content?
111
+ */
112
+ return apply_filters( 'jetpack_is_amp_request', $is_amp_request );
113
+ }
114
+
115
+ /**
116
+ * Remove content filters added by Jetpack.
117
+ */
118
+ public static function amp_disable_the_content_filters() {
119
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
120
+ add_filter( 'videopress_show_2015_player', '__return_true' );
121
+ add_filter( 'protected_embeds_use_form_post', '__return_false' );
122
+ remove_filter( 'the_title', 'widont' );
123
+ }
124
+
125
+ remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'filter' ), 11 );
126
+ remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
127
+ }
128
+
129
+ /**
130
+ * Do not add comment likes on AMP requests.
131
+ *
132
+ * @param string $content Post content.
133
+ */
134
+ public static function disable_comment_likes_before_the_content( $content ) {
135
+ if ( self::is_amp_request() ) {
136
+ remove_filter( 'comment_text', 'comment_like_button', 12, 2 );
137
+ }
138
+ return $content;
139
+ }
140
+
141
+ /**
142
+ * Do not display the Likes' Admin bar on AMP requests.
143
+ *
144
+ * @param bool $is_admin_bar_button_visible Should the Like button be visible in the Admin bar. Default to true.
145
+ */
146
+ public static function disable_likes_admin_bar( $is_admin_bar_button_visible ) {
147
+ if ( self::is_amp_request() ) {
148
+ return false;
149
+ }
150
+ return $is_admin_bar_button_visible;
151
+ }
152
+
153
+ /**
154
+ * Add Jetpack stats pixel.
155
+ *
156
+ * @since 6.2.1
157
+ */
158
+ public static function add_stats_pixel() {
159
+ if ( ! has_action( 'wp_footer', 'stats_footer' ) ) {
160
+ return;
161
+ }
162
+ stats_render_amp_footer( stats_build_view_data() );
163
+ }
164
+
165
+ /**
166
+ * Add publisher and image metadata to legacy AMP post.
167
+ *
168
+ * @since 6.2.0
169
+ *
170
+ * @param array $metadata Metadata array.
171
+ * @param WP_Post $post Post.
172
+ * @return array Modified metadata array.
173
+ */
174
+ public static function amp_post_template_metadata( $metadata, $post ) {
175
+ if ( isset( $metadata['publisher'] ) && ! isset( $metadata['publisher']['logo'] ) ) {
176
+ $metadata = self::add_site_icon_to_metadata( $metadata );
177
+ }
178
+
179
+ if ( ! isset( $metadata['image'] ) ) {
180
+ $metadata = self::add_image_to_metadata( $metadata, $post );
181
+ }
182
+
183
+ return $metadata;
184
+ }
185
+
186
+ /**
187
+ * Add blavatar to legacy AMP post metadata.
188
+ *
189
+ * @since 6.2.0
190
+ *
191
+ * @param array $metadata Metadata.
192
+ *
193
+ * @return array Metadata.
194
+ */
195
+ private static function add_site_icon_to_metadata( $metadata ) {
196
+ $size = 60;
197
+ $site_icon_url = class_exists( 'Automattic\\Jetpack\\Sync\\Functions' ) ? Functions::site_icon_url( $size ) : '';
198
+
199
+ if ( function_exists( 'blavatar_domain' ) ) {
200
+ $metadata['publisher']['logo'] = array(
201
+ '@type' => 'ImageObject',
202
+ 'url' => blavatar_url( blavatar_domain( site_url() ), 'img', $size, self::staticize_subdomain( 'https://wordpress.com/i/favicons/apple-touch-icon-60x60.png' ) ),
203
+ 'width' => $size,
204
+ 'height' => $size,
205
+ );
206
+ } elseif ( $site_icon_url ) {
207
+ $metadata['publisher']['logo'] = array(
208
+ '@type' => 'ImageObject',
209
+ 'url' => $site_icon_url,
210
+ 'width' => $size,
211
+ 'height' => $size,
212
+ );
213
+ }
214
+
215
+ return $metadata;
216
+ }
217
+
218
+ /**
219
+ * Add image to legacy AMP post metadata.
220
+ *
221
+ * @since 6.2.0
222
+ *
223
+ * @param array $metadata Metadata.
224
+ * @param WP_Post $post Post.
225
+ * @return array Metadata.
226
+ */
227
+ private static function add_image_to_metadata( $metadata, $post ) {
228
+ $image = Jetpack_PostImages::get_image(
229
+ $post->ID,
230
+ array(
231
+ 'fallback_to_avatars' => true,
232
+ 'avatar_size' => 200,
233
+ // AMP already attempts these.
234
+ 'from_thumbnail' => false,
235
+ 'from_attachment' => false,
236
+ )
237
+ );
238
+
239
+ if ( empty( $image ) ) {
240
+ return self::add_fallback_image_to_metadata( $metadata );
241
+ }
242
+
243
+ if ( ! isset( $image['src_width'] ) ) {
244
+ $dimensions = self::extract_image_dimensions_from_getimagesize(
245
+ array(
246
+ $image['src'] => false,
247
+ )
248
+ );
249
+
250
+ if ( false !== $dimensions[ $image['src'] ] ) {
251
+ $image['src_width'] = $dimensions['width'];
252
+ $image['src_height'] = $dimensions['height'];
253
+ }
254
+ }
255
+
256
+ $metadata['image'] = array(
257
+ '@type' => 'ImageObject',
258
+ 'url' => $image['src'],
259
+ );
260
+ if ( isset( $image['src_width'] ) ) {
261
+ $metadata['image']['width'] = $image['src_width'];
262
+ }
263
+ if ( isset( $image['src_width'] ) ) {
264
+ $metadata['image']['height'] = $image['src_height'];
265
+ }
266
+
267
+ return $metadata;
268
+ }
269
+
270
+ /**
271
+ * Add fallback image to legacy AMP post metadata.
272
+ *
273
+ * @since 6.2.0
274
+ *
275
+ * @param array $metadata Metadata.
276
+ * @return array Metadata.
277
+ */
278
+ private static function add_fallback_image_to_metadata( $metadata ) {
279
+ /** This filter is documented in functions.opengraph.php */
280
+ $default_image = apply_filters( 'jetpack_open_graph_image_default', 'https://wordpress.com/i/blank.jpg' );
281
+
282
+ $metadata['image'] = array(
283
+ '@type' => 'ImageObject',
284
+ 'url' => self::staticize_subdomain( $default_image ),
285
+ 'width' => 200,
286
+ 'height' => 200,
287
+ );
288
+
289
+ return $metadata;
290
+ }
291
+
292
+ /**
293
+ * Return static WordPress.com domain to use to load resources from WordPress.com.
294
+ *
295
+ * @param string $domain Asset URL.
296
+ */
297
+ private static function staticize_subdomain( $domain ) {
298
+ // deal with WPCOM vs Jetpack.
299
+ if ( function_exists( 'staticize_subdomain' ) ) {
300
+ return staticize_subdomain( $domain );
301
+ } else {
302
+ return Jetpack::staticize_subdomain( $domain );
303
+ }
304
+ }
305
+
306
+ /**
307
+ * Extract image dimensions via wpcom/imagesize, only on WPCOM
308
+ *
309
+ * @since 6.2.0
310
+ *
311
+ * @param array $dimensions Dimensions.
312
+ * @return array Dimensions.
313
+ */
314
+ private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
315
+ if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'jetpack_require_lib' ) ) ) {
316
+ return $dimensions;
317
+ }
318
+ jetpack_require_lib( 'wpcom/imagesize' );
319
+
320
+ foreach ( $dimensions as $url => $value ) {
321
+ if ( is_array( $value ) ) {
322
+ continue;
323
+ }
324
+ $result = wpcom_getimagesize( $url );
325
+ if ( is_array( $result ) ) {
326
+ $dimensions[ $url ] = array(
327
+ 'width' => $result[0],
328
+ 'height' => $result[1],
329
+ );
330
+ }
331
+ }
332
+
333
+ return $dimensions;
334
+ }
335
+
336
+ /**
337
+ * Display Open Graph Meta tags in AMP views.
338
+ */
339
+ public static function amp_post_jetpack_og_tags() {
340
+ if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
341
+ Jetpack::init()->check_open_graph();
342
+ }
343
+
344
+ if ( function_exists( 'jetpack_og_tags' ) ) {
345
+ jetpack_og_tags();
346
+ }
347
+ }
348
+
349
+ /**
350
+ * Force Freedom mode in VideoPress.
351
+ *
352
+ * @param array $options Array of VideoPress shortcode options.
353
+ */
354
+ public static function videopress_enable_freedom_mode( $options ) {
355
+ if ( self::is_amp_request() ) {
356
+ $options['freedom'] = true;
357
+ }
358
+ return $options;
359
+ }
360
+
361
+ /**
362
+ * Display custom markup for the sharing buttons when in an AMP view.
363
+ *
364
+ * @param string $markup Content markup of the Jetpack sharing links.
365
+ * @param array $sharing_enabled Array of Sharing Services currently enabled.
366
+ */
367
+ public static function render_sharing_html( $markup, $sharing_enabled ) {
368
+ global $post;
369
+
370
+ if ( empty( $post ) ) {
371
+ return '';
372
+ }
373
+
374
+ if ( ! self::is_amp_request() ) {
375
+ return $markup;
376
+ }
377
+
378
+ remove_action( 'wp_footer', 'sharing_add_footer' );
379
+ if ( empty( $sharing_enabled ) ) {
380
+ return $markup;
381
+ }
382
+
383
+ $sharing_links = array();
384
+ foreach ( $sharing_enabled['visible'] as $id => $service ) {
385
+ $sharing_link = $service->get_amp_display( $post );
386
+ if ( ! empty( $sharing_link ) ) {
387
+ $sharing_links[] = $sharing_link;
388
+ }
389
+ }
390
+
391
+ // Replace the existing unordered list with AMP sharing buttons.
392
+ $markup = preg_replace( '#<ul>(.+)</ul>#', implode( '', $sharing_links ), $markup );
393
+
394
+ // Remove any lingering share-end list items.
395
+ $markup = str_replace( '<li class="share-end"></li>', '', $markup );
396
+
397
+ return $markup;
398
+ }
399
+
400
+ /**
401
+ * Tells Jetpack not to enqueue CSS for share buttons.
402
+ *
403
+ * @param bool $enqueue Whether or not to enqueue.
404
+ * @return bool Whether or not to enqueue.
405
+ */
406
+ public static function amp_disable_sharedaddy_css( $enqueue ) {
407
+ if ( self::is_amp_request() ) {
408
+ $enqueue = false;
409
+ }
410
+
411
+ return $enqueue;
412
+ }
413
+
414
+ /**
415
+ * Enqueues the AMP specific sharing styles for the sharing icons.
416
+ */
417
+ public static function amp_enqueue_sharing_css() {
418
+ if ( self::is_amp_request() ) {
419
+ wp_enqueue_style( 'sharedaddy-amp', plugin_dir_url( dirname( __FILE__ ) ) . 'modules/sharedaddy/amp-sharing.css', array( 'social-logos' ), JETPACK__VERSION );
420
+ }
421
+ }
422
+
423
+ /**
424
+ * For the AMP Reader mode template, include styles that we need.
425
+ */
426
+ public static function amp_reader_sharing_css() {
427
+ // If sharing is not enabled, we should not proceed to render the CSS.
428
+ if ( ! defined( 'JETPACK_SOCIAL_LOGOS_DIR' ) || ! defined( 'WP_SHARING_PLUGIN_DIR' ) ) {
429
+ return;
430
+ }
431
+
432
+ /*
433
+ * We'll need to output the full contents of the 2 files
434
+ * in the head on AMP views. We can't rely on regular enqueues here.
435
+ *
436
+ * phpcs:disable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
437
+ * phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
438
+ */
439
+ echo file_get_contents( JETPACK_SOCIAL_LOGOS_DIR . 'social-logos.css' );
440
+ echo file_get_contents( WP_SHARING_PLUGIN_DIR . 'amp-sharing.css' );
441
+
442
+ /*
443
+ * phpcs:enable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
444
+ * phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
445
+ */
446
+ }
447
+
448
+ /**
449
+ * Ensure proper Photon image dimensions for AMP Stories.
450
+ *
451
+ * @param array $args Array of Photon Arguments.
452
+ * @param array $details {
453
+ * Array of image details.
454
+ *
455
+ * @type string $tag Image tag (Image HTML output).
456
+ * @type string $src Image URL.
457
+ * @type string $src_orig Original Image URL.
458
+ * @type int|false $width Image width.
459
+ * @type int|false $height Image height.
460
+ * @type int|false $width_orig Original image width before constrained by content_width.
461
+ * @type int|false $height_orig Original Image height before constrained by content_width.
462
+ * @type string $transform_orig Original transform before constrained by content_width.
463
+ * }
464
+ * @return array Args.
465
+ */
466
+ public static function filter_photon_post_image_args_for_stories( $args, $details ) {
467
+ if ( ! is_singular( 'amp_story' ) ) {
468
+ return $args;
469
+ }
470
+
471
+ // Percentage-based dimensions are not allowed in AMP, so this shouldn't happen, but short-circuit just in case.
472
+ if ( false !== strpos( $details['width_orig'], '%' ) || false !== strpos( $details['height_orig'], '%' ) ) {
473
+ return $args;
474
+ }
475
+
476
+ $max_height = 1280; // See image size with the slug \AMP_Story_Post_Type::MAX_IMAGE_SIZE_SLUG.
477
+ $transform = $details['transform_orig'];
478
+ $width = $details['width_orig'];
479
+ $height = $details['height_orig'];
480
+
481
+ // If height is available, constrain to $max_height.
482
+ if ( false !== $height ) {
483
+ if ( $height > $max_height && false !== $height ) {
484
+ $width = ( $max_height * $width ) / $height;
485
+ $height = $max_height;
486
+ } elseif ( $height > $max_height ) {
487
+ $height = $max_height;
488
+ }
489
+ }
490
+
491
+ /*
492
+ * Set a height if none is found.
493
+ * If height is set in this manner and height is available, use `fit` instead of `resize` to prevent skewing.
494
+ */
495
+ if ( false === $height ) {
496
+ $height = $max_height;
497
+ if ( false !== $width ) {
498
+ $transform = 'fit';
499
+ }
500
+ }
501
+
502
+ // Build array of Photon args and expose to filter before passing to Photon URL function.
503
+ $args = array();
504
+
505
+ if ( false !== $width && false !== $height ) {
506
+ $args[ $transform ] = $width . ',' . $height;
507
+ } elseif ( false !== $width ) {
508
+ $args['w'] = $width;
509
+ } elseif ( false !== $height ) {
510
+ $args['h'] = $height;
511
+ }
512
+
513
+ return $args;
514
+ }
515
+
516
+ /**
517
+ * Adds amp-options to the list of options to sync, if AMP is available
518
+ *
519
+ * @param array $options_safelist Safelist of options to sync.
520
+ *
521
+ * @return array Updated options safelist
522
+ */
523
+ public static function filter_jetpack_options_safelist( $options_safelist ) {
524
+ if ( function_exists( 'is_amp_endpoint' ) ) {
525
+ $options_safelist[] = 'amp-options';
526
+ }
527
+ return $options_safelist;
528
+ }
529
+ }
530
+
531
+ add_action( 'init', array( 'Jetpack_AMP_Support', 'init' ), 1 );
532
+
533
+ add_action( 'admin_init', array( 'Jetpack_AMP_Support', 'admin_init' ), 1 );
3rd-party/class.jetpack-modules-overrides.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Provides methods for dealing with module overrides.
5
+ *
6
+ * @since 5.9.0
7
+ */
8
+ class Jetpack_Modules_Overrides {
9
+ /**
10
+ * Used to cache module overrides so that we minimize how many times we apply the
11
+ * option_jetpack_active_modules filter.
12
+ *
13
+ * @var null|array
14
+ */
15
+ private $overrides = null;
16
+
17
+ /**
18
+ * Clears the $overrides member used for caching.
19
+ *
20
+ * Since get_overrides() can be passed a falsey value to skip caching, this is probably
21
+ * most useful for clearing cache between tests.
22
+ *
23
+ * @return void
24
+ */
25
+ public function clear_cache() {
26
+ $this->overrides = null;
27
+ }
28
+
29
+ /**
30
+ * Returns true if there is a filter on the jetpack_active_modules option.
31
+ *
32
+ * @return bool Whether there is a filter on the jetpack_active_modules option.
33
+ */
34
+ public function do_overrides_exist() {
35
+ return (bool) ( has_filter( 'option_jetpack_active_modules' ) || has_filter( 'jetpack_active_modules' ) );
36
+ }
37
+
38
+ /**
39
+ * Gets the override for a given module.
40
+ *
41
+ * @param string $module_slug The module's slug.
42
+ * @param boolean $use_cache Whether or not cached overrides should be used.
43
+ *
44
+ * @return bool|string False if no override for module. 'active' or 'inactive' if there is an override.
45
+ */
46
+ public function get_module_override( $module_slug, $use_cache = true ) {
47
+ $overrides = $this->get_overrides( $use_cache );
48
+
49
+ if ( ! isset( $overrides[ $module_slug ] ) ) {
50
+ return false;
51
+ }
52
+
53
+ return $overrides[ $module_slug ];
54
+ }
55
+
56
+ /**
57
+ * Returns an array of module overrides where the key is the module slug and the value
58
+ * is true if the module is forced on and false if the module is forced off.
59
+ *
60
+ * @param bool $use_cache Whether or not cached overrides should be used.
61
+ *
62
+ * @return array The array of module overrides.
63
+ */
64
+ public function get_overrides( $use_cache = true ) {
65
+ if ( $use_cache && ! is_null( $this->overrides ) ) {
66
+ return $this->overrides;
67
+ }
68
+
69
+ if ( ! $this->do_overrides_exist() ) {
70
+ return array();
71
+ }
72
+
73
+ $available_modules = Jetpack::get_available_modules();
74
+
75
+ /**
76
+ * First, let's get all modules that have been forced on.
77
+ */
78
+
79
+ /** This filter is documented in wp-includes/option.php */
80
+ $filtered = apply_filters( 'option_jetpack_active_modules', array() );
81
+
82
+ /** This filter is documented in class.jetpack.php */
83
+ $filtered = apply_filters( 'jetpack_active_modules', $filtered );
84
+
85
+ $forced_on = array_diff( $filtered, array() );
86
+
87
+ /**
88
+ * Second, let's get all modules forced off.
89
+ */
90
+
91
+ /** This filter is documented in wp-includes/option.php */
92
+ $filtered = apply_filters( 'option_jetpack_active_modules', $available_modules );
93
+
94
+ /** This filter is documented in class.jetpack.php */
95
+ $filtered = apply_filters( 'jetpack_active_modules', $filtered );
96
+
97
+ $forced_off = array_diff( $available_modules, $filtered );
98
+
99
+ /**
100
+ * Last, build the return value.
101
+ */
102
+ $return_value = array();
103
+ foreach ( $forced_on as $on ) {
104
+ $return_value[ $on ] = 'active';
105
+ }
106
+
107
+ foreach ( $forced_off as $off ) {
108
+ $return_value[ $off ] = 'inactive';
109
+ }
110
+
111
+ $this->overrides = $return_value;
112
+
113
+ return $return_value;
114
+ }
115
+
116
+ /**
117
+ * A reference to an instance of this class.
118
+ *
119
+ * @var Jetpack_Modules_Overrides
120
+ */
121
+ private static $instance = null;
122
+
123
+ /**
124
+ * Returns the singleton instance of Jetpack_Modules_Overrides
125
+ *
126
+ * @return Jetpack_Modules_Overrides
127
+ */
128
+ public static function instance() {
129
+ if ( is_null( self::$instance ) ) {
130
+ self::$instance = new Jetpack_Modules_Overrides();
131
+ }
132
+
133
+ return self::$instance;
134
+ }
135
+
136
+ /**
137
+ * Private construct to enforce singleton.
138
+ */
139
+ private function __construct() {
140
+ }
141
+ }
142
+
143
+ Jetpack_Modules_Overrides::instance();
3rd-party/creative-mail.php ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Compatibility functions for the Creative Mail plugin.
4
+ * https://wordpress.org/plugins/creative-mail-by-constant-contact/
5
+ *
6
+ * @since 8.9.0
7
+ *
8
+ * @package Jetpack
9
+ */
10
+
11
+ namespace Automattic\Jetpack\Creative_Mail;
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit;
15
+ }
16
+
17
+ const PLUGIN_SLUG = 'creative-mail-by-constant-contact';
18
+ const PLUGIN_FILE = 'creative-mail-by-constant-contact/creative-mail-plugin.php';
19
+
20
+ add_action( 'admin_notices', __NAMESPACE__ . '\error_notice' );
21
+ add_action( 'admin_init', __NAMESPACE__ . '\try_install' );
22
+ add_action( 'jetpack_activated_plugin', __NAMESPACE__ . '\configure_plugin', 10, 2 );
23
+
24
+ /**
25
+ * Verify the intent to install Creative Mail, and kick off installation.
26
+ *
27
+ * This works in tandem with a JITM set up in the JITM package.
28
+ */
29
+ function try_install() {
30
+ if ( ! isset( $_GET['creative-mail-action'] ) ) {
31
+ return;
32
+ }
33
+
34
+ check_admin_referer( 'creative-mail-install' );
35
+
36
+ $result = false;
37
+ $redirect = admin_url( 'edit.php?post_type=feedback' );
38
+
39
+ // Attempt to install and activate the plugin.
40
+ if ( current_user_can( 'activate_plugins' ) ) {
41
+ switch ( $_GET['creative-mail-action'] ) {
42
+ case 'install':
43
+ $result = install_and_activate();
44
+ break;
45
+ case 'activate':
46
+ $result = activate();
47
+ break;
48
+ }
49
+ }
50
+
51
+ if ( $result ) {
52
+ /** This action is already documented in _inc/lib/class.core-rest-api-endpoints.php */
53
+ do_action( 'jetpack_activated_plugin', PLUGIN_FILE, 'jitm' );
54
+ $redirect = admin_url( 'admin.php?page=creativemail' );
55
+ } else {
56
+ $redirect = add_query_arg( 'creative-mail-install-error', true, $redirect );
57
+ }
58
+
59
+ wp_safe_redirect( $redirect );
60
+
61
+ exit;
62
+ }
63
+
64
+ /**
65
+ * Install and activate the Creative Mail plugin.
66
+ *
67
+ * @return bool result of installation
68
+ */
69
+ function install_and_activate() {
70
+ jetpack_require_lib( 'plugins' );
71
+ $result = \Jetpack_Plugins::install_and_activate_plugin( PLUGIN_SLUG );
72
+
73
+ if ( is_wp_error( $result ) ) {
74
+ return false;
75
+ } else {
76
+ return true;
77
+ }
78
+ }
79
+
80
+ /**
81
+ * Activate the Creative Mail plugin.
82
+ *
83
+ * @return bool result of activation
84
+ */
85
+ function activate() {
86
+ $result = activate_plugin( PLUGIN_FILE );
87
+
88
+ // Activate_plugin() returns null on success.
89
+ return is_null( $result );
90
+ }
91
+
92
+ /**
93
+ * Notify the user that the installation of Creative Mail failed.
94
+ */
95
+ function error_notice() {
96
+ if ( empty( $_GET['creative-mail-install-error'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
97
+ return;
98
+ }
99
+
100
+ ?>
101
+ <div class="notice notice-error is-dismissible">
102
+ <p><?php esc_html_e( 'There was an error installing Creative Mail.', 'jetpack' ); ?></p>
103
+ </div>
104
+ <?php
105
+ }
106
+
107
+ /**
108
+ * Set some options when first activating the plugin via Jetpack.
109
+ *
110
+ * @since 8.9.0
111
+ *
112
+ * @param string $plugin_file Plugin file.
113
+ * @param string $source Where did the plugin installation originate.
114
+ */
115
+ function configure_plugin( $plugin_file, $source ) {
116
+ if ( PLUGIN_FILE !== $plugin_file ) {
117
+ return;
118
+ }
119
+
120
+ $plugin_info = array(
121
+ 'plugin' => 'jetpack',
122
+ 'version' => JETPACK__VERSION,
123
+ 'time' => time(),
124
+ 'source' => esc_attr( $source ),
125
+ );
126
+
127
+ update_option( 'ce4wp_referred_by', $plugin_info );
128
+ }
3rd-party/debug-bar.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Checks if the search module is active, and if so, will initialize the singleton instance
5
+ * of Jetpack_Search_Debug_Bar and add it to the array of debug bar panels.
6
+ *
7
+ * @param array $panels The array of debug bar panels.
8
+ * @return array $panel The array of debug bar panels with our added panel.
9
+ */
10
+ function init_jetpack_search_debug_bar( $panels ) {
11
+ if ( ! Jetpack::is_module_active( 'search' ) ) {
12
+ return $panels;
13
+ }
14
+
15
+ require_once dirname( __FILE__ ) . '/debug-bar/class.jetpack-search-debug-bar.php';
16
+ $panels[] = Jetpack_Search_Debug_Bar::instance();
17
+ return $panels;
18
+ }
19
+ add_filter( 'debug_bar_panels', 'init_jetpack_search_debug_bar' );
3rd-party/debug-bar/class.jetpack-search-debug-bar.php ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Singleton class instantiated by Jetpack_Searc_Debug_Bar::instance() that handles
5
+ * rendering the Jetpack Search debug bar menu item and panel.
6
+ */
7
+ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
8
+ /**
9
+ * Holds singleton instance
10
+ *
11
+ * @var Jetpack_Search_Debug_Bar
12
+ */
13
+ protected static $instance = null;
14
+
15
+ /**
16
+ * The title to use in the debug bar navigation
17
+ *
18
+ * @var string
19
+ */
20
+ public $title;
21
+
22
+ /**
23
+ * Constructor
24
+ */
25
+ public function __construct() {
26
+ $this->title( esc_html__( 'Jetpack Search', 'jetpack' ) );
27
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
28
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
29
+ add_action( 'login_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
30
+ add_action( 'enqueue_embed_scripts', array( $this, 'enqueue_scripts' ) );
31
+ }
32
+
33
+ /**
34
+ * Returns the singleton instance of Jetpack_Search_Debug_Bar
35
+ *
36
+ * @return Jetpack_Search_Debug_Bar
37
+ */
38
+ public static function instance() {
39
+ if ( is_null( self::$instance ) ) {
40
+ self::$instance = new Jetpack_Search_Debug_Bar();
41
+ }
42
+ return self::$instance;
43
+ }
44
+
45
+ /**
46
+ * Enqueues styles for our panel in the debug bar
47
+ *
48
+ * @return void
49
+ */
50
+ public function enqueue_scripts() {
51
+ // Do not enqueue scripts if we haven't already enqueued Debug Bar or Query Monitor styles.
52
+ if ( ! wp_style_is( 'debug-bar' ) && ! wp_style_is( 'query-monitor' ) ) {
53
+ return;
54
+ }
55
+
56
+ wp_enqueue_style(
57
+ 'jetpack-search-debug-bar',
58
+ plugins_url( '3rd-party/debug-bar/debug-bar.css', JETPACK__PLUGIN_FILE )
59
+ );
60
+ wp_enqueue_script(
61
+ 'jetpack-search-debug-bar',
62
+ plugins_url( '3rd-party/debug-bar/debug-bar.js', JETPACK__PLUGIN_FILE ),
63
+ array( 'jquery' )
64
+ );
65
+ }
66
+
67
+ /**
68
+ * Should the Jetpack Search Debug Bar show?
69
+ *
70
+ * Since we've previously done a check for the search module being activated, let's just return true.
71
+ * Later on, we can update this to only show when `is_search()` is true.
72
+ *
73
+ * @return boolean
74
+ */
75
+ public function is_visible() {
76
+ return true;
77
+ }
78
+
79
+ /**
80
+ * Renders the panel content
81
+ *
82
+ * @return void
83
+ */
84
+ public function render() {
85
+ if ( ! class_exists( 'Jetpack_Search' ) ) {
86
+ return;
87
+ }
88
+
89
+ $jetpack_search = Jetpack_Search::instance();
90
+ $last_query_info = $jetpack_search->get_last_query_info();
91
+
92
+ // If not empty, let's reshuffle the order of some things.
93
+ if ( ! empty( $last_query_info ) ) {
94
+ $args = $last_query_info['args'];
95
+ $response = $last_query_info['response'];
96
+ $response_code = $last_query_info['response_code'];
97
+
98
+ unset( $last_query_info['args'] );
99
+ unset( $last_query_info['response'] );
100
+ unset( $last_query_info['response_code'] );
101
+
102
+ if ( is_null( $last_query_info['es_time'] ) ) {
103
+ $last_query_info['es_time'] = esc_html_x(
104
+ 'cache hit',
105
+ 'displayed in search results when results are cached',
106
+ 'jetpack'
107
+ );
108
+ }
109
+
110
+ $temp = array_merge(
111
+ array( 'response_code' => $response_code ),
112
+ array( 'args' => $args ),
113
+ $last_query_info,
114
+ array( 'response' => $response )
115
+ );
116
+
117
+ $last_query_info = $temp;
118
+ }
119
+ ?>
120
+ <div class="jetpack-search-debug-bar">
121
+ <h2><?php esc_html_e( 'Last query information:', 'jetpack' ); ?></h2>
122
+ <?php if ( empty( $last_query_info ) ) : ?>
123
+ <?php echo esc_html_x( 'None', 'Text displayed when there is no information', 'jetpack' ); ?>
124
+ <?php
125
+ else :
126
+ foreach ( $last_query_info as $key => $info ) :
127
+ ?>
128
+ <h3><?php echo esc_html( $key ); ?></h3>
129
+ <?php
130
+ if ( 'response' !== $key && 'args' !== $key ) :
131
+ ?>
132
+ <pre><?php print_r( esc_html( $info ) ); ?></pre>
133
+ <?php
134
+ else :
135
+ $this->render_json_toggle( $info );
136
+ endif;
137
+ ?>
138
+ <?php
139
+ endforeach;
140
+ endif;
141
+ ?>
142
+ </div><!-- Closes .jetpack-search-debug-bar -->
143
+ <?php
144
+ }
145
+
146
+ /**
147
+ * Responsible for rendering the HTML necessary for the JSON toggle
148
+ *
149
+ * @param array $value The resonse from the API as an array.
150
+ * @return void
151
+ */
152
+ public function render_json_toggle( $value ) {
153
+ ?>
154
+ <div class="json-toggle-wrap">
155
+ <pre class="json"><?php
156
+ // esc_html() will not double-encode entities (&amp; -> &amp;amp;).
157
+ // If any entities are part of the JSON blob, we want to re-encoode them
158
+ // (double-encode them) so that they are displayed correctly in the debug
159
+ // bar.
160
+ // Use _wp_specialchars() "manually" to ensure entities are encoded correctly.
161
+ echo _wp_specialchars(
162
+ wp_json_encode( $value ),
163
+ ENT_NOQUOTES, // Don't need to encode quotes (output is for a text node).
164
+ 'UTF-8', // wp_json_encode() outputs UTF-8 (really just ASCII), not the blog's charset.
165
+ true // Do "double-encode" existing HTML entities
166
+ );
167
+ ?></pre>
168
+ <span class="pretty toggle"><?php echo esc_html_x( 'Pretty', 'label for formatting JSON', 'jetpack' ); ?></span>
169
+ <span class="ugly toggle"><?php echo esc_html_x( 'Minify', 'label for formatting JSON', 'jetpack' ); ?></span>
170
+ </div>
171
+ <?php
172
+ }
173
+ }
3rd-party/debug-bar/debug-bar.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .jetpack-search-debug-bar h2,
2
+ .qm-debug-bar-output .jetpack-search-debug-bar h2 {
3
+ float: none !important;
4
+ padding: 0 !important;
5
+ text-align: left !important;
6
+ }
7
+
8
+ .qm-debug-bar-output .jetpack-search-debug-bar h2 {
9
+ margin-top: 1em !important;
10
+ }
11
+
12
+ .qm-debug-bar-output .jetpack-search-debug-bar h2:first-child {
13
+ margin-top: .5em !important;
14
+ }
15
+
16
+ .debug-menu-target h3 {
17
+ padding-top: 0
18
+ }
19
+
20
+ .jetpack-search-debug-output-toggle .print-r {
21
+ display: none;
22
+ }
23
+
24
+ .json-toggle-wrap {
25
+ position: relative;
26
+ }
27
+
28
+ .json-toggle-wrap .toggle {
29
+ position: absolute;
30
+ bottom: 10px;
31
+ right: 10px;
32
+ background: #fff;
33
+ border: 1px solid #000;
34
+ cursor: pointer;
35
+ padding: 2px 4px;
36
+ }
37
+
38
+ .json-toggle-wrap .ugly {
39
+ display: none;
40
+ }
41
+
42
+ .json-toggle-wrap.pretty .pretty {
43
+ display: none;
44
+ }
45
+
46
+ .json-toggle-wrap.pretty .ugly {
47
+ display: inline;
48
+ }
49
+
50
+ .jetpack-search-debug-bar pre {
51
+ white-space: pre-wrap;
52
+ white-space: -moz-pre-wrap;
53
+ white-space: -pre-wrap;
54
+ white-space: -o-pre-wrap;
55
+ word-wrap: break-word;
56
+ }
3rd-party/debug-bar/debug-bar.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* global jQuery, JSON */
2
+
3
+ ( function( $ ) {
4
+ $( document ).ready( function() {
5
+ $( '.jetpack-search-debug-bar .json-toggle-wrap .toggle' ).click( function() {
6
+ var t = $( this ),
7
+ wrap = t.closest( '.json-toggle-wrap' ),
8
+ pre = wrap.find( 'pre' ),
9
+ content = pre.text(),
10
+ isPretty = wrap.hasClass( 'pretty' );
11
+
12
+ if ( ! isPretty ) {
13
+ pre.text( JSON.stringify( JSON.parse( content ), null, 2 ) );
14
+ } else {
15
+ content.replace( '\t', '' ).replace( '\n', '' ).replace( ' ', '' );
16
+ pre.text( JSON.stringify( JSON.parse( content ) ) );
17
+ }
18
+
19
+ wrap.toggleClass( 'pretty' );
20
+ } );
21
+ } );
22
+ } )( jQuery );
3rd-party/domain-mapping.php ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use Automattic\Jetpack\Constants;
4
+
5
+ /**
6
+ * Class Jetpack_3rd_Party_Domain_Mapping
7
+ *
8
+ * This class contains methods that are used to provide compatibility between Jetpack sync and domain mapping plugins.
9
+ */
10
+ class Jetpack_3rd_Party_Domain_Mapping {
11
+
12
+ /**
13
+ * @var Jetpack_3rd_Party_Domain_Mapping
14
+ **/
15
+ private static $instance = null;
16
+
17
+ /**
18
+ * An array of methods that are used to hook the Jetpack sync filters for home_url and site_url to a mapping plugin.
19
+ *
20
+ * @var array
21
+ */
22
+ static $test_methods = array(
23
+ 'hook_wordpress_mu_domain_mapping',
24
+ 'hook_wpmu_dev_domain_mapping'
25
+ );
26
+
27
+ static function init() {
28
+ if ( is_null( self::$instance ) ) {
29
+ self::$instance = new Jetpack_3rd_Party_Domain_Mapping;
30
+ }
31
+
32
+ return self::$instance;
33
+ }
34
+
35
+ private function __construct() {
36
+ add_action( 'plugins_loaded', array( $this, 'attempt_to_hook_domain_mapping_plugins' ) );
37
+ }
38
+
39
+ /**
40
+ * This function is called on the plugins_loaded action and will loop through the $test_methods
41
+ * to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables.
42
+ */
43
+ function attempt_to_hook_domain_mapping_plugins() {
44
+ if ( ! Constants::is_defined( 'SUNRISE' ) ) {
45
+ return;
46
+ }
47
+
48
+ $hooked = false;
49
+ $count = count( self::$test_methods );
50
+ for ( $i = 0; $i < $count && ! $hooked; $i++ ) {
51
+ $hooked = call_user_func( array( $this, self::$test_methods[ $i ] ) );
52
+ }
53
+ }
54
+
55
+ /**
56
+ * This method will test for a constant and function that are known to be used with Donncha's WordPress MU
57
+ * Domain Mapping plugin. If conditions are met, we hook the domain_mapping_siteurl() function to Jetpack sync
58
+ * filters for home_url and site_url callables.
59
+ *
60
+ * @return bool
61
+ */
62
+ function hook_wordpress_mu_domain_mapping() {
63
+ if ( ! Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) {
64
+ return false;
65
+ }
66
+
67
+ add_filter( 'jetpack_sync_home_url', 'domain_mapping_siteurl' );
68
+ add_filter( 'jetpack_sync_site_url', 'domain_mapping_siteurl' );
69
+
70
+ return true;
71
+ }
72
+
73
+ /**
74
+ * This method will test for a class and method known to be used in WPMU Dev's domain mapping plugin. If the
75
+ * method exists, then we'll hook the swap_to_mapped_url() to our Jetpack sync filters for home_url and site_url.
76
+ *
77
+ * @return bool
78
+ */
79
+ function hook_wpmu_dev_domain_mapping() {
80
+ if ( ! $this->class_exists( 'domain_map' ) || ! $this->method_exists( 'domain_map', 'utils' ) ) {
81
+ return false;
82
+ }
83
+
84
+ $utils = $this->get_domain_mapping_utils_instance();
85
+ add_filter( 'jetpack_sync_home_url', array( $utils, 'swap_to_mapped_url' ) );
86
+ add_filter( 'jetpack_sync_site_url', array( $utils, 'swap_to_mapped_url' ) );
87
+
88
+ return true;
89
+ }
90
+
91
+ /*
92
+ * Utility Methods
93
+ *
94
+ * These methods are very minimal, and in most cases, simply pass on arguments. Why create them you ask?
95
+ * So that we can test.
96
+ */
97
+
98
+ public function method_exists( $class, $method ) {
99
+ return method_exists( $class, $method );
100
+ }
101
+
102
+ public function class_exists( $class ) {
103
+ return class_exists( $class );
104
+ }
105
+
106
+ public function function_exists( $function ) {
107
+ return function_exists( $function );
108
+ }
109
+
110
+ public function get_domain_mapping_utils_instance() {
111
+ return domain_map::utils();
112
+ }
113
+ }
114
+
115
+ Jetpack_3rd_Party_Domain_Mapping::init();
3rd-party/qtranslate-x.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Prevent qTranslate X from redirecting REST calls.
4
+ *
5
+ * @since 5.3
6
+ *
7
+ * @param string $url_lang Language URL to redirect to.
8
+ * @param string $url_orig Original URL.
9
+ * @param array $url_info Pieces of original URL.
10
+ *
11
+ * @return bool
12
+ */
13
+ function jetpack_no_qtranslate_rest_url_redirect( $url_lang, $url_orig, $url_info ) {
14
+ if ( false !== strpos( $url_info['wp-path'], 'wp-json/jetpack' ) ) {
15
+ return false;
16
+ }
17
+ return $url_lang;
18
+ }
19
+ add_filter( 'qtranslate_language_detect_redirect', 'jetpack_no_qtranslate_rest_url_redirect', 10, 3 );
3rd-party/vaultpress.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use Automattic\Jetpack\Redirect;
4
+
5
+ /**
6
+ * Notify user that VaultPress has been disabled. Hide VaultPress notice that requested attention.
7
+ *
8
+ * @since 5.8
9
+ */
10
+ function jetpack_vaultpress_rewind_enabled_notice() {
11
+ // The deactivation is performed here because there may be pages that admin_init runs on,
12
+ // such as admin_ajax, that could deactivate the plugin without showing this notification.
13
+ deactivate_plugins( 'vaultpress/vaultpress.php' );
14
+
15
+ // Remove WP core notice that says that the plugin was activated.
16
+ if ( isset( $_GET['activate'] ) ) {
17
+ unset( $_GET['activate'] );
18
+ }
19
+ ?>
20
+ <div class="notice notice-success is-dismissible vp-deactivated">
21
+ <p style="margin-bottom: 0.25em;"><strong><?php esc_html_e( 'Jetpack is now handling your backups.', 'jetpack' ); ?></strong></p>
22
+ <p>
23
+ <?php esc_html_e( 'VaultPress is no longer needed and has been deactivated.', 'jetpack' ); ?>
24
+ <?php
25
+ echo sprintf(
26
+ wp_kses(
27
+ /* Translators: first variable is the full URL to the new dashboard */
28
+ __( 'You can access your backups at <a href="%s" target="_blank" rel="noopener noreferrer">this dashboard</a>.', 'jetpack' ),
29
+ array(
30
+ 'a' => array(
31
+ 'href' => array(),
32
+ 'target' => array(),
33
+ 'rel' => array(),
34
+ ),
35
+ )
36
+ ),
37
+ esc_url( Redirect::get_url( 'calypso-backups' ) )
38
+ );
39
+ ?>
40
+ </p>
41
+ </div>
42
+ <style>#vp-notice{display:none;}</style>
43
+ <?php
44
+ }
45
+
46
+ /**
47
+ * If Backup & Scan is enabled, remove its entry in sidebar, deactivate VaultPress, and show a notification.
48
+ *
49
+ * @since 5.8
50
+ */
51
+ function jetpack_vaultpress_rewind_check() {
52
+ if ( Jetpack::is_active() &&
53
+ Jetpack::is_plugin_active( 'vaultpress/vaultpress.php' ) &&
54
+ Jetpack::is_rewind_enabled()
55
+ ) {
56
+ remove_submenu_page( 'jetpack', 'vaultpress' );
57
+
58
+ add_action( 'admin_notices', 'jetpack_vaultpress_rewind_enabled_notice' );
59
+ }
60
+ }
61
+
62
+ add_action( 'admin_init', 'jetpack_vaultpress_rewind_check', 11 );
3rd-party/woocommerce-services.php CHANGED
@@ -1,35 +1,58 @@
1
- <?php
2
 
3
  if ( ! defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
 
 
 
7
  class WC_Services_Installer {
8
 
9
  /**
 
 
10
  * @var Jetpack
11
- **/
12
  private $jetpack;
13
 
14
  /**
 
 
15
  * @var WC_Services_Installer
16
- **/
17
  private static $instance = null;
18
 
19
- static function init() {
 
 
 
 
 
20
  if ( is_null( self::$instance ) ) {
21
  self::$instance = new WC_Services_Installer();
22
  }
23
  return self::$instance;
24
  }
25
 
 
 
 
26
  public function __construct() {
27
- $this->jetpack = Jetpack::init();
28
-
29
  add_action( 'admin_init', array( $this, 'add_error_notice' ) );
30
  add_action( 'admin_init', array( $this, 'try_install' ) );
31
  }
32
 
 
 
 
 
 
 
 
 
 
33
  /**
34
  * Verify the intent to install WooCommerce Services, and kick off installation.
35
  */
@@ -60,7 +83,11 @@ class WC_Services_Installer {
60
  break;
61
  }
62
 
63
- $redirect = wp_get_referer();
 
 
 
 
64
 
65
  if ( $result ) {
66
  $this->jetpack->stat( 'jitm', 'wooservices-activated-' . JETPACK__VERSION );
@@ -77,7 +104,7 @@ class WC_Services_Installer {
77
  * Set up installation error admin notice.
78
  */
79
  public function add_error_notice() {
80
- if ( ! empty( $_GET['wc-services-install-error'] ) ) {
81
  add_action( 'admin_notices', array( $this, 'error_notice' ) );
82
  }
83
  }
@@ -88,7 +115,7 @@ class WC_Services_Installer {
88
  public function error_notice() {
89
  ?>
90
  <div class="notice notice-error is-dismissible">
91
- <p><?php _e( 'There was an error installing WooCommerce Services.', 'jetpack' ); ?></p>
92
  </div>
93
  <?php
94
  }
@@ -99,22 +126,14 @@ class WC_Services_Installer {
99
  * @return bool result of installation
100
  */
101
  private function install() {
102
- include_once( ABSPATH . '/wp-admin/includes/admin.php' );
103
- include_once( ABSPATH . '/wp-admin/includes/plugin-install.php' );
104
- include_once( ABSPATH . '/wp-admin/includes/plugin.php' );
105
- include_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' );
106
- include_once( ABSPATH . '/wp-admin/includes/class-plugin-upgrader.php' );
107
-
108
- $api = plugins_api( 'plugin_information', array( 'slug' => 'woocommerce-services' ) );
109
 
110
- if ( is_wp_error( $api ) ) {
111
  return false;
 
 
112
  }
113
-
114
- $upgrader = new Plugin_Upgrader( new Automatic_Upgrader_Skin() );
115
- $result = $upgrader->install( $api->download_link );
116
-
117
- return true === $result;
118
  }
119
 
120
  /**
@@ -125,7 +144,7 @@ class WC_Services_Installer {
125
  private function activate() {
126
  $result = activate_plugin( 'woocommerce-services/woocommerce-services.php' );
127
 
128
- // activate_plugin() returns null on success
129
  return is_null( $result );
130
  }
131
  }
1
+ <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
 
3
  if ( ! defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
7
+ /**
8
+ * Installs and activates the WooCommerce Services plugin.
9
+ */
10
  class WC_Services_Installer {
11
 
12
  /**
13
+ * The instance of the Jetpack class.
14
+ *
15
  * @var Jetpack
16
+ */
17
  private $jetpack;
18
 
19
  /**
20
+ * The singleton instance of this class.
21
+ *
22
  * @var WC_Services_Installer
23
+ */
24
  private static $instance = null;
25
 
26
+ /**
27
+ * Returns the singleton instance of this class.
28
+ *
29
+ * @return object The WC_Services_Installer object.
30
+ */
31
+ public static function init() {
32
  if ( is_null( self::$instance ) ) {
33
  self::$instance = new WC_Services_Installer();
34
  }
35
  return self::$instance;
36
  }
37
 
38
+ /**
39
+ * Constructor
40
+ */
41
  public function __construct() {
42
+ add_action( 'jetpack_loaded', array( $this, 'on_jetpack_loaded' ) );
 
43
  add_action( 'admin_init', array( $this, 'add_error_notice' ) );
44
  add_action( 'admin_init', array( $this, 'try_install' ) );
45
  }
46
 
47
+ /**
48
+ * Runs on Jetpack being ready to load its packages.
49
+ *
50
+ * @param Jetpack $jetpack object.
51
+ */
52
+ public function on_jetpack_loaded( $jetpack ) {
53
+ $this->jetpack = $jetpack;
54
+ }
55
+
56
  /**
57
  * Verify the intent to install WooCommerce Services, and kick off installation.
58
  */
83
  break;
84
  }
85
 
86
+ if ( isset( $_GET['redirect'] ) ) {
87
+ $redirect = home_url( esc_url_raw( wp_unslash( $_GET['redirect'] ) ) );
88
+ } else {
89
+ $redirect = admin_url();
90
+ }
91
 
92
  if ( $result ) {
93
  $this->jetpack->stat( 'jitm', 'wooservices-activated-' . JETPACK__VERSION );
104
  * Set up installation error admin notice.
105
  */
106
  public function add_error_notice() {
107
+ if ( ! empty( $_GET['wc-services-install-error'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
108
  add_action( 'admin_notices', array( $this, 'error_notice' ) );
109
  }
110
  }
115
  public function error_notice() {
116
  ?>
117
  <div class="notice notice-error is-dismissible">
118
+ <p><?php esc_html_e( 'There was an error installing WooCommerce Services.', 'jetpack' ); ?></p>
119
  </div>
120
  <?php
121
  }
126
  * @return bool result of installation
127
  */
128
  private function install() {
129
+ jetpack_require_lib( 'plugins' );
130
+ $result = Jetpack_Plugins::install_plugin( 'woocommerce-services' );
 
 
 
 
 
131
 
132
+ if ( is_wp_error( $result ) ) {
133
  return false;
134
+ } else {
135
+ return true;
136
  }
 
 
 
 
 
137
  }
138
 
139
  /**
144
  private function activate() {
145
  $result = activate_plugin( 'woocommerce-services/woocommerce-services.php' );
146
 
147
+ // Activate_plugin() returns null on success.
148
  return is_null( $result );
149
  }
150
  }
3rd-party/woocommerce.php CHANGED
@@ -1,6 +1,27 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- add_action( 'woocommerce_share', 'jetpack_woocommerce_social_share_icons', 10 );
 
 
 
 
 
 
 
4
 
5
  /*
6
  * Make sure the social sharing icons show up under the product's short description
@@ -12,3 +33,83 @@ function jetpack_woocommerce_social_share_icons() {
12
  echo sharing_display();
13
  }
14
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ /**
3
+ * This file contains compatibility functions for WooCommerce to improve Jetpack feature support.
4
+ */
5
+ add_action( 'woocommerce_init', 'jetpack_woocommerce_integration' );
6
+
7
+ function jetpack_woocommerce_integration() {
8
+ /**
9
+ * Double check WooCommerce exists - unlikely to fail due to the hook being used but better safe than sorry.
10
+ */
11
+ if ( ! class_exists( 'WooCommerce' ) ) {
12
+ return;
13
+ }
14
+
15
+ add_action( 'woocommerce_share', 'jetpack_woocommerce_social_share_icons', 10 );
16
 
17
+ /**
18
+ * Wrap in function exists check since this requires WooCommerce 3.3+.
19
+ */
20
+ if ( function_exists( 'wc_get_default_products_per_row' ) ) {
21
+ add_filter( 'infinite_scroll_render_callbacks', 'jetpack_woocommerce_infinite_scroll_render_callback', 10 );
22
+ add_action( 'wp_enqueue_scripts', 'jetpack_woocommerce_infinite_scroll_style', 10 );
23
+ }
24
+ }
25
 
26
  /*
27
  * Make sure the social sharing icons show up under the product's short description
33
  echo sharing_display();
34
  }
35
  }
36
+
37
+ /**
38
+ * Remove sharing display from account, cart, and checkout pages in WooCommerce.
39
+ */
40
+ function jetpack_woocommerce_remove_share() {
41
+ /**
42
+ * Double check WooCommerce exists - unlikely to fail due to the hook being used but better safe than sorry.
43
+ */
44
+ if ( ! class_exists( 'WooCommerce' ) ) {
45
+ return;
46
+ }
47
+
48
+ if ( is_cart() || is_checkout() || is_account_page() ) {
49
+ remove_filter( 'the_content', 'sharing_display', 19 );
50
+ if ( class_exists( 'Jetpack_Likes' ) ) {
51
+ remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
52
+ }
53
+ }
54
+ }
55
+ add_action( 'loop_start', 'jetpack_woocommerce_remove_share' );
56
+
57
+ /**
58
+ * Add a callback for WooCommerce product rendering in infinite scroll.
59
+ *
60
+ * @param array $callbacks
61
+ * @return array
62
+ */
63
+ function jetpack_woocommerce_infinite_scroll_render_callback( $callbacks ) {
64
+ $callbacks[] = 'jetpack_woocommerce_infinite_scroll_render';
65
+ return $callbacks;
66
+ }
67
+
68
+ /**
69
+ * Add a default renderer for WooCommerce products within infinite scroll.
70
+ */
71
+ function jetpack_woocommerce_infinite_scroll_render() {
72
+ if ( ! is_shop() && ! is_product_taxonomy() && ! is_product_category() && ! is_product_tag() ) {
73
+ return;
74
+ }
75
+
76
+ woocommerce_product_loop_start();
77
+
78
+ while ( have_posts() ) {
79
+ the_post();
80
+ wc_get_template_part( 'content', 'product' );
81
+ }
82
+
83
+ woocommerce_product_loop_end();
84
+ }
85
+
86
+ /**
87
+ * Basic styling when infinite scroll is active only.
88
+ */
89
+ function jetpack_woocommerce_infinite_scroll_style() {
90
+ $custom_css = "
91
+ .infinite-scroll .woocommerce-pagination {
92
+ display: none;
93
+ }";
94
+ wp_add_inline_style( 'woocommerce-layout', $custom_css );
95
+ }
96
+
97
+ function jetpack_woocommerce_lazy_images_compat() {
98
+ wp_add_inline_script( 'wc-cart-fragments', "
99
+ jQuery( 'body' ).bind( 'wc_fragments_refreshed', function() {
100
+ var jetpackLazyImagesLoadEvent;
101
+ try {
102
+ jetpackLazyImagesLoadEvent = new Event( 'jetpack-lazy-images-load', {
103
+ bubbles: true,
104
+ cancelable: true
105
+ } );
106
+ } catch ( e ) {
107
+ jetpackLazyImagesLoadEvent = document.createEvent( 'Event' )
108
+ jetpackLazyImagesLoadEvent.initEvent( 'jetpack-lazy-images-load', true, true );
109
+ }
110
+ jQuery( 'body' ).get( 0 ).dispatchEvent( jetpackLazyImagesLoadEvent );
111
+ } );
112
+ " );
113
+ }
114
+
115
+ add_action( 'wp_enqueue_scripts', 'jetpack_woocommerce_lazy_images_compat', 11 );
3rd-party/wpml.php CHANGED
@@ -28,9 +28,11 @@ function wpml_jetpack_widget_get_top_posts( $posts, $post_ids, $count ) {
28
 
29
  foreach ( $posts as $k => $post ) {
30
  $lang_information = wpml_get_language_information( $post['post_id'] );
31
- $post_language = substr( $lang_information['locale'], 0, 2 );
32
- if ( $post_language !== $sitepress->get_current_language() ) {
33
- unset( $posts[ $k ] );
 
 
34
  }
35
  }
36
 
@@ -57,4 +59,4 @@ function grunion_contact_form_field_html_filter( $r, $field_label, $id ){
57
  }
58
 
59
  return $r;
60
- }
28
 
29
  foreach ( $posts as $k => $post ) {
30
  $lang_information = wpml_get_language_information( $post['post_id'] );
31
+ if ( ! is_wp_error( $lang_information ) ) {
32
+ $post_language = substr( $lang_information['locale'], 0, 2 );
33
+ if ( $post_language !== $sitepress->get_current_language() ) {
34
+ unset( $posts[ $k ] );
35
+ }
36
  }
37
  }
38
 
59
  }
60
 
61
  return $r;
62
+ }
_inc/accessible-focus.js CHANGED
@@ -1,7 +1,7 @@
1
  var keyboardNavigation = false,
2
  keyboardNavigationKeycodes = [ 9, 32, 37, 38, 39, 40 ]; // keyCodes for tab, space, left, up, right, down respectively
3
 
4
- document.addEventListener( 'keydown', function( event ) {
5
  if ( keyboardNavigation ) {
6
  return;
7
  }
@@ -10,7 +10,7 @@ document.addEventListener( 'keydown', function( event ) {
10
  document.documentElement.classList.add( 'accessible-focus' );
11
  }
12
  } );
13
- document.addEventListener( 'mouseup', function() {
14
  if ( ! keyboardNavigation ) {
15
  return;
16
  }
1
  var keyboardNavigation = false,
2
  keyboardNavigationKeycodes = [ 9, 32, 37, 38, 39, 40 ]; // keyCodes for tab, space, left, up, right, down respectively
3
 
4
+ document.addEventListener( 'keydown', function ( event ) {
5
  if ( keyboardNavigation ) {
6
  return;
7
  }
10
  document.documentElement.classList.add( 'accessible-focus' );
11
  }
12
  } );
13
+ document.addEventListener( 'mouseup', function () {
14
  if ( ! keyboardNavigation ) {
15
  return;
16
  }
_inc/blocks/business-hours/view.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'dffe38d556d29e4d1f276a853ddbba29');
_inc/blocks/business-hours/view.css ADDED
@@ -0,0 +1 @@
 
1
+ @media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-right:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}
_inc/blocks/business-hours/view.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=376)}({164:function(e,t,n){},376:function(e,t,n){n(52),e.exports=n(377)},377:function(e,t,n){"use strict";n.r(t);n(164)},48:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},52:function(e,t,n){"use strict";n.r(t);n(48)}}));
_inc/blocks/business-hours/view.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-left:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}
_inc/blocks/button/view.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c010df8e2311629298e1aad50243d81e');
_inc/blocks/button/view.css ADDED
@@ -0,0 +1 @@
 
1
+ .amp-wp-article .wp-block-jetpack-button{color:#fff}
_inc/blocks/button/view.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=378)}({378:function(e,t,n){n(52),e.exports=n(379)},379:function(e,t,n){"use strict";n.r(t);n(380)},380:function(e,t,n){},48:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},52:function(e,t,n){"use strict";n.r(t);n(48)}}));
_inc/blocks/button/view.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ .amp-wp-article .wp-block-jetpack-button{color:#fff}
_inc/blocks/calendly/view.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c9b6327415e7866f64c81b7ed4f52a51');
_inc/blocks/calendly/view.css ADDED
@@ -0,0 +1 @@
 
1
+ .admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px;position:relative}.wp-block-jetpack-calendly .calendly-spinner{top:50px}.wp-block-jetpack-calendly.aligncenter{text-align:center}.wp-block-jetpack-calendly .wp-block-jetpack-button{color:#fff}
_inc/blocks/calendly/view.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=381)}({165:function(e,t,n){},381:function(e,t,n){n(52),e.exports=n(382)},382:function(e,t,n){"use strict";n.r(t);n(165)},48:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},52:function(e,t,n){"use strict";n.r(t);n(48)}}));
_inc/blocks/calendly/view.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ .admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px;position:relative}.wp-block-jetpack-calendly .calendly-spinner{top:50px}.wp-block-jetpack-calendly.aligncenter{text-align:center}.wp-block-jetpack-calendly .wp-block-jetpack-button{color:#fff}
_inc/blocks/components.css ADDED
@@ -0,0 +1 @@
 
1
+ .jetpack-block-nudge.block-editor-warning{margin-bottom:12px}.jetpack-block-nudge .block-editor-warning__message{margin:13px 0}.jetpack-block-nudge .block-editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.block-editor-warning{border:1px solid #ddd;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
_inc/blocks/components.js ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=110)}([function(e,t,n){(function(e){var r;
2
+ /**
3
+ * @license
4
+ * Lodash <https://lodash.com/>
5
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
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 o="Expected a function",i="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",l="[object Array]",s="[object Boolean]",u="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",g="[object Set]",y="[object String]",k="[object Symbol]",w="[object WeakMap]",O="[object ArrayBuffer]",_="[object DataView]",j="[object Float32Array]",E="[object Float64Array]",C="[object Int8Array]",x="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",z="[object Uint16Array]",P="[object Uint32Array]",I=/\b__p \+= '';/g,M=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,A=/[&<>"']/g,D=RegExp(L.source),H=RegExp(A.source),R=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,$=RegExp(K.source),q=/^\s+|\s+$/g,G=/^\s+/,Y=/\s+$/,Q=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,ue=/['\n\r\u2028\u2029\\]/g,fe="\\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",pe="[\\ud800-\\udfff]",he="["+de+"]",me="["+fe+"]",ve="\\d+",be="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",ye="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",we="[^\\ud800-\\udfff]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",_e="[\\ud800-\\udbff][\\udc00-\\udfff]",je="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ee="(?:"+ge+"|"+ye+")",Ce="(?:"+je+"|"+ye+")",xe="(?:"+me+"|"+ke+")"+"?",Se="[\\ufe0e\\ufe0f]?"+xe+("(?:\\u200d(?:"+[we,Oe,_e].join("|")+")[\\ufe0e\\ufe0f]?"+xe+")*"),Te="(?:"+[be,Oe,_e].join("|")+")"+Se,ze="(?:"+[we+me+"?",me,Oe,_e,pe].join("|")+")",Pe=RegExp("['’]","g"),Ie=RegExp(me,"g"),Me=RegExp(ke+"(?="+ke+")|"+ze+Se,"g"),Ne=RegExp([je+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,je,"$"].join("|")+")",Ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,je+Ee,"$"].join("|")+")",je+"?"+Ee+"+(?:['’](?:d|ll|m|re|s|t|ve))?",je+"+(?:['’](?: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"),Le=RegExp("[\\u200d\\ud800-\\udfff"+fe+"\\ufe0e\\ufe0f]"),Ae=/[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"],He=-1,Re={};Re[j]=Re[E]=Re[C]=Re[x]=Re[S]=Re[T]=Re["[object Uint8ClampedArray]"]=Re[z]=Re[P]=!0,Re[c]=Re[l]=Re[O]=Re[s]=Re[_]=Re[u]=Re[f]=Re[d]=Re[h]=Re[m]=Re[v]=Re[b]=Re[g]=Re[y]=Re[w]=!1;var Be={};Be[c]=Be[l]=Be[O]=Be[_]=Be[s]=Be[u]=Be[j]=Be[E]=Be[C]=Be[x]=Be[S]=Be[h]=Be[m]=Be[v]=Be[b]=Be[g]=Be[y]=Be[k]=Be[T]=Be["[object Uint8ClampedArray]"]=Be[z]=Be[P]=!0,Be[f]=Be[d]=Be[w]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fe=parseFloat,Ue=parseInt,We="object"==typeof window&&window&&window.Object===Object&&window,Ke="object"==typeof self&&self&&self.Object===Object&&self,$e=We||Ke||Function("return this")(),qe=t&&!t.nodeType&&t,Ge=qe&&"object"==typeof e&&e&&!e.nodeType&&e,Ye=Ge&&Ge.exports===qe,Qe=Ye&&We.process,Xe=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||Qe&&Qe.binding&&Qe.binding("util")}catch(t){}}(),Ze=Xe&&Xe.isArrayBuffer,Je=Xe&&Xe.isDate,et=Xe&&Xe.isMap,tt=Xe&&Xe.isRegExp,nt=Xe&&Xe.isSet,rt=Xe&&Xe.isTypedArray;function ot(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,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function at(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 lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function st(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ut(e,t){return!!(null==e?0:e.length)&&kt(e,t,0)>-1}function ft(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 pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ht(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function mt(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=jt("length");function gt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function yt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function 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):yt(e,Ot,n)}function wt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ot(e){return e!=e}function _t(e,t){var n=null==e?0:e.length;return n?xt(e,t)/n:NaN}function jt(e){return function(t){return null==t?void 0:t[e]}}function Et(e){return function(t){return null==e?void 0:e[t]}}function Ct(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function xt(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function St(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return function(t){return e(t)}}function zt(e,t){return dt(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function It(e,t){for(var n=-1,r=e.length;++n<r&&kt(t,e[n],0)>-1;);return n}function Mt(e,t){for(var n=e.length;n--&&kt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Et({"À":"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"}),At=Et({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Dt(e){return"\\"+Ve[e]}function Ht(e){return Le.test(e)}function Rt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Bt(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var c=e[n];c!==t&&c!==i||(e[n]=i,a[o++]=n)}return a}function Ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return Ht(e)?function(e){var t=Me.lastIndex=0;for(;Me.test(e);)++t;return t}(e):bt(e)}function Kt(e){return Ht(e)?function(e){return e.match(Me)||[]}(e):function(e){return e.split("")}(e)}var $t=Et({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var qt=function e(t){var n,r=(t=null==t?$e:qt.defaults($e.Object(),t,qt.pick($e,De))).Array,fe=t.Date,de=t.Error,pe=t.Function,he=t.Math,me=t.Object,ve=t.RegExp,be=t.String,ge=t.TypeError,ye=r.prototype,ke=pe.prototype,we=me.prototype,Oe=t["__core-js_shared__"],_e=ke.toString,je=we.hasOwnProperty,Ee=0,Ce=(n=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xe=we.toString,Se=_e.call(me),Te=$e._,ze=ve("^"+_e.call(je).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=Ye?t.Buffer:void 0,Le=t.Symbol,Ve=t.Uint8Array,We=Me?Me.allocUnsafe:void 0,Ke=Bt(me.getPrototypeOf,me),qe=me.create,Ge=we.propertyIsEnumerable,Qe=ye.splice,Xe=Le?Le.isConcatSpreadable:void 0,bt=Le?Le.iterator:void 0,Et=Le?Le.toStringTag:void 0,Gt=function(){try{var e=ei(me,"defineProperty");return e({},"",{}),e}catch(t){}}(),Yt=t.clearTimeout!==$e.clearTimeout&&t.clearTimeout,Qt=fe&&fe.now!==$e.Date.now&&fe.now,Xt=t.setTimeout!==$e.setTimeout&&t.setTimeout,Zt=he.ceil,Jt=he.floor,en=me.getOwnPropertySymbols,tn=Me?Me.isBuffer:void 0,nn=t.isFinite,rn=ye.join,on=Bt(me.keys,me),an=he.max,cn=he.min,ln=fe.now,sn=t.parseInt,un=he.random,fn=ye.reverse,dn=ei(t,"DataView"),pn=ei(t,"Map"),hn=ei(t,"Promise"),mn=ei(t,"Set"),vn=ei(t,"WeakMap"),bn=ei(me,"create"),gn=vn&&new vn,yn={},kn=xi(dn),wn=xi(pn),On=xi(hn),_n=xi(mn),jn=xi(vn),En=Le?Le.prototype:void 0,Cn=En?En.valueOf:void 0,xn=En?En.toString:void 0;function Sn(e){if(Wa(e)&&!Ma(e)&&!(e instanceof In)){if(e instanceof Pn)return e;if(je.call(e,"__wrapped__"))return Si(e)}return new Pn(e)}var Tn=function(){function e(){}return function(t){if(!Ua(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function zn(){}function Pn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function In(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Mn(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 Ln(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 An(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ln;++t<n;)this.add(e[t])}function Dn(e){var t=this.__data__=new Nn(e);this.size=t.size}function Hn(e,t){var n=Ma(e),r=!n&&Ia(e),o=!n&&!r&&Da(e),i=!n&&!r&&!o&&Za(e),a=n||r||o||i,c=a?St(e.length,be):[],l=c.length;for(var s in e)!t&&!je.call(e,s)||a&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ci(s,l))||c.push(s);return c}function Rn(e){var t=e.length;return t?e[Ar(0,t-1)]:void 0}function Bn(e,t){return ji(go(e),Yn(t,0,e.length))}function Vn(e){return ji(go(e))}function Fn(e,t,n){(void 0!==n&&!Ta(e[t],n)||void 0===n&&!(t in e))&&qn(e,t,n)}function Un(e,t,n){var r=e[t];je.call(e,t)&&Ta(r,n)&&(void 0!==n||t in e)||qn(e,t,n)}function Wn(e,t){for(var n=e.length;n--;)if(Ta(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return er(e,(function(e,o,i){t(r,e,n(e),i)})),r}function $n(e,t){return e&&yo(t,kc(t),e)}function qn(e,t,n){"__proto__"==t&&Gt?Gt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Gn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:mc(e,t[n]);return i}function Yn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Qn(e,t,n,r,o,i){var a,l=1&t,f=2&t,w=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ua(e))return e;var I=Ma(e);if(I){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&je.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return go(e,a)}else{var M=ri(e),N=M==d||M==p;if(Da(e))return fo(e,l);if(M==v||M==c||N&&!o){if(a=f||N?{}:ii(e),!l)return f?function(e,t){return yo(e,ni(e),t)}(e,function(e,t){return e&&yo(t,wc(t),e)}(a,e)):function(e,t){return yo(e,ti(e),t)}(e,$n(a,e))}else{if(!Be[M])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case O:return po(e);case s:case u:return new r(+e);case _:return function(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case j:case E:case C:case x:case S:case T:case"[object Uint8ClampedArray]":case z:case P:return ho(e,n);case h:return new r;case m:case y:return new r(e);case b:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new r;case k:return o=e,Cn?me(Cn.call(o)):{}}var o}(e,M,l)}}i||(i=new Dn);var L=i.get(e);if(L)return L;i.set(e,a),Ya(e)?e.forEach((function(r){a.add(Qn(r,t,n,r,e,i))})):Ka(e)&&e.forEach((function(r,o){a.set(o,Qn(r,t,n,o,e,i))}));var A=I?void 0:(w?f?qo:$o:f?wc:kc)(e);return at(A||e,(function(r,o){A&&(r=e[o=r]),Un(a,o,Qn(r,t,n,o,e,i))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ge(o);return ki((function(){e.apply(void 0,n)}),t)}function Jn(e,t,n,r){var o=-1,i=ut,a=!0,c=e.length,l=[],s=t.length;if(!c)return l;n&&(t=dt(t,Tt(n))),r?(i=ft,a=!1):t.length>=200&&(i=Pt,a=!1,t=new An(t));e:for(;++o<c;){var u=e[o],f=null==n?u:n(u);if(u=r||0!==u?u:0,a&&f==f){for(var d=s;d--;)if(t[d]===f)continue e;l.push(u)}else i(t,f,r)||l.push(u)}return l}Sn.templateSettings={escape:R,evaluate:B,interpolate:V,variable:"",imports:{_:Sn}},Sn.prototype=zn.prototype,Sn.prototype.constructor=Sn,Pn.prototype=Tn(zn.prototype),Pn.prototype.constructor=Pn,In.prototype=Tn(zn.prototype),In.prototype.constructor=In,Mn.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Mn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Mn.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return je.call(t,e)?t[e]:void 0},Mn.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:je.call(t,e)},Mn.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=Wn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=Wn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return Wn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ln.prototype.clear=function(){this.size=0,this.__data__={hash:new Mn,map:new(pn||Nn),string:new Mn}},Ln.prototype.delete=function(e){var t=Zo(this,e).delete(e);return this.size-=t?1:0,t},Ln.prototype.get=function(e){return Zo(this,e).get(e)},Ln.prototype.has=function(e){return Zo(this,e).has(e)},Ln.prototype.set=function(e,t){var n=Zo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},An.prototype.add=An.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},An.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(!pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(e,t),this.size=n.size,this};var er=Oo(lr),tr=Oo(sr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Xa(a):n(a,c)))var c=a,l=i}return l}function or(e,t){var n=[];return er(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ai),o||(o=[]);++i<a;){var c=e[i];t>0&&n(c)?t>1?ir(c,t-1,n,r,o):pt(o,c):r||(o[o.length]=c)}return o}var ar=_o(),cr=_o(!0);function lr(e,t){return e&&ar(e,t,kc)}function sr(e,t){return e&&cr(e,t,kc)}function ur(e,t){return st(t,(function(t){return Ba(e[t])}))}function fr(e,t){for(var n=0,r=(t=co(t,e)).length;null!=e&&n<r;)e=e[Ci(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Ma(e)?r:pt(r,n(e))}function pr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Et&&Et in me(e)?function(e){var t=je.call(e,Et),n=e[Et];try{e[Et]=void 0;var r=!0}catch(i){}var o=xe.call(e);r&&(t?e[Et]=n:delete e[Et]);return o}(e):function(e){return xe.call(e)}(e)}function hr(e,t){return e>t}function mr(e,t){return null!=e&&je.call(e,t)}function vr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?ft:ut,i=e[0].length,a=e.length,c=a,l=r(a),s=1/0,u=[];c--;){var f=e[c];c&&t&&(f=dt(f,Tt(t))),s=cn(f.length,s),l[c]=!n&&(t||i>=120&&f.length>=120)?new An(c&&f):void 0}f=e[0];var d=-1,p=l[0];e:for(;++d<i&&u.length<s;){var h=f[d],m=t?t(h):h;if(h=n||0!==h?h:0,!(p?Pt(p,m):o(u,m,n))){for(c=a;--c;){var v=l[c];if(!(v?Pt(v,m):o(e[c],m,n)))continue e}p&&p.push(m),u.push(h)}}return u}function gr(e,t,n){var r=null==(e=vi(e,t=co(t,e)))?e:e[Ci(Ri(t))];return null==r?void 0:ot(r,e,n)}function yr(e){return Wa(e)&&pr(e)==c}function kr(e,t,n,r,o){return e===t||(null==e||null==t||!Wa(e)&&!Wa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Ma(e),d=Ma(t),p=a?l:ri(e),w=d?l:ri(t),j=(p=p==c?v:p)==v,E=(w=w==c?v:w)==v,C=p==w;if(C&&Da(e)){if(!Da(t))return!1;a=!0,j=!1}if(C&&!j)return i||(i=new Dn),a||Za(e)?Wo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!i(new Ve(e),new Ve(t)));case s:case u:case m:return Ta(+e,+t);case f:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case h:var c=Rt;case g:var l=1&r;if(c||(c=Ft),e.size!=t.size&&!l)return!1;var d=a.get(e);if(d)return d==t;r|=2,a.set(e,t);var p=Wo(c(e),c(t),r,o,i,a);return a.delete(e),p;case k:if(Cn)return Cn.call(e)==Cn.call(t)}return!1}(e,t,p,n,r,o,i);if(!(1&n)){var x=j&&je.call(e,"__wrapped__"),S=E&&je.call(t,"__wrapped__");if(x||S){var T=x?e.value():e,z=S?t.value():t;return i||(i=new Dn),o(T,z,n,r,i)}}if(!C)return!1;return i||(i=new Dn),function(e,t,n,r,o,i){var a=1&n,c=$o(e),l=c.length,s=$o(t).length;if(l!=s&&!a)return!1;var u=l;for(;u--;){var f=c[u];if(!(a?f in t:je.call(t,f)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);var m=a;for(;++u<l;){f=c[u];var v=e[f],b=t[f];if(r)var g=a?r(b,v,f,t,e,i):r(v,b,f,e,t,i);if(!(void 0===g?v===b||o(v,b,n,r,i):g)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var y=e.constructor,k=t.constructor;y==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,kr,o))}function wr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=me(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var l=(c=n[o])[0],s=e[l],u=c[1];if(a&&c[2]){if(void 0===s&&!(l in e))return!1}else{var f=new Dn;if(r)var d=r(s,u,l,e,t,f);if(!(void 0===d?kr(u,s,3,r,f):d))return!1}}return!0}function Or(e){return!(!Ua(e)||(t=e,Ce&&Ce in t))&&(Ba(e)?ze:ie).test(xi(e));var t}function _r(e){return"function"==typeof e?e:null==e?$c:"object"==typeof e?Ma(e)?Tr(e[0],e[1]):Sr(e):tl(e)}function jr(e){if(!di(e))return on(e);var t=[];for(var n in me(e))je.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Er(e){if(!Ua(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=di(e),n=[];for(var r in e)("constructor"!=r||!t&&je.call(e,r))&&n.push(r);return n}function Cr(e,t){return e<t}function xr(e,t){var n=-1,o=La(e)?r(e.length):[];return er(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Sr(e){var t=Jo(e);return 1==t.length&&t[0][2]?hi(t[0][0],t[0][1]):function(n){return n===e||wr(n,e,t)}}function Tr(e,t){return si(e)&&pi(t)?hi(Ci(e),t):function(n){var r=mc(n,e);return void 0===r&&r===t?vc(n,e):kr(t,r,3)}}function zr(e,t,n,r,o){e!==t&&ar(t,(function(i,a){if(o||(o=new Dn),Ua(i))!function(e,t,n,r,o,i,a){var c=gi(e,n),l=gi(t,n),s=a.get(l);if(s)return void Fn(e,n,s);var u=i?i(c,l,n+"",e,t,a):void 0,f=void 0===u;if(f){var d=Ma(l),p=!d&&Da(l),h=!d&&!p&&Za(l);u=l,d||p||h?Ma(c)?u=c:Aa(c)?u=go(c):p?(f=!1,u=fo(l,!0)):h?(f=!1,u=ho(l,!0)):u=[]:qa(l)||Ia(l)?(u=c,Ia(c)?u=ac(c):Ua(c)&&!Ba(c)||(u=ii(l))):f=!1}f&&(a.set(l,u),o(u,l,r,i,a),a.delete(l));Fn(e,n,u)}(e,t,a,n,zr,r,o);else{var c=r?r(gi(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Fn(e,a,c)}}),wc)}function Pr(e,t){var n=e.length;if(n)return ci(t+=t<0?n:0,n)?e[t]:void 0}function Ir(e,t,n){t=t.length?dt(t,(function(e){return Ma(e)?function(t){return fr(t,1===e.length?e[0]:e)}:e})):[$c];var r=-1;return t=dt(t,Tt(Xo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(xr(e,(function(e,n,o){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;for(;++r<a;){var l=mo(o[r],i[r]);if(l){if(r>=c)return l;var s=n[r];return l*("desc"==s?-1:1)}}return e.index-t.index}(e,t,n)}))}function Mr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=fr(e,a);n(c,a)&&Vr(i,co(a,e),c)}return i}function Nr(e,t,n,r){var o=r?wt:kt,i=-1,a=t.length,c=e;for(e===t&&(t=go(t)),n&&(c=dt(e,Tt(n)));++i<a;)for(var l=0,s=t[i],u=n?n(s):s;(l=o(c,u,l,r))>-1;)c!==e&&Qe.call(c,l,1),Qe.call(e,l,1);return e}function Lr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ci(o)?Qe.call(e,o,1):Jr(e,o)}}return e}function Ar(e,t){return e+Jt(un()*(t-e+1))}function Dr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Jt(t/2))&&(e+=e)}while(t);return n}function Hr(e,t){return wi(mi(e,t,$c),e+"")}function Rr(e){return Rn(Tc(e))}function Br(e,t){var n=Tc(e);return ji(n,Yn(t,0,n.length))}function Vr(e,t,n,r){if(!Ua(e))return e;for(var o=-1,i=(t=co(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var l=Ci(t[o]),s=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var u=c[l];void 0===(s=r?r(u,l,c):void 0)&&(s=Ua(u)?u:ci(t[o+1])?[]:{})}Un(c,l,s),c=c[l]}return e}var Fr=gn?function(e,t){return gn.set(e,t),e}:$c,Ur=Gt?function(e,t){return Gt(e,"toString",{configurable:!0,enumerable:!1,value:Uc(t),writable:!0})}:$c;function Wr(e){return ji(Tc(e))}function Kr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function $r(e,t){var n;return er(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function qr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Xa(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Gr(e,t,$c,n)}function Gr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,c=null===t,l=Xa(t),s=void 0===t;o<i;){var u=Jt((o+i)/2),f=n(e[u]),d=void 0!==f,p=null===f,h=f==f,m=Xa(f);if(a)var v=r||h;else v=s?h&&(r||d):c?h&&d&&(r||!p):l?h&&d&&!p&&(r||!m):!p&&!m&&(r?f<=t:f<t);v?o=u+1:i=u}return cn(i,4294967294)}function Yr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Ta(c,l)){var l=c;i[o++]=0===a?0:a}}return i}function Qr(e){return"number"==typeof e?e:Xa(e)?NaN:+e}function Xr(e){if("string"==typeof e)return e;if(Ma(e))return dt(e,Xr)+"";if(Xa(e))return xn?xn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zr(e,t,n){var r=-1,o=ut,i=e.length,a=!0,c=[],l=c;if(n)a=!1,o=ft;else if(i>=200){var s=t?null:Ho(e);if(s)return Ft(s);a=!1,o=Pt,l=new An}else l=t?[]:c;e:for(;++r<i;){var u=e[r],f=t?t(u):u;if(u=n||0!==u?u:0,a&&f==f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),c.push(u)}else o(l,f,n)||(l!==c&&l.push(f),c.push(u))}return c}function Jr(e,t){return null==(e=vi(e,t=co(t,e)))||delete e[Ci(Ri(t))]}function eo(e,t,n,r){return Vr(e,t,n(fr(e,t)),r)}function to(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Kr(e,r?0:i,r?i+1:o):Kr(e,r?i+1:0,r?o:i)}function no(e,t){var n=e;return n instanceof In&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function ro(e,t,n){var o=e.length;if(o<2)return o?Zr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var c=e[i],l=-1;++l<o;)l!=i&&(a[i]=Jn(a[i]||c,e[l],t,n));return Zr(ir(a,1),t,n)}function oo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a}function io(e){return Aa(e)?e:[]}function ao(e){return"function"==typeof e?e:$c}function co(e,t){return Ma(e)?e:si(e,t)?[e]:Ei(cc(e))}var lo=Hr;function so(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var uo=Yt||function(e){return $e.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function po(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function ho(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function mo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Xa(e),a=void 0!==t,c=null===t,l=t==t,s=Xa(t);if(!c&&!s&&!i&&e>t||i&&a&&l&&!c&&!s||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!s&&e<t||s&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!l)return-1}return 0}function vo(e,t,n,o){for(var i=-1,a=e.length,c=n.length,l=-1,s=t.length,u=an(a-c,0),f=r(s+u),d=!o;++l<s;)f[l]=t[l];for(;++i<c;)(d||i<a)&&(f[n[i]]=e[i]);for(;u--;)f[l++]=e[i++];return f}function bo(e,t,n,o){for(var i=-1,a=e.length,c=-1,l=n.length,s=-1,u=t.length,f=an(a-l,0),d=r(f+u),p=!o;++i<f;)d[i]=e[i];for(var h=i;++s<u;)d[h+s]=t[s];for(;++c<l;)(p||i<a)&&(d[h+n[c]]=e[i++]);return d}function go(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function yo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),o?qn(n,c,l):Un(n,c,l)}return n}function ko(e,t){return function(n,r){var o=Ma(n)?it:Kn,i=t?t():{};return o(n,e,Xo(r,2),i)}}function wo(e){return Hr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&li(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}function Oo(e,t){return function(n,r){if(null==n)return n;if(!La(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=me(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function _o(e){return function(t,n,r){for(var o=-1,i=me(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}function jo(e){return function(t){var n=Ht(t=cc(t))?Kt(t):void 0,r=n?n[0]:t.charAt(0),o=n?so(n,1).join(""):t.slice(1);return r[e]()+o}}function Eo(e){return function(t){return ht(Bc(Ic(t).replace(Pe,"")),e,"")}}function Co(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 Ua(r)?r:n}}function xo(e){return function(t,n,r){var o=me(t);if(!La(t)){var i=Xo(n,3);t=kc(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function So(e){return Ko((function(t){var n=t.length,r=n,i=Pn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(o);if(i&&!c&&"wrapper"==Yo(a))var c=new Pn([],!0)}for(r=c?r:n;++r<n;){var l=Yo(a=t[r]),s="wrapper"==l?Go(a):void 0;c=s&&ui(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?c[Yo(s[0])].apply(c,s[3]):1==a.length&&ui(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Ma(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function To(e,t,n,o,i,a,c,l,s,u){var f=128&t,d=1&t,p=2&t,h=24&t,m=512&t,v=p?void 0:Co(e);return function b(){for(var g=arguments.length,y=r(g),k=g;k--;)y[k]=arguments[k];if(h)var w=Qo(b),O=Nt(y,w);if(o&&(y=vo(y,o,i,h)),a&&(y=bo(y,a,c,h)),g-=O,h&&g<u){var _=Vt(y,w);return Ao(e,t,To,b.placeholder,n,y,_,l,s,u-g)}var j=d?n:this,E=p?j[e]:e;return g=y.length,l?y=bi(y,l):m&&g>1&&y.reverse(),f&&s<g&&(y.length=s),this&&this!==$e&&this instanceof b&&(E=v||Co(E)),E.apply(j,y)}}function zo(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Po(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=Xr(n),r=Xr(r)):(n=Qr(n),r=Qr(r)),o=e(n,r)}return o}}function Io(e){return Ko((function(t){return t=dt(t,Tt(Xo())),Hr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Mo(e,t){var n=(t=void 0===t?" ":Xr(t)).length;if(n<2)return n?Dr(t,e):t;var r=Dr(t,Zt(e/Wt(t)));return Ht(t)?so(Kt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&li(t,n,o)&&(n=o=void 0),t=nc(t),void 0===n?(n=t,t=0):n=nc(n),function(e,t,n,o){for(var i=-1,a=an(Zt((t-e)/(n||1)),0),c=r(a);a--;)c[o?a:++i]=e,e+=n;return c}(t,n,o=void 0===o?t<n?1:-1:nc(o),e)}}function Lo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ic(t),n=ic(n)),e(t,n)}}function Ao(e,t,n,r,o,i,a,c,l,s){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var f=[e,t,o,u?i:void 0,u?a:void 0,u?void 0:i,u?void 0:a,c,l,s],d=n.apply(void 0,f);return ui(e)&&yi(d,f),d.placeholder=r,Oi(d,e,t)}function Do(e){var t=he[e];return function(e,n){if(e=ic(e),(n=null==n?0:cn(rc(n),292))&&nn(e)){var r=(cc(e)+"e").split("e");return+((r=(cc(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ho=mn&&1/Ft(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Xc;function Ro(e){return function(t){var n=ri(t);return n==h?Rt(t):n==g?Ut(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Bo(e,t,n,a,c,l,s,u){var f=2&t;if(!f&&"function"!=typeof e)throw new ge(o);var d=a?a.length:0;if(d||(t&=-97,a=c=void 0),s=void 0===s?s:an(rc(s),0),u=void 0===u?u:rc(u),d-=c?c.length:0,64&t){var p=a,h=c;a=c=void 0}var m=f?void 0:Go(e),v=[e,t,n,a,c,p,h,l,s,u];if(m&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,c=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var s=e[3];e[3]=s?vo(s,l,t[4]):l,e[4]=s?Vt(e[3],i):t[4]}(l=t[5])&&(s=e[5],e[5]=s?bo(s,l,t[6]):l,e[6]=s?Vt(e[5],i):t[6]);(l=t[7])&&(e[7]=l);128&r&&(e[8]=null==e[8]?t[8]:cn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(v,m),e=v[0],t=v[1],n=v[2],a=v[3],c=v[4],!(u=v[9]=void 0===v[9]?f?0:e.length:an(v[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var o=Co(e);return function i(){for(var a=arguments.length,c=r(a),l=a,s=Qo(i);l--;)c[l]=arguments[l];var u=a<3&&c[0]!==s&&c[a-1]!==s?[]:Vt(c,s);if((a-=u.length)<n)return Ao(e,t,To,i.placeholder,void 0,c,u,void 0,void 0,n-a);var f=this&&this!==$e&&this instanceof i?o:e;return ot(f,this,c)}}(e,t,u):32!=t&&33!=t||c.length?To.apply(void 0,v):function(e,t,n,o){var i=1&t,a=Co(e);return function t(){for(var c=-1,l=arguments.length,s=-1,u=o.length,f=r(u+l),d=this&&this!==$e&&this instanceof t?a:e;++s<u;)f[s]=o[s];for(;l--;)f[s++]=arguments[++c];return ot(d,i?n:this,f)}}(e,t,n,a);else var b=function(e,t,n){var r=1&t,o=Co(e);return function t(){var i=this&&this!==$e&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return Oi((m?Fr:yi)(b,v),e,t)}function Vo(e,t,n,r){return void 0===e||Ta(e,we[n])&&!je.call(r,n)?t:e}function Fo(e,t,n,r,o,i){return Ua(e)&&Ua(t)&&(i.set(t,e),zr(e,t,void 0,Fo,i),i.delete(t)),e}function Uo(e){return qa(e)?void 0:e}function Wo(e,t,n,r,o,i){var a=1&n,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var s=i.get(e),u=i.get(t);if(s&&u)return s==t&&u==e;var f=-1,d=!0,p=2&n?new An:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var h=e[f],m=t[f];if(r)var v=a?r(m,h,f,t,e,i):r(h,m,f,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!vt(t,(function(e,t){if(!Pt(p,t)&&(h===e||o(h,e,n,r,i)))return p.push(t)}))){d=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Ko(e){return wi(mi(e,void 0,Ni),e+"")}function $o(e){return dr(e,kc,ti)}function qo(e){return dr(e,wc,ni)}var Go=gn?function(e){return gn.get(e)}:Xc;function Yo(e){for(var t=e.name+"",n=yn[t],r=je.call(yn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Qo(e){return(je.call(Sn,"placeholder")?Sn:e).placeholder}function Xo(){var e=Sn.iteratee||qc;return e=e===qc?_r:e,arguments.length?e(arguments[0],arguments[1]):e}function Zo(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 Jo(e){for(var t=kc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,pi(o)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Or(n)?n:void 0}var ti=en?function(e){return null==e?[]:(e=me(e),st(en(e),(function(t){return Ge.call(e,t)})))}:ol,ni=en?function(e){for(var t=[];e;)pt(t,ti(e)),e=Ke(e);return t}:ol,ri=pr;function oi(e,t,n){for(var r=-1,o=(t=co(t,e)).length,i=!1;++r<o;){var a=Ci(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Fa(o)&&ci(a,o)&&(Ma(e)||Ia(e))}function ii(e){return"function"!=typeof e.constructor||di(e)?{}:Tn(Ke(e))}function ai(e){return Ma(e)||Ia(e)||!!(Xe&&e&&e[Xe])}function ci(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 li(e,t,n){if(!Ua(n))return!1;var r=typeof t;return!!("number"==r?La(n)&&ci(t,n.length):"string"==r&&t in n)&&Ta(n[t],e)}function si(e,t){if(Ma(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Xa(e))||(U.test(e)||!F.test(e)||null!=t&&e in me(t))}function ui(e){var t=Yo(e),n=Sn[t];if("function"!=typeof n||!(t in In.prototype))return!1;if(e===n)return!0;var r=Go(n);return!!r&&e===r[0]}(dn&&ri(new dn(new ArrayBuffer(1)))!=_||pn&&ri(new pn)!=h||hn&&"[object Promise]"!=ri(hn.resolve())||mn&&ri(new mn)!=g||vn&&ri(new vn)!=w)&&(ri=function(e){var t=pr(e),n=t==v?e.constructor:void 0,r=n?xi(n):"";if(r)switch(r){case kn:return _;case wn:return h;case On:return"[object Promise]";case _n:return g;case jn:return w}return t});var fi=Oe?Ba:il;function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||we)}function pi(e){return e==e&&!Ua(e)}function hi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function mi(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=an(o.length-t,0),c=r(a);++i<a;)c[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(c),ot(e,this,l)}}function vi(e,t){return t.length<2?e:fr(e,Kr(t,0,-1))}function bi(e,t){for(var n=e.length,r=cn(t.length,n),o=go(e);r--;){var i=t[r];e[r]=ci(i,n)?o[i]:void 0}return e}function gi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var yi=_i(Fr),ki=Xt||function(e,t){return $e.setTimeout(e,t)},wi=_i(Ur);function Oi(e,t,n){var r=t+"";return wi(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(Q,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!ut(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(Z):[]}(r),n)))}function _i(e){var t=0,n=0;return function(){var r=ln(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ji(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Ar(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Ei=function(e){var t=_a(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(W,(function(e,n,r,o){t.push(r?o.replace(ee,"$1"):n||e)})),t}));function Ci(e){if("string"==typeof e||Xa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function xi(e){if(null!=e){try{return _e.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Si(e){if(e instanceof In)return e.clone();var t=new Pn(e.__wrapped__,e.__chain__);return t.__actions__=go(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ti=Hr((function(e,t){return Aa(e)?Jn(e,ir(t,1,Aa,!0)):[]})),zi=Hr((function(e,t){var n=Ri(t);return Aa(n)&&(n=void 0),Aa(e)?Jn(e,ir(t,1,Aa,!0),Xo(n,2)):[]})),Pi=Hr((function(e,t){var n=Ri(t);return Aa(n)&&(n=void 0),Aa(e)?Jn(e,ir(t,1,Aa,!0),void 0,n):[]}));function Ii(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rc(n);return o<0&&(o=an(r+o,0)),yt(e,Xo(t,3),o)}function Mi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=rc(n),o=n<0?an(r+o,0):cn(o,r-1)),yt(e,Xo(t,3),o,!0)}function Ni(e){return(null==e?0:e.length)?ir(e,1):[]}function Li(e){return e&&e.length?e[0]:void 0}var Ai=Hr((function(e){var t=dt(e,io);return t.length&&t[0]===e[0]?br(t):[]})),Di=Hr((function(e){var t=Ri(e),n=dt(e,io);return t===Ri(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Xo(t,2)):[]})),Hi=Hr((function(e){var t=Ri(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 Ri(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bi=Hr(Vi);function Vi(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Fi=Ko((function(e,t){var n=null==e?0:e.length,r=Gn(e,t);return Lr(e,dt(t,(function(e){return ci(e,n)?+e:e})).sort(mo)),r}));function Ui(e){return null==e?e:fn.call(e)}var Wi=Hr((function(e){return Zr(ir(e,1,Aa,!0))})),Ki=Hr((function(e){var t=Ri(e);return Aa(t)&&(t=void 0),Zr(ir(e,1,Aa,!0),Xo(t,2))})),$i=Hr((function(e){var t=Ri(e);return t="function"==typeof t?t:void 0,Zr(ir(e,1,Aa,!0),void 0,t)}));function qi(e){if(!e||!e.length)return[];var t=0;return e=st(e,(function(e){if(Aa(e))return t=an(e.length,t),!0})),St(t,(function(t){return dt(e,jt(t))}))}function Gi(e,t){if(!e||!e.length)return[];var n=qi(e);return null==t?n:dt(n,(function(e){return ot(t,void 0,e)}))}var Yi=Hr((function(e,t){return Aa(e)?Jn(e,t):[]})),Qi=Hr((function(e){return ro(st(e,Aa))})),Xi=Hr((function(e){var t=Ri(e);return Aa(t)&&(t=void 0),ro(st(e,Aa),Xo(t,2))})),Zi=Hr((function(e){var t=Ri(e);return t="function"==typeof t?t:void 0,ro(st(e,Aa),void 0,t)})),Ji=Hr(qi);var ea=Hr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Gi(e,n)}));function ta(e){var t=Sn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Ko((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof In&&ci(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new Pn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=ko((function(e,t,n){je.call(e,n)?++e[n]:qn(e,n,1)}));var ia=xo(Ii),aa=xo(Mi);function ca(e,t){return(Ma(e)?at:er)(e,Xo(t,3))}function la(e,t){return(Ma(e)?ct:tr)(e,Xo(t,3))}var sa=ko((function(e,t,n){je.call(e,n)?e[n].push(t):qn(e,n,[t])}));var ua=Hr((function(e,t,n){var o=-1,i="function"==typeof t,a=La(e)?r(e.length):[];return er(e,(function(e){a[++o]=i?ot(t,e,n):gr(e,t,n)})),a})),fa=ko((function(e,t,n){qn(e,n,t)}));function da(e,t){return(Ma(e)?dt:xr)(e,Xo(t,3))}var pa=ko((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=Hr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),Ir(e,ir(t,1),[])})),ma=Qt||function(){return $e.Date.now()};function va(e,t,n){return t=n?void 0:t,Bo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ge(o);return e=rc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ga=Hr((function(e,t,n){var r=1;if(n.length){var o=Vt(n,Qo(ga));r|=32}return Bo(e,r,t,n,o)})),ya=Hr((function(e,t,n){var r=3;if(n.length){var o=Vt(n,Qo(ya));r|=32}return Bo(t,r,e,n,o)}));function ka(e,t,n){var r,i,a,c,l,s,u=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new ge(o);function h(t){var n=r,o=i;return r=i=void 0,u=t,c=e.apply(o,n)}function m(e){return u=e,l=ki(b,t),f?h(e):c}function v(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-u>=a}function b(){var e=ma();if(v(e))return g(e);l=ki(b,function(e){var n=t-(e-s);return d?cn(n,a-(e-u)):n}(e))}function g(e){return l=void 0,p&&r?h(e):(r=i=void 0,c)}function y(){var e=ma(),n=v(e);if(r=arguments,i=this,s=e,n){if(void 0===l)return m(s);if(d)return uo(l),l=ki(b,t),h(s)}return void 0===l&&(l=ki(b,t)),c}return t=ic(t)||0,Ua(n)&&(f=!!n.leading,a=(d="maxWait"in n)?an(ic(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==l&&uo(l),u=0,r=s=i=l=void 0},y.flush=function(){return void 0===l?c:g(ma())},y}var wa=Hr((function(e,t){return Zn(e,1,t)})),Oa=Hr((function(e,t,n){return Zn(e,ic(t)||0,n)}));function _a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(_a.Cache||Ln),n}function ja(e){if("function"!=typeof e)throw new ge(o);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)}}_a.Cache=Ln;var Ea=lo((function(e,t){var n=(t=1==t.length&&Ma(t[0])?dt(t[0],Tt(Xo())):dt(ir(t,1),Tt(Xo()))).length;return Hr((function(r){for(var o=-1,i=cn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return ot(e,this,r)}))})),Ca=Hr((function(e,t){return Bo(e,32,void 0,t,Vt(t,Qo(Ca)))})),xa=Hr((function(e,t){return Bo(e,64,void 0,t,Vt(t,Qo(xa)))})),Sa=Ko((function(e,t){return Bo(e,256,void 0,void 0,void 0,t)}));function Ta(e,t){return e===t||e!=e&&t!=t}var za=Lo(hr),Pa=Lo((function(e,t){return e>=t})),Ia=yr(function(){return arguments}())?yr:function(e){return Wa(e)&&je.call(e,"callee")&&!Ge.call(e,"callee")},Ma=r.isArray,Na=Ze?Tt(Ze):function(e){return Wa(e)&&pr(e)==O};function La(e){return null!=e&&Fa(e.length)&&!Ba(e)}function Aa(e){return Wa(e)&&La(e)}var Da=tn||il,Ha=Je?Tt(Je):function(e){return Wa(e)&&pr(e)==u};function Ra(e){if(!Wa(e))return!1;var t=pr(e);return t==f||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!qa(e)}function Ba(e){if(!Ua(e))return!1;var t=pr(e);return t==d||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==rc(e)}function Fa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ua(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==typeof e}var Ka=et?Tt(et):function(e){return Wa(e)&&ri(e)==h};function $a(e){return"number"==typeof e||Wa(e)&&pr(e)==m}function qa(e){if(!Wa(e)||pr(e)!=v)return!1;var t=Ke(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_e.call(n)==Se}var Ga=tt?Tt(tt):function(e){return Wa(e)&&pr(e)==b};var Ya=nt?Tt(nt):function(e){return Wa(e)&&ri(e)==g};function Qa(e){return"string"==typeof e||!Ma(e)&&Wa(e)&&pr(e)==y}function Xa(e){return"symbol"==typeof e||Wa(e)&&pr(e)==k}var Za=rt?Tt(rt):function(e){return Wa(e)&&Fa(e.length)&&!!Re[pr(e)]};var Ja=Lo(Cr),ec=Lo((function(e,t){return e<=t}));function tc(e){if(!e)return[];if(La(e))return Qa(e)?Kt(e):go(e);if(bt&&e[bt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[bt]());var t=ri(e);return(t==h?Rt:t==g?Ft:Tc)(e)}function nc(e){return e?(e=ic(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rc(e){var t=nc(e),n=t%1;return t==t?n?t-n:t:0}function oc(e){return e?Yn(rc(e),0,4294967295):0}function ic(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if(Ua(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ua(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(q,"");var n=oe.test(e);return n||ae.test(e)?Ue(e.slice(2),n?2:8):re.test(e)?NaN:+e}function ac(e){return yo(e,wc(e))}function cc(e){return null==e?"":Xr(e)}var lc=wo((function(e,t){if(di(t)||La(t))yo(t,kc(t),e);else for(var n in t)je.call(t,n)&&Un(e,n,t[n])})),sc=wo((function(e,t){yo(t,wc(t),e)})),uc=wo((function(e,t,n,r){yo(t,wc(t),e,r)})),fc=wo((function(e,t,n,r){yo(t,kc(t),e,r)})),dc=Ko(Gn);var pc=Hr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&li(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=wc(i),c=-1,l=a.length;++c<l;){var s=a[c],u=e[s];(void 0===u||Ta(u,we[s])&&!je.call(e,s))&&(e[s]=i[s])}return e})),hc=Hr((function(e){return e.push(void 0,Fo),ot(_c,void 0,e)}));function mc(e,t,n){var r=null==e?void 0:fr(e,t);return void 0===r?n:r}function vc(e,t){return null!=e&&oi(e,t,vr)}var bc=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),e[t]=n}),Uc($c)),gc=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),je.call(e,t)?e[t].push(n):e[t]=[n]}),Xo),yc=Hr(gr);function kc(e){return La(e)?Hn(e):jr(e)}function wc(e){return La(e)?Hn(e,!0):Er(e)}var Oc=wo((function(e,t,n){zr(e,t,n)})),_c=wo((function(e,t,n,r){zr(e,t,n,r)})),jc=Ko((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=co(t,e),r||(r=t.length>1),t})),yo(e,qo(e),n),r&&(n=Qn(n,7,Uo));for(var o=t.length;o--;)Jr(n,t[o]);return n}));var Ec=Ko((function(e,t){return null==e?{}:function(e,t){return Mr(e,t,(function(t,n){return vc(e,n)}))}(e,t)}));function Cc(e,t){if(null==e)return{};var n=dt(qo(e),(function(e){return[e]}));return t=Xo(t),Mr(e,n,(function(e,n){return t(e,n[0])}))}var xc=Ro(kc),Sc=Ro(wc);function Tc(e){return null==e?[]:zt(e,kc(e))}var zc=Eo((function(e,t,n){return t=t.toLowerCase(),e+(n?Pc(t):t)}));function Pc(e){return Rc(cc(e).toLowerCase())}function Ic(e){return(e=cc(e))&&e.replace(le,Lt).replace(Ie,"")}var Mc=Eo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nc=Eo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Lc=jo("toLowerCase");var Ac=Eo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dc=Eo((function(e,t,n){return e+(n?" ":"")+Rc(t)}));var Hc=Eo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Rc=jo("toUpperCase");function Bc(e,t,n){return e=cc(e),void 0===(t=n?void 0:t)?function(e){return Ae.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(J)||[]}(e):e.match(t)||[]}var Vc=Hr((function(e,t){try{return ot(e,void 0,t)}catch(n){return Ra(n)?n:new de(n)}})),Fc=Ko((function(e,t){return at(t,(function(t){t=Ci(t),qn(e,t,ga(e[t],e))})),e}));function Uc(e){return function(){return e}}var Wc=So(),Kc=So(!0);function $c(e){return e}function qc(e){return _r("function"==typeof e?e:Qn(e,1))}var Gc=Hr((function(e,t){return function(n){return gr(n,e,t)}})),Yc=Hr((function(e,t){return function(n){return gr(e,n,t)}}));function Qc(e,t,n){var r=kc(t),o=ur(t,r);null!=n||Ua(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ur(t,kc(t)));var i=!(Ua(n)&&"chain"in n&&!n.chain),a=Ba(e);return at(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=go(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Xc(){}var Zc=Io(dt),Jc=Io(lt),el=Io(vt);function tl(e){return si(e)?jt(Ci(e)):function(e){return function(t){return fr(t,e)}}(e)}var nl=No(),rl=No(!0);function ol(){return[]}function il(){return!1}var al=Po((function(e,t){return e+t}),0),cl=Do("ceil"),ll=Po((function(e,t){return e/t}),1),sl=Do("floor");var ul,fl=Po((function(e,t){return e*t}),1),dl=Do("round"),pl=Po((function(e,t){return e-t}),0);return Sn.after=function(e,t){if("function"!=typeof t)throw new ge(o);return e=rc(e),function(){if(--e<1)return t.apply(this,arguments)}},Sn.ary=va,Sn.assign=lc,Sn.assignIn=sc,Sn.assignInWith=uc,Sn.assignWith=fc,Sn.at=dc,Sn.before=ba,Sn.bind=ga,Sn.bindAll=Fc,Sn.bindKey=ya,Sn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ma(e)?e:[e]},Sn.chain=ta,Sn.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:an(rc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Zt(o/t));i<o;)c[a++]=Kr(e,i,i+=t);return c},Sn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Sn.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 pt(Ma(n)?go(n):[n],ir(t,1))},Sn.cond=function(e){var t=null==e?0:e.length,n=Xo();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ge(o);return[n(e[0]),e[1]]})):[],Hr((function(n){for(var r=-1;++r<t;){var o=e[r];if(ot(o[0],this,n))return ot(o[1],this,n)}}))},Sn.conforms=function(e){return function(e){var t=kc(e);return function(n){return Xn(n,e,t)}}(Qn(e,1))},Sn.constant=Uc,Sn.countBy=oa,Sn.create=function(e,t){var n=Tn(e);return null==t?n:$n(n,t)},Sn.curry=function e(t,n,r){var o=Bo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Sn.curryRight=function e(t,n,r){var o=Bo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Sn.debounce=ka,Sn.defaults=pc,Sn.defaultsDeep=hc,Sn.defer=wa,Sn.delay=Oa,Sn.difference=Ti,Sn.differenceBy=zi,Sn.differenceWith=Pi,Sn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:rc(t))<0?0:t,r):[]},Sn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:rc(t)))<0?0:t):[]},Sn.dropRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!0,!0):[]},Sn.dropWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!0):[]},Sn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&li(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=rc(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:rc(r))<0&&(r+=o),r=n>r?0:oc(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Sn.filter=function(e,t){return(Ma(e)?st:or)(e,Xo(t,3))},Sn.flatMap=function(e,t){return ir(da(e,t),1)},Sn.flatMapDeep=function(e,t){return ir(da(e,t),1/0)},Sn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rc(n),ir(da(e,t),n)},Sn.flatten=Ni,Sn.flattenDeep=function(e){return(null==e?0:e.length)?ir(e,1/0):[]},Sn.flattenDepth=function(e,t){return(null==e?0:e.length)?ir(e,t=void 0===t?1:rc(t)):[]},Sn.flip=function(e){return Bo(e,512)},Sn.flow=Wc,Sn.flowRight=Kc,Sn.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},Sn.functions=function(e){return null==e?[]:ur(e,kc(e))},Sn.functionsIn=function(e){return null==e?[]:ur(e,wc(e))},Sn.groupBy=sa,Sn.initial=function(e){return(null==e?0:e.length)?Kr(e,0,-1):[]},Sn.intersection=Ai,Sn.intersectionBy=Di,Sn.intersectionWith=Hi,Sn.invert=bc,Sn.invertBy=gc,Sn.invokeMap=ua,Sn.iteratee=qc,Sn.keyBy=fa,Sn.keys=kc,Sn.keysIn=wc,Sn.map=da,Sn.mapKeys=function(e,t){var n={};return t=Xo(t,3),lr(e,(function(e,r,o){qn(n,t(e,r,o),e)})),n},Sn.mapValues=function(e,t){var n={};return t=Xo(t,3),lr(e,(function(e,r,o){qn(n,r,t(e,r,o))})),n},Sn.matches=function(e){return Sr(Qn(e,1))},Sn.matchesProperty=function(e,t){return Tr(e,Qn(t,1))},Sn.memoize=_a,Sn.merge=Oc,Sn.mergeWith=_c,Sn.method=Gc,Sn.methodOf=Yc,Sn.mixin=Qc,Sn.negate=ja,Sn.nthArg=function(e){return e=rc(e),Hr((function(t){return Pr(t,e)}))},Sn.omit=jc,Sn.omitBy=function(e,t){return Cc(e,ja(Xo(t)))},Sn.once=function(e){return ba(2,e)},Sn.orderBy=function(e,t,n,r){return null==e?[]:(Ma(t)||(t=null==t?[]:[t]),Ma(n=r?void 0:n)||(n=null==n?[]:[n]),Ir(e,t,n))},Sn.over=Zc,Sn.overArgs=Ea,Sn.overEvery=Jc,Sn.overSome=el,Sn.partial=Ca,Sn.partialRight=xa,Sn.partition=pa,Sn.pick=Ec,Sn.pickBy=Cc,Sn.property=tl,Sn.propertyOf=function(e){return function(t){return null==e?void 0:fr(e,t)}},Sn.pull=Bi,Sn.pullAll=Vi,Sn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Xo(n,2)):e},Sn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},Sn.pullAt=Fi,Sn.range=nl,Sn.rangeRight=rl,Sn.rearg=Sa,Sn.reject=function(e,t){return(Ma(e)?st:or)(e,ja(Xo(t,3)))},Sn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Xo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Lr(e,o),n},Sn.rest=function(e,t){if("function"!=typeof e)throw new ge(o);return Hr(e,t=void 0===t?t:rc(t))},Sn.reverse=Ui,Sn.sampleSize=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rc(t),(Ma(e)?Bn:Br)(e,t)},Sn.set=function(e,t,n){return null==e?e:Vr(e,t,n)},Sn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Vr(e,t,n,r)},Sn.shuffle=function(e){return(Ma(e)?Vn:Wr)(e)},Sn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&li(e,t,n)?(t=0,n=r):(t=null==t?0:rc(t),n=void 0===n?r:rc(n)),Kr(e,t,n)):[]},Sn.sortBy=ha,Sn.sortedUniq=function(e){return e&&e.length?Yr(e):[]},Sn.sortedUniqBy=function(e,t){return e&&e.length?Yr(e,Xo(t,2)):[]},Sn.split=function(e,t,n){return n&&"number"!=typeof n&&li(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=cc(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=Xr(t))&&Ht(e)?so(Kt(e),0,n):e.split(t,n):[]},Sn.spread=function(e,t){if("function"!=typeof e)throw new ge(o);return t=null==t?0:an(rc(t),0),Hr((function(n){var r=n[t],o=so(n,0,t);return r&&pt(o,r),ot(e,this,o)}))},Sn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},Sn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:rc(t))<0?0:t):[]},Sn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:rc(t)))<0?0:t,r):[]},Sn.takeRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!1,!0):[]},Sn.takeWhile=function(e,t){return e&&e.length?to(e,Xo(t,3)):[]},Sn.tap=function(e,t){return t(e),e},Sn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ge(o);return Ua(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ka(e,t,{leading:r,maxWait:t,trailing:i})},Sn.thru=na,Sn.toArray=tc,Sn.toPairs=xc,Sn.toPairsIn=Sc,Sn.toPath=function(e){return Ma(e)?dt(e,Ci):Xa(e)?[e]:go(Ei(cc(e)))},Sn.toPlainObject=ac,Sn.transform=function(e,t,n){var r=Ma(e),o=r||Da(e)||Za(e);if(t=Xo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ua(e)&&Ba(i)?Tn(Ke(e)):{}}return(o?at:lr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Sn.unary=function(e){return va(e,1)},Sn.union=Wi,Sn.unionBy=Ki,Sn.unionWith=$i,Sn.uniq=function(e){return e&&e.length?Zr(e):[]},Sn.uniqBy=function(e,t){return e&&e.length?Zr(e,Xo(t,2)):[]},Sn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},Sn.unset=function(e,t){return null==e||Jr(e,t)},Sn.unzip=qi,Sn.unzipWith=Gi,Sn.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},Sn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},Sn.values=Tc,Sn.valuesIn=function(e){return null==e?[]:zt(e,wc(e))},Sn.without=Yi,Sn.words=Bc,Sn.wrap=function(e,t){return Ca(ao(t),e)},Sn.xor=Qi,Sn.xorBy=Xi,Sn.xorWith=Zi,Sn.zip=Ji,Sn.zipObject=function(e,t){return oo(e||[],t||[],Un)},Sn.zipObjectDeep=function(e,t){return oo(e||[],t||[],Vr)},Sn.zipWith=ea,Sn.entries=xc,Sn.entriesIn=Sc,Sn.extend=sc,Sn.extendWith=uc,Qc(Sn,Sn),Sn.add=al,Sn.attempt=Vc,Sn.camelCase=zc,Sn.capitalize=Pc,Sn.ceil=cl,Sn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ic(n))==n?n:0),void 0!==t&&(t=(t=ic(t))==t?t:0),Yn(ic(e),t,n)},Sn.clone=function(e){return Qn(e,4)},Sn.cloneDeep=function(e){return Qn(e,5)},Sn.cloneDeepWith=function(e,t){return Qn(e,5,t="function"==typeof t?t:void 0)},Sn.cloneWith=function(e,t){return Qn(e,4,t="function"==typeof t?t:void 0)},Sn.conformsTo=function(e,t){return null==t||Xn(e,t,kc(t))},Sn.deburr=Ic,Sn.defaultTo=function(e,t){return null==e||e!=e?t:e},Sn.divide=ll,Sn.endsWith=function(e,t,n){e=cc(e),t=Xr(t);var r=e.length,o=n=void 0===n?r:Yn(rc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Sn.eq=Ta,Sn.escape=function(e){return(e=cc(e))&&H.test(e)?e.replace(A,At):e},Sn.escapeRegExp=function(e){return(e=cc(e))&&$.test(e)?e.replace(K,"\\$&"):e},Sn.every=function(e,t,n){var r=Ma(e)?lt:nr;return n&&li(e,t,n)&&(t=void 0),r(e,Xo(t,3))},Sn.find=ia,Sn.findIndex=Ii,Sn.findKey=function(e,t){return gt(e,Xo(t,3),lr)},Sn.findLast=aa,Sn.findLastIndex=Mi,Sn.findLastKey=function(e,t){return gt(e,Xo(t,3),sr)},Sn.floor=sl,Sn.forEach=ca,Sn.forEachRight=la,Sn.forIn=function(e,t){return null==e?e:ar(e,Xo(t,3),wc)},Sn.forInRight=function(e,t){return null==e?e:cr(e,Xo(t,3),wc)},Sn.forOwn=function(e,t){return e&&lr(e,Xo(t,3))},Sn.forOwnRight=function(e,t){return e&&sr(e,Xo(t,3))},Sn.get=mc,Sn.gt=za,Sn.gte=Pa,Sn.has=function(e,t){return null!=e&&oi(e,t,mr)},Sn.hasIn=vc,Sn.head=Li,Sn.identity=$c,Sn.includes=function(e,t,n,r){e=La(e)?e:Tc(e),n=n&&!r?rc(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Qa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(e,t,n)>-1},Sn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rc(n);return o<0&&(o=an(r+o,0)),kt(e,t,o)},Sn.inRange=function(e,t,n){return t=nc(t),void 0===n?(n=t,t=0):n=nc(n),function(e,t,n){return e>=cn(t,n)&&e<an(t,n)}(e=ic(e),t,n)},Sn.invoke=yc,Sn.isArguments=Ia,Sn.isArray=Ma,Sn.isArrayBuffer=Na,Sn.isArrayLike=La,Sn.isArrayLikeObject=Aa,Sn.isBoolean=function(e){return!0===e||!1===e||Wa(e)&&pr(e)==s},Sn.isBuffer=Da,Sn.isDate=Ha,Sn.isElement=function(e){return Wa(e)&&1===e.nodeType&&!qa(e)},Sn.isEmpty=function(e){if(null==e)return!0;if(La(e)&&(Ma(e)||"string"==typeof e||"function"==typeof e.splice||Da(e)||Za(e)||Ia(e)))return!e.length;var t=ri(e);if(t==h||t==g)return!e.size;if(di(e))return!jr(e).length;for(var n in e)if(je.call(e,n))return!1;return!0},Sn.isEqual=function(e,t){return kr(e,t)},Sn.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},Sn.isError=Ra,Sn.isFinite=function(e){return"number"==typeof e&&nn(e)},Sn.isFunction=Ba,Sn.isInteger=Va,Sn.isLength=Fa,Sn.isMap=Ka,Sn.isMatch=function(e,t){return e===t||wr(e,t,Jo(t))},Sn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,wr(e,t,Jo(t),n)},Sn.isNaN=function(e){return $a(e)&&e!=+e},Sn.isNative=function(e){if(fi(e))throw new de("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Sn.isNil=function(e){return null==e},Sn.isNull=function(e){return null===e},Sn.isNumber=$a,Sn.isObject=Ua,Sn.isObjectLike=Wa,Sn.isPlainObject=qa,Sn.isRegExp=Ga,Sn.isSafeInteger=function(e){return Va(e)&&e>=-9007199254740991&&e<=9007199254740991},Sn.isSet=Ya,Sn.isString=Qa,Sn.isSymbol=Xa,Sn.isTypedArray=Za,Sn.isUndefined=function(e){return void 0===e},Sn.isWeakMap=function(e){return Wa(e)&&ri(e)==w},Sn.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==pr(e)},Sn.join=function(e,t){return null==e?"":rn.call(e,t)},Sn.kebabCase=Mc,Sn.last=Ri,Sn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rc(n))<0?an(r+o,0):cn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):yt(e,Ot,o,!0)},Sn.lowerCase=Nc,Sn.lowerFirst=Lc,Sn.lt=Ja,Sn.lte=ec,Sn.max=function(e){return e&&e.length?rr(e,$c,hr):void 0},Sn.maxBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),hr):void 0},Sn.mean=function(e){return _t(e,$c)},Sn.meanBy=function(e,t){return _t(e,Xo(t,2))},Sn.min=function(e){return e&&e.length?rr(e,$c,Cr):void 0},Sn.minBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),Cr):void 0},Sn.stubArray=ol,Sn.stubFalse=il,Sn.stubObject=function(){return{}},Sn.stubString=function(){return""},Sn.stubTrue=function(){return!0},Sn.multiply=fl,Sn.nth=function(e,t){return e&&e.length?Pr(e,rc(t)):void 0},Sn.noConflict=function(){return $e._===this&&($e._=Te),this},Sn.noop=Xc,Sn.now=ma,Sn.pad=function(e,t,n){e=cc(e);var r=(t=rc(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Mo(Jt(o),n)+e+Mo(Zt(o),n)},Sn.padEnd=function(e,t,n){e=cc(e);var r=(t=rc(t))?Wt(e):0;return t&&r<t?e+Mo(t-r,n):e},Sn.padStart=function(e,t,n){e=cc(e);var r=(t=rc(t))?Wt(e):0;return t&&r<t?Mo(t-r,n)+e:e},Sn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),sn(cc(e).replace(G,""),t||0)},Sn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&li(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=nc(e),void 0===t?(t=e,e=0):t=nc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=un();return cn(e+o*(t-e+Fe("1e-"+((o+"").length-1))),t)}return Ar(e,t)},Sn.reduce=function(e,t,n){var r=Ma(e)?ht:Ct,o=arguments.length<3;return r(e,Xo(t,4),n,o,er)},Sn.reduceRight=function(e,t,n){var r=Ma(e)?mt:Ct,o=arguments.length<3;return r(e,Xo(t,4),n,o,tr)},Sn.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rc(t),Dr(cc(e),t)},Sn.replace=function(){var e=arguments,t=cc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Sn.result=function(e,t,n){var r=-1,o=(t=co(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ci(t[r])];void 0===i&&(r=o,i=n),e=Ba(i)?i.call(e):i}return e},Sn.round=dl,Sn.runInContext=e,Sn.sample=function(e){return(Ma(e)?Rn:Rr)(e)},Sn.size=function(e){if(null==e)return 0;if(La(e))return Qa(e)?Wt(e):e.length;var t=ri(e);return t==h||t==g?e.size:jr(e).length},Sn.snakeCase=Ac,Sn.some=function(e,t,n){var r=Ma(e)?vt:$r;return n&&li(e,t,n)&&(t=void 0),r(e,Xo(t,3))},Sn.sortedIndex=function(e,t){return qr(e,t)},Sn.sortedIndexBy=function(e,t,n){return Gr(e,t,Xo(n,2))},Sn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=qr(e,t);if(r<n&&Ta(e[r],t))return r}return-1},Sn.sortedLastIndex=function(e,t){return qr(e,t,!0)},Sn.sortedLastIndexBy=function(e,t,n){return Gr(e,t,Xo(n,2),!0)},Sn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=qr(e,t,!0)-1;if(Ta(e[n],t))return n}return-1},Sn.startCase=Dc,Sn.startsWith=function(e,t,n){return e=cc(e),n=null==n?0:Yn(rc(n),0,e.length),t=Xr(t),e.slice(n,n+t.length)==t},Sn.subtract=pl,Sn.sum=function(e){return e&&e.length?xt(e,$c):0},Sn.sumBy=function(e,t){return e&&e.length?xt(e,Xo(t,2)):0},Sn.template=function(e,t,n){var r=Sn.templateSettings;n&&li(e,t,n)&&(t=void 0),e=cc(e),t=uc({},t,r,Vo);var o,i,a=uc({},t.imports,r.imports,Vo),c=kc(a),l=zt(a,c),s=0,u=t.interpolate||se,f="__p += '",d=ve((t.escape||se).source+"|"+u.source+"|"+(u===V?te:se).source+"|"+(t.evaluate||se).source+"|$","g"),p="//# sourceURL="+(je.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++He+"]")+"\n";e.replace(d,(function(t,n,r,a,c,l){return r||(r=a),f+=e.slice(s,l).replace(ue,Dt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),c&&(i=!0,f+="';\n"+c+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+t.length,t})),f+="';\n";var h=je.call(t,"variable")&&t.variable;h||(f="with (obj) {\n"+f+"\n}\n"),f=(i?f.replace(I,""):f).replace(M,"$1").replace(N,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Vc((function(){return pe(c,p+"return "+f).apply(void 0,l)}));if(m.source=f,Ra(m))throw m;return m},Sn.times=function(e,t){if((e=rc(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var o=St(r,t=Xo(t));++n<e;)t(n);return o},Sn.toFinite=nc,Sn.toInteger=rc,Sn.toLength=oc,Sn.toLower=function(e){return cc(e).toLowerCase()},Sn.toNumber=ic,Sn.toSafeInteger=function(e){return e?Yn(rc(e),-9007199254740991,9007199254740991):0===e?e:0},Sn.toString=cc,Sn.toUpper=function(e){return cc(e).toUpperCase()},Sn.trim=function(e,t,n){if((e=cc(e))&&(n||void 0===t))return e.replace(q,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e),o=Kt(t);return so(r,It(r,o),Mt(r,o)+1).join("")},Sn.trimEnd=function(e,t,n){if((e=cc(e))&&(n||void 0===t))return e.replace(Y,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e);return so(r,0,Mt(r,Kt(t))+1).join("")},Sn.trimStart=function(e,t,n){if((e=cc(e))&&(n||void 0===t))return e.replace(G,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e);return so(r,It(r,Kt(t))).join("")},Sn.truncate=function(e,t){var n=30,r="...";if(Ua(t)){var o="separator"in t?t.separator:o;n="length"in t?rc(t.length):n,r="omission"in t?Xr(t.omission):r}var i=(e=cc(e)).length;if(Ht(e)){var a=Kt(e);i=a.length}if(n>=i)return e;var c=n-Wt(r);if(c<1)return r;var l=a?so(a,0,c).join(""):e.slice(0,c);if(void 0===o)return l+r;if(a&&(c+=l.length-c),Ga(o)){if(e.slice(c).search(o)){var s,u=l;for(o.global||(o=ve(o.source,cc(ne.exec(o))+"g")),o.lastIndex=0;s=o.exec(u);)var f=s.index;l=l.slice(0,void 0===f?c:f)}}else if(e.indexOf(Xr(o),c)!=c){var d=l.lastIndexOf(o);d>-1&&(l=l.slice(0,d))}return l+r},Sn.unescape=function(e){return(e=cc(e))&&D.test(e)?e.replace(L,$t):e},Sn.uniqueId=function(e){var t=++Ee;return cc(e)+t},Sn.upperCase=Hc,Sn.upperFirst=Rc,Sn.each=ca,Sn.eachRight=la,Sn.first=Li,Qc(Sn,(ul={},lr(Sn,(function(e,t){je.call(Sn.prototype,t)||(ul[t]=e)})),ul),{chain:!1}),Sn.VERSION="4.17.20",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Sn[e].placeholder=Sn})),at(["drop","take"],(function(e,t){In.prototype[e]=function(n){n=void 0===n?1:an(rc(n),0);var r=this.__filtered__&&!t?new In(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},In.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;In.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");In.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");In.prototype[e]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter($c)},In.prototype.find=function(e){return this.filter(e).head()},In.prototype.findLast=function(e){return this.reverse().find(e)},In.prototype.invokeMap=Hr((function(e,t){return"function"==typeof e?new In(this):this.map((function(n){return gr(n,e,t)}))})),In.prototype.reject=function(e){return this.filter(ja(Xo(e)))},In.prototype.slice=function(e,t){e=rc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new In(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rc(t))<0?n.dropRight(-t):n.take(t-e)),n)},In.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},lr(In.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Sn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Sn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof In,l=a[0],s=c||Ma(t),u=function(e){var t=o.apply(Sn,pt([e],a));return r&&f?t[0]:t};s&&n&&"function"==typeof l&&1!=l.length&&(c=s=!1);var f=this.__chain__,d=!!this.__actions__.length,p=i&&!f,h=c&&!d;if(!i&&s){t=h?t:new In(this);var m=e.apply(t,a);return m.__actions__.push({func:na,args:[u],thisArg:void 0}),new Pn(m,f)}return p&&h?e.apply(this,a):(m=this.thru(u),p?r?m.value()[0]:m.value():m)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Sn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ma(o)?o:[],e)}return this[n]((function(n){return t.apply(Ma(n)?n:[],e)}))}})),lr(In.prototype,(function(e,t){var n=Sn[t];if(n){var r=n.name+"";je.call(yn,r)||(yn[r]=[]),yn[r].push({name:t,func:n})}})),yn[To(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var e=new In(this.__wrapped__);return e.__actions__=go(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=go(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=go(this.__views__),e},In.prototype.reverse=function(){if(this.__filtered__){var e=new In(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},In.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ma(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=cn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,c=i.end,l=c-a,s=r?c:a-1,u=this.__iteratees__,f=u.length,d=0,p=cn(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return no(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var m=-1,v=e[s+=t];++m<f;){var b=u[m],g=b.iteratee,y=b.type,k=g(v);if(2==y)v=k;else if(!k){if(1==y)continue e;break e}}h[d++]=v}return h},Sn.prototype.at=ra,Sn.prototype.chain=function(){return ta(this)},Sn.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},Sn.prototype.next=function(){void 0===this.__values__&&(this.__values__=tc(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Sn.prototype.plant=function(e){for(var t,n=this;n instanceof zn;){var r=Si(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},Sn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof In){var t=e;return this.__actions__.length&&(t=new In(this)),(t=t.reverse()).__actions__.push({func:na,args:[Ui],thisArg:void 0}),new Pn(t,this.__chain__)}return this.thru(Ui)},Sn.prototype.toJSON=Sn.prototype.valueOf=Sn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Sn.prototype.first=Sn.prototype.head,bt&&(Sn.prototype[bt]=function(){return this}),Sn}();$e._=qt,void 0===(r=function(){return qt}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(38)(e))},,function(e,t,n){var r;
10
+ /*!
11
+ Copyright (c) 2017 Jed Watson.
12
+ Licensed under the MIT License (MIT), see
13
+ http://jedwatson.github.io/classnames
14
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";e.exports=n(62)},,,,function(e,t,n){e.exports=n(85)()},function(e,t,n){e.exports=n(63)},,,,function(e,t,n){"use strict";var r=n(70),o=n(71),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,c=0,l=o.round,s=o.min,u=o.max,f=o.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,c=null,l=null,f=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(z[e])e=z[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:R(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:R(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(p=e.r,h=e.g,m=e.b,t={r:255*M(p,255),g:255*M(h,255),b:255*M(m,255)},f=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=D(e.s),c=D(e.v),t=function(e,t,n){e=6*M(e,360),t=M(t,100),n=M(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),c=n*(1-i*t),l=n*(1-(1-i)*t),s=r%6;return{r:255*[n,c,a,a,l,n][s],g:255*[l,n,n,c,a,a][s],b:255*[a,a,l,n,n,c][s]}}(e.h,r,c),f=!0,d="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=D(e.s),l=D(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=M(e,360),t=M(t,100),n=M(n,100),0===t)r=o=i=n;else{var c=n<.5?n*(1+t):n+t-n*t,l=2*n-c;r=a(l,c,e+1/3),o=a(l,c,e),i=a(l,c,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),f=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,h,m;return n=I(n),{ok:f,format:e.format||d,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=c++}function p(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,o,i=u(e,t,n),a=s(e,t,n),c=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=c>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:c}}function h(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,o,i=u(e,t,n),a=s(e,t,n),c=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:c}}function m(e,t,n,r){var o=[A(l(e).toString(16)),A(l(t).toString(16)),A(l(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function v(e,t,n,r){return[A(H(r)),A(l(e).toString(16)),A(l(t).toString(16)),A(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=N(n.s),d(n)}function g(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=N(n.s),d(n)}function y(e){return d(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=N(n.l),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,s(255,n.r-l(-t/100*255))),n.g=u(0,s(255,n.g-l(-t/100*255))),n.b=u(0,s(255,n.b-l(-t/100*255))),d(n)}function O(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=N(n.l),d(n)}function _(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function j(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function E(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,i=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(d(r));return i}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(d({h:r,s:o,v:i})),i=(i+c)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[A(l(e).toString(16)),A(l(t).toString(16)),A(l(n).toString(16)),A(H(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*M(this._r,255))+"%",g:l(100*M(this._g,255))+"%",b:l(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*M(this._r,255))+"%, "+l(100*M(this._g,255))+"%, "+l(100*M(this._b,255))+"%)":"rgba("+l(100*M(this._r,255))+"%, "+l(100*M(this._g,255))+"%, "+l(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(O,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),i=n/100;return d({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,i=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},d.mostReadable=function(e,t,n){var r,o,i,a,c=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var s=0;s<t.length;s++)(r=d.readability(e,t[s]))>l&&(l=r,c=d(t[s]));return d.isReadable(e,c,{level:i,size:a})||!o?c:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var z=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(z);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function M(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return s(1,u(0,e))}function L(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function R(e){return L(e)/255}var B,V,F,U=(V="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",F="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,c=r,l=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<l;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==r&&(c===o&&(o=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(t=new Array(l),a=0;a<l;a++)t[a]=arguments[a];return c={args:t,val:e.apply(null,t)},r?(r.prev=c,c.next=r):o=c,i===n?(o=o.prev).next=null:i++,r=c,c.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},,,,,,function(e,t,n){"use strict";e.exports=n(88)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(90);t.default=r.default},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(94)),i=r(n(95)),a=n(3),c=r(a),l=r(n(96)),s=r(n(97)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function f(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function d(e,t){return u.und(e)||u.nul(e)?t:e}function p(e){return u.und(e)?[]:u.arr(e)?e:[e]}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return u.fun(e)?e.apply(void 0,n):e}function m(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,i(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var i;return u.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var v,b,g=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof g&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof g&&e.removeChild(s(t))}))},t}return l(t,e),t}(g),k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof g&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof g&&e.removeChild(s(t))}))},t}l(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof g)&&(t[n]=r instanceof g?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(g);function w(e,t){v={fn:e,transform:t}}function O(e){b=e}var _,j=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},E=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function C(e){_=e}var x,S=function(){return Date.now()};function T(e){x=e}var z,P,I=function(e){return e.current};function M(e){z=e}var N=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:w,get colorNames(){return b},injectColorNames:O,get requestFrame(){return j},get cancelFrame(){return E},injectFrame:function(e,t){j=e,E=t},get interpolation(){return _},injectStringInterpolator:C,get now(){return S},injectNow:function(e){S=e},get defaultElement(){return x},injectDefaultElement:T,get animatedApi(){return I},injectAnimatedApi:function(e){I=e},get createAnimatedStyle(){return z},injectCreateAnimatedStyle:M,get manualFrameloop(){return P},injectManualFrameloop:function(e){P=e}}),L=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:z(t.style)}):t,r.update=n,r.attach(),r}return l(t,e),t}(k),A=!1,D=new Set,H=function e(){if(!A)return!1;var t=S(),n=D,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var a=i,c=!1,l=0;l<a.configs.length;l++){for(var s=a.configs[l],u=void 0,f=void 0,d=0;d<s.animatedValues.length;d++){var p=s.animatedValues[d];if(!p.done){var h=s.fromValues[d],m=s.toValues[d],v=p.lastPosition,b=m instanceof g,y=Array.isArray(s.initialVelocity)?s.initialVelocity[d]:s.initialVelocity;if(b&&(m=m.getValue()),s.immediate)p.setValue(m),p.done=!0;else if("string"!=typeof h&&"string"!=typeof m){if(void 0!==s.duration)v=h+s.easing((t-p.startTime)/s.duration)*(m-h),u=t>=p.startTime+s.duration;else if(s.decay)v=h+y/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(u=Math.abs(p.lastPosition-v)<.1)&&(m=v);else{f=void 0!==p.lastTime?p.lastTime:t,y=void 0!==p.lastVelocity?p.lastVelocity:s.initialVelocity,t>f+64&&(f=t);for(var k=Math.floor(t-f),w=0;w<k;++w){v+=1*(y+=1*((-s.tension*(v-m)+-s.friction*y)/s.mass)/1e3)/1e3}var O=!(!s.clamp||0===s.tension)&&(h<m?v>m:v<m),_=Math.abs(y)<=s.precision,E=0===s.tension||Math.abs(m-v)<=s.precision;u=O||_&&E,p.lastVelocity=y,p.lastTime=t}b&&!s.toValues[d].done&&(u=!1),u?(p.value!==m&&(v=m),p.done=!0):c=!0,p.setValue(v),p.lastPosition=v}else p.setValue(m),p.done=!0}}a.props.onFrame&&(a.values[s.name]=s.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),c||(D.delete(a),a.stop(!0))}return D.size?P?P():j(e):A=!1,A};function R(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return R({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,c,l){var s=l?l(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,a,c,r.map)}}var B=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof y&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],a.calc=R(r,o,i),a}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=R(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(y);var V=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new B(this,e,t,n)},t}(g),F=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new V(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new B(this,e,t)},t}(y),U=0,W=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=m(e),n=t.delay,r=void 0===n?0:n,a=t.to,c=i(t,["delay","to"]);if(u.arr(a)||u.fun(a))this.queue.push(o({},c,{delay:r,to:a}));else if(a){var l={};Object.entries(a).forEach((function(e){var t,n=e[0],i=e[1],a=o({to:(t={},t[n]=i,t),delay:h(r,n)},c),s=l[a.delay]&&l[a.delay].to;l[a.delay]=o({},l[a.delay],a,{to:o({},s,a.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(c),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,a=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(a)&&(n.merged=o({},n.merged,a))}));var r=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var c=t.delay,l=i(t,["delay"]),s=function(t){o===a.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},f=u.arr(l.to)||u.fun(l.to);c?setTimeout((function(){r===n.guid&&(f?n.runAsync(l,s):n.diff(l).start(s))}),c):f?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,D.has(t)||D.add(t),A||(A=!0,j(P||H));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,D.has(t)&&D.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),a=this.local,c=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,m(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),c=c.then((function(){if(a===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s<r.to.length;s++)l(s);else if(u.fun(r.to)){var f,d=0;c=c.then((function(){return r.to((function(e){var t=o({},r,m(e));if(u.arr(t.config)&&(t.config=t.config[d]),d++,a===n.guid)return f=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return f}))}))}c.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,a=n.to,c=void 0===a?{}:a,l=n.config,s=void 0===l?{}:l,f=n.reverse,m=n.attach,v=n.reset,g=n.immediate;if(f){var y=[c,i];i=y[0],c=y[1]}this.merged=o({},i,this.merged,c),this.hasChanged=!1;var k=m&&m(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],a=n[1],c=e[r]||{},l=u.num(a),f=u.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!b[a],m=u.arr(a),y=!l&&!m&&!f,w=u.und(i[r])?a:i[r],O=l||m||f?a:1,j=h(s,r);k&&(O=k.animations[r].parent);var E,C=c.parent,x=c.interpolation,T=p(k?O.getPayload():O),z=a;y&&(z=_({range:[0,1],output:[a,a]})(1));var P,I=x&&x.getValue(),M=!u.und(C)&&c.animatedValues.some((function(e){return!e.done})),N=!u.equ(z,I),L=!u.equ(z,c.previous),A=!u.equ(j,c.config);if(v||L&&N||A){var D;if(l||f)C=x=c.parent||new V(w);else if(m)C=x=c.parent||new F(w);else if(y){var H=c.interpolation&&c.interpolation.calc(c.parent.value);H=void 0===H||v?w:H,c.parent?(C=c.parent).setValue(0,!1):C=new V(0);var R={output:[H,a]};c.interpolation?(x=c.interpolation,c.interpolation.updateConfig(R)):x=C.interpolate(R)}return T=p(k?O.getPayload():O),E=p(C.getPayload()),v&&!y&&C.setValue(w,!1),t.hasChanged=!0,E.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=M?e.lastVelocity:void 0,e.lastTime=M?e.lastTime:void 0,e.startTime=S(),e.done=!1,e.animatedStyles.clear()})),h(g,r)&&C.setValue(y?O:a,!1),o({},e,((D={})[r]=o({},c,{name:r,parent:C,interpolation:x,animatedValues:E,toValues:T,previous:z,config:j,fromValues:p(C.getValue()),immediate:h(g,r),initialVelocity:d(j.velocity,0),clamp:d(j.clamp,!1),precision:d(j.precision,.01),tension:d(j.tension,170),friction:d(j.friction,26),mass:d(j.mass,1),duration:j.duration,easing:d(j.easing,(function(e){return e})),decay:j.decay}),D))}return N?e:(y&&(C.setValue(1,!1),x.updateConfig({output:[z,z]})),C.done=!0,t.hasChanged=!0,o({},e,((P={})[r]=o({},e[r],{previous:z}),P)))}),this.animations),this.hasChanged)for(var w in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[w]=this.animations[w].interpolation,this.values[w]=this.animations[w].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),K=function(e,t){var n=a.useRef(!1),r=a.useRef(),o=u.fun(t),i=a.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new W,a=o?h(t,r,i):t[r];return 0===r&&(n=a.ref),i.update(a),n||i.start(),i})),n]}),[e]),c=i[0],l=i[1];r.current=c;a.useImperativeHandle(l,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var s=a.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?h(e,n,t):e[n]),l||t.start()}))}}),[e]);a.useEffect((function(){n.current?o||s(t):l||r.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var f=r.current.map((function(e){return e.getValues()}));return o?[f,s,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,q=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},G=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,a=i(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:q(t,r)},a)};function Y(e,t){var n=function(){if(o){if(i>=r.length)return"break";a=r[i++]}else{if((i=r.next()).done)return"break";a=i.value}var n=a.key,c=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof g||(t=v.transform(t)),n.payload=t,n}return l(t,e),t}(k),X={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Z="[-+]?\\d*\\.?\\d+";function J(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+J(Z,Z,Z)),te=new RegExp("rgba"+J(Z,Z,Z,Z)),ne=new RegExp("hsl"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Z)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{6})$/,ce=/^#([0-9a-fA-F]{8})$/;function le(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function se(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=le(o,r,e+1/3),a=le(o,r,e),c=le(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*c)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function de(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function he(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ae.exec(t))?parseInt(n[1]+"ff",16)>>>0:X.hasOwnProperty(t)?X[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|de(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ce.exec(t))?parseInt(n[1],16)>>>0:(n=ie.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|se(fe(n[1]),pe(n[2]),pe(n[3])))>>>0:(n=re.exec(t))?(se(fe(n[1]),pe(n[2]),pe(n[3]))|de(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var me=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ve=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(X).join("|")+")","g"),ge={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","Ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}ge=Object.keys(ge).reduce((function(e,t){return ye.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ge);var we={};M((function(e){return new Q(e)})),T("div"),C((function(e){var t=e.output.map((function(e){return e.replace(ve,he)})).map((function(e){return e.replace(be,he)})),n=t[0].match(me).map((function(){return[]}));t.forEach((function(e){e.match(me).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(me).map((function(t,r){return R(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(me,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),O(X),w((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,a=t.scrollLeft,c=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),f=ke(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,f):e.style[s]=f}for(var d in c){var p=l?d:we[d]||(we[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,c[d])}}),(function(e){return e}));var Oe,_e,je=(Oe=function(e){return a.forwardRef((function(t,n){var r=f(),l=a.useRef(!0),s=a.useRef(null),d=a.useRef(null),p=a.useCallback((function(e){var t=s.current;s.current=new L(e,(function(){var e=!1;d.current&&(e=v.fn(d.current,s.current.getAnimatedValue())),d.current&&!1!==e||r()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),a.useImperativeHandle(n,(function(){return I(d,l,r)})),p(t);var h,m=s.current.getValue(),b=(m.scrollTop,m.scrollLeft,i(m,["scrollTop","scrollLeft"])),g=(h=e,!u.fun(h)||h.prototype instanceof c.Component?function(e){return d.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return c.createElement(e,o({},b,{ref:g}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=Oe(n),e}),Oe)}),Ee=je(["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","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","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=je,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=H,t.animated=Ee,t.a=Ee,t.interpolate=function(e,t,n){return e&&new B(e,t,n)},t.Globals=N,t.useSpring=function(e){var t=u.fun(e),n=K(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=a.useRef(!1),r=u.fun(t),i=h(t),c=a.useRef(),l=K(e,(function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},i,{config:h(i.config,e),attach:e>0&&function(){return c.current[e-1]}})})),s=l[0],f=l[1],d=l[2],p=a.useMemo((function(){return function(e){return f((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,a=c.current[r];return o({},e,{config:h(e.config||i.config,t),attach:a&&function(){return a}})}))}}),[e,i.reverse]);return a.useEffect((function(){n.current&&!r&&p(t)})),a.useEffect((function(){n.current=!0}),[]),r?[s,p,d]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),c=G(r),l=c.lazy,s=void 0!==l&&l,u=(c.unique,c.reset),d=void 0!==u&&u,p=(c.enter,c.leave,c.update,c.onDestroyed),m=(c.keys,c.items,c.onFrame),v=c.onRest,b=c.onStart,g=c.ref,y=i(c,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),k=f(),w=a.useRef(!1),O=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!w.current&&new Map,forceUpdate:k});return a.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(O.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(O.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(O.current.instances).map((function(e){return e[1]}))}}})),O.current=function(e,t){var n=e.first,r=e.prevProps,a=i(e,["first","prevProps"]),c=G(t),l=c.items,s=c.keys,u=c.initial,f=c.from,d=c.enter,p=c.leave,m=c.update,v=c.trail,b=void 0===v?0:v,g=c.unique,y=c.config,k=c.order,w=void 0===k?["enter","leave","update"]:k,O=G(r),_=O.keys,j=O.items,E=o({},a.current),C=[].concat(a.deleted),x=Object.keys(E),S=new Set(x),T=new Set(s),z=s.filter((function(e){return!S.has(e)})),P=a.transitions.filter((function(e){return!e.destroyed&&!T.has(e.originalKey)})).map((function(e){return e.originalKey})),I=s.filter((function(e){return S.has(e)})),M=-b;for(;w.length;){switch(w.shift()){case"enter":z.forEach((function(e,t){g&&C.find((function(t){return t.originalKey===e}))&&(C=C.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":"enter";E[e]={slot:i,originalKey:e,key:g?String(e):$++,item:o,trail:M+=b,config:h(y,o,i),from:h(n&&void 0!==u?u||{}:f,o),to:h(d,o)}}));break;case"leave":P.forEach((function(e){var t=_.indexOf(e),n=j[t];C.unshift(o({},E[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:M+=b,config:h(y,n,"leave"),to:h(p,n)})),delete E[e]}));break;case"update":I.forEach((function(e){var t=s.indexOf(e),n=l[t];E[e]=o({},E[e],{item:n,slot:"update",trail:M+=b,config:h(y,n,"update"),to:h(m,n)})}))}}var N=s.map((function(e){return E[e]}));return C.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=N.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),N=[].concat(N.slice(0,t),[r],N.slice(t))})),o({},a,{changed:z.length||P.length||I.length,first:n&&0===z.length,transitions:N,current:E,deleted:C,prevProps:t})}(O.current,r),O.current.changed&&O.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,a=e.trail,c=e.key,l=e.item;O.current.instances.has(c)||O.current.instances.set(c,new W);var u=O.current.instances.get(c),f=o({},y,{to:r,from:n,config:i,ref:g,onRest:function(n){O.current.mounted&&(e.destroyed&&(g||s||Y(O,c),p&&p(l)),!Array.from(O.current.instances).some((function(e){return!e[1].idle}))&&(g||s)&&O.current.deleted.length>0&&Y(O),v&&v(l,t,n))},onStart:b&&function(){return b(l,t)},onFrame:m&&function(e){return m(l,t,e)},delay:a,reset:d&&"enter"===t});u.update(f),O.current.paused||u.start()})),a.useEffect((function(){return O.current.mounted=w.current=!0,function(){O.current.mounted=w.current=!1,Array.from(O.current.instances).map((function(e){return e[1].destroy()})),O.current.instances.clear()}}),[]),O.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:O.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=a.useRef();a.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var a=i.controllers;if(a.length){var c=n*t[r];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+c})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=K},function(e,t,n){var r=n(79),o=n(80);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var c=0;c<16;++c)t[i+c]=a[c];return t||o(a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(40),a=(r=i)&&r.__esModule?r:{default:r};var c={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return c.obj(e)&&e.type===a.default.all},error:function(e){return c.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&c.func(e.then)},iterator:function(e){return e&&c.func(e.next)&&c.func(e.throw)},fork:function(e){return c.obj(e)&&e.type===a.default.fork},join:function(e){return c.obj(e)&&e.type===a.default.join},race:function(e){return c.obj(e)&&e.type===a.default.race},call:function(e){return c.obj(e)&&e.type===a.default.call},cps:function(e){return c.obj(e)&&e.type===a.default.cps},subscribe:function(e){return c.obj(e)&&e.type===a.default.subscribe},channel:function(e){return c.obj(e)&&c.func(e.subscribe)}};t.default=c},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,c;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[c=n[a]]!==i[c])return i;return r}}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){var r=n(106);function o(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}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";function r(e){return(r="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)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,c=0;c<i.length;c++){var l=i[c];if(void 0===(a=a.get(l)))return;var s=t[l];if(void 0===(a=a.get(s)))return}var u=a.get("_ekm_value");return u?(n.delete(u[0]),u[0]=t,a.set("_ekm_value",u),n.set(t,u),u):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,c=0;c<o.length;c++){var l=o[c];a.has(l)||a.set(l,new e),a=a.get(l);var s=t[l];a.has(s)||a.set(s,new e),a=a.get(s)}var u=a.get("_ekm_value");return u&&this._map.delete(u[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t,n){"use strict";
15
+ /*
16
+ object-assign
17
+ (c) Sindre Sorhus
18
+ @license MIT
19
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,c,l=a(e),s=1;s<arguments.length;s++){for(var u in n=Object(arguments[s]))o.call(n,u)&&(l[u]=n[u]);if(r){c=r(n);for(var f=0;f<c.length;f++)i.call(n,c[f])&&(l[c[f]]=n[c[f]])}}return l}},function(e,t,n){"use strict";(function(e){var r,o=n(47);r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var i=Object(o.a)(r);t.a=i}).call(this,n(69)(e))},function(e,t){var n={};n.parse=function(){var e=/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,t=/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,n=/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,r=/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,o=/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,i=/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,a=/^(left|center|right|top|bottom)/i,c=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,l=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,s=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,u=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,f=/^\(/,d=/^\)/,p=/^,/,h=/^\#([0-9a-fA-F]+)/,m=/^([a-zA-Z]+)/,v=/^rgb/i,b=/^rgba/i,g=/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,y="";function k(e){var t=new Error(y+": "+e);throw t.source=y,t}function w(){var e=z(O);return y.length>0&&k("Invalid input not EOF"),e}function O(){return _("linear-gradient",e,E)||_("repeating-linear-gradient",t,E)||_("radial-gradient",n,C)||_("repeating-radial-gradient",r,C)}function _(e,t,n){return j(t,(function(t){var r=n();return r&&(A(p)||k("Missing comma before color stops")),{type:e,orientation:r,colorStops:z(P)}}))}function j(e,t){var n=A(e);if(n)return A(f)||k("Missing ("),result=t(n),A(d)||k("Missing )"),result}function E(){return L("directional",o,1)||L("angular",u,1)}function C(){var e,t,n=x();return n&&((e=[]).push(n),t=y,A(p)&&((n=x())?e.push(n):y=t)),e}function x(){var e=function(){var e=L("shape",/^(circle)/i,0);e&&(e.style=N()||S());return e}()||function(){var e=L("shape",/^(ellipse)/i,0);e&&(e.style=M()||S());return e}();if(e)e.at=function(){if(L("position",/^at/,0)){var e=T();return e||k("Missing positioning value"),e}}();else{var t=T();t&&(e={type:"default-radial",at:t})}return e}function S(){return L("extent-keyword",i,1)}function T(){var e={x:M(),y:M()};if(e.x||e.y)return{type:"position",value:e}}function z(e){var t=e(),n=[];if(t)for(n.push(t);A(p);)(t=e())?n.push(t):k("One extra comma");return n}function P(){var e=L("hex",h,1)||j(b,(function(){return{type:"rgba",value:z(I)}}))||j(v,(function(){return{type:"rgb",value:z(I)}}))||L("literal",m,0);return e||k("Expected color definition"),e.length=M(),e}function I(){return A(g)[1]}function M(){return L("%",l,1)||L("position-keyword",a,1)||N()}function N(){return L("px",c,1)||L("em",s,1)}function L(e,t,n){var r=A(t);if(r)return{type:e,value:r[n]}}function A(e){var t,n;return(n=/^[\n\r\t\s]+/.exec(y))&&D(n[0].length),(t=e.exec(y))&&D(t[0].length),t}function D(e){y=y.substr(e)}return function(e){return y=e.toString(),w()}}(),t.parse=(n||{}).parse},function(e,t,n){"use strict";e.exports=n(87)},function(e,t,n){"use strict";var r=n(98),o=n(99),i=n(43);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";var r=n(100),o=n(101);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(102);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),c=-1!==i&&i<e.indexOf("#")?"?":"#",s=e.split(c);s[0]=s[0].replace(/\\/g,"/");var y=e=s.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var k=l.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(y);if(w){var O=(w=w[0]).toLowerCase();this.protocol=O,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===y.substr(0,2);!_||w&&v[w]||(y=y.substr(2),this.slashes=!0)}if(!v[w]&&(_||w&&!b[w])){for(var j,E,C=-1,x=0;x<d.length;x++){-1!==(S=y.indexOf(d[x]))&&(-1===C||S<C)&&(C=S)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(j=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(j)),C=-1;for(x=0;x<f.length;x++){var S;-1!==(S=y.indexOf(f[x]))&&(-1===C||S<C)&&(C=S)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var z=this.hostname.split(/\./),P=(x=0,z.length);x<P;x++){var I=z[x];if(I&&!I.match(p)){for(var M="",N=0,L=I.length;N<L;N++)I.charCodeAt(N)>127?M+="x":M+=I[N];if(!M.match(p)){var A=z.slice(0,x),D=z.slice(x+1),H=I.match(h);H&&(A.push(H[1]),D.unshift(H[2])),D.length&&(y="/"+D.join(".")+y),this.hostname=A.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var R=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+R,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[O])for(x=0,P=u.length;x<P;x++){var V=u[x];if(-1!==y.indexOf(V)){var F=encodeURIComponent(V);F===V&&(F=escape(V)),y=y.split(V).join(F)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){R=this.pathname||"";var K=this.search||"";this.path=R+K}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=g.stringify(this.query));var c=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var c=r[a];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),s=0;s<l.length;s++){var u=l[s];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var f=Object.keys(e),d=0;d<f.length;d++){var p=f[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=k||y||n.host&&e.pathname,O=w,_=n.pathname&&n.pathname.split("/")||[],j=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(j&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===_[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=h;else if(h.length)_||(_=[]),_.pop(),_=_.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(j)n.hostname=n.host=_.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=_.slice(-1)[0],C=(n.host||e.host||_.length>1)&&("."===E||".."===E)||""===E,x=0,S=_.length;S>=0;S--)"."===(E=_[S])?_.splice(S,1):".."===E?(_.splice(S,1),x++):x&&(_.splice(S,1),x--);if(!w&&!O)for(;x--;x)_.unshift("..");!w||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),C&&"/"!==_.join("/").substr(-1)&&_.push("");var T,z=""===_[0]||_[0]&&"/"===_[0].charAt(0);j&&(n.hostname=n.host=z?"":_.length?_.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(w=w||n.host&&_.length)&&!z&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},,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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(40),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t){e.exports=function(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}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],c=Object.keys(a),l=0;l<c.length;++l){var s=c[l],u=a[s];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:s}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var c=r.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=r.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&r.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var c=t;return o(t)&&!o(n)&&(c=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),c)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";e.exports=n(61)},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,o=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-star",c,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:s,height:o,width:o,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var o,i=n(3),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(39);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=c(n(64)),i=c(n(66)),a=c(n(68));function c(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=n(72)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t){function n(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void n(s)}c.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,l,"next",e)}function l(e){n(a,o,i,c,l,"throw",e)}c(void 0)}))}}},function(e,t,n){var r;/*! showdown v 1.9.1 - 02-11-2019 */
20
+ (function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},c={},l=o(!0),s="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function f(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",c=e[o];if("object"!=typeof c)return r.valid=!1,r.error=a+"must be an object, but "+typeof c+" given",r;if(!i.helper.isString(c.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof c.type+" given",r;var l=c.type=c.type.toLowerCase();if("language"===l&&(l=c.type="lang"),"html"===l&&(l=c.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=a+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(i.helper.isUndefined(c.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(c.filter)&&i.helper.isUndefined(c.regex))return r.valid=!1,r.error=a+l+' extensions must define either a "regex" property or a "filter" method',r;if(c.listeners){if("object"!=typeof c.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof c.listeners+" given",r;for(var s in c.listeners)if(c.listeners.hasOwnProperty(s)&&"function"!=typeof c.listeners[s])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+s+" must be a function but "+typeof c.listeners[s]+" given",r}if(c.filter){if("function"!=typeof c.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof c.filter+" given",r}else if(c.regex){if(i.helper.isString(c.regex)&&(c.regex=new RegExp(c.regex,"g")),!(c.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof c.regex+" given",r;if(i.helper.isUndefined(c.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function d(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return l[e]=t,this},i.getOption=function(e){"use strict";return l[e]},i.getOptions=function(){"use strict";return l},i.resetOptions=function(){"use strict";l=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in s=e,t)t.hasOwnProperty(n)&&(l[n]=t[n])},i.getFlavor=function(){"use strict";return s},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!c.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return c[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=f(t,e);if(!n.valid)throw Error(n.error);c[e]=t},i.getAllExtensions=function(){"use strict";return c},i.removeExtension=function(e){"use strict";delete c[e]},i.resetExtensions=function(){"use strict";c={}},i.validateExtension=function(e){"use strict";var t=f(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=d,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,d)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var p=function(e,t,n,r){"use strict";var o,i,a,c,l,s=r||"",u=s.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+s.replace(/g/g,"")),d=new RegExp(t,s.replace(/g/g,"")),p=[];do{for(o=0;a=f.exec(e);)if(d.test(a[0]))o++||(c=(i=f.lastIndex)-a[0].length);else if(o&&!--o){l=a.index+a[0].length;var h={left:{start:c,end:i},match:{start:i,end:a.index},right:{start:a.index,end:l},wholeMatch:{start:c,end:l}};if(p.push(h),!u)return p}}while(o&&(f.lastIndex=i));return p};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=p(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var c=p(e,n,r,o),l=e,s=c.length;if(s>0){var u=[];0!==c[0].wholeMatch.start&&u.push(e.slice(0,c[0].wholeMatch.start));for(var f=0;f<s;++f)u.push(t(e.slice(c[f].wholeMatch.start,c[f].wholeMatch.end),e.slice(c[f].match.start,c[f].match.end),e.slice(c[f].left.start,c[f].left.end),e.slice(c[f].right.start,c[f].right.end))),f<s-1&&u.push(e.slice(c[f].wholeMatch.end,c[f+1].wholeMatch.start));c[s-1].wholeMatch.end<e.length&&u.push(e.slice(c[s-1].wholeMatch.end)),l=u.join("")}return l},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=s,d={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var l in e[a].listeners)e[a].listeners.hasOwnProperty(l)&&h(l,e[a].listeners[l])}}function h(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},l)l.hasOwnProperty(n)&&(t[n]=l[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,p)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return h(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),d=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var c=t[r].firstChild.className.split(" "),l=0;l<c.length;++l){var s=c[l].match(/^language-(.+)$/);if(null!==s){a=s[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",c=0;c<o.length;c++)a+=i.subParser("makeMarkdown.node")(o[c],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){p(e,t=t||null)},this.useExtension=function(e){p(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?d.raw:d.parsed},this.getMetadataFormat=function(){return d.format},this._setMetadataPair=function(e,t){d.parsed[e]=t},this._setMetadataFormat=function(e){d.format=e},this._setMetadataRaw=function(e){d.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,c,l,s){if(i.helper.isUndefined(s)&&(s=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(s=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==s&&null!==s&&(u+=' title="'+(s=(s=s.replace(/"/g,"&quot;")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var c=t.ghMentionsLink.replace(/\{u}/g,a),l="";return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="¨E95Eblank"'),n+'<a href="'+c+'"'+l+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,m=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,v=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,a,c,l){var s=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",f="",d=n||"",p=l||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&c&&(u=c),e.openLinksInNewWindow&&(f=' rel="noopener noreferrer" target="¨E95Eblank"'),d+'<a href="'+r+'"'+f+">"+s+"</a>"+u+p}},k=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(v,y(t))).replace(g,k(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(m,y(t)):e.replace(h,y(t))).replace(b,k(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,c=o,l="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),a="<pre><code>"+a+l+"</code></pre>",i.subParser("hashBlock")(a,t,n)+c}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var c=a;return c=(c=c.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),c=r+"<code>"+(c=i.subParser("encodeCode")(c,t,n))+"</code>",c=i.subParser("hashHTMLSpans")(c,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',c="",l="";for(var s in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":c=' lang="'+n.metadata.parsed[s]+'"',l+='<meta name="'+s+'" content="'+n.metadata.parsed[s]+'">\n';break;default:l+='<meta name="'+s+'" content="'+n.metadata.parsed[s]+'">\n'}return e=o+"<html"+c+">\n<head>\n"+i+a+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),i.subParser("ellipsis",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)})),i.subParser("emoji",(function(e,t,n){"use strict";if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,(function(e,t){return i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=n.converter._dispatch("emoji.after",e,t,n)})),i.subParser("encodeAmpsAndAngles",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var c=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+c+"</code></pre>",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var c=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(c)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var a=0;a<r.length;++a)for(var c,l=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),s="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(c=i.helper.regexIndexOf(e,l));){var f=i.helper.splitAtIndex(e,c),d=i.helper.replaceRecursiveRegExp(f[1],o,s,u,"im");if(d===f[1])break;e=f[0].concat(d)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),i.subParser("hashPreCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var c=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:c})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),c=t.noHeaderId?"":' id="'+l(o)+'"',s="<h"+r+c+">"+a+"</h"+r+">";return i.subParser("hashBlock")(s,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),c=t.noHeaderId?"":' id="'+l(o)+'"',s=r+1,u="<h"+s+c+">"+a+"</h"+s+">";return i.subParser("hashBlock")(u,t,n)}));var c=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(c,(function(e,o,a){var c=a;t.customizedHeaderId&&(c=a.replace(/\s?\{([^{]+?)}\s*$/,""));var s=i.subParser("spanGamut")(c,t,n),u=t.noHeaderId?"":' id="'+l(a)+'"',f=r-1+o.length,d="<h"+f+u+">"+s+"</h"+f+">";return i.subParser("hashBlock")(d,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,c,l,s){var u=n.gUrls,f=n.gTitles,d=n.gDimensions;if(r=r.toLowerCase(),s||(s=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(f[r])||(s=f[r]),i.helper.isUndefined(d[r])||(a=d[r].width,c=d[r].height)}t=t.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var p='<img src="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return s&&i.helper.isString(s)&&(p+=' title="'+(s=s.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),a&&c&&(p+=' width="'+(a="*"===a?"auto":a)+'"',p+=' height="'+(c="*"===c?"auto":c)+'"'),p+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,c,l){return r(e,t,n,o=o.replace(/\s/g,""),i,a,c,l)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,c,l,s,u){u=u&&""!==u.trim();var f=i.subParser("outdent")(l,t,n),d="";return s&&t.tasklists&&(d=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),f=f.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),r||f.search(/\n{2,}/)>-1?(f=i.subParser("githubCodeBlocks")(f,t,n),f=i.subParser("blockGamut")(f,t,n)):(f=(f=i.subParser("lists")(f,t,n)).replace(/\n$/,""),f=(f=i.subParser("hashHTMLBlocks")(f,t,n)).replace(/\n\n+/g,"\n\n"),f=a?i.subParser("paragraphs")(f,t,n):i.subParser("spanGamut")(f,t,n)),f="<li"+d+">"+(f=f.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,c=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l="ul"===n?a:c,s="";if(-1!==e.search(l))!function t(u){var f=u.search(l),d=o(e,n);-1!==f?(s+="\n\n<"+n+d+">\n"+r(u.slice(0,f),!!i)+"</"+n+">\n",l="ul"===(n="ul"===n?"ol":"ul")?a:c,t(u.slice(f))):s+="\n\n<"+n+d+">\n"+r(u,!!i)+"</"+n+">\n"}(e);else{var u=o(e,n);s="\n\n<"+n+u+">\n"+r(e,!!i)+"</"+n+">\n"}return s}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,c=0;c<a;c++){var l=r[c];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=(l=i.subParser("spanGamut")(l,t,n)).replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(a=o.length,c=0;c<a;c++){for(var s="",u=o[c],f=!1;/¨(K|G)(\d+)\1/.test(u);){var d=RegExp.$1,p=RegExp.$2;s=(s="K"===d?n.gHtmlBlocks[p]:f?i.subParser("encodeCode")(n.ghCodeBlocks[p].text,t,n):n.ghCodeBlocks[p].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,s),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(f=!0)}o[c]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,c,l,s){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),l?l+s:(s&&(n.gTitles[r]=s.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&a&&c&&(n.gDimensions[r]={width:a,height:c}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,"")),a[o]=i.subParser("codeSpans")(a[o],t,n);var c,l,s,u,f=a[0].split("|").map((function(e){return e.trim()})),d=a[1].split("|").map((function(e){return e.trim()})),p=[],h=[],m=[],v=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&p.push(a[o].split("|").map((function(e){return e.trim()})));if(f.length<d.length)return e;for(o=0;o<d.length;++o)m.push((c=d[o],/^:[ \t]*--*$/.test(c)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(c)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(c)?' style="text-align:center;"':""));for(o=0;o<f.length;++o)i.helper.isUndefined(m[o])&&(m[o]=""),h.push((l=f[o],s=m[o],u=void 0,u="",l=l.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+l.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+s+">"+(l=i.subParser("spanGamut")(l,t,n))+"</th>\n"));for(o=0;o<p.length;++o){for(var b=[],g=0;g<h.length;++g)i.helper.isUndefined(p[o][g]),b.push(r(p[o][g],m[g]));v.push(b)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(h,v)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a){var c=i.subParser("makeMarkdown.node")(r[a],t);""!==c&&(n+=c)}return n="> "+(n=n.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="*"}return n})),i.subParser("makeMarkdown.header",(function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var a=e.childNodes,c=a.length,l=0;l<c;++l)o+=i.subParser("makeMarkdown.node")(a[l],t)}return o})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,c=e.getAttribute("start")||1,l=0;l<a;++l)if(void 0!==o[l].tagName&&"li"===o[l].tagName.toLowerCase()){r+=("ol"===n?c.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(o[l],t),++c}return(r+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n})),i.subParser("makeMarkdown.node",(function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return i.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=i.subParser("makeMarkdown.strong")(e,t);break;case"del":r=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=i.subParser("makeMarkdown.links")(e,t);break;case"img":r=i.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return n=n.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="~~"}return n})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="**"}return n})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var n,r,o="",a=[[],[]],c=e.querySelectorAll("thead>tr>th"),l=e.querySelectorAll("tbody>tr");for(n=0;n<c.length;++n){var s=i.subParser("makeMarkdown.tableCell")(c[n],t),u="---";if(c[n].hasAttribute("style"))switch(c[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}a[0][n]=s.trim(),a[1][n]=u}for(n=0;n<l.length;++n){var f=a.push([])-1,d=l[n].getElementsByTagName("td");for(r=0;r<c.length;++r){var p=" ";void 0!==d[r]&&(p=i.subParser("makeMarkdown.tableCell")(d[r],t)),a[f].push(p)}}var h=3;for(n=0;n<a.length;++n)for(r=0;r<a[n].length;++r){var m=a[n][r].length;m>h&&(h=m)}for(n=0;n<a.length;++n){for(r=0;r<a[n].length;++r)1===n?":"===a[n][r].slice(-1)?a[n][r]=i.helper.padEnd(a[n][r].slice(-1),h-1,"-")+":":a[n][r]=i.helper.padEnd(a[n][r],h,"-"):a[n][r]=i.helper.padEnd(a[n][r],h);o+="| "+a[n].join(" | ")+" |\n"}return o.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t,!0);return n.trim()})),i.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=i.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){var r;!function(o,i,a){if(o){for(var c,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},s={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)l[111+d]="f"+d;for(d=0;d<=9;++d)l[d+96]=d.toString();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},g.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);c=null},g.init=function(){var e=g(i);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),o.Mousetrap=g,e.exports&&(e.exports=g),void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function h(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:s[e.which]?s[e.which]:String.fromCharCode(e.which).toLowerCase()}function m(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!c)for(var e in c={},l)e>95&&e<112||l.hasOwnProperty(e)&&(c[l[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],f[r]&&(r=f[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],i.push("shift")),m(r)&&i.push(r);return{key:r,modifiers:i,action:t=v(r,i,t)}}function g(e){var t=this;if(e=e||i,!(t instanceof g))return new g(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,a=!1,c=!1;function l(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(c=!1)}function s(e,n,o,i,a,c){var l,s,u,f,d=[],p=o.type;if(!t._callbacks[e])return[];for("keyup"==p&&m(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(s=t._callbacks[e][l],(i||!s.seq||r[s.seq]==s.level)&&p==s.action&&("keypress"==p&&!o.metaKey&&!o.ctrlKey||(u=n,f=s.modifiers,u.sort().join(",")===f.sort().join(",")))){var h=!i&&s.combo==a,v=i&&s.seq==i&&s.level==c;(h||v)&&t._callbacks[e].splice(l,1),d.push(s)}return d}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function f(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=h(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function d(e,t,i,a){function s(t){return function(){c=t,++r[e],clearTimeout(n),n=setTimeout(l,1e3)}}function f(t){u(i,t,e),"keyup"!==a&&(o=h(t)),setTimeout(l,10)}r[e]=0;for(var d=0;d<t.length;++d){var p=d+1===t.length?f:s(a||b(t[d+1]).action);v(t[d],p,a,e,d)}}function v(e,n,r,o,i){t._directMap[e+":"+r]=n;var a,c=(e=e.replace(/\s+/g," ")).split(" ");c.length>1?d(e,c,n,r):(a=b(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],s(a.key,a.modifiers,{type:a.action},o,e,i),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=s(e,t,n),i={},f=0,d=!1;for(r=0;r<o.length;++r)o[r].seq&&(f=Math.max(f,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=f)continue;d=!0,i[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else d||u(o[r].callback,n,o[r].combo);var p="keypress"==n.type&&a;n.type!=c||m(e)||p||l(i),a=d&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)v(e[r],t,n)},p(e,"keypress",f),p(e,"keydown",f),p(e,"keyup",f)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var o,i,a=n[r.type],c=t(r);if(a)for(o=0;o<a.length;o++)(i=a[o](r,e))&&e.dispatch(i);return c}}}).effects=n,t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},function(e,t,n){
21
+ /*!
22
+
23
+ diff v3.5.0
24
+
25
+ Software License Agreement (BSD License)
26
+
27
+ Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
28
+
29
+ All rights reserved.
30
+
31
+ Redistribution and use of this software in source and binary forms, with or without modification,
32
+ are permitted provided that the following conditions are met:
33
+
34
+ * Redistributions of source code must retain the above
35
+ copyright notice, this list of conditions and the
36
+ following disclaimer.
37
+
38
+ * Redistributions in binary form must reproduce the above
39
+ copyright notice, this list of conditions and the
40
+ following disclaimer in the documentation and/or other
41
+ materials provided with the distribution.
42
+
43
+ * Neither the name of Kevin Decker nor the names of its
44
+ contributors may be used to endorse or promote products
45
+ derived from this software without specific prior
46
+ written permission.
47
+
48
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
49
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
50
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
51
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
52
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
53
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
54
+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
55
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56
+ @license
57
+ */
58
+ var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(2),c=n(3),l=n(5),s=n(6),u=n(7),f=n(8),d=n(9),p=n(10),h=n(11),m=n(13),v=n(14),b=n(16),g=n(17);t.Diff=i.default,t.diffChars=a.diffChars,t.diffWords=c.diffWords,t.diffWordsWithSpace=c.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=f.diffJson,t.diffArrays=d.diffArrays,t.structuredPatch=v.structuredPatch,t.createTwoFilesPatch=v.createTwoFilesPatch,t.createPatch=v.createPatch,t.applyPatch=p.applyPatch,t.applyPatches=p.applyPatches,t.parsePatch=h.parsePatch,t.merge=m.merge,t.convertChangesToDMP=b.convertChangesToDMP,t.convertChangesToXML=g.convertChangesToXML,t.canonicalize=f.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,a=t.length,c=0,l=0;i<a;i++){var s=t[i];if(s.removed){if(s.value=e.join(r.slice(l,l+s.count)),l+=s.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!s.added&&o){var f=n.slice(c,c+s.count);f=f.map((function(e,t){var n=r[l+t];return n.length>e.length?n:e})),s.value=e.join(f)}else s.value=e.join(n.slice(c,c+s.count));c+=s.count,s.added||(l+=s.count)}}var d=t[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[a-2].value+=d.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var a=this;function c(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,f=l+s,d=[{newPos:-1,components:[]}],p=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=l&&p+1>=s)return c([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*u;n<=u;n+=2){var i=void 0,f=d[n-1],p=d[n+1],h=(p?p.newPos:0)-n;f&&(d[n-1]=void 0);var m=f&&f.newPos+1<l,v=p&&0<=h&&h<s;if(m||v){if(!m||v&&f.newPos<p.newPos?(i=o(p),a.pushComponent(i.components,void 0,!0)):((i=f).newPos++,a.pushComponent(i.components,!0,void 0)),h=a.extractCommon(i,t,e,n),i.newPos+1>=l&&h+1>=s)return c(r(a,i.components,t,e,a.useLongestToken));d[n]=i}else d[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>f)return i();h()||e()}),0)}();else for(;u<=f;){var m=h();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,a=e.newPos,c=a-r,l=0;a+1<o&&c+1<i&&this.equals(t[a+1],n[c+1]);)a++,c++,l++;return l&&e.components.push({count:l}),e.newPos=a,c},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),s.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),c=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,s=t.wordDiff=new i.default;s.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},s.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&c.test(t[n])&&c.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return c.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return c.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),c=t.lineDiff=new i.default;c.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.sentenceDiff=new i.default;a.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.cssDiff=new i.default;a.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="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};t.diffJson=function(e,t,n){return s.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o},c=n(5),l=Object.prototype.toString,s=t.jsonDiff=new a.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var a=void 0;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];var c=void 0;if("[object Array]"===l.call(e)){for(t.push(e),c=new Array(e.length),n.push(c),a=0;a<e.length;a+=1)c[a]=u(e[a],t,n,o,i);return t.pop(),n.pop(),c}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),c={},n.push(c);var s=[],f=void 0;for(f in e)e.hasOwnProperty(f)&&s.push(f);for(s.sort(),a=0;a<s.length;a+=1)c[f=s[a]]=u(e[f],t,n,o,f);t.pop(),n.pop()}else c=e;return c}s.useLongestToken=!0,s.tokenize=c.lineDiff.tokenize,s.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},s.equals=function(e,t){return a.default.prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.arrayDiff=new i.default;a.tokenize=function(e){return e.slice()},a.join=a.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=c,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=c(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),a=(r=i)&&r.__esModule?r:{default:r};function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],c=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,f=0,d=0,p=void 0,h=void 0;function m(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",a=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,a)&&++s>u)return!1;t++}}return!0}for(var v=0;v<c.length;v++){for(var b=c[v],g=r.length-b.oldLines,y=0,k=d+b.oldStart-1,w=(0,a.default)(k,f,g);void 0!==y;y=w())if(m(b,k+y)){b.offset=d+=y;break}if(void 0===y)return!1;f=b.offset+b.oldStart+b.oldLines}for(var O=0,_=0;_<c.length;_++){var j=c[_],E=j.oldStart+j.offset+O-1;O+=j.newLines-j.oldLines,E<0&&(E=0);for(var C=0;C<j.lines.length;C++){var x=j.lines[C],S=x.length>0?x[0]:" ",T=x.length>0?x.substr(1):x,z=j.linedelimiters[C];if(" "===S)E++;else if("-"===S)r.splice(E,1),i.splice(E,1);else if("+"===S)r.splice(E,0,T),i.splice(E,0,z),E++;else if("\\"===S){var P=j.lines[C-1]?j.lines[C-1][0]:null;"+"===P?p=!0:"-"===P&&(h=!0)}}}if(p)for(;!r[r.length-1];)r.pop(),i.pop();else h&&(r.push(""),i.push("\n"));for(var I=0;I<r.length-1;I++)r[I]=r[I]+i[I];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function a(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),i++}for(c(e),c(e),e.hunks=[];i<n.length;){var s=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(s))break;if(/^@@/.test(s))e.hunks.push(l());else{if(s&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(s));i++}}}function c(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),a=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(o[1]||"").trim(),i++}}function l(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},c=0,l=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var s=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==s&&"-"!==s&&" "!==s&&"\\"!==s)break;a.lines.push(n[i]),a.linedelimiters.push(r[i]||"\n"),"+"===s?c++:"-"===s?l++:" "===s&&(c++,l++)}if(c||1!==a.newLines||(a.newLines=0),l||1!==a.oldLines||(a.oldLines=0),t.strict){if(c!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(l!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;i<n.length;)a();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,a=1;return function c(){if(r&&!i){if(o?a++:r=!1,e+a<=n)return a;i=!0}if(!o)return i||(r=!0),t<=e-a?-a++:(o=!0,c())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=c,t.merge=function(e,t,n){e=l(e,n),t=l(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(s(e)?s(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,a=0,c=0;o<e.hunks.length||i<t.hunks.length;){var h=e.hunks[o]||{oldStart:1/0},m=t.hunks[i]||{oldStart:1/0};if(f(h,m))r.hunks.push(d(h,a)),o++,c+=h.newLines-h.oldLines;else if(f(m,h))r.hunks.push(d(m,c)),i++,a+=m.newLines-m.oldLines;else{var v={oldStart:Math.min(h.oldStart,m.oldStart),oldLines:0,newStart:Math.min(h.newStart+a,m.oldStart+c),newLines:0,lines:[]};p(v,h.oldStart,h.lines,m.oldStart,m.lines),i++,o++,r.hunks.push(v)}}return r};var r=n(14),o=n(11),i=n(15);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function c(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function l(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,r.structuredPatch)(void 0,void 0,t,e)}return e}function s(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function f(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function d(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function p(e,t,n,r,o){var i={offset:t,lines:n,index:0},l={offset:r,lines:o,index:0};for(b(e,i,l),b(e,l,i);i.index<i.lines.length&&l.index<l.lines.length;){var s=i.lines[i.index],u=l.lines[l.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==u[0]&&"+"!==u[0])if("+"===s[0]&&" "===u[0]){var f;(f=e.lines).push.apply(f,a(y(i)))}else if("+"===u[0]&&" "===s[0]){var d;(d=e.lines).push.apply(d,a(y(l)))}else"-"===s[0]&&" "===u[0]?m(e,i,l):"-"===u[0]&&" "===s[0]?m(e,l,i,!0):s===u?(e.lines.push(s),i.index++,l.index++):v(e,y(i),y(l));else h(e,i,l)}g(e,i),g(e,l),c(e)}function h(e,t,n){var r=y(t),o=y(n);if(k(r)&&k(o)){var c,l;if((0,i.arrayStartsWith)(r,o)&&w(n,r,r.length-o.length))return void(c=e.lines).push.apply(c,a(r));if((0,i.arrayStartsWith)(o,r)&&w(t,o,o.length-r.length))return void(l=e.lines).push.apply(l,a(o))}else if((0,i.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,a(r))}v(e,r,o)}function m(e,t,n,r){var o,i=y(t),c=function(e,t){for(var n=[],r=[],o=0,i=!1,a=!1;o<t.length&&e.index<e.lines.length;){var c=e.lines[e.index],l=t[o];if("+"===l[0])break;if(i=i||" "!==c[0],r.push(l),o++,"+"===c[0])for(a=!0;"+"===c[0];)n.push(c),c=e.lines[++e.index];l.substr(1)===c.substr(1)?(n.push(c),e.index++):a=!0}if("+"===(t[o]||"")[0]&&i&&(a=!0),a)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);c.merged?(o=e.lines).push.apply(o,a(c.merged)):v(e,r?c:i,r?i:c)}function v(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function b(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function g(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function y(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function w(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=a,t.createPatch=function(e,t,n,r,o,i){return a(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,a,c,l){l||(l={}),void 0===l.context&&(l.context=4);var s=(0,r.diffLines)(n,i,l);function u(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var f=[],d=0,p=0,h=[],m=1,v=1,b=function(e){var t=s[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var a;if(!d){var c=s[e-1];d=m,p=v,c&&(h=l.context>0?u(c.lines.slice(-l.context)):[],d-=h.length,p-=h.length)}(a=h).push.apply(a,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?v+=r.length:m+=r.length}else{if(d)if(r.length<=2*l.context&&e<s.length-2){var b;(b=h).push.apply(b,o(u(r)))}else{var g,y=Math.min(r.length,l.context);(g=h).push.apply(g,o(u(r.slice(0,y))));var k={oldStart:d,oldLines:m-d+y,newStart:p,newLines:v-p+y,lines:h};if(e>=s.length-2&&r.length<=l.context){var w=/\n$/.test(n),O=/\n$/.test(i);0!=r.length||w?w&&O||h.push("\"):h.splice(k.oldLines,0,"\")}f.push(k),d=0,p=0,h=[]}m+=r.length,v+=r.length}},g=0;g<s.length;g++)b(g);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:c,hunks:f}}function a(e,t,n,r,o,a,c){var l=i(e,t,n,r,o,a,c),s=[];e==t&&s.push("Index: "+e),s.push("==================================================================="),s.push("--- "+l.oldFileName+(void 0===l.oldHeader?"":"\t"+l.oldHeader)),s.push("+++ "+l.newFileName+(void 0===l.newHeader?"":"\t"+l.newHeader));for(var u=0;u<l.hunks.length;u++){var f=l.hunks[u];s.push("@@ -"+f.oldStart+","+f.oldLines+" +"+f.newStart+","+f.newLines+" @@"),s.push.apply(s,f.lines)}return s.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},function(e,t,n){var r=n(3),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,"aria-label":"resize-listener",tabIndex:-1,frameBorder:0})},a=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=a);var t=r.useState(e(null)),n=t[0],o=t[1],c=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(i,{onResize:c})}),[c]),n]}},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],c=!0;return function e(f){var d=n?i(f):f,p={},h=!0,m={node:d,node_:f,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(h=!1)},delete:function(e){delete m.parent.node[m.key],e&&(h=!1)},remove:function(e){l(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(h=!1)},keys:null,before:function(e){p.before=e},after:function(e){p.after=e},pre:function(e){p.pre=e},post:function(e){p.post=e},stop:function(){c=!1},block:function(){h=!1}};if(!c)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=a(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===f){m.circular=o[e];break}}else m.isLeaf=!0,m.keys=null;m.notLeaf=!m.isLeaf,m.notRoot=!m.isRoot}v();var b=t.call(m,m.node);return void 0!==b&&m.update&&m.update(b),p.before&&p.before.call(m,m.node),h?("object"!=typeof m.node||null===m.node||m.circular||(o.push(m),v(),s(m.keys,(function(t,o){r.push(t),p.pre&&p.pre.call(m,m.node[t],t);var i=e(m.node[t]);n&&u.call(m.node,t)&&(m.node[t]=i.node),i.isLast=o==m.keys.length-1,i.isFirst=0==o,p.post&&p.post.call(m,i),r.pop()})),o.pop()),p.after&&p.after.call(m,m.node),m):m}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(l(e))t=[];else if("[object Date]"===c(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===c(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===c(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===c(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===c(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===c(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return s(a(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var c=i(r);return e.push(r),t.push(c),s(a(r),(function(e){c[e]=n(r[e])})),e.pop(),t.pop(),c}return r}(this.value)};var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function c(e){return Object.prototype.toString.call(e)}var l=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};s(a(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},function(e){e.exports=JSON.parse('{"production":["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gathering-tweetstorms","gif","google-calendar","image-compare","instagram-gallery","likes","mailchimp","map","markdown","opentable","pinterest","podcast-player","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","revue","send-a-message","send-a-message/whatsapp-button","sharing","shortlinks","simple-payments","slideshow","social-previews","subscriptions","tiled-gallery","videopress","wordads"],"beta":["amazon","story"],"experimental":["seo"],"no-post-editor":["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gif","google-calendar","instagram-gallery","mailchimp","map","markdown","opentable","pinterest","rating-star","recurring-payments","related-posts","repeat-visitor","revue","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"]}')},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},,,function(e,t,n){"use strict";
59
+ /** @license React v16.13.1
60
+ * react-dom-server.browser.production.min.js
61
+ *
62
+ * Copyright (c) Facebook, Inc. and its affiliates.
63
+ *
64
+ * This source code is licensed under the MIT license found in the
65
+ * LICENSE file in the root directory of this source tree.
66
+ */var r=n(31),o=n(3);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"==typeof Symbol&&Symbol.for,c=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,s=a?Symbol.for("react.strict_mode"):60108,u=a?Symbol.for("react.profiler"):60114,f=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.concurrent_mode"):60111,h=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,v=a?Symbol.for("react.suspense_list"):60120,b=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,y=a?Symbol.for("react.block"):60121,k=a?Symbol.for("react.fundamental"):60117,w=a?Symbol.for("react.scope"):60119;function O(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Portal";case u:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case v:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case h:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case b:return O(e.type);case y:return O(e.render);case g:if(e=1===e._status?e._result:null)return O(e)}return null}var _=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;_.hasOwnProperty("ReactCurrentDispatcher")||(_.ReactCurrentDispatcher={current:null}),_.hasOwnProperty("ReactCurrentBatchConfig")||(_.ReactCurrentBatchConfig={suspense:null});var j={};function E(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var C=new Uint16Array(16),x=0;15>x;x++)C[x]=x+1;C[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T=Object.prototype.hasOwnProperty,z={},P={};function I(e){return!!T.call(P,e)||!T.call(z,e)&&(S.test(e)?P[e]=!0:(z[e]=!0,!1))}function M(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){N[e]=new M(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];N[t]=new M(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){N[e]=new M(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){N[e]=new M(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){N[e]=new M(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){N[e]=new M(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){N[e]=new M(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){N[e]=new M(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){N[e]=new M(e,5,!1,e.toLowerCase(),null,!1)}));var L=/[\-:]([a-z])/g;function A(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(L,A);N[t]=new M(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(L,A);N[t]=new M(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(L,A);N[t]=new M(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){N[e]=new M(e,1,!1,e.toLowerCase(),null,!1)})),N.xlinkHref=new M("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){N[e]=new M(e,1,!1,e.toLowerCase(),null,!0)}));var D=/["'&<>]/;function H(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function R(e,t){var n,r=N.hasOwnProperty(e)?N[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,r,!1)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+H(t)+'"')):I(e)?e+'="'+H(t)+'"':""}var B="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},V=null,F=null,U=null,W=!1,K=!1,$=null,q=0;function G(){if(null===V)throw Error(i(321));return V}function Y(){if(0<q)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function Q(){return null===U?null===F?(W=!1,F=U=Y()):(W=!0,U=F):null===U.next?(W=!1,U=U.next=Y()):(W=!0,U=U.next),U}function X(e,t,n,r){for(;K;)K=!1,q+=1,U=null,n=e(t,r);return F=V=null,q=0,U=$=null,n}function Z(e,t){return"function"==typeof t?t(e):t}function J(e,t,n){if(V=G(),U=Q(),W){var r=U.queue;if(t=r.dispatch,null!==$&&void 0!==(n=$.get(r))){$.delete(r),r=U.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return U.memoizedState=r,[r,t]}return[U.memoizedState,t]}return e=e===Z?"function"==typeof t?t():t:void 0!==n?n(t):t,U.memoizedState=e,e=(e=U.queue={last:null,dispatch:null}).dispatch=ee.bind(null,V,e),[U.memoizedState,e]}function ee(e,t,n){if(!(25>q))throw Error(i(301));if(e===V)if(K=!0,e={action:n,next:null},null===$&&($=new Map),void 0===(n=$.get(t)))$.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function te(){}var ne=0,re={readContext:function(e){var t=ne;return E(e,t),e[t]},useContext:function(e){G();var t=ne;return E(e,t),e[t]},useMemo:function(e,t){if(V=G(),t=void 0===t?null:t,null!==(U=Q())){var n=U.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!B(t[o],r[o])){r=!1;break e}r=!0}}if(r)return n[0]}}return e=e(),U.memoizedState=[e,t],e},useReducer:J,useRef:function(e){V=G();var t=(U=Q()).memoizedState;return null===t?(e={current:e},U.memoizedState=e):t},useState:function(e){return J(Z,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:te,useEffect:te,useDebugValue:te,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return G(),e},useTransition:function(){return G(),[function(e){e()},!1]}},oe="http://www.w3.org/1999/xhtml";function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ae={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ce=r({menuitem:!0},ae),le={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},se=["Webkit","ms","Moz","O"];Object.keys(le).forEach((function(e){se.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),le[t]=le[e]}))}));var ue=/([A-Z])/g,fe=/^ms-/,de=o.Children.toArray,pe=_.ReactCurrentDispatcher,he={listing:!0,pre:!0,textarea:!0},me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ve={},be={};var ge=Object.prototype.hasOwnProperty,ye={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ke(e,t){if(void 0===e)throw Error(i(152,O(t)||"Component"))}function we(e,t,n){function a(o,a){var c=a.prototype&&a.prototype.isReactComponent,l=function(e,t,n,r){if(r&&("object"==typeof(r=e.contextType)&&null!==r))return E(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=j;return t}(a,t,n,c),s=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}};if(c){if(c=new a(o.props,l,f),"function"==typeof a.getDerivedStateFromProps){var d=a.getDerivedStateFromProps.call(null,o.props,c.state);null!=d&&(c.state=r({},c.state,d))}}else if(V={},c=a(o.props,l,f),null==(c=X(a,o.props,c,l))||null==c.render)return void ke(e=c,a);if(c.props=o.props,c.context=l,c.updater=f,void 0===(f=c.state)&&(c.state=f=null),"function"==typeof c.UNSAFE_componentWillMount||"function"==typeof c.componentWillMount)if("function"==typeof c.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&c.componentWillMount(),"function"==typeof c.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&c.UNSAFE_componentWillMount(),s.length){f=s;var p=u;if(s=null,u=!1,p&&1===f.length)c.state=f[0];else{d=p?f[0]:c.state;var h=!0;for(p=p?1:0;p<f.length;p++){var m=f[p];null!=(m="function"==typeof m?m.call(c,d,o.props,l):m)&&(h?(h=!1,d=r({},d,m)):r(d,m))}c.state=d}}else s=null;if(ke(e=c.render(),a),"function"==typeof c.getChildContext&&"object"==typeof(o=a.childContextTypes)){var v=c.getChildContext();for(var b in v)if(!(b in o))throw Error(i(108,O(a)||"Unknown",b))}v&&(t=r({},t,v))}for(;o.isValidElement(e);){var c=e,l=c.type;if("function"!=typeof l)break;a(c,l)}return{child:e,context:t}}var Oe=function(){function e(e,t){o.isValidElement(e)?e.type!==l?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:de(e)):e=de(e),e={type:null,domNamespace:oe,children:e,childIndex:0,context:j,footer:""};var n=C[0];if(0===n){var r=C,a=2*(n=r.length);if(!(65536>=a))throw Error(i(304));var c=new Uint16Array(a);for(c.set(r),(C=c)[0]=n+1,r=n;r<a-1;r++)C[r]=r+1;C[a-1]=0}else C[0]=C[n];this.threadID=n,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;C[e]=C[0],C[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;E(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=ne;ne=this.threadID;var n=pe.current;pe.current=re;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;C[a]=C[0],C[0]=a;break}var c=this.stack[this.stack.length-1];if(o||c.childIndex>=c.children.length){var l=c.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===c.type)this.currentSelectValue=null;else if(null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===f)this.popProvider(c.type);else if(c.type===m){this.suspenseDepth--;var s=r.pop();if(o){o=!1;var u=c.fallbackFrame;if(!u)throw Error(i(303));this.stack.push(u),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=s}r[this.suspenseDepth]+=l}else{var d=c.children[c.childIndex++],p="";try{p+=this.render(d,c.context,c.domNamespace)}catch(h){if(null!=h&&"function"==typeof h.then)throw Error(i(294));throw h}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=p}}return r[0]}finally{pe.current=n,ne=t}},t.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?H(n):this.previousWasTextNode?"\x3c!-- --\x3e"+H(n):(this.previousWasTextNode=!0,H(n));if(e=(t=we(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===c)throw Error(i(257));throw Error(i(258,n.toString()))}return e=de(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var a=e.type;if("string"==typeof a)return this.renderDOM(e,t,n);switch(a){case s:case p:case u:case v:case l:return e=de(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case m:throw Error(i(294))}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:V={};var y=a.render(e.props,e.ref);return y=X(a.render,e.props,y,e.ref),y=de(y),this.stack.push({type:null,domNamespace:n,children:y,childIndex:0,context:t,footer:""}),"";case b:return e=[o.createElement(a.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case f:return n={type:e,domNamespace:n,children:a=de(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case d:a=e.type,y=e.props;var O=this.threadID;return E(a,O),a=de(y.children(a[O])),this.stack.push({type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),"";case k:throw Error(i(338));case g:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a=e.type),a._status){case 1:return e=[o.createElement(a._result,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw a._result;default:throw Error(i(295))}case w:throw Error(i(343))}throw Error(i(130,null==a?a:typeof a,""))},t.renderDOM=function(e,t,n){var a=e.type.toLowerCase();if(n===oe&&ie(a),!ve.hasOwnProperty(a)){if(!me.test(a))throw Error(i(65,a));ve[a]=!0}var c=e.props;if("input"===a)c=r({type:void 0},c,{defaultChecked:void 0,defaultValue:void 0,value:null!=c.value?c.value:c.defaultValue,checked:null!=c.checked?c.checked:c.defaultChecked});else if("textarea"===a){var l=c.value;if(null==l){l=c.defaultValue;var s=c.children;if(null!=s){if(null!=l)throw Error(i(92));if(Array.isArray(s)){if(!(1>=s.length))throw Error(i(93));s=s[0]}l=""+s}null==l&&(l="")}c=r({},c,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=c.value?c.value:c.defaultValue,c=r({},c,{value:void 0});else if("option"===a){s=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(c.children);if(null!=s){var f=null!=c.value?c.value+"":u;if(l=!1,Array.isArray(s)){for(var d=0;d<s.length;d++)if(""+s[d]===f){l=!0;break}}else l=""+s===f;c=r({selected:void 0,children:void 0},c,{selected:l,children:u})}}if(l=c){if(ce[a]&&(null!=l.children||null!=l.dangerouslySetInnerHTML))throw Error(i(137,a,""));if(null!=l.dangerouslySetInnerHTML){if(null!=l.children)throw Error(i(60));if("object"!=typeof l.dangerouslySetInnerHTML||!("__html"in l.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=l.style&&"object"!=typeof l.style)throw Error(i(62,""))}for(k in l=c,s=this.makeStaticMarkup,u=1===this.stack.length,f="<"+e.type,l)if(ge.call(l,k)){var p=l[k];if(null!=p){if("style"===k){d=void 0;var h="",m="";for(d in p)if(p.hasOwnProperty(d)){var v=0===d.indexOf("--"),b=p[d];if(null!=b){if(v)var g=d;else if(g=d,be.hasOwnProperty(g))g=be[g];else{var y=g.replace(ue,"-$1").toLowerCase().replace(fe,"-ms-");g=be[g]=y}h+=m+g+":",m=d,h+=v=null==b||"boolean"==typeof b||""===b?"":v||"number"!=typeof b||0===b||le.hasOwnProperty(m)&&le[m]?(""+b).trim():b+"px",m=";"}}p=h||null}d=null;e:if(v=a,b=l,-1===v.indexOf("-"))v="string"==typeof b.is;else switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":v=!1;break e;default:v=!0}v?ye.hasOwnProperty(k)||(d=I(d=k)&&null!=p?d+'="'+H(p)+'"':""):d=R(k,p),d&&(f+=" "+d)}}s||u&&(f+=' data-reactroot=""');var k=f;l="",ae.hasOwnProperty(a)?k+="/>":(k+=">",l="</"+e.type+">");e:{if(null!=(s=c.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=c.children)||"number"==typeof s){s=H(s);break e}s=null}return null!=s?(c=[],he.hasOwnProperty(a)&&"\n"===s.charAt(0)&&(k+="\n"),k+=s):c=de(c.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ie(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:c,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,k},e}(),_e={renderToString:function(e){e=new Oe(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Oe(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(i(207))},renderToStaticNodeStream:function(){throw Error(i(208))},version:"16.13.1"};e.exports=_e.default||_e},function(e,t,n){"use strict";
67
+ /** @license React v16.13.1
68
+ * react.production.min.js
69
+ *
70
+ * Copyright (c) Facebook, Inc. and its affiliates.
71
+ *
72
+ * This source code is licensed under the MIT license found in the
73
+ * LICENSE file in the root directory of this source tree.
74
+ */var r=n(31),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function k(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}function w(){}function O(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(b(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=k.prototype;var _=O.prototype=new w;_.constructor=O,r(_,k.prototype),_.isPureReactComponent=!0;var j={current:null},E=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,o={},a=null,c=null;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,r)&&!C.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:c,props:o,_owner:j.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var T=/\/+/g,z=[];function P(e,t,n,r){if(z.length){var o=z.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>z.length&&z.push(e)}function M(e,t,n){return null==e?0:function e(t,n,r,o){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var l=!1;if(null===t)l=!0;else switch(c){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+N(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=n+N(c=t[s],s);l+=e(c,u,r,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=v&&t[v]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(c=t.next()).done;)l+=e(c=c.value,u=n+N(c,s++),r,o);else if("object"===c)throw r=""+t,Error(b(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function A(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,(function(e){return e})):null!=e&&(S(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function D(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(T,"$&/")+"/"),M(e,A,t=P(t,i,r,o)),I(t)}var H={current:null};function R(){var e=H.current;if(null===e)throw Error(b(321));return e}var B={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:j,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,L,t=P(null,null,t,n)),I(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!S(e))throw Error(b(143));return e}},t.Component=k,t.Fragment=c,t.Profiler=s,t.PureComponent=O,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(b(267,e));var o=r({},e.props),a=e.key,c=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,l=j.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)E.call(t,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){s=Array(u);for(var f=0;f<u;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:c,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return R().useCallback(e,t)},t.useContext=function(e,t){return R().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return R().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return R().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return R().useLayoutEffect(e,t)},t.useMemo=function(e,t){return R().useMemo(e,t)},t.useReducer=function(e,t,n){return R().useReducer(e,t,n)},t.useRef=function(e){return R().useRef(e)},t.useState=function(e){return R().useState(e)},t.version="16.13.1"},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=y(a,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=c;var s={};function u(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(_([])));m&&m!==t&&n.call(m,o)&&(p=m);var v=d.prototype=u.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function g(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var s=l(e[o],e,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:j}}function j(){return{value:void 0,done:!0}}return f.prototype=v.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},b(g.prototype),g.prototype[i]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=_,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(65)),o=i(n(25));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(a(e),a(r.default)),n=function e(n){var r=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],a=function(n){var o=function(e){return function(t){try{var o=e?n.throw(t):n.next(t),c=o.value;if(o.done)return r(c);a(c)}catch(l){return i(l)}}},a=function n(r){t.some((function(t){return t(r,n,e,o(!1),o(!0))}))};o(!1)()},c=o.default.iterator(n)?n:regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))();a(c,r,i)};return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var r,o=n(25),i=(r=o)&&r.__esModule?r:{default:r};var a=t.any=function(e,t,n,r){return r(e),!0},c=t.error=function(e,t,n,r,o){return!!i.default.error(e)&&(o(e.error),!0)},l=t.object=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.obj(e.value))return!1;var a={},c=Object.keys(e.value),l=0,s=!1;return c.map((function(t){n(e.value[t],(function(e){return function(e,t){s||(a[e]=t,++l===c.length&&r(a))}(t,e)}),(function(e){return function(e,t){s||(s=!0,o(t))}(0,e)}))})),!0},s=t.array=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.array(e.value))return!1;var a=[],c=0,l=!1;return e.value.map((function(t,i){n(t,(function(t){return function(t,n){l||(a[t]=n,++c===e.value.length&&r(a))}(i,t)}),(function(e){return function(e,t){l||(l=!0,o(t))}(0,e)}))})),!0},u=t.iterator=function(e,t,n,r,o){return!!i.default.iterator(e)&&(n(e,t,o),!0)};t.default=[c,u,s,l,a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var r=a(n(25)),o=n(39),i=a(n(67));function a(e){return e&&e.__esModule?e:{default:e}}var c=t.promise=function(e,t,n,o,i){return!!r.default.promise(e)&&(e.then(t,i),!0)},l=new Map,s=t.fork=function(e,t,n){if(!r.default.fork(e))return!1;var a=Symbol("fork"),c=(0,i.default)();l.set(a,c),n(e.iterator.apply(null,e.args),(function(e){return c.dispatch(e)}),(function(e){return c.dispatch((0,o.error)(e))}));var s=c.subscribe((function(){s(),l.delete(a)}));return t(a),!0},u=t.join=function(e,t,n,o,i){if(!r.default.join(e))return!1;var a,c=l.get(e.task);return c?a=c.subscribe((function(e){a(),t(e)})):i("join error : task not found"),!0},f=t.race=function(e,t,n,o,i){if(!r.default.race(e))return!1;var a=!1,c=function(e,n,r){a||(a=!0,e[n]=r,t(e))},l=function(e){a||i(e)};return r.default.array(e.competitors)?function(){var t=e.competitors.map((function(){return!1}));e.competitors.forEach((function(e,r){n(e,(function(e){return c(t,r,e)}),l)}))}():function(){var t=Object.keys(e.competitors).reduce((function(e,t){return e[t]=!1,e}),{});Object.keys(e.competitors).forEach((function(r){n(e.competitors[r],(function(e){return c(t,r,e)}),l)}))}(),!0};t.default=[c,s,u,f,function(e,t){if(!r.default.subscribe(e))return!1;if(!r.default.channel(e.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=e.channel.subscribe((function(e){n&&n(),t(e)}));return!0}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},dispatch:function(t){e.slice().forEach((function(e){return e(t)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var r,o=n(25),i=(r=o)&&r.__esModule?r:{default:r};var a=t.call=function(e,t,n,r,o){if(!i.default.call(e))return!1;try{t(e.func.apply(e.context,e.args))}catch(a){o(a)}return!0},c=t.cps=function(e,t,n,r,o){var a;return!!i.default.cps(e)&&((a=e.func).call.apply(a,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args),[function(e,n){e?o(e):t(n)}])),!0)};t.default=[a,c]},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);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}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,c;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(c=e[a=n[i]])&&!t.hasOwnProperty(a)||c!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){var r=n(73);e.exports=function(e){function t(e){var n;function r(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];if(r.enabled){var a=r,c=Number(new Date),l=c-(n||c);a.diff=l,a.prev=n,a.curr=c,n=c,o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;s++;var r=t.formatters[n];if("function"==typeof r){var i=o[s];e=r.call(a,i),o.splice(s,1),s--}return e})),t.formatArgs.call(a,o);var u=a.log||t.log;u.apply(a,o)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=t.selectColor(e),r.destroy=o,r.extend=i,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}function i(e,n){var r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){var e=[].concat(r(t.names.map(a)),r(t.skips.map(a).map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var i=t.instances[n];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(78),Object.keys(e).forEach((function(n){t[n]=e[n]})),t.instances=[],t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var n=0,r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},function(e,t,n){var r=n(74),o=n(75),i=n(76),a=n(77);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){var r=n(41);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t,n){var r=n(41);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.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.")}},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){return!!this.paused||!t[o]&&!t[i]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},function(e,t,n){"use strict";
75
+ /** @license React v16.13.1
76
+ * react-dom.production.min.js
77
+ *
78
+ * Copyright (c) Facebook, Inc. and its affiliates.
79
+ *
80
+ * This source code is licensed under the MIT license found in the
81
+ * LICENSE file in the root directory of this source tree.
82
+ */var r=n(3),o=n(31),i=n(83);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function c(e,t,n,r,o,i,a,c,l){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(u){this.onError(u)}}var l=!1,s=null,u=!1,f=null,d={onError:function(e){l=!0,s=e}};function p(e,t,n,r,o,i,a,u,f){l=!1,s=null,c.apply(d,arguments)}var h=null,m=null,v=null;function b(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,o,i,c,d,h){if(p.apply(this,arguments),l){if(!l)throw Error(a(198));var m=s;l=!1,s=null,u||(u=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var g=null,y={};function k(){if(g)for(var e in y){var t=y[e],n=g.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!O[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in O[n]=t,n=t.eventTypes){var o=void 0,i=n[r],c=t,l=r;if(_.hasOwnProperty(l))throw Error(a(99,l));_[l]=i;var s=i.phasedRegistrationNames;if(s){for(o in s)s.hasOwnProperty(o)&&w(s[o],c,l);o=!0}else i.registrationName?(w(i.registrationName,c,l),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function w(e,t,n){if(j[e])throw Error(a(100,e));j[e]=t,E[e]=t.eventTypes[n].dependencies}var O=[],_={},j={},E={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(a(102,t));y[t]=r,n=!0}}n&&k()}var x=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),S=null,T=null,z=null;function P(e){if(e=m(e)){if("function"!=typeof S)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),S(e.stateNode,e.type,t))}}function I(e){T?z?z.push(e):z=[e]:T=e}function M(){if(T){var e=T,t=z;if(z=T=null,P(e),t)for(e=0;e<t.length;e++)P(t[e])}}function N(e,t){return e(t)}function L(e,t,n,r,o){return e(t,n,r,o)}function A(){}var D=N,H=!1,R=!1;function B(){null===T&&null===z||(A(),M())}function V(e,t,n){if(R)return e(t,n);R=!0;try{return D(e,t,n)}finally{R=!1,B()}}var F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U=Object.prototype.hasOwnProperty,W={},K={};function $(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new $(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new $(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new $(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new $(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new $(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new $(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new $(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new $(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new $(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function Y(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(G,Y);q[t]=new $(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(G,Y);q[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,Y);q[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new $(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new $(e,1,!1,e.toLowerCase(),null,!0)}));var Q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var o=q.hasOwnProperty(t)?q[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!U.call(K,e)||!U.call(W,e)&&(F.test(e)?K[e]=!0:(W[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,oe=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,ce=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,se=J?Symbol.for("react.suspense"):60113,ue=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,de=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case pe:return ve(e.render);case de:if(e=1===e._status?e._result:null)return ve(e)}return null}function be(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ve(e.type);n=null,r&&(n=ve(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Z,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ke(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Oe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function _e(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ge(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function je(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Ee(e,t){je(e,t);var n=ge(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?xe(e,t.type,n):t.hasOwnProperty("defaultValue")&&xe(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function xe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Se(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Te(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ge(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ze(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ge(n)}}function Ie(e,t){var n=ge(t.value),r=ge(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ne="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function Ae(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function De(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var He,Re=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((He=He||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=He.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ve(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Fe={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},Ue={},We={};function Ke(e){if(Ue[e])return Ue[e];if(!Fe[e])return e;var t,n=Fe[e];for(t in n)if(n.hasOwnProperty(t)&&t in We)return Ue[e]=n[t];return e}x&&(We=document.createElement("div").style,"AnimationEvent"in window||(delete Fe.animationend.animation,delete Fe.animationiteration.animation,delete Fe.animationstart.animation),"TransitionEvent"in window||delete Fe.transitionend.transition);var $e=Ke("animationend"),qe=Ke("animationiteration"),Ge=Ke("animationstart"),Ye=Ke("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var c=!1,l=o.child;l;){if(l===n){c=!0,n=o,r=i;break}if(l===r){c=!0,r=o,n=i;break}l=l.sibling}if(!c){for(l=i.child;l;){if(l===n){c=!0,n=i,r=o;break}if(l===r){c=!0,r=i,n=o;break}l=l.sibling}if(!c)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)b(e,t[r],n[r]);else t&&b(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ct(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(u)throw e=f,u=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!x)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function dt(e,t,n,r){if(ut.length){var o=ut.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=xn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=lt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var c=null,l=0;l<O.length;l++){var s=O[l];s&&(s=s.extractEvents(r,t,i,o,a))&&(c=rt(c,s))}ct(c)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Gt(t,"scroll",!0);break;case"focus":case"blur":Gt(t,"focus",!0),Gt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&Gt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&qt(e,t)}n.set(e,null)}}var mt,vt,bt,gt=!1,yt=[],kt=null,wt=null,Ot=null,_t=new Map,jt=new Map,Et=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),xt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function St(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Tt(e,t){switch(e){case"focus":case"blur":kt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jt.delete(t.pointerId)}}function zt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=St(t,n,r,o,i),null!==t&&(null!==(t=Sn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Pt(e){var t=xn(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function It(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Sn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Mt(e,t,n){It(e)&&n.delete(t)}function Nt(){for(gt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Sn(e.blockedOn))&&mt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==kt&&It(kt)&&(kt=null),null!==wt&&It(wt)&&(wt=null),null!==Ot&&It(Ot)&&(Ot=null),_t.forEach(Mt),jt.forEach(Mt)}function Lt(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Nt)))}function At(e){function t(t){return Lt(t,e)}if(0<yt.length){Lt(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Lt(kt,e),null!==wt&&Lt(wt,e),null!==Ot&&Lt(Ot,e),_t.forEach(t),jt.forEach(t),n=0;n<Et.length;n++)(r=Et[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Et.length&&null===(n=Et[0]).blockedOn;)Pt(n),null===n.blockedOn&&Et.shift()}var Dt={},Ht=new Map,Rt=new Map,Bt=["abort","abort",$e,"animationEnd",qe,"animationIteration",Ge,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Vt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Rt.set(r,t),Ht.set(r,i),Dt[o]=i}}Vt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Vt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Vt(Bt,2);for(var Ft="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ut=0;Ut<Ft.length;Ut++)Rt.set(Ft[Ut],0);var Wt=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,$t=!0;function qt(e,t){Gt(t,e,!1)}function Gt(e,t,n){var r=Rt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){H||A();var o=Xt,i=H;H=!0;try{L(o,e,t,n,r)}finally{(H=i)||B()}}function Qt(e,t,n,r){Kt(Wt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if($t)if(0<yt.length&&-1<Ct.indexOf(e))e=St(null,e,t,n,r),yt.push(e);else{var o=Zt(e,t,n,r);if(null===o)Tt(e,r);else if(-1<Ct.indexOf(e))e=St(o,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return kt=zt(kt,e,t,n,r,o),!0;case"dragenter":return wt=zt(wt,e,t,n,r,o),!0;case"mouseover":return Ot=zt(Ot,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return _t.set(i,zt(_t.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,jt.set(i,zt(jt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Tt(e,r),e=dt(e,r,null,t);try{V(pt,e)}finally{ft(e)}}}}function Zt(e,t,n,r){if(null!==(n=xn(n=lt(r)))){var o=Je(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{V(pt,e)}finally{ft(e)}return null}var Jt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Jt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jt[t]=Jt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var cn=Ne;function ln(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=E[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function sn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch($l){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function pn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,vn=null;function bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function gn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn="function"==typeof setTimeout?setTimeout:void 0,kn="function"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function On(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),jn="__reactInternalInstance$"+_n,En="__reactEventHandlers$"+_n,Cn="__reactContainere$"+_n;function xn(e){var t=e[jn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[jn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=On(e);null!==e;){if(n=e[jn])return n;e=On(e)}return t}n=(e=n).parentNode}return null}function Sn(e){return!(e=e[jn]||e[Cn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Tn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function zn(e){return e[En]||null}function Pn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function In(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Mn(e,t,n){(t=In(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Nn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Pn(t);for(t=n.length;0<t--;)Mn(n[t],"captured",e);for(t=0;t<n.length;t++)Mn(n[t],"bubbled",e)}}function Ln(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=In(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function An(e){e&&e.dispatchConfig.registrationName&&Ln(e._targetInst,null,e)}function Dn(e){ot(e,Nn)}var Hn=null,Rn=null,Bn=null;function Vn(){if(Bn)return Bn;var e,t,n=Rn,r=n.length,o="value"in Hn?Hn.value:Hn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Bn=o.slice(e,1<t?1-t:void 0)}function Fn(){return!0}function Un(){return!1}function Wn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Fn:Un,this.isPropagationStopped=Un,this}function Kn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function $n(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function qn(e){e.eventPool=[],e.getPooled=Kn,e.release=$n}o(Wn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Fn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Fn)},persist:function(){this.isPersistent=Fn},isPersistent:Un,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Un,this._dispatchInstances=this._dispatchListeners=null}}),Wn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Wn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,qn(n),n},qn(Wn);var Gn=Wn.extend({data:null}),Yn=Wn.extend({data:null}),Qn=[9,13,27,32],Xn=x&&"CompositionEvent"in window,Zn=null;x&&"documentMode"in document&&(Zn=document.documentMode);var Jn=x&&"TextEvent"in window&&!Zn,er=x&&(!Xn||Zn&&8<Zn&&11>=Zn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var cr={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Xn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=Vn()):(Rn="value"in(Hn=r)?Hn.value:Hn.textContent,ar=!0)),i=Gn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Dn(i),o=i):o=null,(e=Jn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Xn&&or(e,t)?(e=Vn(),Bn=Rn=Hn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Yn.getPooled(nr.beforeInput,t,n,r)).data=e,Dn(t)):t=null,null===o?t:null===t?o:[o,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Wn.getPooled(ur.change,e,t,n)).type="change",I(n),Dn(e),e}var dr=null,pr=null;function hr(e){ct(e)}function mr(e){if(we(Tn(e)))return e}function vr(e,t){if("change"===e)return t}var br=!1;function gr(){dr&&(dr.detachEvent("onpropertychange",yr),pr=dr=null)}function yr(e){if("value"===e.propertyName&&mr(pr))if(e=fr(pr,e,lt(e)),H)ct(e);else{H=!0;try{N(hr,e)}finally{H=!1,B()}}}function kr(e,t,n){"focus"===e?(gr(),pr=n,(dr=t).attachEvent("onpropertychange",yr)):"blur"===e&&gr()}function wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(pr)}function Or(e,t){if("click"===e)return mr(t)}function _r(e,t){if("input"===e||"change"===e)return mr(t)}x&&(br=st("input")&&(!document.documentMode||9<document.documentMode));var jr={eventTypes:ur,_isInputEventSupported:br,extractEvents:function(e,t,n,r){var o=t?Tn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=vr;else if(sr(o))if(br)a=_r;else{a=wr;var c=kr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Or);if(a&&(a=a(e,t)))return fr(a,n,r);c&&c(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&xe(o,"number",o.value)}},Er=Wn.extend({view:null,detail:null}),Cr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cr[e])&&!!t[e]}function Sr(){return xr}var Tr=0,zr=0,Pr=!1,Ir=!1,Mr=Er.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Sr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Tr;return Tr=e.screenX,Pr?"mousemove"===e.type?e.screenX-t:0:(Pr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=zr;return zr=e.screenY,Ir?"mousemove"===e.type?e.screenY-t:0:(Ir=!0,0)}}),Nr=Mr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Lr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Ar={eventTypes:Lr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?xn(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var c=Mr,l=Lr.mouseLeave,s=Lr.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(c=Nr,l=Lr.pointerLeave,s=Lr.pointerEnter,u="pointer");if(e=null==a?i:Tn(a),i=null==t?i:Tn(t),(l=c.getPooled(l,a,n,r)).type=u+"leave",l.target=e,l.relatedTarget=i,(n=c.getPooled(s,t,n,r)).type=u+"enter",n.target=i,n.relatedTarget=e,u=t,(r=a)&&u)e:{for(s=u,a=0,e=c=r;e;e=Pn(e))a++;for(e=0,t=s;t;t=Pn(t))e++;for(;0<a-e;)c=Pn(c),a--;for(;0<e-a;)s=Pn(s),e--;for(;a--;){if(c===s||c===s.alternate)break e;c=Pn(c),s=Pn(s)}c=null}else c=null;for(s=c,c=[];r&&r!==s&&(null===(a=r.alternate)||a!==s);)c.push(r),r=Pn(r);for(r=[];u&&u!==s&&(null===(a=u.alternate)||a!==s);)r.push(u),u=Pn(u);for(u=0;u<c.length;u++)Ln(c[u],"bubbled",l);for(u=r.length;0<u--;)Ln(r[u],"captured",n);return 0==(64&o)?[l]:[l,n]}};var Dr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Hr=Object.prototype.hasOwnProperty;function Rr(e,t){if(Dr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Hr.call(t,n[r])||!Dr(e[n[r]],t[n[r]]))return!1;return!0}var Br=x&&"documentMode"in document&&11>=document.documentMode,Vr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Fr=null,Ur=null,Wr=null,Kr=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kr||null==Fr||Fr!==un(n)?null:("selectionStart"in(n=Fr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wr&&Rr(Wr,n)?null:(Wr=n,(e=Wn.getPooled(Vr.select,Ur,e,t)).type="select",e.target=Fr,Dn(e),e))}var qr={eventTypes:Vr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Ze(o),i=E.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Tn(t):window,e){case"focus":(sr(o)||"true"===o.contentEditable)&&(Fr=o,Ur=t,Wr=null);break;case"blur":Wr=Ur=Fr=null;break;case"mousedown":Kr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kr=!1,$r(n,r);case"selectionchange":if(Br)break;case"keydown":case"keyup":return $r(n,r)}return null}},Gr=Wn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yr=Wn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qr=Er.extend({relatedTarget:null});function Xr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Zr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=Er.extend({key:function(e){if(e.key){var t=Zr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Jr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Sr,charCode:function(e){return"keypress"===e.type?Xr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Mr.extend({dataTransfer:null}),no=Er.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Sr}),ro=Wn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Mr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Dt,extractEvents:function(e,t,n,r){var o=Ht.get(e);if(!o)return null;switch(e){case"keypress":if(0===Xr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Mr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case $e:case qe:case Ge:e=Gr;break;case Ye:e=ro;break;case"scroll":e=Er;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Nr;break;default:e=Wn}return Dn(t=e.getPooled(o,t,n,r)),t}};if(g)throw Error(a(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),k(),h=zn,m=Sn,v=Tn,C({SimpleEventPlugin:io,EnterLeaveEventPlugin:Ar,ChangeEventPlugin:jr,SelectEventPlugin:qr,BeforeInputEventPlugin:cr});var ao=[],co=-1;function lo(e){0>co||(e.current=ao[co],ao[co]=null,co--)}function so(e,t){co++,ao[co]=e.current,e.current=t}var uo={},fo={current:uo},po={current:!1},ho=uo;function mo(e,t){var n=e.type.contextTypes;if(!n)return uo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vo(e){return null!=(e=e.childContextTypes)}function bo(){lo(po),lo(fo)}function go(e,t,n){if(fo.current!==uo)throw Error(a(168));so(fo,t),so(po,n)}function yo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ve(t)||"Unknown",i));return o({},n,{},r)}function ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||uo,ho=fo.current,so(fo,e),so(po,po.current),!0}function wo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,lo(po),lo(fo),so(fo,e)):lo(po),so(po,n)}var Oo=i.unstable_runWithPriority,_o=i.unstable_scheduleCallback,jo=i.unstable_cancelCallback,Eo=i.unstable_requestPaint,Co=i.unstable_now,xo=i.unstable_getCurrentPriorityLevel,So=i.unstable_ImmediatePriority,To=i.unstable_UserBlockingPriority,zo=i.unstable_NormalPriority,Po=i.unstable_LowPriority,Io=i.unstable_IdlePriority,Mo={},No=i.unstable_shouldYield,Lo=void 0!==Eo?Eo:function(){},Ao=null,Do=null,Ho=!1,Ro=Co(),Bo=1e4>Ro?Co:function(){return Co()-Ro};function Vo(){switch(xo()){case So:return 99;case To:return 98;case zo:return 97;case Po:return 96;case Io:return 95;default:throw Error(a(332))}}function Fo(e){switch(e){case 99:return So;case 98:return To;case 97:return zo;case 96:return Po;case 95:return Io;default:throw Error(a(332))}}function Uo(e,t){return e=Fo(e),Oo(e,t)}function Wo(e,t,n){return e=Fo(e),_o(e,t,n)}function Ko(e){return null===Ao?(Ao=[e],Do=_o(So,qo)):Ao.push(e),Mo}function $o(){if(null!==Do){var e=Do;Do=null,jo(e)}qo()}function qo(){if(!Ho&&null!==Ao){Ho=!0;var e=0;try{var t=Ao;Uo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ao=null}catch(n){throw null!==Ao&&(Ao=Ao.slice(e+1)),_o(So,$o),n}finally{Ho=!1}}}function Go(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Yo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qo={current:null},Xo=null,Zo=null,Jo=null;function ei(){Jo=Zo=Xo=null}function ti(e){var t=Qo.current;lo(Qo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Xo=e,Jo=Zo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(za=!0),e.firstContext=null)}function oi(e,t){if(Jo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Jo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zo){if(null===Xo)throw Error(a(308));Zo=t,Xo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Zo=Zo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ci(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function si(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ui(e,t){var n=e.alternate;null!==n&&ci(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,c=i.shared.pending;if(null!==c){if(null!==a){var l=a.next;a.next=c.next,c.next=l}a=c,i.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=c))}if(null!==a){l=a.next;var s=i.baseState,u=0,f=null,d=null,p=null;if(null!==l)for(var h=l;;){if((c=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=m,f=s):p=p.next=m,c>u&&(u=c)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),il(c,h.suspenseConfig);e:{var v=e,b=h;switch(c=t,m=n,b.tag){case 1:if("function"==typeof(v=b.payload)){s=v.call(m,s,c);break e}s=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(c="function"==typeof(v=b.payload)?v.call(m,s,c):v))break e;s=o({},s,c);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(c=i.effects)?i.effects=[h]:c.push(h))}if(null===(h=h.next)||h===l){if(null===(c=i.shared.pending))break;h=a.next=c.next,c.next=l,i.baseQueue=a=c,i.shared.pending=null}}null===p?f=s:p.next=d,i.baseState=f,i.baseQueue=p,al(u),e.expirationTime=u,e.memoizedState=s}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var pi=Q.ReactCurrentBatchConfig,hi=(new r.Component).refs;function mi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=$c(),o=pi.suspense;(o=li(r=qc(r,e,o),o)).payload=t,null!=n&&(o.callback=n),si(e,o),Gc(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=$c(),o=pi.suspense;(o=li(r=qc(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),si(e,o),Gc(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=$c(),r=pi.suspense;(r=li(n=qc(n,e,r),r)).tag=2,null!=t&&(r.callback=t),si(e,r),Gc(e,n)}};function bi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Rr(n,r)||!Rr(o,i))}function gi(e,t,n){var r=!1,o=uo,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=vo(t)?ho:fo.current,i=(r=null!=(r=t.contextTypes))?mo(e,o):uo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function yi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vi.enqueueReplaceState(t,t.state,null)}function ki(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=vo(t)?ho:fo.current,o.context=mo(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var wi=Array.isArray;function Oi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function _i(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function ji(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Cl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function c(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Tl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Oi(e,t,n),r.return=e,r):((r=xl(n.type,n.key,n.props,null,e.mode,r)).ref=Oi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Sl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Tl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=xl(t.type,t.key,t.props,null,e.mode,n)).ref=Oi(e,null,t),n.return=e,n;case te:return(t=zl(t,e.mode,n)).return=e,t}if(wi(t)||me(t))return(t=Sl(t,e.mode,n,null)).return=e,t;_i(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case te:return n.key===o?u(e,t,n,r):null}if(wi(n)||me(n))return null!==o?null:f(e,t,n,r,null);_i(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wi(r)||me(r))return f(t,e=e.get(n)||null,r,o,null);_i(t,r)}return null}function m(o,a,c,l){for(var s=null,u=null,f=a,m=a=0,v=null;null!==f&&m<c.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var b=p(o,f,c[m],l);if(null===b){null===f&&(f=v);break}e&&f&&null===b.alternate&&t(o,f),a=i(b,a,m),null===u?s=b:u.sibling=b,u=b,f=v}if(m===c.length)return n(o,f),s;if(null===f){for(;m<c.length;m++)null!==(f=d(o,c[m],l))&&(a=i(f,a,m),null===u?s=f:u.sibling=f,u=f);return s}for(f=r(o,f);m<c.length;m++)null!==(v=h(f,o,m,c[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=i(v,a,m),null===u?s=v:u.sibling=v,u=v);return e&&f.forEach((function(e){return t(o,e)})),s}function v(o,c,l,s){var u=me(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var f=u=null,m=c,v=c=0,b=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(b=m,m=null):b=m.sibling;var y=p(o,m,g.value,s);if(null===y){null===m&&(m=b);break}e&&m&&null===y.alternate&&t(o,m),c=i(y,c,v),null===f?u=y:f.sibling=y,f=y,m=b}if(g.done)return n(o,m),u;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=d(o,g.value,s))&&(c=i(g,c,v),null===f?u=g:f.sibling=g,f=g);return u}for(m=r(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,s))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),c=i(g,c,v),null===f?u=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case ee:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){switch(s.tag){case 7:if(i.type===ne){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}break;default:if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Oi(e,s,i),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}i.type===ne?((r=Sl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=xl(i.type,i.key,i.props,null,e.mode,l)).ref=Oi(e,r,i),l.return=e,e=l)}return c(e);case te:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=zl(i,e.mode,l)).return=e,e=r}return c(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Tl(i,e.mode,l)).return=e,e=r),c(e);if(wi(i))return m(e,r,i,l);if(me(i))return v(e,r,i,l);if(u&&_i(e,i),void 0===i&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ei=ji(!0),Ci=ji(!1),xi={},Si={current:xi},Ti={current:xi},zi={current:xi};function Pi(e){if(e===xi)throw Error(a(174));return e}function Ii(e,t){switch(so(zi,t),so(Ti,e),so(Si,xi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:De(null,"");break;default:t=De(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(Si),so(Si,t)}function Mi(){lo(Si),lo(Ti),lo(zi)}function Ni(e){Pi(zi.current);var t=Pi(Si.current),n=De(t,e.type);t!==n&&(so(Ti,e),so(Si,n))}function Li(e){Ti.current===e&&(lo(Si),lo(Ti))}var Ai={current:0};function Di(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Hi(e,t){return{responder:e,props:t}}var Ri=Q.ReactCurrentDispatcher,Bi=Q.ReactCurrentBatchConfig,Vi=0,Fi=null,Ui=null,Wi=null,Ki=!1;function $i(){throw Error(a(321))}function qi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dr(e[n],t[n]))return!1;return!0}function Gi(e,t,n,r,o,i){if(Vi=i,Fi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ri.current=null===e||null===e.memoizedState?ba:ga,e=n(r,o),t.expirationTime===Vi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Wi=Ui=null,t.updateQueue=null,Ri.current=ya,e=n(r,o)}while(t.expirationTime===Vi)}if(Ri.current=va,t=null!==Ui&&null!==Ui.next,Vi=0,Wi=Ui=Fi=null,Ki=!1,t)throw Error(a(300));return e}function Yi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Wi?Fi.memoizedState=Wi=e:Wi=Wi.next=e,Wi}function Qi(){if(null===Ui){var e=Fi.alternate;e=null!==e?e.memoizedState:null}else e=Ui.next;var t=null===Wi?Fi.memoizedState:Wi.next;if(null!==t)Wi=t,Ui=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Ui=e).memoizedState,baseState:Ui.baseState,baseQueue:Ui.baseQueue,queue:Ui.queue,next:null},null===Wi?Fi.memoizedState=Wi=e:Wi=Wi.next=e}return Wi}function Xi(e,t){return"function"==typeof t?t(e):t}function Zi(e){var t=Qi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Ui,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var c=o.next;o.next=i.next,i.next=c}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=c=i=null,s=o;do{var u=s.expirationTime;if(u<Vi){var f={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(c=l=f,i=r):l=l.next=f,u>Fi.expirationTime&&(Fi.expirationTime=u,al(u))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),il(u,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=c,Dr(r,t.memoizedState)||(za=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ji(e){var t=Qi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var c=o=o.next;do{i=e(i,c.action),c=c.next}while(c!==o);Dr(i,t.memoizedState)||(za=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Yi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xi,lastRenderedState:e}).dispatch=ma.bind(null,Fi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Fi.updateQueue)?(t={lastEffect:null},Fi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Qi().memoizedState}function ra(e,t,n,r){var o=Yi();Fi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Qi();r=void 0===r?null:r;var i=void 0;if(null!==Ui){var a=Ui.memoizedState;if(i=a.destroy,null!==r&&qi(r,a.deps))return void ta(t,n,i,r)}Fi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function ca(e,t){return oa(4,2,e,t)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sa(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)}function ua(){}function fa(e,t){return Yi().memoizedState=[e,void 0===t?null:t],e}function da(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pa(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Vo();Uo(98>r?98:r,(function(){e(!0)})),Uo(97<r?97:r,(function(){var r=Bi.suspense;Bi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Bi.suspense=r}}))}function ma(e,t,n){var r=$c(),o=pi.suspense;o={expirationTime:r=qc(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Fi||null!==i&&i===Fi)Ki=!0,o.expirationTime=Vi,Fi.expirationTime=Vi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,c=i(a,n);if(o.eagerReducer=i,o.eagerState=c,Dr(c,a))return}catch(l){}Gc(e,r)}}var va={readContext:oi,useCallback:$i,useContext:$i,useEffect:$i,useImperativeHandle:$i,useLayoutEffect:$i,useMemo:$i,useReducer:$i,useRef:$i,useState:$i,useDebugValue:$i,useResponder:$i,useDeferredValue:$i,useTransition:$i},ba={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Yi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,Fi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Yi().memoizedState=e},useState:ea,useDebugValue:ua,useResponder:Hi,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{o(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ga={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:sa,useLayoutEffect:ca,useMemo:pa,useReducer:Zi,useRef:na,useState:function(){return Zi(Xi)},useDebugValue:ua,useResponder:Hi,useDeferredValue:function(e,t){var n=Zi(Xi),r=n[0],o=n[1];return aa((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{o(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Xi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:sa,useLayoutEffect:ca,useMemo:pa,useReducer:Ji,useRef:na,useState:function(){return Ji(Xi)},useDebugValue:ua,useResponder:Hi,useDeferredValue:function(e,t){var n=Ji(Xi),r=n[0],o=n[1];return aa((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{o(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji(Xi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ka=null,wa=null,Oa=!1;function _a(e,t){var n=jl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ja(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ea(e){if(Oa){var t=wa;if(t){var n=t;if(!ja(e,t)){if(!(t=wn(n.nextSibling))||!ja(e,t))return e.effectTag=-1025&e.effectTag|2,Oa=!1,void(ka=e);_a(ka,n)}ka=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Oa=!1,ka=e}}function Ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ka=e}function xa(e){if(e!==ka)return!1;if(!Oa)return Ca(e),Oa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!gn(t,e.memoizedProps))for(t=wa;t;)_a(e,t),t=wn(t.nextSibling);if(Ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){wa=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}wa=null}}else wa=ka?wn(e.stateNode.nextSibling):null;return!0}function Sa(){wa=ka=null,Oa=!1}var Ta=Q.ReactCurrentOwner,za=!1;function Pa(e,t,n,r){t.child=null===e?Ci(t,null,n,r):Ei(t,e.child,n,r)}function Ia(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Gi(e,t,n,r,i,o),null===e||za?(t.effectTag|=1,Pa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ga(e,t,o))}function Ma(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||El(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=xl(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Na(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Rr)(o,r)&&e.ref===t.ref)?Ga(e,t,i):(t.effectTag|=1,(e=Cl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Na(e,t,n,r,o,i){return null!==e&&Rr(e.memoizedProps,r)&&e.ref===t.ref&&(za=!1,o<i)?(t.expirationTime=e.expirationTime,Ga(e,t,i)):Aa(e,t,n,r,i)}function La(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Aa(e,t,n,r,o){var i=vo(n)?ho:fo.current;return i=mo(t,i),ri(t,o),n=Gi(e,t,n,r,i,o),null===e||za?(t.effectTag|=1,Pa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ga(e,t,o))}function Da(e,t,n,r,o){if(vo(n)){var i=!0;ko(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),gi(t,n,r),ki(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,c=t.memoizedProps;a.props=c;var l=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=oi(s):s=mo(t,s=vo(n)?ho:fo.current);var u=n.getDerivedStateFromProps,f="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(c!==r||l!==s)&&yi(t,a,r,s),ii=!1;var d=t.memoizedState;a.state=d,fi(t,r,a,o),l=t.memoizedState,c!==r||d!==l||po.current||ii?("function"==typeof u&&(mi(t,n,u,r),l=t.memoizedState),(c=ii||bi(t,n,c,r,d,l,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=c):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ci(e,t),c=t.memoizedProps,a.props=t.type===t.elementType?c:Yo(t.type,c),l=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=oi(s):s=mo(t,s=vo(n)?ho:fo.current),(f="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(c!==r||l!==s)&&yi(t,a,r,s),ii=!1,l=t.memoizedState,a.state=l,fi(t,r,a,o),d=t.memoizedState,c!==r||l!==d||po.current||ii?("function"==typeof u&&(mi(t,n,u,r),d=t.memoizedState),(u=ii||bi(t,n,c,r,l,d,s))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,s)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||c===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||c===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||c===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||c===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ha(e,t,n,r,i,o)}function Ha(e,t,n,r,o,i){La(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&wo(t,n,!1),Ga(e,t,i);r=t.stateNode,Ta.current=t;var c=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Ei(t,e.child,null,i),t.child=Ei(t,null,c,i)):Pa(e,t,c,i),t.memoizedState=r.state,o&&wo(t,n,!0),t.child}function Ra(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),Ii(e,t.containerInfo)}var Ba,Va,Fa,Ua={dehydrated:null,retryTime:0};function Wa(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Ai.current,c=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(c=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),so(Ai,1&a),null===e){if(void 0!==i.fallback&&Ea(t),c){if(c=i.fallback,(i=Sl(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Sl(c,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ua,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Ci(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,c){if(i=i.fallback,(n=Cl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(c=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=c;null!==c;)c.return=n,c=c.sibling;return(o=Cl(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ua,t.child=n,o}return n=Ei(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,c){if(c=i.fallback,(i=Sl(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Sl(c,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ua,t.child=i,n}return t.memoizedState=null,t.child=Ei(t,e,i.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function $a(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function qa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Pa(e,t,r.children,n),0!=(2&(r=Ai.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ka(e,n);else if(19===e.tag)Ka(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(so(Ai,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Di(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$a(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Di(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$a(t,!0,n,null,i,t.lastEffect);break;case"together":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ga(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Cl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ya(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vo(t.type)&&bo(),null;case 3:return Mi(),lo(po),lo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!xa(t)||(t.effectTag|=4),null;case 5:Li(t),n=Pi(zi.current);var i=t.type;if(null!==e&&null!=t.stateNode)Va(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Pi(Si.current),xa(t)){r=t.stateNode,i=t.type;var c=t.memoizedProps;switch(r[jn]=t,r[En]=c,i){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)qt(Qe[e],r);break;case"source":qt("error",r);break;case"img":case"image":case"link":qt("error",r),qt("load",r);break;case"form":qt("reset",r),qt("submit",r);break;case"details":qt("toggle",r);break;case"input":_e(r,c),qt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!c.multiple},qt("invalid",r),ln(n,"onChange");break;case"textarea":Pe(r,c),qt("invalid",r),ln(n,"onChange")}for(var l in on(i,c),e=null,c)if(c.hasOwnProperty(l)){var s=c[l];"children"===l?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):j.hasOwnProperty(l)&&null!=s&&ln(n,l)}switch(i){case"input":ke(r),Ce(r,c,!0);break;case"textarea":ke(r),Me(r);break;case"select":case"option":break;default:"function"==typeof c.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===cn&&(e=Ae(i)),e===cn?"script"===i?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(i,{is:r.is}):(e=l.createElement(i),"select"===i&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,i),e[jn]=t,e[En]=r,Ba(e,t),t.stateNode=e,l=an(i,r),i){case"iframe":case"object":case"embed":qt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Qe.length;s++)qt(Qe[s],e);s=r;break;case"source":qt("error",e),s=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),s=r;break;case"form":qt("reset",e),qt("submit",e),s=r;break;case"details":qt("toggle",e),s=r;break;case"input":_e(e,r),s=Oe(e,r),qt("invalid",e),ln(n,"onChange");break;case"option":s=Se(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=o({},r,{value:void 0}),qt("invalid",e),ln(n,"onChange");break;case"textarea":Pe(e,r),s=ze(e,r),qt("invalid",e),ln(n,"onChange");break;default:s=r}on(i,s);var u=s;for(c in u)if(u.hasOwnProperty(c)){var f=u[c];"style"===c?nn(e,f):"dangerouslySetInnerHTML"===c?null!=(f=f?f.__html:void 0)&&Re(e,f):"children"===c?"string"==typeof f?("textarea"!==i||""!==f)&&Be(e,f):"number"==typeof f&&Be(e,""+f):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(j.hasOwnProperty(c)?null!=f&&ln(n,c):null!=f&&X(e,c,f,l))}switch(i){case"input":ke(e),Ce(e,r,!1);break;case"textarea":ke(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Te(e,!!r.multiple,n,!1):null!=r.defaultValue&&Te(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=sn)}bn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Fa(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Pi(zi.current),Pi(Si.current),xa(t)?(n=t.stateNode,r=t.memoizedProps,n[jn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[jn]=t,t.stateNode=n)}return null;case 13:return lo(Ai),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&xa(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=i,i.nextEffect=c):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ai.current)?xc===kc&&(xc=wc):(xc!==kc&&xc!==wc||(xc=Oc),0!==Ic&&null!==jc&&(Ml(jc,Cc),Nl(jc,Ic)))),(n||r)&&(t.effectTag|=4),null);case 4:return Mi(),null;case 10:return ti(t),null;case 17:return vo(t.type)&&bo(),null;case 19:if(lo(Ai),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(c=r.rendering)){if(i)Ya(r,!1);else if(xc!==kc||null!==e&&0!=(64&e.effectTag))for(c=t.child;null!==c;){if(null!==(e=Di(c))){for(t.effectTag|=64,Ya(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)c=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=c,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,c=e.dependencies,i.dependencies=null===c?null:{expirationTime:c.expirationTime,firstContext:c.firstContext,responders:c.responders}),r=r.sibling;return so(Ai,1&Ai.current|2),t.child}c=c.sibling}}else{if(!i)if(null!==(e=Di(c))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ya(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Bo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Ya(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Bo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Bo(),n.sibling=null,t=Ai.current,so(Ai,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Xa(e){switch(e.tag){case 1:vo(e.type)&&bo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Mi(),lo(po),lo(fo),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Li(e),null;case 13:return lo(Ai),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lo(Ai),null;case 4:return Mi(),null;case 10:return ti(e),null;default:return null}}function Za(e,t){return{value:e,source:t,stack:be(t)}}Ba=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var c,l,s=t.stateNode;switch(Pi(Si.current),e=null,n){case"input":a=Oe(s,a),r=Oe(s,r),e=[];break;case"option":a=Se(s,a),r=Se(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=ze(s,a),r=ze(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=sn)}for(c in on(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c)for(l in s=a[c])s.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(j.hasOwnProperty(c)?e||(e=[]):(e=e||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(l in s)!s.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&s[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(e||(e=[]),e.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(e=e||[]).push(c,u)):"children"===c?s===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(j.hasOwnProperty(c)?(null!=u&&ln(i,c),e||s===u||(e=[])):(e=e||[]).push(c,u))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Fa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Ja="function"==typeof WeakSet?WeakSet:Set;function ec(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=be(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function tc(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){gl(e,n)}else t.current=null}function nc(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Yo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function rc(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function oc(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ic(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void oc(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Yo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&bn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function ac(e,t,n){switch("function"==typeof Ol&&Ol(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Uo(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(i){gl(o,i)}}e=e.next}while(e!==r)}))}break;case 1:tc(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){gl(e,n)}}(t,n);break;case 5:tc(t);break;case 4:uc(e,t,n)}}function cc(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&cc(t)}function lc(e){return 5===e.tag||3===e.tag||4===e.tag}function sc(e){e:{for(var t=e.return;null!==t;){if(lc(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||lc(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=sn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function uc(e,t,n){for(var r,o,i=t,c=!1;;){if(!c){c=i.return;e:for(;;){if(null===c)throw Error(a(160));switch(r=c.stateNode,c.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}c=c.return}c=!0}if(5===i.tag||6===i.tag){e:for(var l=e,s=i,u=n,f=s;;)if(ac(l,f,u),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break e;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(l=r,s=i.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(ac(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(c=!1)}i.sibling.return=i.return,i=i.sibling}}function fc(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rc(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[En]=r,"input"===e&&"radio"===r.type&&null!=r.name&&je(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var c=i[o],l=i[o+1];"style"===c?nn(n,l):"dangerouslySetInnerHTML"===c?Re(n,l):"children"===c?Be(n,l):X(n,c,l,t)}switch(e){case"input":Ee(n,r);break;case"textarea":Ie(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Te(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Te(n,!!r.multiple,r.defaultValue,!0):Te(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,At(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Nc=Bo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void dc(t);case 19:return void dc(t);case 17:return}throw Error(a(163))}function dc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var r=kl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var pc="function"==typeof WeakMap?WeakMap:Map;function hc(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ac||(Ac=!0,Dc=r),ec(e,t)},n}function mc(e,t,n){(n=li(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ec(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Hc?Hc=new Set([this]):Hc.add(this),ec(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var vc,bc=Math.ceil,gc=Q.ReactCurrentDispatcher,yc=Q.ReactCurrentOwner,kc=0,wc=3,Oc=4,_c=0,jc=null,Ec=null,Cc=0,xc=kc,Sc=null,Tc=1073741823,zc=1073741823,Pc=null,Ic=0,Mc=!1,Nc=0,Lc=null,Ac=!1,Dc=null,Hc=null,Rc=!1,Bc=null,Vc=90,Fc=null,Uc=0,Wc=null,Kc=0;function $c(){return 0!=(48&_c)?1073741821-(Bo()/10|0):0!==Kc?Kc:Kc=1073741821-(Bo()/10|0)}function qc(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Vo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&_c))return Cc;if(null!==n)e=Go(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Go(e,150,100);break;case 97:case 96:e=Go(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==jc&&e===Cc&&--e,e}function Gc(e,t){if(50<Uc)throw Uc=0,Wc=null,Error(a(185));if(null!==(e=Yc(e,t))){var n=Vo();1073741823===t?0!=(8&_c)&&0==(48&_c)?Jc(e):(Xc(e),0===_c&&$o()):Xc(e),0==(4&_c)||98!==n&&99!==n||(null===Fc?Fc=new Map([[e,t]]):(void 0===(n=Fc.get(e))||n>t)&&Fc.set(e,t))}}function Yc(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(jc===o&&(al(t),xc===Oc&&Ml(o,Cc)),Nl(o,t)),o}function Qc(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Il(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Xc(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ko(Jc.bind(null,e));else{var t=Qc(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=$c();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Mo&&jo(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ko(Jc.bind(null,e)):Wo(r,Zc.bind(null,e),{timeout:10*(1073741821-t)-Bo()}),e.callbackNode=t}}}function Zc(e,t){if(Kc=0,t)return Ll(e,t=$c()),Xc(e),null;var n=Qc(e);if(0!==n){if(t=e.callbackNode,0!=(48&_c))throw Error(a(327));if(ml(),e===jc&&n===Cc||nl(e,n),null!==Ec){var r=_c;_c|=16;for(var o=ol();;)try{ll();break}catch(l){rl(e,l)}if(ei(),_c=r,gc.current=o,1===xc)throw t=Sc,nl(e,n),Ml(e,n),Xc(e),t;if(null===Ec)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=xc,jc=null,r){case kc:case 1:throw Error(a(345));case 2:Ll(e,2<n?2:n);break;case wc:if(Ml(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),1073741823===Tc&&10<(o=Nc+500-Bo())){if(Mc){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Qc(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=yn(dl.bind(null,e),o);break}dl(e);break;case Oc:if(Ml(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),Mc&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(o=Qc(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==zc?r=10*(1073741821-zc)-Bo():1073741823===Tc?r=0:(r=10*(1073741821-Tc)-5e3,0>(r=(o=Bo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bc(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=yn(dl.bind(null,e),r);break}dl(e);break;case 5:if(1073741823!==Tc&&null!==Pc){i=Tc;var c=Pc;if(0>=(r=0|c.busyMinDurationMs)?r=0:(o=0|c.busyDelayMs,r=(i=Bo()-(10*(1073741821-i)-(0|c.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Ml(e,n),e.timeoutHandle=yn(dl.bind(null,e),r);break}}dl(e);break;default:throw Error(a(329))}if(Xc(e),e.callbackNode===t)return Zc.bind(null,e)}}return null}function Jc(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&_c))throw Error(a(327));if(ml(),e===jc&&t===Cc||nl(e,t),null!==Ec){var n=_c;_c|=16;for(var r=ol();;)try{cl();break}catch(o){rl(e,o)}if(ei(),_c=n,gc.current=r,1===xc)throw n=Sc,nl(e,t),Ml(e,t),Xc(e),n;if(null!==Ec)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,jc=null,dl(e),Xc(e)}return null}function el(e,t){var n=_c;_c|=1;try{return e(t)}finally{0===(_c=n)&&$o()}}function tl(e,t){var n=_c;_c&=-2,_c|=8;try{return e(t)}finally{0===(_c=n)&&$o()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,kn(n)),null!==Ec)for(n=Ec.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&bo();break;case 3:Mi(),lo(po),lo(fo);break;case 5:Li(r);break;case 4:Mi();break;case 13:case 19:lo(Ai);break;case 10:ti(r)}n=n.return}jc=e,Ec=Cl(e.current,null),Cc=t,xc=kc,Sc=null,zc=Tc=1073741823,Pc=null,Ic=0,Mc=!1}function rl(e,t){for(;;){try{if(ei(),Ri.current=va,Ki)for(var n=Fi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Vi=0,Wi=Ui=Fi=null,Ki=!1,null===Ec||null===Ec.return)return xc=1,Sc=t,Ec=null;e:{var o=e,i=Ec.return,a=Ec,c=t;if(t=Cc,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==c&&"object"==typeof c&&"function"==typeof c.then){var l=c;if(0==(2&a.mode)){var s=a.alternate;s?(a.updateQueue=s.updateQueue,a.memoizedState=s.memoizedState,a.expirationTime=s.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var u=0!=(1&Ai.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(d){var m=f.updateQueue;if(null===m){var v=new Set;v.add(l),f.updateQueue=v}else m.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var b=li(1073741823,null);b.tag=2,si(a,b)}a.expirationTime=1073741823;break e}c=void 0,a=t;var g=o.pingCache;if(null===g?(g=o.pingCache=new pc,c=new Set,g.set(l,c)):void 0===(c=g.get(l))&&(c=new Set,g.set(l,c)),!c.has(a)){c.add(a);var y=yl.bind(null,o,l,a);l.then(y,y)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);c=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+be(a))}5!==xc&&(xc=2),c=Za(c,a),f=i;do{switch(f.tag){case 3:l=c,f.effectTag|=4096,f.expirationTime=t,ui(f,hc(f,l,t));break e;case 1:l=c;var k=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof k.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Hc||!Hc.has(w)))){f.effectTag|=4096,f.expirationTime=t,ui(f,mc(f,l,t));break e}}f=f.return}while(null!==f)}Ec=ul(Ec)}catch(O){t=O;continue}break}}function ol(){var e=gc.current;return gc.current=va,null===e?va:e}function il(e,t){e<Tc&&2<e&&(Tc=e),null!==t&&e<zc&&2<e&&(zc=e,Pc=t)}function al(e){e>Ic&&(Ic=e)}function cl(){for(;null!==Ec;)Ec=sl(Ec)}function ll(){for(;null!==Ec&&!No();)Ec=sl(Ec)}function sl(e){var t=vc(e.alternate,e,Cc);return e.memoizedProps=e.pendingProps,null===t&&(t=ul(e)),yc.current=null,t}function ul(e){Ec=e;do{var t=Ec.alternate;if(e=Ec.return,0==(2048&Ec.effectTag)){if(t=Qa(t,Ec,Cc),1===Cc||1!==Ec.childExpirationTime){for(var n=0,r=Ec.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ec.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ec.firstEffect),null!==Ec.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ec.firstEffect),e.lastEffect=Ec.lastEffect),1<Ec.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ec:e.firstEffect=Ec,e.lastEffect=Ec))}else{if(null!==(t=Xa(Ec)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ec.sibling))return t;Ec=e}while(null!==Ec);return xc===kc&&(xc=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function dl(e){var t=Vo();return Uo(99,pl.bind(null,e,t)),null}function pl(e,t){do{ml()}while(null!==Bc);if(0!=(48&_c))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===jc&&(Ec=jc=null,Cc=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=_c;_c|=32,yc.current=null,mn=$t;var c=pn();if(hn(c)){if("selectionStart"in c)var l={start:c.selectionStart,end:c.selectionEnd};else e:{var s=(l=(l=c.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(s&&0!==s.rangeCount){l=s.anchorNode;var u=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{l.nodeType,f.nodeType}catch(C){l=null;break e}var d=0,p=-1,h=-1,m=0,v=0,b=c,g=null;t:for(;;){for(var y;b!==l||0!==u&&3!==b.nodeType||(p=d+u),b!==f||0!==s&&3!==b.nodeType||(h=d+s),3===b.nodeType&&(d+=b.nodeValue.length),null!==(y=b.firstChild);)g=b,b=y;for(;;){if(b===c)break t;if(g===l&&++m===u&&(p=d),g===f&&++v===s&&(h=d),null!==(y=b.nextSibling))break;g=(b=g).parentNode}b=y}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;vn={activeElementDetached:null,focusedElem:c,selectionRange:l},$t=!1,Lc=o;do{try{hl()}catch(C){if(null===Lc)throw Error(a(330));gl(Lc,C),Lc=Lc.nextEffect}}while(null!==Lc);Lc=o;do{try{for(c=e,l=t;null!==Lc;){var k=Lc.effectTag;if(16&k&&Be(Lc.stateNode,""),128&k){var w=Lc.alternate;if(null!==w){var O=w.ref;null!==O&&("function"==typeof O?O(null):O.current=null)}}switch(1038&k){case 2:sc(Lc),Lc.effectTag&=-3;break;case 6:sc(Lc),Lc.effectTag&=-3,fc(Lc.alternate,Lc);break;case 1024:Lc.effectTag&=-1025;break;case 1028:Lc.effectTag&=-1025,fc(Lc.alternate,Lc);break;case 4:fc(Lc.alternate,Lc);break;case 8:uc(c,u=Lc,l),cc(u)}Lc=Lc.nextEffect}}catch(C){if(null===Lc)throw Error(a(330));gl(Lc,C),Lc=Lc.nextEffect}}while(null!==Lc);if(O=vn,w=pn(),k=O.focusedElem,l=O.selectionRange,w!==k&&k&&k.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(k.ownerDocument.documentElement,k)){null!==l&&hn(k)&&(w=l.start,void 0===(O=l.end)&&(O=w),"selectionStart"in k?(k.selectionStart=w,k.selectionEnd=Math.min(O,k.value.length)):(O=(w=k.ownerDocument||document)&&w.defaultView||window).getSelection&&(O=O.getSelection(),u=k.textContent.length,c=Math.min(l.start,u),l=void 0===l.end?c:Math.min(l.end,u),!O.extend&&c>l&&(u=l,l=c,c=u),u=dn(k,c),f=dn(k,l),u&&f&&(1!==O.rangeCount||O.anchorNode!==u.node||O.anchorOffset!==u.offset||O.focusNode!==f.node||O.focusOffset!==f.offset)&&((w=w.createRange()).setStart(u.node,u.offset),O.removeAllRanges(),c>l?(O.addRange(w),O.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),O.addRange(w))))),w=[];for(O=k;O=O.parentNode;)1===O.nodeType&&w.push({element:O,left:O.scrollLeft,top:O.scrollTop});for("function"==typeof k.focus&&k.focus(),k=0;k<w.length;k++)(O=w[k]).element.scrollLeft=O.left,O.element.scrollTop=O.top}$t=!!mn,vn=mn=null,e.current=n,Lc=o;do{try{for(k=e;null!==Lc;){var _=Lc.effectTag;if(36&_&&ic(k,Lc.alternate,Lc),128&_){w=void 0;var j=Lc.ref;if(null!==j){var E=Lc.stateNode;switch(Lc.tag){case 5:w=E;break;default:w=E}"function"==typeof j?j(w):j.current=w}}Lc=Lc.nextEffect}}catch(C){if(null===Lc)throw Error(a(330));gl(Lc,C),Lc=Lc.nextEffect}}while(null!==Lc);Lc=null,Lo(),_c=i}else e.current=n;if(Rc)Rc=!1,Bc=e,Vc=t;else for(Lc=o;null!==Lc;)t=Lc.nextEffect,Lc.nextEffect=null,Lc=t;if(0===(t=e.firstPendingTime)&&(Hc=null),1073741823===t?e===Wc?Uc++:(Uc=0,Wc=e):Uc=0,"function"==typeof wl&&wl(n.stateNode,r),Xc(e),Ac)throw Ac=!1,e=Dc,Dc=null,e;return 0!=(8&_c)||$o(),null}function hl(){for(;null!==Lc;){var e=Lc.effectTag;0!=(256&e)&&nc(Lc.alternate,Lc),0==(512&e)||Rc||(Rc=!0,Wo(97,(function(){return ml(),null}))),Lc=Lc.nextEffect}}function ml(){if(90!==Vc){var e=97<Vc?97:Vc;return Vc=90,Uo(e,vl)}}function vl(){if(null===Bc)return!1;var e=Bc;if(Bc=null,0!=(48&_c))throw Error(a(331));var t=_c;for(_c|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rc(5,n),oc(5,n)}}catch(r){if(null===e)throw Error(a(330));gl(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return _c=t,$o(),!0}function bl(e,t,n){si(e,t=hc(e,t=Za(n,t),1073741823)),null!==(e=Yc(e,1073741823))&&Xc(e)}function gl(e,t){if(3===e.tag)bl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){bl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hc||!Hc.has(r))){si(n,e=mc(n,e=Za(t,e),1073741823)),null!==(n=Yc(n,1073741823))&&Xc(n);break}}n=n.return}}function yl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),jc===e&&Cc===n?xc===Oc||xc===wc&&1073741823===Tc&&Bo()-Nc<500?nl(e,Cc):Mc=!0:Il(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Xc(e)))}function kl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=qc(t=$c(),e,null)),null!==(e=Yc(e,t))&&Xc(e)}vc=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)za=!0;else{if(r<n){switch(za=!1,t.tag){case 3:Ra(t),Sa();break;case 5:if(Ni(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vo(t.type)&&ko(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,so(Qo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Wa(e,t,n):(so(Ai,1&Ai.current),null!==(t=Ga(e,t,n))?t.sibling:null);so(Ai,1&Ai.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return qa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),so(Ai,Ai.current),!r)return null}return Ga(e,t,n)}za=!1}}else za=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=mo(t,fo.current),ri(t,n),o=Gi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var i=!0;ko(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var c=r.getDerivedStateFromProps;"function"==typeof c&&mi(t,r,c,e),o.updater=vi,t.stateNode=o,o._reactInternalFiber=t,ki(t,r,e,n),t=Ha(null,t,r,!0,i,n)}else t.tag=0,Pa(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return El(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(o),e=Yo(o,e),i){case 0:t=Aa(null,t,o,e,n);break e;case 1:t=Da(null,t,o,e,n);break e;case 11:t=Ia(null,t,o,e,n);break e;case 14:t=Ma(null,t,o,Yo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Aa(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Da(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 3:if(Ra(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ci(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Sa(),t=Ga(e,t,n);else{if((o=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),ka=t,o=Oa=!0),o)for(n=Ci(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Pa(e,t,r,n),Sa();t=t.child}return t;case 5:return Ni(t),null===e&&Ea(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,c=o.children,gn(r,o)?c=null:null!==i&&gn(r,i)&&(t.effectTag|=16),La(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Pa(e,t,c,n),t=t.child),t;case 6:return null===e&&Ea(t),null;case 13:return Wa(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ei(t,null,r,n):Pa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ia(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 7:return Pa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,c=t.memoizedProps,i=o.value;var l=t.type._context;if(so(Qo,l._currentValue),l._currentValue=i,null!==c)if(l=c.value,0===(i=Dr(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(c.children===o.children&&!po.current){t=Ga(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){c=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=li(n,null)).tag=2,si(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ni(l.return,n),s.expirationTime<n&&(s.expirationTime=n);break}u=u.next}}else c=10===l.tag&&l.type===t.type?null:l.child;if(null!==c)c.return=l;else for(c=l;null!==c;){if(c===t){c=null;break}if(null!==(l=c.sibling)){l.return=c.return,c=l;break}c=c.return}l=c}Pa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,Pa(e,t,r,n),t.child;case 14:return i=Yo(o=t.type,t.pendingProps),Ma(e,t,o,i=Yo(o.type,i),r,n);case 15:return Na(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vo(r)?(e=!0,ko(t)):e=!1,ri(t,n),gi(t,r,o),ki(t,r,o,n),Ha(null,t,r,!0,e,n);case 19:return qa(e,t,n)}throw Error(a(156,t.tag))};var wl=null,Ol=null;function _l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function jl(e,t,n,r){return new _l(e,t,n,r)}function El(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cl(e,t){var n=e.alternate;return null===n?((n=jl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xl(e,t,n,r,o,i){var c=2;if(r=e,"function"==typeof e)El(e)&&(c=1);else if("string"==typeof e)c=5;else e:switch(e){case ne:return Sl(n.children,o,i,t);case ce:c=8,o|=7;break;case re:c=8,o|=1;break;case oe:return(e=jl(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case se:return(e=jl(13,n,t,o)).type=se,e.elementType=se,e.expirationTime=i,e;case ue:return(e=jl(19,n,t,o)).elementType=ue,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:c=10;break e;case ae:c=9;break e;case le:c=11;break e;case fe:c=14;break e;case de:c=16,r=null;break e;case pe:c=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=jl(c,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Sl(e,t,n,r){return(e=jl(7,e,r,t)).expirationTime=n,e}function Tl(e,t,n){return(e=jl(6,e,null,t)).expirationTime=n,e}function zl(e,t,n){return(t=jl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Il(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ml(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Nl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ll(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Al(e,t,n,r){var o=t.current,i=$c(),c=pi.suspense;i=qc(i,o,c);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var s=n.type;if(vo(s)){n=yo(n,s,l);break e}}n=l}else n=uo;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,c)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),si(o,t),Gc(o,i),i}function Dl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Hl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Rl(e,t){Hl(e,t),(e=e.alternate)&&Hl(e,t)}function Bl(e,t,n){var r=new Pl(e,t,n=null!=n&&!0===n.hydrate),o=jl(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[Cn]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Ct.forEach((function(e){ht(e,t,n)})),xt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Vl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Fl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var c=o;o=function(){var e=Dl(a);c.call(e)}}Al(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Bl(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Dl(a);l.call(e)}}tl((function(){Al(t,a,e,o)}))}return Dl(a)}function Ul(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Wl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Vl(t))throw Error(a(200));return Ul(e,t,null,n)}Bl.prototype.render=function(e){Al(e,this._internalRoot,null,null)},Bl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Al(null,e,null,(function(){t[Cn]=null}))},mt=function(e){if(13===e.tag){var t=Go($c(),150,100);Gc(e,t),Rl(e,t)}},vt=function(e){13===e.tag&&(Gc(e,3),Rl(e,3))},bt=function(e){if(13===e.tag){var t=$c();Gc(e,t=qc(t,e,null)),Rl(e,t)}},S=function(e,t,n){switch(t){case"input":if(Ee(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=zn(r);if(!o)throw Error(a(90));we(r),Ee(r,o)}}}break;case"textarea":Ie(e,n);break;case"select":null!=(t=n.value)&&Te(e,!!n.multiple,t,!1)}},N=el,L=function(e,t,n,r,o){var i=_c;_c|=4;try{return Uo(98,e.bind(null,t,n,r,o))}finally{0===(_c=i)&&$o()}},A=function(){0==(49&_c)&&(function(){if(null!==Fc){var e=Fc;Fc=null,e.forEach((function(e,t){Ll(t,e),Xc(t)})),$o()}}(),ml())},D=function(e,t){var n=_c;_c|=2;try{return e(t)}finally{0===(_c=n)&&$o()}};var Kl,$l,ql={Events:[Sn,Tn,zn,C,_,Dn,function(e){ot(e,An)},I,M,Xt,ct,ml,{current:!1}]};$l=(Kl={findFiberByHostInstance:xn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(r){}},Ol=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}}(o({},Kl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return $l?$l(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ql,t.createPortal=Wl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&_c))throw Error(a(187));var n=_c;_c|=1;try{return Uo(99,e.bind(null,t))}finally{_c=n,$o()}},t.hydrate=function(e,t,n){if(!Vl(t))throw Error(a(200));return Fl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Vl(t))throw Error(a(200));return Fl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Vl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Fl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Cn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Wl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Fl(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(84)},function(e,t,n){"use strict";
83
+ /** @license React v0.19.1
84
+ * scheduler.production.min.js
85
+ *
86
+ * Copyright (c) Facebook, Inc. and its affiliates.
87
+ *
88
+ * This source code is licensed under the MIT license found in the
89
+ * LICENSE file in the root directory of this source tree.
90
+ */var r,o,i,a,c;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,s=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(n){throw setTimeout(u,0),n}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(u,0))},o=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},a=function(){return!1},c=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var b=p.now();t.unstable_now=function(){return p.now()-b}}var g=!1,y=null,k=-1,w=5,O=0;a=function(){return t.unstable_now()>=O},c=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,j=_.port2;_.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();O=e+w;try{y(!0,e)?j.postMessage(null):(g=!1,y=null)}catch(n){throw j.postMessage(null),n}}else g=!1},r=function(e){y=e,g||(g=!0,j.postMessage(null))},o=function(e,n){k=h((function(){e(t.unstable_now())}),n)},i=function(){m(k),k=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<S(o,t)))break e;e[r]=t,e[n]=o,n=r}}function C(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],c=i+1,l=e[c];if(void 0!==a&&0>S(a,n))void 0!==l&&0>S(l,a)?(e[r]=l,e[c]=n,r=c):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>S(l,n)))break e;e[r]=l,e[c]=n,r=c}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],z=[],P=1,I=null,M=3,N=!1,L=!1,A=!1;function D(e){for(var t=C(z);null!==t;){if(null===t.callback)x(z);else{if(!(t.startTime<=e))break;x(z),t.sortIndex=t.expirationTime,E(T,t)}t=C(z)}}function H(e){if(A=!1,D(e),!L)if(null!==C(T))L=!0,r(R);else{var t=C(z);null!==t&&o(H,t.startTime-e)}}function R(e,n){L=!1,A&&(A=!1,i()),N=!0;var r=M;try{for(D(n),I=C(T);null!==I&&(!(I.expirationTime>n)||e&&!a());){var c=I.callback;if(null!==c){I.callback=null,M=I.priorityLevel;var l=c(I.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?I.callback=l:I===C(T)&&x(T),D(n)}else x(T);I=C(T)}if(null!==I)var s=!0;else{var u=C(z);null!==u&&o(H,u.startTime-n),s=!1}return s}finally{I=null,M=r,N=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=c;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||N||(L=!0,r(R))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return C(T)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,a){var c=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?c+l:c,a="number"==typeof a.timeout?a.timeout:B(e)}else a=B(e),l=c;return e={id:P++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>c?(e.sortIndex=l,E(z,e),null===C(T)&&e===C(z)&&(A?i():A=!0,o(H,l-c))):(e.sortIndex=a,E(T,e),L||N||(L=!0,r(R))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=C(T);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<I.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},function(e,t,n){"use strict";var r=n(86);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
91
+ /** @license React v16.11.0
92
+ * react-is.production.min.js
93
+ *
94
+ * Copyright (c) Facebook, Inc. and its affiliates.
95
+ *
96
+ * This source code is licensed under the MIT license found in the
97
+ * LICENSE file in the root directory of this source tree.
98
+ */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case l:case c:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case s:return e;default:return t}}case b:case v:case i:return t}}}function O(e){return w(e)===d}t.typeOf=w,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=v,t.Portal=i,t.Profiler=l,t.StrictMode=c,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===c||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===k)},t.isAsyncMode=function(e){return O(e)||w(e)===f},t.isConcurrentMode=O,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===c},t.isSuspense=function(e){return w(e)===h}},function(e,t,n){"use strict";var r=n(89);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,c=n.alignWithLeft,l=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,f=n.offsetRight||0;o=void 0===o||o;var d=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),m=r.outerWidth(e),v=void 0,b=void 0,g=void 0,y=void 0,k=void 0,w=void 0,O=void 0,_=void 0,j=void 0,E=void 0;d?(O=t,E=r.height(O),j=r.width(O),_={left:r.scrollLeft(O),top:r.scrollTop(O)},k={left:p.left-_.left-s,top:p.top-_.top-l},w={left:p.left+m-(_.left+j)+f,top:p.top+h-(_.top+E)+u},y=_):(v=r.offset(t),b=t.clientHeight,g=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},k={left:p.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-s,top:p.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:p.left+m-(v.left+g+(parseFloat(r.css(t,"borderRightWidth"))||0))+f,top:p.top+h-(v.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||w.top>0?!0===a?r.scrollTop(t,y.top+k.top):!1===a?r.scrollTop(t,y.top+w.top):k.top<0?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+w.top)),o&&(k.left<0||w.left>0?!0===c?r.scrollLeft(t,y.left+k.left):!1===c?r.scrollLeft(t,y.left+w.left):k.left<0?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+w.left):i||((c=void 0===c||!!c)?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+w.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function c(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=c(r),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,f="left";var d=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===d(e,"boxSizing")}"undefined"!=typeof window&&(d=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(s.test(n)&&!u.test(t)){var r=e.style,o=r[f],i=e.runtimeStyle[f];e.runtimeStyle[f]=e.currentStyle[f],r[f]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[f]=o,e.runtimeStyle[f]=i}return""===n?"auto":n});var m=["margin","border","padding"];function v(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function b(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var c=void 0;c="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(d(e,c))||0}return r}function g(e){return null!=e&&e==e.window}var y={};function k(e,t,n){if(g(e))return"width"===t?y.viewportWidth(e):y.viewportHeight(e);if(9===e.nodeType)return"width"===t?y.docWidth(e):y.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(d(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=d(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var c=void 0!==o||i,l=o||a;if(-1===n)return c?l-b(e,["border","padding"],r):a;if(c){var s=2===n?-b(e,["border"],r):b(e,["margin"],r);return l+(1===n?0:s)}return a+b(e,m.slice(n),r)}p(["Width","Height"],(function(e){y["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],y["viewport"+e](n))},y["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function O(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=k.apply(void 0,n):v(e,w,(function(){t=k.apply(void 0,n)})),t}function _(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):d(e,t);for(var i in t)t.hasOwnProperty(i)&&_(e,i,t[i])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);y["outer"+t]=function(t,n){return t&&O(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];y[e]=function(t,r){if(void 0===r)return t&&O(t,e,-1);if(t){d(t);return h(t)&&(r+=b(t,["padding","border"],n)),_(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===_(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(_(e,i))||0,r[i]=o+t[i]-n[i]);_(e,r)}(e,t)},isWindow:g,each:p,css:_,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(g(e)){if(void 0===t)return a(e);window.scrollTo(t,c(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(g(e)){if(void 0===t)return c(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},y)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var c=n(3),l=n(7),s=n(91),u=n(92),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),c=(n.innerRef,a(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,s=e.saveDOMNodeRef,u=r&&l?l*r:null;return i({},c,{saveDOMNodeRef:s,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout((function(){return s(e.textarea)})),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=a(e,["children","saveDOMNodeRef"]);return c.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(e){this.props.value===this.currentValue&&this.props.rows===e.rows||this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.func},t}(c.Component);t.default=f},function(e,t,n){var r,o,i;
99
+ /*!
100
+ autosize 4.0.2
101
+ license: MIT
102
+ http://www.jacklmoore.com/autosize
103
+ */o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(u){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,a=null,c=function(){e.clientWidth!==r&&f()},l=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",f,!1),e.removeEventListener("keyup",f,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",f,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",f,!1),window.addEventListener("resize",c,!1),e.addEventListener("input",f,!1),e.addEventListener("autosize:update",f,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:f}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),f()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function f(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(s("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),a!==r){a=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(c){}}}}function c(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((s=function(e){return e}).destroy=function(e){return e},s.update=function(e){return e}):((s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return a(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],c),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=s,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(93);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var c=r(e,"font-size");a.style.fontSize=c,a.style.padding="0px",a.style.border="0px";var l=document.body;l.appendChild(a),n=a.offsetHeight,l.removeChild(a)}return n}},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";var r=n(42),o=n(43),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,s=function(e,t){l.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,o,i,a,l,u,d,p,h,m,v,b){var g=t;if("function"==typeof u?g=u(n,g):g instanceof Date?g=h(g):"comma"===o&&c(g)&&(g=g.join(",")),null===g){if(i)return l&&!v?l(n,f.encoder,b):n;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||r.isBuffer(g))return l?[m(v?n:l(n,f.encoder,b))+"="+m(l(g,f.encoder,b))]:[m(n)+"="+m(String(g))];var y,k=[];if(void 0===g)return k;if(c(u))y=u;else{var w=Object.keys(g);y=d?w.sort(d):w}for(var O=0;O<y.length;++O){var _=y[O];a&&null===g[_]||(c(g)?s(k,e(g[_],"function"==typeof o?o(n,_):n,o,i,a,l,u,d,p,h,m,v,b)):s(k,e(g[_],n+(p?"."+_:"["+_+"]"),o,i,a,l,u,d,p,h,m,v,b)))}return k};e.exports=function(e,t){var n,r=e,l=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=f.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof l.filter?r=(0,l.filter)("",r):c(l.filter)&&(n=l.filter);var u,p=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[u];n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var m=0;m<n.length;++m){var v=n[m];l.skipNulls&&null===r[v]||s(p,d(r[v],v,h,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.formatter,l.encodeValuesOnly,l.charset))}var b=p.join(l.delimiter),g=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),b.length>0?g+b:""}},function(e,t,n){"use strict";var r=n(42),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),c=a?r.slice(0,a.index):r,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var s=0;null!==(a=i.exec(r))&&s<n.depth;){if(s+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(a[1])}return a&&l.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&a!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=r:i[c]=r:i={0:r}}r=i}return r}(l,t,n)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,s=t.parameterLimit===1/0?void 0:t.parameterLimit,u=l.split(t.delimiter,s),f=-1,d=t.charset;if(t.charsetSentinel)for(n=0;n<u.length;++n)0===u[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[n]?d="utf-8":"utf8=%26%2310003%3B"===u[n]&&(d="iso-8859-1"),f=n,n=u.length);for(n=0;n<u.length;++n)if(n!==f){var p,h,m=u[n],v=m.indexOf("]="),b=-1===v?m.indexOf("="):v+1;-1===b?(p=t.decoder(m,i.decoder,d),h=t.strictNullHandling?null:""):(p=t.decoder(m.slice(0,b),i.decoder,d),h=t.decoder(m.slice(b+1),i.decoder,d)),h&&t.interpretNumericEntities&&"iso-8859-1"===d&&(h=a(h)),h&&t.comma&&h.indexOf(",")>-1&&(h=h.split(",")),o.call(c,p)?c[p]=r.combine(c[p],h):c[p]=h}return c}(e,n):e,s=n.plainObjects?Object.create(null):{},u=Object.keys(l),f=0;f<u.length;++f){var d=u[f],p=c(d,l[d],n);s=r.merge(s,p,n)}return r.compact(s)}},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,c=2147483647,l=/^xn--/,s=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function h(e){throw RangeError(f[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function v(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(u,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function g(e){return m(e,(function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function w(e){var t,n,r,o,i,a,l,s,u,f,p,m=[],v=e.length,b=0,y=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&h("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<v;){for(i=b,a=1,l=36;o>=v&&h("invalid-input"),((s=(p=e.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||s>d((c-b)/a))&&h("overflow"),b+=s*a,!(s<(u=l<=w?1:l>=w+26?26:l-w));l+=36)a>d(c/(f=36-u))&&h("overflow"),a*=f;w=k(b-i,t=m.length+1,0==i),d(b/t)>c-y&&h("overflow"),y+=d(b/t),b%=t,m.splice(b++,0,y)}return g(m)}function O(e){var t,n,r,o,i,a,l,s,u,f,m,v,g,w,O,_=[];for(v=(e=b(e)).length,t=128,n=0,i=72,a=0;a<v;++a)(m=e[a])<128&&_.push(p(m));for(r=o=_.length,o&&_.push("-");r<v;){for(l=c,a=0;a<v;++a)(m=e[a])>=t&&m<l&&(l=m);for(l-t>d((c-n)/(g=r+1))&&h("overflow"),n+=(l-t)*g,t=l,a=0;a<v;++a)if((m=e[a])<t&&++n>c&&h("overflow"),m==t){for(s=n,u=36;!(s<(f=u<=i?1:u>=i+26?26:u-i));u+=36)O=s-f,w=36-f,_.push(p(y(f+O%w,0))),s=d(O/w);_.push(p(y(s,0))),i=k(n,g,r==o),n=0,++r}++n,++t}return _.join("")}a={version:"1.3.2",ucs2:{decode:b,encode:g},decode:w,encode:O,toASCII:function(e){return v(e,(function(e){return s.test(e)?"xn--"+O(e):e}))},toUnicode:function(e){return v(e,(function(e){return l.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(38)(e))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(103),t.encode=t.stringify=n(104)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var s=0;s<l;++s){var u,f,d,p,h=e[s].replace(a,"%20"),m=h.indexOf(n);m>=0?(u=h.substr(0,m),f=h.substr(m+1)):(u=h,f=""),d=decodeURIComponent(u),p=decodeURIComponent(f),r(i,d)?Array.isArray(i[d])?i[d].push(p):i[d]=[i[d],p]:i[d]=p}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,o){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(o){var i=encodeURIComponent(r(o))+n;return Array.isArray(e[o])?e[o].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[o]))})).join(t):o?encodeURIComponent(r(o))+n+encodeURIComponent(r(e)):""}},function(e,t,n){},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getIsResolving",(function(){return me})),n.d(r,"hasStartedResolution",(function(){return ve})),n.d(r,"hasFinishedResolution",(function(){return be})),n.d(r,"isResolving",(function(){return ge})),n.d(r,"getCachedResolvers",(function(){return ye}));var o={};n.r(o),n.d(o,"startResolution",(function(){return ke})),n.d(o,"finishResolution",(function(){return we})),n.d(o,"invalidateResolution",(function(){return Oe})),n.d(o,"invalidateResolutionForStore",(function(){return _e})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return je}));var i={};n.r(i),n.d(i,"find",(function(){return Pn}));var a={};n.r(a),n.d(a,"isTabbableIndex",(function(){return Mn})),n.d(a,"find",(function(){return Hn})),n.d(a,"findPrevious",(function(){return Rn})),n.d(a,"findNext",(function(){return Bn}));var c={};n.r(c),n.d(c,"getBlockTypes",(function(){return Do})),n.d(c,"getBlockType",(function(){return Ho})),n.d(c,"getBlockStyles",(function(){return Ro})),n.d(c,"getBlockVariations",(function(){return Bo})),n.d(c,"getDefaultBlockVariation",(function(){return Vo})),n.d(c,"getCategories",(function(){return Fo})),n.d(c,"getCollections",(function(){return Uo})),n.d(c,"getDefaultBlockName",(function(){return Wo})),n.d(c,"getFreeformFallbackBlockName",(function(){return Ko})),n.d(c,"getUnregisteredFallbackBlockName",(function(){return $o})),n.d(c,"getGroupingBlockName",(function(){return qo})),n.d(c,"getChildBlockNames",(function(){return Go})),n.d(c,"getBlockSupport",(function(){return Yo})),n.d(c,"hasBlockSupport",(function(){return Qo})),n.d(c,"isMatchingSearchTerm",(function(){return Xo})),n.d(c,"hasChildBlocks",(function(){return Zo})),n.d(c,"hasChildBlocksWithInserterSupport",(function(){return Jo}));var l={};n.r(l),n.d(l,"addBlockTypes",(function(){return ei})),n.d(l,"removeBlockTypes",(function(){return ti})),n.d(l,"addBlockStyles",(function(){return ni})),n.d(l,"removeBlockStyles",(function(){return ri})),n.d(l,"addBlockVariations",(function(){return oi})),n.d(l,"removeBlockVariations",(function(){return ii})),n.d(l,"setDefaultBlockName",(function(){return ai})),n.d(l,"setFreeformFallbackBlockName",(function(){return ci})),n.d(l,"setUnregisteredFallbackBlockName",(function(){return li})),n.d(l,"setGroupingBlockName",(function(){return si})),n.d(l,"setCategories",(function(){return ui})),n.d(l,"updateCategory",(function(){return fi})),n.d(l,"addBlockCollection",(function(){return di})),n.d(l,"removeBlockCollection",(function(){return pi}));var s={};n.r(s),n.d(s,"getFormatTypes",(function(){return xs})),n.d(s,"getFormatType",(function(){return Ss})),n.d(s,"getFormatTypeForBareElement",(function(){return Ts})),n.d(s,"getFormatTypeForClassName",(function(){return zs}));var u={};n.r(u),n.d(u,"addFormatTypes",(function(){return Ps})),n.d(u,"removeFormatTypes",(function(){return Is}));var f={};n.r(f),n.d(f,"setIsMatching",(function(){return bf}));var d={};n.r(d),n.d(d,"isViewportMatch",(function(){return gf}));var p={};n.r(p),n.d(p,"registerShortcut",(function(){return jf})),n.d(p,"unregisterShortcut",(function(){return Ef}));var h={};n.r(h),n.d(h,"getShortcutKeyCombination",(function(){return Tf})),n.d(h,"getShortcutRepresentation",(function(){return zf})),n.d(h,"getShortcutDescription",(function(){return Pf})),n.d(h,"getShortcutAliases",(function(){return If})),n.d(h,"getAllShortcutRawKeyCombinations",(function(){return Mf})),n.d(h,"getCategoryShortcuts",(function(){return Nf}));var m={};n.r(m),n.d(m,"resetBlocks",(function(){return ab})),n.d(m,"resetSelection",(function(){return cb})),n.d(m,"receiveBlocks",(function(){return lb})),n.d(m,"updateBlockAttributes",(function(){return sb})),n.d(m,"updateBlock",(function(){return ub})),n.d(m,"selectBlock",(function(){return fb})),n.d(m,"selectPreviousBlock",(function(){return db})),n.d(m,"selectNextBlock",(function(){return pb})),n.d(m,"startMultiSelect",(function(){return hb})),n.d(m,"stopMultiSelect",(function(){return mb})),n.d(m,"multiSelect",(function(){return vb})),n.d(m,"clearSelectedBlock",(function(){return bb})),n.d(m,"toggleSelection",(function(){return gb})),n.d(m,"replaceBlocks",(function(){return kb})),n.d(m,"replaceBlock",(function(){return wb})),n.d(m,"moveBlocksDown",(function(){return _b})),n.d(m,"moveBlocksUp",(function(){return jb})),n.d(m,"moveBlockToPosition",(function(){return Eb})),n.d(m,"insertBlock",(function(){return Cb})),n.d(m,"insertBlocks",(function(){return xb})),n.d(m,"showInsertionPoint",(function(){return Sb})),n.d(m,"hideInsertionPoint",(function(){return Tb})),n.d(m,"setTemplateValidity",(function(){return zb})),n.d(m,"synchronizeTemplate",(function(){return Pb})),n.d(m,"mergeBlocks",(function(){return Ib})),n.d(m,"removeBlocks",(function(){return Mb})),n.d(m,"removeBlock",(function(){return Nb})),n.d(m,"replaceInnerBlocks",(function(){return Lb})),n.d(m,"toggleBlockMode",(function(){return Ab})),n.d(m,"startTyping",(function(){return Db})),n.d(m,"stopTyping",(function(){return Hb})),n.d(m,"startDraggingBlocks",(function(){return Rb})),n.d(m,"stopDraggingBlocks",(function(){return Bb})),n.d(m,"enterFormattedText",(function(){return Vb})),n.d(m,"exitFormattedText",(function(){return Fb})),n.d(m,"selectionChange",(function(){return Ub})),n.d(m,"insertDefaultBlock",(function(){return Wb})),n.d(m,"updateBlockListSettings",(function(){return Kb})),n.d(m,"updateSettings",(function(){return $b})),n.d(m,"__unstableSaveReusableBlock",(function(){return qb})),n.d(m,"__unstableMarkLastChangeAsPersistent",(function(){return Gb})),n.d(m,"__unstableMarkNextChangeAsNotPersistent",(function(){return Yb})),n.d(m,"__unstableMarkAutomaticChange",(function(){return Qb})),n.d(m,"setNavigationMode",(function(){return Xb})),n.d(m,"duplicateBlocks",(function(){return Zb})),n.d(m,"insertBeforeBlock",(function(){return Jb})),n.d(m,"insertAfterBlock",(function(){return eg}));var v={};n.r(v),n.d(v,"INSERTER_UTILITY_HIGH",(function(){return rg})),n.d(v,"INSERTER_UTILITY_MEDIUM",(function(){return og})),n.d(v,"INSERTER_UTILITY_LOW",(function(){return ig})),n.d(v,"INSERTER_UTILITY_NONE",(function(){return ag})),n.d(v,"getBlockName",(function(){return sg})),n.d(v,"isBlockValid",(function(){return ug})),n.d(v,"getBlockAttributes",(function(){return fg})),n.d(v,"getBlock",(function(){return dg})),n.d(v,"__unstableGetBlockWithoutInnerBlocks",(function(){return pg})),n.d(v,"getBlocks",(function(){return hg})),n.d(v,"getClientIdsOfDescendants",(function(){return mg})),n.d(v,"getClientIdsWithDescendants",(function(){return vg})),n.d(v,"getGlobalBlockCount",(function(){return bg})),n.d(v,"getBlocksByClientId",(function(){return gg})),n.d(v,"getBlockCount",(function(){return yg})),n.d(v,"getSelectionStart",(function(){return kg})),n.d(v,"getSelectionEnd",(function(){return wg})),n.d(v,"getBlockSelectionStart",(function(){return Og})),n.d(v,"getBlockSelectionEnd",(function(){return _g})),n.d(v,"getSelectedBlockCount",(function(){return jg})),n.d(v,"hasSelectedBlock",(function(){return Eg})),n.d(v,"getSelectedBlockClientId",(function(){return Cg})),n.d(v,"getSelectedBlock",(function(){return xg})),n.d(v,"getBlockRootClientId",(function(){return Sg})),n.d(v,"getBlockParents",(function(){return Tg})),n.d(v,"getBlockParentsByBlockName",(function(){return zg})),n.d(v,"getBlockHierarchyRootClientId",(function(){return Pg})),n.d(v,"getLowestCommonAncestorWithSelectedBlock",(function(){return Ig})),n.d(v,"getAdjacentBlockClientId",(function(){return Mg})),n.d(v,"getPreviousBlockClientId",(function(){return Ng})),n.d(v,"getNextBlockClientId",(function(){return Lg})),n.d(v,"getSelectedBlocksInitialCaretPosition",(function(){return Ag})),n.d(v,"getSelectedBlockClientIds",(function(){return Dg})),n.d(v,"getMultiSelectedBlockClientIds",(function(){return Hg})),n.d(v,"getMultiSelectedBlocks",(function(){return Rg})),n.d(v,"getFirstMultiSelectedBlockClientId",(function(){return Bg})),n.d(v,"getLastMultiSelectedBlockClientId",(function(){return Vg})),n.d(v,"isFirstMultiSelectedBlock",(function(){return Fg})),n.d(v,"isBlockMultiSelected",(function(){return Ug})),n.d(v,"isAncestorMultiSelected",(function(){return Wg})),n.d(v,"getMultiSelectedBlocksStartClientId",(function(){return Kg})),n.d(v,"getMultiSelectedBlocksEndClientId",(function(){return $g})),n.d(v,"getBlockOrder",(function(){return qg})),n.d(v,"getBlockIndex",(function(){return Gg})),n.d(v,"isBlockSelected",(function(){return Yg})),n.d(v,"hasSelectedInnerBlock",(function(){return Qg})),n.d(v,"isBlockWithinSelection",(function(){return Xg})),n.d(v,"hasMultiSelection",(function(){return Zg})),n.d(v,"isMultiSelecting",(function(){return Jg})),n.d(v,"isSelectionEnabled",(function(){return ey})),n.d(v,"getBlockMode",(function(){return ty})),n.d(v,"isTyping",(function(){return ny})),n.d(v,"isDraggingBlocks",(function(){return ry})),n.d(v,"isCaretWithinFormattedText",(function(){return oy})),n.d(v,"getBlockInsertionPoint",(function(){return iy})),n.d(v,"isBlockInsertionPointVisible",(function(){return ay})),n.d(v,"isValidTemplate",(function(){return cy})),n.d(v,"getTemplate",(function(){return ly})),n.d(v,"getTemplateLock",(function(){return sy})),n.d(v,"canInsertBlockType",(function(){return fy})),n.d(v,"getInserterItems",(function(){return hy})),n.d(v,"hasInserterItems",(function(){return my})),n.d(v,"__experimentalGetAllowedBlocks",(function(){return vy})),n.d(v,"getBlockListSettings",(function(){return by})),n.d(v,"getSettings",(function(){return gy})),n.d(v,"isLastBlockChangePersistent",(function(){return yy})),n.d(v,"__experimentalGetBlockListSettingsForBlocks",(function(){return ky})),n.d(v,"__experimentalGetParsedReusableBlock",(function(){return wy})),n.d(v,"__unstableIsLastBlockChangeIgnored",(function(){return Oy})),n.d(v,"__experimentalGetLastBlockAttributeChanges",(function(){return _y})),n.d(v,"isNavigationMode",(function(){return Ey})),n.d(v,"didAutomaticChange",(function(){return Cy}));var b=n(3),g=n(44),y=n(45),k=n.n(y),w=function(e,t){return Object(b.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php esc_html_e( '".concat(e,"', '").concat(t,"' ) ?>")}})},O=function(e,t,n,r){return Object(b.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _n( '".concat(e,"', '").concat(t,"', ").concat(n,", '").concat(r,"' ) ) ?>")}})},_=function(e,t,n){return Object(b.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _x( '".concat(e,"', '").concat(t,"', '").concat(n,"' ) ) ?>")}})},j=function(e){return e},E=n(0),C=E.flowRight,x=n(26),S=n.n(x);function T(e){if(Array.isArray(e))return e}function z(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}function P(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}function I(){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 M(e,t){return T(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||P(e,t)||I()}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=n(15),A=n.n(L),D=n(8),H=n.n(D);function R(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void n(s)}c.done?t(l):Promise.resolve(l).then(r,o)}function B(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){R(i,r,o,a,c,"next",e)}function c(e){R(i,r,o,a,c,"throw",e)}a(void 0)}))}}var V=n(32),F=function(){return Math.random().toString(36).substring(7).split("").join(".")},U={INIT:"@@redux/INIT"+F(),REPLACE:"@@redux/REPLACE"+F(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+F()}};function W(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function K(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(K)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],c=a,l=!1;function s(){c===a&&(c=a.slice())}function u(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return s(),c.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,s();var n=c.indexOf(e);c.splice(n,1)}}}function d(e){if(!W(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=c,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,d({type:U.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[V.a]=function(){return this},e}return d({type:U.INIT}),(r={dispatch:d,subscribe:f,getState:u,replaceReducer:p})[V.a]=h,r}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(n,!0).forEach((function(t){$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return G({},n,{dispatch:r=Y.apply(void 0,i)(n.dispatch)})}}}function X(e){return!!e&&"function"==typeof e[Symbol.iterator]&&"function"==typeof e.next}var Z=n(46),J=n(27),ee=n.n(J);function te(e){return Object(E.isPlainObject)(e)&&Object(E.isString)(e.type)}function ne(e,t){return te(e)&&e.type===t}function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(E.map)(e,(function(e,t){return function(n,r,o,i,a){if(!ne(n,t))return!1;var c=e(n);return ee()(c)?c.then(i,a):i(c),!0}})),r=function(e,n){return!!te(e)&&(t(e),n(),!0)};n.push(r);var o=Object(Z.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){te(e)&&t(e),n(e)}),r)}))}}var oe=function(){return function(e){return function(t){return ee()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}};function ie(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function ae(e){return function(e){if(Array.isArray(e))return z(e)}(e)||ie(e)||P(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.")}()}var ce=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=M(n,2),i=o[0],a=o[1],c=Object(E.get)(e.stores,[t,"resolvers",i]);c&&c.shouldInvalidate&&a.forEach((function(n,o){!1===n&&c.shouldInvalidate.apply(c,[r].concat(ae(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},le=n(30),se=n.n(le);function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var de,pe=Object(E.flowRight)([(de="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[de];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:fe({},t,N({},r,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new se.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new se.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new se.a(e);return o.delete(t.args),o}return e})),he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(E.has)(e,[t.selectorName])?Object(E.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return pe(e,t)}return e};function me(e,t,n){var r=Object(E.get)(e,[t]);if(r)return r.get(n)}function ve(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==me(e,t,n)}function be(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===me(e,t,n)}function ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===me(e,t,n)}function ye(e){return e}function ke(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function we(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Oe(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function _e(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function je(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xe(e,t,n){var i,a=t.reducer,c=function(e,t,n){var r=[ce(n,e),oe];if(t.controls){var o=Object(E.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=re(e,t.dispatch);return function(e){return function(t){return X(t)?n(t):e(t)}}}}(o))}var i=[Q.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,c=t.initialState;return K(S()({metadata:he,root:a}),{root:c},Object(E.flowRight)(i))}(e,t,n),l=function(e,t){return Object(E.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(Ce({},o,{},t.actions),c),s=function(e,t){return Object(E.mapValues)(e,(function(e){var n=function(){var n=arguments.length,r=new Array(n+1);r[0]=t.__unstableOriginalGetState();for(var o=0;o<n;o++)r[o+1]=arguments[o];return e.apply(void 0,r)};return n.hasResolver=!1,n}))}(Ce({},Object(E.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),{},Object(E.mapValues)(t.selectors,(function(e){return e.isRegistrySelector&&(e.registry=n),function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),c);if(t.resolvers){var u=function(e,t,n){var r=Object(E.mapValues)(e,(function(e){var t=e.fulfill;return Ce({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(E.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];function l(){return s.apply(this,arguments)}function s(){return(s=B(H.a.mark((function e(){var t,c;return H.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(c=n.__unstableOriginalGetState(),!ve(c.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(ke(o,a)),e.next=9,Se.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(we(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return l.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,c);i=u.resolvers,s=u.selectors}c.__unstableOriginalGetState=c.getState,c.getState=function(){return c.__unstableOriginalGetState().root};var f=c&&function(e){var t=c.__unstableOriginalGetState();c.subscribe((function(){var n=c.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:a,store:c,actions:l,selectors:s,resolvers:i,getSelectors:function(){return s},getActions:function(){return l},subscribe:f}}function Se(e,t,n){return Te.apply(this,arguments)}function Te(){return(Te=B(H.a.mark((function e(t,n,r){var o,i,a,c,l,s=arguments;return H.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(E.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=s.length,a=new Array(i>3?i-3:0),c=3;c<i;c++)a[c-3]=s[c];if(!(l=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(l);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ze(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 Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ie=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return Pe({},t,N({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return Pe({},t,N({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function Me(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(E.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}var c=A()((function(e){return Object(E.mapValues)(Object(E.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,n){return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return new Promise((function(r){var a=function(){return e.hasFinishedResolution(n,o)},c=function(){return t.apply(null,o)},l=c();if(a())return r(l);var s=i((function(){a()&&(s(),r(c()))}))}))}}))}),{maxSize:1});function l(e){return c(a(e))}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function u(e){return Object(E.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return d[t].apply(null,arguments)}}))}function f(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var d={registerGenericStore:f,stores:n,namespaces:n,subscribe:i,select:a,__experimentalResolveSelect:l,dispatch:s,use:p};function p(e,t){return d=Ne({},d,{},e(d,t))}return d.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=xe(e,t,d);return f(e,n),n.store},f("core/data",Ie(d)),Object.entries(e).forEach((function(e){var t=M(e,2),n=t[0],r=t[1];return d.registerStore(n,r)})),t&&t.subscribe(o),u(d)}var Ae=Le();var De=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 He=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 Re=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(He(t)&&De(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,c=e[t].handlers;for(a=c.length;a>0&&!(o>=c[a-1].priority);a--);a===c.length?c[a]=i:c.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Ze("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var Be=function(e,t){return function(n,r){if(He(n)&&(t||De(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},c=i.length-1;c>=0;c--)a(c);return"hookRemoved"!==n&&Ze("hookRemoved",n,r),o}}};var Ve=function(e){return function(t,n){return void 0!==n?t in e&&e[t].handlers.some((function(e){return e.namespace===n})):t in e}};var Fe=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var c={name:n,currentIndex:0};for(e.__current.push(c);c.currentIndex<r.length;){var l=r[c.currentIndex],s=l.callback.apply(null,i);t&&(i[0]=s),c.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var Ue=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var We=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var Ke=function(e){return function(t){if(He(t))return e[t]&&e[t].runs?e[t].runs:0}};var $e=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:Re(e),addFilter:Re(t),removeAction:Be(e),removeFilter:Be(t),hasAction:Ve(e),hasFilter:Ve(t),removeAllActions:Be(e,!0),removeAllFilters:Be(t,!0),doAction:Fe(e),applyFilters:Fe(t,!0),currentAction:Ue(e),currentFilter:Ue(t),doingAction:We(e),doingFilter:We(t),didAction:Ke(e),didFilter:Ke(t),actions:e,filters:t}},qe=$e(),Ge=qe.addAction,Ye=qe.addFilter,Qe=qe.removeAction,Xe=(qe.removeFilter,qe.hasAction,qe.hasFilter),Ze=(qe.removeAllActions,qe.removeAllFilters,qe.doAction),Je=qe.applyFilters,et=(qe.currentAction,qe.currentFilter,qe.doingAction,qe.doingFilter,qe.didAction,qe.didFilter,qe.actions,qe.filters,Object.create(null));function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,r=t.alternative,o=t.plugin,i=t.link,a=t.hint,c=o?" from ".concat(o):"",l=n?" and will be removed".concat(c," in version ").concat(n):"",s=r?" Please use ".concat(r," instead."):"",u=i?" See: ".concat(i):"",f=a?" Note: ".concat(a):"",d="".concat(e," is deprecated").concat(l,".").concat(s).concat(u).concat(f);d in et||(Ze("deprecated",e,t,d),console.warn(d),et[d]=!0)}var nt,rt,ot={getItem:function(e){return nt&&nt[e]?nt[e]:null},setItem:function(e,t){nt||ot.clear(),nt[e]=String(t)},clear:function(){nt=Object.create(null)}},it=ot;try{(rt=window.localStorage).setItem("__wpDataTestLocalStorage",""),rt.removeItem("__wpDataTestLocalStorage")}catch(pj){rt=it}function at(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 ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lt=rt;function st(e){var t,n=e.storage,r=void 0===n?lt:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(pj){t={}}}return t},set:function(e,n){t=ct({},t,N({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ut=function(e,t){var n=st(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=ct({},r,{initialState:i=Object(E.isPlainObject)(i)&&Object(E.isPlainObject)(o)?Object(E.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,N({},t,(function(e,n){return n.nextState[t]})))}),{});i=S()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var c=o(void 0,{nextState:e()});return function(){var r=o(c,{nextState:e()});r!==c&&(n.set(t,r),c=r)}}(a.getState,t,r.persist)),a}}};ut.__unstableMigrate=function(e){var t=st(e),n=t.get(),r=Object(E.get)(n,["core/editor","preferences","insertUsage"]);r&&t.set("core/block-editor",{preferences:{insertUsage:r}});var o=n["core/edit-post"],i=Object.keys(n).length>0,a=Object(E.has)(n,["core/edit-post","preferences","features","fullscreenMode"]);i&&!a&&(o=Object(E.merge)({},o,{preferences:{features:{fullscreenMode:!1}}}));var c=Object(E.get)(n,["core/nux","preferences","areTipsEnabled"]),l=Object(E.has)(n,["core/edit-post","preferences","features","welcomeGuide"]);void 0===c||l||(o=Object(E.merge)({},o,{preferences:{features:{welcomeGuide:c}}})),o!==n["core/edit-post"]&&t.set("core/edit-post",o)};function ft(){return(ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var dt=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(E.upperFirst)(Object(E.camelCase)(t)),"(").concat(i,")"),r}};function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mt(e,t,n){return t&&ht(e.prototype,t),n&&ht(e,n),e}function vt(e){return(vt="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)}function bt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gt(e,t){return!t||"object"!==vt(t)&&"function"!=typeof t?bt(e):t}function yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kt(e,t){return(kt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kt(e,t)}var Ot=n(12),_t=n.n(Ot),jt=dt((function(e){return e.prototype instanceof b.Component?function(e){function t(){return pt(this,t),gt(this,yt(t).apply(this,arguments))}return wt(t,e),mt(t,[{key:"shouldComponentUpdate",value:function(e,t){return!_t()(e,this.props)||!_t()(t,this.state)}}]),t}(e):function(t){function n(){return pt(this,n),gt(this,yt(n).apply(this,arguments))}return wt(n,t),mt(n,[{key:"shouldComponentUpdate",value:function(e){return!_t()(e,this.props)}},{key:"render",value:function(){return Object(b.createElement)(e,this.props)}}]),n}(b.Component)}),"pure");function Et(e,t){var n=Object(b.useState)((function(){return{inputs:t,result:e()}}))[0],r=Object(b.useRef)(n),o=Boolean(t&&r.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,r.current.inputs))?r.current:{inputs:t,result:e()};return Object(b.useEffect)((function(){r.current=o}),[o]),o.result}var Ct="undefined"==typeof window?function(e){setTimeout((function(){return e(Date.now())}),0)}:window.requestIdleCallback||window.requestAnimationFrame,xt=Object(b.createContext)(Ae),St=xt.Consumer,Tt=xt.Provider,zt=St,Pt=Tt;function It(){return Object(b.useContext)(xt)}var Mt=Object(b.createContext)(!1),Nt=(Mt.Consumer,Mt.Provider);var Lt,At,Dt,Ht,Rt="undefined"!=typeof window?b.useLayoutEffect:b.useEffect,Bt=(Lt=[],At=new WeakMap,Dt=!1,Ht=function e(t){var n="number"==typeof t?function(){return!1}:function(){return t.timeRemaining()>0};do{if(0===Lt.length)return void(Dt=!1);var r=Lt.shift();At.get(r)(),At.delete(r)}while(n());Ct(e)},{add:function(e,t){At.has(e)||Lt.push(e),At.set(e,t),Dt||(Dt=!0,Ct(Ht))},flush:function(e){if(!At.has(e))return!1;var t=Lt.indexOf(e);Lt.splice(t,1);var n=At.get(e);return At.delete(e),n(),!0}});function Vt(e,t){var n,r=Object(b.useCallback)(e,t),o=It(),i=Object(b.useContext)(Mt),a=Et((function(){return{queue:!0}}),[o]),c=M(Object(b.useReducer)((function(e){return e+1}),0),2)[1],l=Object(b.useRef)(),s=Object(b.useRef)(i),u=Object(b.useRef)(),f=Object(b.useRef)(),d=Object(b.useRef)();try{n=l.current!==r||f.current?r(o.select,o):u.current}catch(pj){var p="An error occurred while running 'mapSelect': ".concat(pj.message);if(f.current)throw p+="\nThe error may be correlated with this previous error:\n",p+="".concat(f.current.stack,"\n\n"),p+="Original stack trace:",new Error(p);console.error(p)}return Rt((function(){l.current=r,u.current=n,f.current=void 0,d.current=!0,s.current!==i&&(s.current=i,Bt.flush(a))})),Rt((function(){var e=function(){if(d.current){try{var e=l.current(o.select,o);if(_t()(u.current,e))return;u.current=e}catch(pj){f.current=pj}c()}};s.current?Bt.add(a,e):e();var t=o.subscribe((function(){s.current?Bt.add(a,e):e()}));return function(){d.current=!1,t(),Bt.flush(a)}}),[o]),n}var Ft=function(e){return dt((function(t){return jt((function(n){var r=Vt((function(t,r){return e(t,n,r)}));return Object(b.createElement)(t,ft({},n,r))}))}),"withSelect")},Ut=function(e){var t=It().dispatch;return void 0===e?t:t(e)},Wt="undefined"!=typeof window?b.useLayoutEffect:b.useEffect,Kt=function(e,t){var n=It(),r=Object(b.useRef)(e);return Wt((function(){r.current=e})),Object(b.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(E.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(ae(t)))},$t=function(e){return dt((function(t){return function(n){var r=Kt((function(t,r){return e(t,n,r)}),[]);return Object(b.createElement)(t,ft({},n,r))}}),"withDispatch")},qt=dt((function(e){return function(t){return Object(b.createElement)(zt,null,(function(n){return Object(b.createElement)(e,ft({},t,{registry:n}))}))}}),"withRegistry");var Gt=Ae.select,Yt=(Ae.__experimentalResolveSelect,Ae.dispatch),Qt=(Ae.subscribe,Ae.registerGenericStore,Ae.registerStore),Xt=(Ae.use,n(48)),Zt={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var Jt,en,tn=function(e){if(e in Zt)return Zt[e];throw new Error("config key `"+e+"` does not exist")},nn=n.n(Xt)()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var rn={initialize:function(e,t,n){rn.setUser(e,t),rn.setSuperProps(n),rn.identifyUser()},setUser:function(e,t){en={ID:e,username:t}},setSuperProps:function(e){Jt=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);nn("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),nn('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);tn("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);nn("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),nn('Built stat "%s" in group "%s"',t,e);return n}(e,t);tn("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){rn.tracks.recordPageView(e),rn.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,i,a){rn.ga.recordPurchase(e,t,n,r,o,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(Jt&&(nn("- Super Props: %o",Jt),t=Object(E.assign)(t,Jt)),nn('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):nn('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};rn.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){rn.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){nn("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};rn.ga.initialized||(en&&(e={userId:"u-"+en.ID}),window.ga("create",tn("google_analytics_key"),"auto",e),rn.ga.initialized=!0)},recordPageView:function(e,t){rn.ga.initialize(),nn("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),tn("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){rn.ga.initialize();var o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),nn(o),tn("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){en&&window._tkq.push(["identifyUser",en.ID,en.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},on=rn,an=n(49),cn=n.n(an);function ln(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var sn=n(2),un=n.n(sn);function fn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t,n){return b.Children.forEach(t,(function(t,r){t&&"string"!=typeof t&&(t=Object(b.cloneElement)(t,{key:[n,r].join()})),e.push(t)})),e}),[])}var dn=window,pn=dn.DOMParser,hn=(dn.getComputedStyle,window.Node);hn.TEXT_NODE,hn.ELEMENT_NODE,hn.DOCUMENT_POSITION_PRECEDING,hn.DOCUMENT_POSITION_FOLLOWING;function mn(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var o=e.getClientRects()[0];if(!o){var i=document.createTextNode("​");(e=e.cloneRange()).insertNode(i),o=e.getClientRects()[0],i.parentNode.removeChild(i)}return o}function vn(){var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;if(t)return mn(t)}function bn(e,t){if(e){if(Object(E.includes)(["INPUT","TEXTAREA"],e.tagName))return e.focus(),void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0));if(e.focus(),e.isContentEditable){var n=e[t?"lastChild":"firstChild"];if(n){var r=window.getSelection(),o=document.createRange();o.selectNodeContents(n),o.collapse(!t),r.removeAllRanges(),r.addRange(o)}}}}function gn(e,t,n,r){var o=r.style.zIndex,i=r.style.position;r.style.zIndex="10000",r.style.position="relative";var a=function(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(e,t,n);return r.style.zIndex=o,r.style.position=i,a}function yn(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,c=t?i.bottom-o:i.top+o,l=gn(document,a,c,e);if(!l||!e.contains(l.startContainer))return!r||l&&l.startContainer&&l.startContainer.contains(e)?void bn(e,t):(e.scrollIntoView(t),void yn(e,t,n,!1));var s=window.getSelection();s.removeAllRanges(),s.addRange(l),e.focus(),s.removeAllRanges(),s.addRange(l)}else bn(e,t)}function kn(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(pj){return!1}}function wn(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return wn(e.parentNode)}}function On(e,t){jn(t,e.parentNode),_n(e)}function _n(e){e.parentNode.removeChild(e)}function jn(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function En(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function Cn(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function xn(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}function Sn(e){return(new pn).parseFromString(e,"text/html").body.textContent||""}var Tn=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function zn(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function Pn(e){var t=e.querySelectorAll(Tn);return Array.from(t).filter((function(e){return!!zn(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&zn(n)}(e))}))}function In(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function Mn(e){return-1!==In(e)}function Nn(e,t){return{element:e,index:t}}function Ln(e){return e.element}function An(e,t){var n=In(e.element),r=In(t.element);return n===r?e.index-t.index:n-r}function Dn(e){return e.filter(Mn).map(Nn).sort(An).map(Ln).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var c=t.hasOwnProperty(a);if(!i&&c)return e;if(c){var l=t[a];e=Object(E.without)(e,l)}return t[a]=n,e.concat(n)}),[]);var t}function Hn(e){return Dn(Pn(e))}function Rn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=Pn(document.body),n=t.indexOf(e);return t.length=n,Object(E.last)(Dn(t))}function Bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=Pn(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(E.first)(Dn(r))}var Vn={focusable:i,tabbable:a};function Fn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(E.includes)(["iPad","iPhone"],t)}var Un=8,Wn=13,Kn=37,$n=38,qn=39,Gn=40,Yn="alt",Qn="ctrl",Xn="shift",Zn={primary:function(e){return e()?["meta"]:[Qn]},primaryShift:function(e){return e()?[Xn,"meta"]:[Qn,Xn]},primaryAlt:function(e){return e()?[Yn,"meta"]:[Qn,Yn]},secondary:function(e){return e()?[Xn,Yn,"meta"]:[Qn,Xn,Yn]},access:function(e){return e()?[Qn,Yn]:[Xn,Yn]},ctrl:function(){return[Qn]},alt:function(){return[Yn]},ctrlShift:function(){return[Qn,Xn]},shift:function(){return[Xn]},shiftAlt:function(){return[Xn,Yn]}},Jn=Object(E.mapValues)(Zn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fn;return[].concat(ae(e(n)),[t.toLowerCase()]).join("+")}})),er=Object(E.mapValues)(Zn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fn,o=r(),i=(N(n={},Yn,o?"⌥":"Alt"),N(n,Qn,o?"^":"Ctrl"),N(n,"meta","⌘"),N(n,Xn,o?"⇧":"Shift"),n),a=e(r).reduce((function(e,t){var n=Object(E.get)(i,t,t);return[].concat(ae(e),o?[n]:[n,"+"])}),[]),c=Object(E.capitalize)(t);return[].concat(ae(a),[c])}})),tr=Object(E.mapValues)(er,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fn;return e(t,n).join("")}})),nr=Object(E.mapValues)(Zn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fn,o=r(),i=(N(n={},Xn,"Shift"),N(n,"meta",o?"Command":"Control"),N(n,Qn,"Control"),N(n,Yn,o?"Option":"Alt"),N(n,",",w("Comma")),N(n,".",w("Period")),N(n,"`",w("Backtick")),n);return[].concat(ae(e(r)),[t]).map((function(e){return Object(E.capitalize)(Object(E.get)(i,e,e))})).join(o?" ":" + ")}}));Object(E.mapValues)(Zn,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fn,o=e(r);return!!o.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(E.includes)(o,t.key.toLowerCase()))}}));function rr(e){var t=M(Object(b.useState)(!1),2),n=t[0],r=t[1];return Object(b.useEffect)((function(){if(e){var t=function(){return r(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}}),[e]),e&&n}var or={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},ir={">=":"min-width","<":"max-width"},ar={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},cr=Object(b.createContext)(null),lr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(b.useContext)(cr),r=!n&&"(".concat(ir[t],": ").concat(or[e],"px)"),o=rr(r);return n?ar[t](or[e],n):o};lr.__experimentalWidthProvider=cr.Provider;var sr=lr;function ur(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}var fr=function(e){return Object(b.createElement)("circle",e)},dr=function(e){return Object(b.createElement)("path",e)},pr=function(e){return Object(b.createElement)("radialGradient",e)},hr=function(e){return Object(b.createElement)("linearGradient",e)},mr=function(e){return Object(b.createElement)("stop",e)},vr=function(e){var t=e.className,n=e.isPressed,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ln(e,["className","isPressed"]),{className:un()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":"true",focusable:"false"});return Object(b.createElement)("svg",r)},br=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}));function gr(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 yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kr(e,t,n,r,o,i){var a=t.width,c="rtl"===document.documentElement.dir;"left"===n&&c?n="right":"right"===n&&c&&(n="left"),"left"===r&&c?r="right":"right"===r&&c&&(r="left");var l=Math.round(e.left+e.width/2),s={popoverLeft:l,contentWidth:(l-a/2>0?a/2:l)+(l+a/2>window.innerWidth?window.innerWidth-l:a/2)},u=e.left;"right"===r?u=e.right:"middle"!==i&&(u=l);var f=e.right;"left"===r?f=e.left:"middle"!==i&&(f=l);var d={popoverLeft:u,contentWidth:u-a>0?a:u},p={popoverLeft:f,contentWidth:f+a>window.innerWidth?window.innerWidth-f:a},h=n,m=null;if(!o)if("center"===n&&s.contentWidth===a)h="center";else if("left"===n&&d.contentWidth===a)h="left";else if("right"===n&&p.contentWidth===a)h="right";else{var v="left"===(h=d.contentWidth>p.contentWidth?"left":"right")?d.contentWidth:p.contentWidth;m=v!==a?v:null}return{xAxis:h,popoverLeft:"center"===h?s.popoverLeft:"left"===h?d.popoverLeft:p.popoverLeft,contentWidth:m}}function wr(e,t,n,r,o,i,a){var c=t.height;if(o){var l=(wn(i)||document.body).getBoundingClientRect();if(e.top-c<=l.top)return{yAxis:n,popoverTop:Math.min(e.bottom-a,l.top+c-a)}}var s=e.top+e.height/2;"bottom"===r?s=e.bottom:"top"===r&&(s=e.top);var u={popoverTop:s,contentHeight:(s-c/2>0?c/2:s)+(s+c/2>window.innerHeight?window.innerHeight-s:c/2)},f={popoverTop:e.top,contentHeight:e.top-10-c>0?c:e.top-10},d={popoverTop:e.bottom,contentHeight:e.bottom+10+c>window.innerHeight?window.innerHeight-10-e.bottom:c},p=n,h=null;if(!o)if("middle"===n&&u.contentHeight===c)p="middle";else if("top"===n&&f.contentHeight===c)p="top";else if("bottom"===n&&d.contentHeight===c)p="bottom";else{var m="top"===(p=f.contentHeight>d.contentHeight?"top":"bottom")?f.contentHeight:d.contentHeight;h=m!==c?m:null}return{yAxis:p,popoverTop:"middle"===p?u.popoverTop:"top"===p?f.popoverTop:d.popoverTop,contentHeight:h}}function Or(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=n.split(" "),c=M(a,3),l=c[0],s=c[1],u=void 0===s?"center":s,f=c[2],d=wr(e,t,l,f,r,o,i),p=kr(e,t,u,f,r,d.yAxis);return yr({},p,{},d)}var _r=Object(b.createContext)({focusHistory:[]}),jr=_r.Provider,Er=_r.Consumer;jr.displayName="FocusReturnProvider",Er.displayName="FocusReturnConsumer";b.Component;var Cr=dt((function e(t){if((r=t)instanceof b.Component||"function"==typeof r){var n=t;return e({})(n)}var r,o=t.onFocusReturn,i=void 0===o?E.stubTrue:o;return function(e){var t=function(t){function n(){var e;return pt(this,n),(e=gt(this,yt(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return wt(n,t),mt(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var r,o=[].concat(ae(E.without.apply(void 0,[this.props.focus.focusHistory].concat(ae(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(b.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(b.createElement)(e,this.props.childProps))}}]),n}(b.Component);return function(e){return Object(b.createElement)(Er,null,(function(n){return Object(b.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn"),xr=dt((function(e){return function(t){function n(){var e;return pt(this,n),(e=gt(this,yt(n).apply(this,arguments))).focusContainRef=Object(b.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(bt(e)),e}return wt(n,t),mt(n,[{key:"handleTabBehaviour",value:function(e){if(9===e.keyCode){var t=Vn.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(b.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(b.createElement)(e,this.props))}}]),n}(b.Component)}),"withConstrainedTabbing"),Sr=["button","submit"];var Tr=dt((function(e){return function(t){function n(){var e;return pt(this,n),(e=gt(this,yt(n).apply(this,arguments))).bindNode=e.bindNode.bind(bt(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(bt(e)),e.queueBlurCheck=e.queueBlurCheck.bind(bt(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(bt(e)),e}return wt(n,t),mt(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(E.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(E.includes)(Sr,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(b.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(b.createElement)(e,ft({ref:this.bindNode},this.props)))}}]),n}(b.Component)}),"withFocusOutside"),zr=Tr(function(e){function t(){return pt(this,t),gt(this,yt(t).apply(this,arguments))}return wt(t,e),mt(t,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),t}(b.Component));var Pr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,i=0,a=0;function c(e){var t=n.scrollingElement||n.body;e&&(a=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=a)}function l(){0===i&&c(!0),++i}function s(){1===i&&c(!1),--i}return function(e){function t(){return pt(this,t),gt(this,yt(t).apply(this,arguments))}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){l()}},{key:"componentWillUnmount",value:function(){s()}},{key:"render",value:function(){return null}}]),t}(b.Component)}();function Ir(e){e.stopPropagation()}var Mr=Object(b.forwardRef)((function(e,t){var n=e.children,r=ln(e,["children"]);return Object(b.createElement)("div",ft({},r,{ref:t,onMouseDown:Ir}),n)})),Nr=Object(b.createContext)({slots:{},fills:{},registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});function Lr(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 Ar(e){var t=Object(b.useContext)(Nr),n=t.slots[e]||{},r=t.fills[e],o=Object(b.useMemo)((function(){return r||[]}),[r]);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{updateSlot:Object(b.useCallback)((function(n,r){t.updateSlot(e,n,r)}),[e,t.updateSlot]),unregisterSlot:Object(b.useCallback)((function(n){t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:Object(b.useCallback)((function(n){t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:Object(b.useCallback)((function(n){t.unregisterFill(e,n)}),[e,t.unregisterFill])})}var Dr=function(e){return!Object(E.isNumber)(e)&&(Object(E.isString)(e)||Object(E.isArray)(e)?!e.length:!e)};function Hr(e){var t=function(e,t){if("object"!==vt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==vt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===vt(t)?t:String(t)}function Rr(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 Br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vr(e){var t,n,r,o,i,a,c,l,s,u,f=e.children,d=(t=M(Object(b.useState)({}),2),n=t[0],r=t[1],o=M(Object(b.useState)({}),2),i=o[0],a=o[1],c=Object(b.useCallback)((function(e,t,n){r((function(r){return Br({},r,N({},e,Br({},r[e],{ref:t||r[e].ref,fillProps:n||r[e].fillProps||{}})))}))}),[]),l=Object(b.useCallback)((function(e,t){r((function(n){var r=n[e],o=ln(n,[e].map(Hr));return(null==r?void 0:r.ref)===t?o:n}))}),[]),s=Object(b.useCallback)((function(e,t){a((function(n){return Br({},n,N({},e,[].concat(ae(n[e]||[]),[t])))}))}),[]),u=Object(b.useCallback)((function(e,t){a((function(n){return n[e]?Br({},n,N({},e,n[e].filter((function(e){return e!==t})))):n}))}),[]),Object(b.useMemo)((function(){return{slots:n,fills:i,registerSlot:c,updateSlot:c,unregisterSlot:l,registerFill:s,unregisterFill:u}}),[n,i,c,l,s,u]));return Object(b.createElement)(Nr.Provider,{value:d},f)}var Fr=Object(b.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Ur=Fr.Provider,Wr=Fr.Consumer,Kr=(b.Component,function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).bindNode=e.bindNode.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.fillProps,o=void 0===r?{}:r,i=e.getFills,a=Object(E.map)(i(n,this),(function(e){var t=e.occurrence,n=Object(E.isFunction)(e.children)?e.children(o):e.children;return b.Children.map(n,(function(e,n){if(!e||Object(E.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(b.cloneElement)(e,{key:r})}))})).filter(Object(E.negate)(Dr));return Object(b.createElement)(b.Fragment,null,Object(E.isFunction)(t)?t(a):a)}}]),t}(b.Component)),$r=function(e){return Object(b.createElement)(Wr,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return Object(b.createElement)(Kr,ft({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},qr=n(114),Gr=0;function Yr(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,i=function(e){var t=Object(b.useContext)(Fr),n=t.getSlot,r=t.subscribe,o=M(Object(b.useState)(n(e)),2),i=o[0],a=o[1];return Object(b.useEffect)((function(){return a(n(e)),r((function(){a(n(e))}))}),[e]),i}(t),a=Object(b.useRef)({name:t,children:n});return a.current.occurrence||(a.current.occurrence=++Gr),Object(b.useLayoutEffect)((function(){return r(t,a.current),function(){return o(t,a.current)}}),[]),Object(b.useLayoutEffect)((function(){a.current.children=n,i&&i.forceUpdate()}),[n]),Object(b.useLayoutEffect)((function(){t!==a.current.name&&(o(a.current.name,a.current),a.current.name=t,r(t,a.current))}),[t]),i&&i.node?(Object(E.isFunction)(n)&&(n=n(i.props.fillProps)),Object(qr.createPortal)(n,i.node)):null}var Qr=function(e){return Object(b.createElement)(Wr,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return Object(b.createElement)(Yr,ft({},e,{registerFill:n,unregisterFill:r}))}))};function Xr(e){var t=e.name,n=e.fillProps,r=void 0===n?{}:n,o=e.as,i=void 0===o?"div":o,a=ln(e,["name","fillProps","as"]),c=Object(b.useContext)(Nr),l=Object(b.useRef)(),s=Ar(t);return Object(b.useLayoutEffect)((function(){return c.registerSlot(t,l,r),function(){c.unregisterSlot(t,l)}}),[c.registerSlot,c.unregisterSlot,t]),Object(b.useLayoutEffect)((function(){s.fillProps&&!_t()(s.fillProps,r)&&c.updateSlot(t,l,r)})),Object(b.createElement)(i,ft({ref:l},a))}function Zr(e){var t=e.name,n=e.children,r=Ar(t),o=Object(b.useRef)();return Object(b.useEffect)((function(){return r.registerFill(o),function(){r.unregisterFill(o)}}),[r.registerFill,r.unregisterFill]),r.ref&&r.ref.current?("function"==typeof n&&(n=n(r.fillProps)),Object(qr.createPortal)(n,r.ref.current)):null}function Jr(e){var t=e.bubblesVirtually,n=ln(e,["bubblesVirtually"]);return t?Object(b.createElement)(Xr,n):Object(b.createElement)($r,n)}function eo(e){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Qr,e),Object(b.createElement)(Zr,e))}function to(e){var t=function(t){return Object(b.createElement)(eo,ft({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(b.createElement)(Jr,ft({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var no=function(e){var t=e.type,n=e.options,r=void 0===n?{}:n,o=e.children;if("appear"===t){var i,a=r.origin,c=M((void 0===a?"top":a).split(" "),2),l=c[0],s=c[1],u=void 0===s?"center":s;return o({className:un()("components-animate__appear",(i={},N(i,"is-from-"+u,"center"!==u),N(i,"is-from-"+l,"middle"!==l),i))})}if("slide-in"===t){var f=r.origin,d=void 0===f?"left":f;return o({className:un()("components-animate__slide-in","is-from-"+d)})}return o("loading"===t?{className:un()("components-animate__loading")}:{})},ro=xr(Cr((function(e){return e.children})));function oo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!r)return;if(r instanceof window.Range)return mn(r);if(r instanceof window.Element){var i=r.getBoundingClientRect();return o?i:io(i,r)}var a=r.top,c=r.bottom,l=a.getBoundingClientRect(),s=c.getBoundingClientRect(),u=new window.DOMRect(l.left,l.top,l.width,s.bottom-l.top);return o?u:io(u,r)}if(e.current){var f=e.current.parentNode,d=f.getBoundingClientRect();return o?d:io(d,f)}}function io(e,t){var n=window.getComputedStyle(t),r=n.paddingTop,o=n.paddingBottom,i=n.paddingLeft,a=n.paddingRight,c=r?parseInt(r,10):0,l=o?parseInt(o,10):0,s=i?parseInt(i,10):0,u=a?parseInt(a,10):0;return{x:e.left+s,y:e.top+c,width:e.width-s-u,height:e.height-c-l,left:e.left+s,right:e.right-u,top:e.top+c,bottom:e.bottom-l}}function ao(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function co(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function lo(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var so=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,i=e.className,a=e.noArrow,c=void 0!==a&&a,l=e.position,s=void 0===l?"top":l,u=(e.range,e.focusOnMount),f=void 0===u?"firstElement":u,d=e.anchorRef,p=e.shouldAnchorIncludePadding,h=e.anchorRect,m=e.getAnchorRect,v=e.expandOnMobile,g=e.animate,y=void 0===g||g,k=e.onClickOutside,w=e.onFocusOutside,O=e.__unstableSticky,_=e.__unstableSlotName,j=void 0===_?"Popover":_,E=e.__unstableAllowVerticalSubpixelPosition,C=e.__unstableAllowHorizontalSubpixelPosition,x=e.__unstableFixedPosition,S=void 0===x||x,T=ln(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition","__unstableFixedPosition"]),z=Object(b.useRef)(null),P=Object(b.useRef)(null),I=Object(b.useRef)(),N=Object(b.useRef)(),L=sr("medium","<"),A=M(Object(b.useState)(),2),D=A[0],H=A[1],R=Ar(j),B=v&&L;c=B||c,Object(b.useEffect)((function(){if(B)return lo(I.current,"is-without-arrow",c),ao(I.current,"data-x-axis"),ao(I.current,"data-y-axis"),co(I.current,"top"),co(I.current,"left"),co(P.current,"maxHeight"),co(P.current,"maxWidth"),void co(I.current,"position");var e,t,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(I.current&&P.current){var n=oo(z,h,m,d,p);if(n){N.current||(N.current=P.current.getBoundingClientRect());var r=0;if(S)co(I.current,"position");else{co(I.current,"position","absolute");var o=I.current.offsetParent,i=o.getBoundingClientRect();r=i.top,n=new window.DOMRect(n.left-i.left,n.top-i.top,n.width,n.height)}var a=Or(n,N.current,s,O,I.current,r),l=a.popoverTop,u=a.popoverLeft,f=a.xAxis,v=a.yAxis,b=a.contentHeight,g=a.contentWidth;"number"==typeof l&&"number"==typeof u&&(t&&E?(co(I.current,"left",u+"px"),co(I.current,"top"),co(I.current,"transform","translateY(".concat(l,"px)"))):t&&C?(co(I.current,"top",l+"px"),co(I.current,"left"),co(I.current,"transform","translate(".concat(u,"px)"))):(co(I.current,"top",l+"px"),co(I.current,"left",u+"px"),co(I.current,"transform"))),lo(I.current,"is-without-arrow",c||"center"===f&&"middle"===v),ao(I.current,"data-x-axis",f),ao(I.current,"data-y-axis",v),co(P.current,"maxHeight","number"==typeof b?b+"px":""),co(P.current,"maxWidth","number"==typeof g?g+"px":"");var y={top:"bottom",bottom:"top"},k={left:"right",right:"left"},w=y[v]||"middle",_=k[f]||"center";H(_+" "+w)}}},r=window.setTimeout(n),o=window.setInterval(n,500),i=function(){window.cancelAnimationFrame(e),e=window.requestAnimationFrame(n)};window.addEventListener("click",i),window.addEventListener("resize",n),window.addEventListener("scroll",n,!0);var a=E||C;return a&&(t=new window.MutationObserver((function(){return n({subpixels:!0})}))).observe(a,{attributes:!0}),function(){window.clearTimeout(r),window.clearInterval(o),window.removeEventListener("resize",n),window.removeEventListener("scroll",n,!0),window.removeEventListener("click",i),window.cancelAnimationFrame(e),t&&t.disconnect()}}),[B,h,m,d,p,s,O,E,C]),function(e,t){Object(b.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=Vn.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(f,P);var V=function(e){27===e.keyCode&&n&&(e.stopPropagation(),n()),r&&r(e)};var F=Object(b.createElement)(zr,{onFocusOutside:function(e){if(w)w(e);else if(k){var t;try{t=new window.MouseEvent("click")}catch(pj){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),tt("Popover onClickOutside prop",{alternative:"onFocusOutside"}),k(t)}else n&&n()}},Object(b.createElement)(no,{type:y&&D?"appear":null,options:{origin:D}},(function(e){var r=e.className;return Object(b.createElement)(Mr,ft({className:un()("components-popover",i,r,{"is-expanded":B,"is-without-arrow":c})},T,{onKeyDown:V,ref:I}),B&&Object(b.createElement)(Pr,null),B&&Object(b.createElement)("div",{className:"components-popover__header"},Object(b.createElement)("span",{className:"components-popover__header-title"},t),Object(b.createElement)(yo,{className:"components-popover__close",icon:br,onClick:n})),Object(b.createElement)("div",{ref:P,className:"components-popover__content",tabIndex:"-1"},o))})));return f&&(F=Object(b.createElement)(ro,null,F)),R.ref&&(F=Object(b.createElement)(eo,{name:j},F)),d||h?F:Object(b.createElement)("span",{ref:z},F)};so.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(b.createElement)(Jr,{bubblesVirtually:!0,name:n})};var uo=so;var fo=function(e){var t,n,r=e.shortcut,o=e.className;return r?(Object(E.isString)(r)&&(t=r),Object(E.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(b.createElement)("span",{className:o,"aria-label":n},t)):null},po=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).delayedSetIsOver=Object(E.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===b.Children.count(n)){var r=b.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var o=Object(E.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==b.Children.count(t))return t;var i=b.Children.only(t),a=this.state.isOver;return Object(b.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:fn(i.props.children,a&&Object(b.createElement)(uo,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(b.createElement)(fo,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),t}(b.Component),ho=function(e){function t(){return pt(this,t),gt(this,yt(t).apply(this,arguments))}return wt(t,e),mt(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,o=void 0===r?20:r,i=t.className,a=ln(t,["icon","size","className"]);switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var c=["dashicon","dashicons-"+n,i].filter(Boolean).join(" ");return Object(b.createElement)(vr,ft({"aria-hidden":!0,role:"img",focusable:"false",className:c,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 20 20"},a),Object(b.createElement)(dr,{d:e}))}}]),t}(b.Component);function mo(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 vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bo=function(e){var t=e.icon,n=void 0===t?null:t,r=e.size,o=ln(e,["icon","size"]),i=r||20;if("string"==typeof n)return Object(b.createElement)(ho,ft({icon:n,size:i},o));if(n&&ho===n.type)return Object(b.cloneElement)(n,vo({size:i},o));var a=r||24;if("function"==typeof n)return n.prototype instanceof b.Component?Object(b.createElement)(n,vo({size:a},o)):n(vo({size:a},o));if(n&&("svg"===n.type||n.type===vr)){var c=vo({width:a,height:a},n.props,{},o);return Object(b.createElement)(vr,c)}return Object(b.isValidElement)(n)?Object(b.cloneElement)(n,vo({size:a},o)):n},go=["onMouseDown","onClick"];var yo=Object(b.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,i=e.isLarge,a=e.isSmall,c=e.isTertiary,l=e.isPressed,s=e.isBusy,u=e.isDefault,f=e.isSecondary,d=e.isLink,p=e.isDestructive,h=e.className,m=e.disabled,v=e.icon,g=e.iconSize,y=e.showTooltip,k=e.tooltipPosition,w=e.shortcut,O=e.label,_=e.children,j=e.__experimentalIsFocusable,C=ln(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);u&&tt("Button isDefault prop",{alternative:"isSecondary"});var x=un()("components-button",h,{"is-secondary":u||f,"is-primary":o,"is-large":i,"is-small":a,"is-tertiary":c,"is-pressed":l,"is-busy":s,"is-link":d,"is-destructive":p,"has-text":!!v&&!!_,"has-icon":!!v}),S=m&&!j,T=void 0===n||S?"button":"a",z="a"===T?{href:n,target:r}:{type:"button",disabled:S,"aria-pressed":l};if(m&&j){z["aria-disabled"]=!0;var P=!0,I=!1,M=void 0;try{for(var N,L=go[Symbol.iterator]();!(P=(N=L.next()).done);P=!0){C[N.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(H){I=!0,M=H}finally{try{P||null==L.return||L.return()}finally{if(I)throw M}}}var A=!S&&(y&&O||w||!!O&&(!_||Object(E.isArray)(_)&&!_.length)&&!1!==y),D=Object(b.createElement)(T,ft({},z,C,{className:x,"aria-label":C["aria-label"]||O,ref:t}),v&&Object(b.createElement)(bo,{icon:v,size:g}),_);return A?Object(b.createElement)(po,{text:O,shortcut:w,position:k},D):D}));function ko(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 wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ko(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ko(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oo=[{slug:"common",title:w("Common blocks")},{slug:"formatting",title:w("Formatting")},{slug:"layout",title:w("Layout elements")},{slug:"widgets",title:w("Widgets")},{slug:"embed",title:w("Embeds")},{slug:"reusable",title:w("Reusable blocks")}];function _o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"REMOVE_BLOCK_TYPES":return-1!==n.names.indexOf(t)?null:t;case e:return n.name||null}return t}}var jo=_o("SET_DEFAULT_BLOCK_NAME"),Eo=_o("SET_FREEFORM_FALLBACK_BLOCK_NAME"),Co=_o("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),xo=_o("SET_GROUPING_BLOCK_NAME");var So,To,zo=S()({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return wo({},e,{},Object(E.keyBy)(Object(E.map)(t.blockTypes,(function(e){return Object(E.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(E.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return wo({},e,{},Object(E.mapValues)(Object(E.keyBy)(t.blockTypes,"name"),(function(t){return Object(E.uniqBy)([].concat(ae(Object(E.get)(t,["styles"],[])),ae(Object(E.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return wo({},e,N({},t.blockName,Object(E.uniqBy)([].concat(ae(Object(E.get)(e,[t.blockName],[])),ae(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return wo({},e,N({},t.blockName,Object(E.filter)(Object(E.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return wo({},e,{},Object(E.mapValues)(Object(E.keyBy)(t.blockTypes,"name"),(function(t){return Object(E.uniqBy)([].concat(ae(Object(E.get)(t,["variations"],[])),ae(Object(E.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return wo({},e,N({},t.blockName,Object(E.uniqBy)([].concat(ae(Object(E.get)(e,[t.blockName],[])),ae(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return wo({},e,N({},t.blockName,Object(E.filter)(Object(E.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:jo,freeformFallbackBlockName:Eo,unregisteredFallbackBlockName:Co,groupingBlockName:xo,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oo,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(E.isEmpty)(t.category))return e;var n=Object(E.find)(e,["slug",t.slug]);if(n)return Object(E.map)(e,(function(e){return e.slug===t.slug?wo({},e,{},t.category):e}))}return e},collections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return wo({},e,N({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(E.omit)(e,t.namespace)}return e}});function Po(e){return[e]}function Io(){var e={clear:function(){e.head=null}};return e}function Mo(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}So={},To="undefined"!=typeof WeakMap;var No=function(e,t){var n,r;function o(){n=To?new WeakMap:Io()}function i(){var n,o,i,a,c,l=arguments.length;for(a=new Array(l),i=0;i<l;i++)a[i]=arguments[i];for(c=t.apply(null,a),(n=r(c)).isUniqueByDependants||(n.lastDependants&&!Mo(c,n.lastDependants,0)&&n.clear(),n.lastDependants=c),o=n.head;o;){if(Mo(o.args,a,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,a)},a[0]=null,o.args=a,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=Po),r=To?function(e){var t,r,o,i,a,c=n,l=!0;for(t=0;t<e.length;t++){if(r=e[t],!(a=r)||"object"!=typeof a){l=!1;break}c.has(r)?c=c.get(r):(o=new WeakMap,c.set(r,o),c=o)}return c.has(So)||((i=Io()).isUniqueByDependants=l,c.set(So,i)),c.get(So)}:function(){return n},i.getDependants=t,i.clear=o,o(),i};function Lo(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}var Ao=function(e,t){return"string"==typeof t?Ho(e,t):t},Do=No((function(e){return Object.values(e.blockTypes).map((function(t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{variations:Bo(e,t.name)})}))}),(function(e){return[e.blockTypes,e.blockVariations]}));function Ho(e,t){return e.blockTypes[t]}function Ro(e,t){return e.blockStyles[t]}function Bo(e,t,n){var r=e.blockVariations[t];return r&&n?r.filter((function(e){return!e.scope||e.scope.includes(n)})):r}function Vo(e,t,n){var r=Bo(e,t,n);return Object(E.findLast)(r,"isDefault")||Object(E.first)(r)}function Fo(e){return e.categories}function Uo(e){return e.collections}function Wo(e){return e.defaultBlockName}function Ko(e){return e.freeformFallbackBlockName}function $o(e){return e.unregisteredFallbackBlockName}function qo(e){return e.groupingBlockName}var Go=No((function(e,t){return Object(E.map)(Object(E.filter)(e.blockTypes,(function(e){return Object(E.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),Yo=function(e,t,n,r){var o=Ao(e,t);return Object(E.get)(o,["supports",n],r)};function Qo(e,t,n,r){return!!Yo(e,t,n,r)}function Xo(e,t,n){var r=Ao(e,t),o=Object(E.flow)([E.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=o(n),a=Object(E.flow)([o,function(e){return Object(E.includes)(e,i)}]);return a(r.title)||Object(E.some)(r.keywords,a)||a(r.category)}var Zo=function(e,t){return Go(e,t).length>0},Jo=function(e,t){return Object(E.some)(Go(e,t),(function(t){return Qo(e,t,"inserter",!0)}))};function ei(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(E.castArray)(e)}}function ti(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(E.castArray)(e)}}function ni(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(E.castArray)(t),blockName:e}}function ri(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(E.castArray)(t),blockName:e}}function oi(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(E.castArray)(t),blockName:e}}function ii(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(E.castArray)(t),blockName:e}}function ai(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function ci(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function li(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function si(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function ui(e){return{type:"SET_CATEGORIES",categories:e}}function fi(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function di(e,t,n){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:n}}function pi(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}Qt("core/blocks",{reducer:zo,selectors:c,actions:l});var hi=n(24),mi=n.n(hi),vi=n(13),bi=n.n(vi);function gi(e){var t=ji();if(e.name!==t)return!1;gi.block&&gi.block.name===t||(gi.block=Ii(t));var n=gi.block,r=Ei(t);return Object(E.every)(r.attributes,(function(t,r){return n.attributes[r]===e.attributes[r]}))}function yi(e){return Object(E.isString)(e)?Ei(e):e}function ki(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"visual",r=e.__experimentalLabel,o=e.title,i=r&&r(t,{context:n});return i?Sn(i):o}var wi=["attributes","supports","save","migrate","isEligible"];function Oi(){return Gt("core/blocks").getFreeformFallbackBlockName()}function _i(){return Gt("core/blocks").getUnregisteredFallbackBlockName()}function ji(){return Gt("core/blocks").getDefaultBlockName()}function Ei(e){return Gt("core/blocks").getBlockType(e)}function Ci(){return Gt("core/blocks").getBlockTypes()}function xi(e,t,n){return Gt("core/blocks").getBlockSupport(e,t,n)}function Si(e,t,n){return Gt("core/blocks").hasBlockSupport(e,t,n)}function Ti(e){return"core/block"===e.name}function zi(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 Pi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zi(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ii(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Ei(e),o=Object(E.reduce)(r.attributes,(function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.hasOwnProperty("default")&&(e[r]=n.default),-1!==["node","children"].indexOf(n.source)&&("string"==typeof e[r]?e[r]=[e[r]]:Array.isArray(e[r])||(e[r]=[])),e}),{}),i=mi()();return{clientId:i,name:e,isValid:!0,attributes:o,innerBlocks:n}}function Mi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=mi()();return Pi({},e,{clientId:r,attributes:Pi({},e.attributes,{},t),innerBlocks:n||e.innerBlocks.map((function(e){return Mi(e)}))})}var Ni=function(e,t,n){if(Object(E.isEmpty)(n))return!1;var r=n.length>1,o=Object(E.first)(n).name;if(!(Li(e)||!r||e.isMultiBlock))return!1;if(!Li(e)&&!Object(E.every)(n,{name:o}))return!1;if(!("block"===e.type))return!1;var i=Object(E.first)(n);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||Li(e)))return!1;if(!r&&Ai(i.name)&&Ai(e.blockName))return!1;if(Object(E.isFunction)(e.isMatch)){var a=e.isMultiBlock?n.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(a))return!1}return!0},Li=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},Ai=function(e){return e===Gt("core/blocks").getGroupingBlockName()};function Di(e){if(Object(E.isEmpty)(e))return[];var t=function(e){if(Object(E.isEmpty)(e))return[];var t=Ci();return Object(E.filter)(t,(function(t){return!!Hi(Ri("from",t.name),(function(t){return Ni(t,"from",e)}))}))}(e),n=function(e){if(Object(E.isEmpty)(e))return[];var t=Ri("to",Ei(Object(E.first)(e).name).name),n=Object(E.filter)(t,(function(t){return t&&Ni(t,"to",e)}));return Object(E.flatMap)(n,(function(e){return e.blocks})).map((function(e){return Ei(e)}))}(e);return Object(E.uniq)([].concat(ae(t),ae(n)))}function Hi(e,t){for(var n=$e(),r=function(r){var o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),(function(e){return e||o}),o.priority)},o=0;o<e.length;o++)r(o);return n.applyFilters("transform",null)}function Ri(e,t){if(void 0===t)return Object(E.flatMap)(Ci(),(function(t){var n=t.name;return Ri(e,n)}));var n=yi(t)||{},r=n.name,o=n.transforms;return o&&Array.isArray(o[e])?o[e].map((function(e){return Pi({},e,{blockName:r})})):[]}function Bi(e,t){var n=Object(E.castArray)(e),r=n.length>1,o=n[0],i=o.name;if(!Ai(t)&&r&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(E.every)(e,["name",t])}(n))return null;var a,c=Ri("from",t),l=Hi(Ri("to",i),(function(e){return"block"===e.type&&(Li(e)||-1!==e.blocks.indexOf(t))&&(!r||e.isMultiBlock)}))||Hi(c,(function(e){return"block"===e.type&&(Li(e)||-1!==e.blocks.indexOf(i))&&(!r||e.isMultiBlock)}));if(!l)return null;if(a=l.isMultiBlock?Object(E.has)(l,"__experimentalConvert")?l.__experimentalConvert(n):l.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(E.has)(l,"__experimentalConvert")?l.__experimentalConvert(o):l.transform(o.attributes,o.innerBlocks),!Object(E.isObjectLike)(a))return null;if((a=Object(E.castArray)(a)).some((function(e){return!Ei(e.name)})))return null;var s=Object(E.findIndex)(a,(function(e){return e.name===t}));return s<0?null:a.map((function(t,n){var r=Pi({},t,{clientId:n===s?o.clientId:t.clientId});return Je("blocks.switchToBlockType.transformedBlock",r,e)}))}var Vi=function e(t,n){return Ii(t,n.attributes,Object(E.map)(n.innerBlocks,(function(t){return e(t.name,t)})))};function Fi(e,t){for(var n,r=t.split(".");n=r.shift();){if(!(n in e))return;e=e[n]}return e}var Ui,Wi=function(){return Ui||(Ui=document.implementation.createHTMLDocument("")),Ui};function Ki(e,t){if(t){if("string"==typeof e){var n=Wi();n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(n,r){return n[r]=Ki(e,t[r]),n}),{})}}function $i(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Fi(r,t)}}var qi,Gi,Yi,Qi,Xi=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function Zi(e,t){for(var n=function(e){for(var t,n=[],r=e;t=r.match(Xi);)n.push(r.slice(0,t.index)),n.push(t[0]),r=r.slice(t.index+t[0].length);return r.length&&n.push(r),n}(e),r=!1,o=Object.keys(t),i=1;i<n.length;i+=2)for(var a=0;a<o.length;a++){var c=o[a];if(-1!==n[i].indexOf(c)){n[i]=n[i].replace(new RegExp(c,"g"),t[c]),r=!0;break}}return r&&(e=n.join("")),e}var Ji=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function ea(e,t,n,r,o){return{blockName:e,attrs:t,innerBlocks:n,innerHTML:r,innerContent:o}}function ta(e){return ea(null,{},[],e,[e])}function na(){var e=function(){var e=Ji.exec(qi);if(null===e)return["no-more-tokens"];var t=e.index,n=M(e,7),r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],l=n[6],s=r.length,u=!!o,f=!!l,d=(i||"core/")+a,p=!!c,h=p?function(e){try{return JSON.parse(e)}catch(t){return null}}(c):{};if(f)return["void-block",d,h,t,s];if(u)return["block-closer",d,null,t,s];return["block-opener",d,h,t,s]}(),t=M(e,5),n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=Qi.length,l=i>Gi?Gi:null;switch(n){case"no-more-tokens":if(0===c)return ra(),!1;if(1===c)return ia(),!1;for(;0<Qi.length;)ia();return!1;case"void-block":return 0===c?(null!==l&&Yi.push(ta(qi.substr(l,i-l))),Yi.push(ea(r,o,[],"",[])),Gi=i+a,!0):(oa(ea(r,o,[],"",[]),i,a),Gi=i+a,!0);case"block-opener":return Qi.push(function(e,t,n,r,o){return{block:e,tokenStart:t,tokenLength:n,prevOffset:r||t+n,leadingHtmlStart:o}}(ea(r,o,[],"",[]),i,a,i+a,l)),Gi=i+a,!0;case"block-closer":if(0===c)return ra(),!1;if(1===c)return ia(i),Gi=i+a,!0;var s=Qi.pop(),u=qi.substr(s.prevOffset,i-s.prevOffset);return s.block.innerHTML+=u,s.block.innerContent.push(u),s.prevOffset=i+a,oa(s.block,s.tokenStart,s.tokenLength,i+a),Gi=i+a,!0;default:return ra(),!1}}function ra(e){var t=e||qi.length-Gi;0!==t&&Yi.push(ta(qi.substr(Gi,t)))}function oa(e,t,n,r){var o=Qi[Qi.length-1];o.block.innerBlocks.push(e);var i=qi.substr(o.prevOffset,t-o.prevOffset);i&&(o.block.innerHTML+=i,o.block.innerContent.push(i)),o.block.innerContent.push(null),o.prevOffset=r||t+n}function ia(e){var t=Qi.pop(),n=t.block,r=t.leadingHtmlStart,o=t.prevOffset,i=t.tokenStart,a=e?qi.substr(o,e-o):qi.substr(o);a&&(n.innerHTML+=a,n.innerContent.push(a)),null!==r&&Yi.push(ta(qi.substr(r,i-r))),Yi.push(n)}var aa=/^#[xX]([A-Fa-f0-9]+)$/,ca=/^#([0-9]+)$/,la=/^([A-Za-z0-9]+)$/,sa=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(aa);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(ca))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(la))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),ua=/[A-Za-z]/,fa=/\r\n?/g;function da(e){return sa.test(e)}function pa(e){return ua.test(e)}var ha,ma=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer.toLowerCase();"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||pa(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();da(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();da(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();da(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();da(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();da(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();da(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();da(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();da(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||pa(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(fa,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer.toLowerCase();return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),va=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new ma(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();function ba(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===ha&&(ha=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),ha.innerHTML=e;var t=ha.textContent;return ha.innerHTML="",t}function ga(){function e(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn),getItems:function(){return[]}}}function ya(){var e=[],t=ga();return{error:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.push({log:t.error,args:r})},warning:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.push({log:t.warning,args:r})},getItems:function(){return e}}}var ka=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function wa(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function Oa(e){return e.replace(/</g,"&lt;")}function _a(e){return function(e){return e.replace(/>/g,"&gt;")}(function(e){return e.replace(/"/g,"&quot;")}(wa(e)))}function ja(e){return Oa(wa(e))}function Ea(e){return Oa(e.replace(/&/g,"&amp;"))}function Ca(e){return!ka.test(e)}function xa(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 Sa(e){var t=e.children,n=ln(e,["children"]);return Object(b.createElement)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({dangerouslySetInnerHTML:{__html:t}},n))}function Ta(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 za(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ta(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ta(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pa=Object(b.createContext)(),Ia=Pa.Provider,Ma=Pa.Consumer,Na=Object(b.forwardRef)((function(){return null})),La=new Set(["string","boolean","number"]),Aa=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Da=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),Ha=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Ra=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function Ba(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function Va(e){return"key"===e||"children"===e}function Fa(e,t){switch(e){case"style":return function(e){if(!Object(E.isPlainObject)(e))return e;var t;for(var n in e){var r=e[n];if(null!=r){t?t+=";":t="";var o=Wa(n),i=Ka(n,r);t+=o+":"+i}}return t}(t)}return t}function Ua(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function Wa(e){return Object(E.startsWith)(e,"--")?e:Ba(e,["ms","O","Moz","Webkit"])?"-"+Object(E.kebabCase)(e):Object(E.kebabCase)(e)}function Ka(e,t){return"number"!=typeof t||0===t||Ra.has(e)?t:t+"px"}function $a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return Ya(e,t,n);switch(vt(e)){case"string":return ja(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case b.StrictMode:case b.Fragment:return Ya(o.children,t,n);case Sa:var i=o.children,a=ln(o,["children"]);return qa(Object(E.isEmpty)(a)?null:"div",za({},a,{dangerouslySetInnerHTML:{__html:i}}),t,n)}switch(vt(r)){case"string":return qa(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?Ga(r,o,t,n):$a(r(o,n),t,n)}switch(r&&r.$$typeof){case Ia.$$typeof:return Ya(o.children,o.value,n);case Ma.$$typeof:return $a(o.children(t||r._currentValue),t,n);case Na.$$typeof:return $a(r.render(o),t,n)}return""}function qa(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=Ya(t.value,n,r),t=Object(E.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=Ya(t.children,n,r)),!e)return o;var i=Qa(t);return Aa.has(e)?"<"+e+i+"/>":"<"+e+i+">"+o+"</"+e+">"}function Ga(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());var i=$a(o.render(),n,r);return i}function Ya(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(E.castArray)(e);for(var o=0;o<e.length;o++){var i=e[o];r+=$a(i,t,n)}return r}function Qa(e){var t="";for(var n in e){var r=Ua(n);if(Ca(r)){var o=Fa(n,e[n]);if(La.has(vt(o))&&!Va(n)){var i=Da.has(r);if(!i||!1!==o){var a=i||Ba(n,["data-","aria-"])||Ha.has(r);("boolean"!=typeof o||a)&&(t+=" "+r,i||("string"==typeof o&&(o=_a(o)),t+='="'+o+'"'))}}}}return t}var Xa=$a,Za=Object(b.createContext)((function(){})),Ja=Za.Consumer,ec=Za.Provider,tc=dt((function(e){return function(t){return Object(b.createElement)(Ja,null,(function(n){return Object(b.createElement)(e,ft({},t,{BlockContent:n}))}))}}),"withBlockContentContext"),nc=function(e){var t=e.children,n=e.innerBlocks;return Object(b.createElement)(ec,{value:function(){var e=fc(n,{isInnerBlocks:!0});return Object(b.createElement)(Sa,null,e)}},t)};function rc(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 oc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rc(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ic(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Je("blocks.getBlockDefaultClassName",t,e)}function ac(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=yi(e),o=r.save;if(o.prototype instanceof b.Component){var i=new o({attributes:t});o=i.render.bind(i)}var a=o({attributes:t,innerBlocks:n});if(Object(E.isObject)(a)&&Xe("blocks.getSaveContent.extraProps")){var c=Je("blocks.getSaveContent.extraProps",oc({},a.props),r,t);_t()(c,a.props)||(a=Object(b.cloneElement)(a,c))}return a=Je("blocks.getSaveElement",a,r,t),Object(b.createElement)(nc,{innerBlocks:n},a)}function cc(e,t,n){var r=yi(e);return Xa(ac(r,t,n))}function lc(e,t){return Object(E.reduce)(e.attributes,(function(e,n,r){var o=t[r];return void 0===o||void 0!==n.source||"default"in n&&n.default===o||(e[r]=o),e}),{})}function sc(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=cc(e.name,e.attributes,e.innerBlocks)}catch(pj){}return t}function uc(e,t,n){var r=Object(E.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",o=Object(E.startsWith)(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:".concat(o," ").concat(r,"--\x3e\n")+n+"\n\x3c!-- /wp:".concat(o," --\x3e"):"\x3c!-- wp:".concat(o," ").concat(r,"/--\x3e")}function fc(e,t){return Object(E.castArray)(e).map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isInnerBlocks,r=void 0!==n&&n,o=e.name,i=sc(e);if(o===_i()||!r&&o===Oi())return i;var a=Ei(o),c=lc(a,e.attributes);return uc(o,c,i)}(e,t)})).join("\n\n")}function dc(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}var pc=/[\t\n\r\v\f ]+/g,hc=/^[\t\n\r\v\f ]*$/,mc=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,vc=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],bc=[].concat(vc,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),gc=[E.identity,function(e){return _c(e).join(" ")}],yc=/^[\da-z]+$/i,kc=/^#\d+$/,wc=/^#x[\da-f]+$/i;var Oc=function(){function e(){pt(this,e)}return mt(e,[{key:"parse",value:function(e){if(t=e,yc.test(t)||kc.test(t)||wc.test(t))return ba("&"+e+";");var t}}]),e}();function _c(e){return e.trim().split(pc)}function jc(e){return e.attributes.filter((function(e){var t=M(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||Object(E.includes)(bc,n)}))}function Ec(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ga(),r=e.chars,o=t.chars,i=0;i<gc.length;i++){var a=gc[i];if((r=a(r))===(o=a(o)))return!0}return n.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function Cc(e){return e.replace(mc,"url($1)")}function xc(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t,n=e.split(":"),r=T(t=n)||ie(t)||P(t)||I(),o=r[0],i=r.slice(1).join(":");return[o.trim(),Cc(i.trim())]}));return Object(E.fromPairs)(t)}var Sc=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({class:function(e,t){return!E.xor.apply(void 0,ae([e,t].map(_c))).length},style:function(e,t){return E.isEqual.apply(void 0,ae([e,t].map(xc)))}},Object(E.fromPairs)(vc.map((function(e){return[e,E.stubTrue]}))));function Tc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ga();if(e.length!==t.length)return n.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var r={},o=0;o<t.length;o++)r[t[o][0].toLowerCase()]=t[o][1];for(var i=0;i<e.length;i++){var a=M(e[i],2),c=a[0],l=a[1],s=c.toLowerCase();if(!r.hasOwnProperty(s))return n.warning("Encountered unexpected attribute `%s`.",c),!1;var u=r[s],f=Sc[s];if(f){if(!f(l,u))return n.warning("Expected attribute `%s` of value `%s`, saw `%s`.",c,u,l),!1}else if(l!==u)return n.warning("Expected attribute `%s` of value `%s`, saw `%s`.",c,u,l),!1}return!0}var zc={StartTag:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ga();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(n.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Tc.apply(void 0,ae([e,t].map(jc)).concat([n]))},Chars:Ec,Comment:Ec};function Pc(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!hc.test(t.chars))return t}}function Ic(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ga();try{return new va(new Oc).tokenize(e)}catch(n){t.warning("Malformed HTML detected: %s",e)}return null}function Mc(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Nc(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ga(),i=[e,t].map((function(e){return Ic(e,o)})),a=M(i,2),c=a[0],l=a[1];if(!c||!l)return!1;for(;n=Pc(c);){if(!(r=Pc(l)))return o.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==r.type)return o.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",r.type,r,n.type,n),!1;var s=zc[n.type];if(s&&!s(n,r,o))return!1;Mc(n,l[0])?Pc(l):Mc(r,c[0])&&Pc(c)}return!(r=Pc(l))||(o.warning("Expected %o, instead saw end of content.",r),!1)}function Lc(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ya(),i=yi(e);try{r=cc(i,t)}catch(pj){return o.error("Block validation failed because an error occurred while generating block content:\n\n%s",pj.toString()),{isValid:!1,validationIssues:o.getItems()}}var a=Nc(n,r,o);return a||o.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",i.name,i,r,n),{isValid:a,validationIssues:o.getItems()}}function Ac(e){for(var t=[],n=0;n<e.length;n++)try{t.push($c(e[n]))}catch(pj){}return t}function Dc(e){return Xa(e)}function Hc(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Ac(n.childNodes):[]}}var Rc={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var n=Object(E.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),r=0;r<n.length;r++){var o=n[r],i="string"==typeof o&&"string"==typeof e[e.length-1];i?e[e.length-1]+=o:e.push(o)}return e},getChildrenArray:function(e){return e},fromDOM:Ac,toHTML:Dc,matcher:Hc};function Bc(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 Vc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bc(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fc=window.Node,Uc=Fc.TEXT_NODE,Wc=Fc.ELEMENT_NODE;function Kc(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r.name,i=r.value;t[o]=i}return t}function $c(e){if(e.nodeType===Uc)return e.nodeValue;if(e.nodeType!==Wc)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:Vc({},Kc(e.attributes),{children:Ac(e.childNodes)})}}function qc(e){return function(t){var n=t;e&&(n=t.querySelector(e));try{return $c(n)}catch(pj){return null}}}function Gc(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 Yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gc(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}new Set(["attribute","html","text","tag"]);function Qc(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}function Xc(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=$i(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=function(e){return Object(E.flow)([e,function(e){return void 0!==e}])}(t)),t;case"html":return r=e.selector,o=e.multiline,function(e){var t=e;if(r&&(t=e.querySelector(r)),!t)return"";if(o){for(var n="",i=t.children.length,a=0;a<i;a++){var c=t.children[a];c.nodeName.toLowerCase()===o&&(n+=c.outerHTML)}return n}return t.innerHTML};case"text":return function(e){return $i(e,"textContent")}(e.selector);case"children":return Hc(e.selector);case"node":return qc(e.selector);case"query":var n=Object(E.mapValues)(e.query,Xc);return function(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,(function(e){return Ki(e,t)}))}}(e.selector,n);case"tag":return Object(E.flow)([$i(e.selector,"nodeName"),function(e){return e?e.toLowerCase():void 0}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var r,o}function Zc(e,t){return Ki(e,Xc(t))}function Jc(e,t,n,r){var o,i=t.type,a=t.enum;switch(t.source){case void 0:o=r?r[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":o=Zc(n,t)}return function(e,t){return void 0===t||Qc(e,Object(E.castArray)(t))}(o,i)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(o,a)||(o=void 0),void 0===o?t.default:o}function el(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=yi(e),o=Object(E.mapValues)(r.attributes,(function(e,r){return Jc(r,e,t,n)}));return Je("blocks.getBlockAttributes",o,r,t,n)}function tl(e){var t=e.blockName,n=e.attrs,r=e.innerBlocks,o=void 0===r?[]:r,i=e.innerHTML,a=e.innerContent,c=Oi(),l=_i()||c;n=n||{},i=i.trim();var s=t||c;"core/cover-image"===s&&(s="core/cover"),"core/text"!==s&&"core/cover-text"!==s||(s="core/paragraph"),s&&0===s.indexOf("core/social-link-")&&(n.service=s.substring(17),s="core/social-link"),s===c&&(i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var r=e.split("</pre>"),o=r.pop();e="";for(var i=0;i<r.length;i++){var a=r[i],c=a.indexOf("<pre");if(-1!==c){var l="<pre wp-pre-tag-"+i+"></pre>";n.push([l,a.substr(c)+"</pre>"]),e+=a.substr(0,c)+l}else e+=a}e+=o}var s="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=Zi(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+s+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+s+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var u=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",u.forEach((function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+s+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+s+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+s+"[^>]*>)\\s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")}))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(function(e,t){return t?e:"<br />\n"}))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+s+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach((function(t){var n=M(t,2),r=n[0],o=n[1];e=e.replace(r,o)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}(i).trim());var u=Ei(s);if(!u){var f={attrs:n,blockName:t,innerBlocks:o,innerContent:a},d=nl(f,{isCommentDelimited:!1}),p=nl(f,{isCommentDelimited:!0});s&&(i=p),n={originalName:t,originalContent:p,originalUndelimitedContent:d},u=Ei(s=l)}o=(o=o.map(tl)).filter((function(e){return e}));var h=s===c||s===l;if(u&&(i||!h)){var m=Ii(s,el(u,i,n),o);if(!h){var v=Lc(u,m.attributes,i),b=v.isValid,g=v.validationIssues;m.isValid=b,m.validationIssues=g}return m.originalContent=m.originalContent||i,(m=function(e,t){var n=Ei(e.name),r=n.deprecated;if(!r||!r.length)return e;for(var o=e,i=o.originalContent,a=o.innerBlocks,c=0;c<r.length;c++){var l=r[c].isEligible,s=void 0===l?E.stubFalse:l;if(!e.isValid||s(t,a)){var u=Object.assign(Object(E.omit)(n,wi),r[c]),f=el(u,i,t),d=Lc(u,f,i),p=d.isValid,h=d.validationIssues;if(p){var m=a,v=u.migrate;if(v){var b=M(Object(E.castArray)(v(f,a)),2),g=b[0];f=void 0===g?t:g;var y=b[1];m=void 0===y?a:y}e=Yc({},e,{attributes:f,innerBlocks:m,isValid:!0})}else e=Yc({},e,{validationIssues:[].concat(ae(Object(E.get)(e,"validationIssues",[])),ae(h))})}}return e}(m,n)).validationIssues&&m.validationIssues.length>0&&(m.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",u.name,u,cc(u,m.attributes),m.originalContent):m.validationIssues.forEach((function(e){var t=e.log,n=e.args;return t.apply(void 0,ae(n))}))),m}}function nl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isCommentDelimited,r=void 0===n||n,o=e.blockName,i=e.attrs,a=void 0===i?{}:i,c=e.innerBlocks,l=void 0===c?[]:c,s=e.innerContent,u=void 0===s?[]:s,f=0,d=u.map((function(e){return null!==e?e:nl(l[f++],t)})).join("\n").replace(/\n+/g,"\n").trim();return r?uc(o,a,d):d}var rl,ol=(rl=function(e){qi=e,Gi=0,Yi=[],Qi=[],Ji.lastIndex=0;do{}while(na());return Yi},function(e){return rl(e).reduce((function(e,t){var n=tl(t);return n&&e.push(n),e}),[])}),il=ol;function al(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 cl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?al(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):al(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ll={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}};Object(E.without)(Object.keys(ll),"#text","br").forEach((function(e){ll[e].children=Object(E.omit)(ll,e)}));var sl=cl({},ll,{},{audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","autoplay","mediagroup","loop","muted","controls","width","height"]}});function ul(e){return"paste"!==e?sl:Object(E.omit)(cl({},sl,{ins:{children:sl.ins.children},del:{children:sl.del.children}}),["u","abbr","data","time","wbr","bdi","bdo"])}function fl(e){var t=e.nodeName.toLowerCase();return ul().hasOwnProperty(t)||"span"===t}function dl(e){var t=e.nodeName.toLowerCase();return ll.hasOwnProperty(t)||"span"===t}function pl(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 hl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ml=window.Node,vl=ml.ELEMENT_NODE,bl=ml.TEXT_NODE;function gl(e,t,n){var r=e.map((function(e){var r=e.isMatch,o=e.blockName,i=e.schema,a=Si(o,"anchor");return i=Object(E.isFunction)(i)?i({phrasingContentSchema:t,isPaste:n}):i,a||r?Object(E.mapValues)(i,(function(e){var t=e.attributes||[];return a&&(t=[].concat(ae(t),["id"])),hl({},e,{attributes:t,isMatch:r||void 0})})):i}));return E.mergeWith.apply(void 0,[{}].concat(ae(r),[function(e,t,n){switch(n){case"children":return"*"===e||"*"===t?"*":hl({},e,{},t);case"attributes":case"require":return[].concat(ae(e||[]),ae(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function yl(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===bl?!e.nodeValue.trim():e.nodeType!==vl||("BR"===e.nodeName||!e.hasAttributes()&&yl(e))}))}function kl(e,t,n,r){Array.from(e).forEach((function(e){kl(e.childNodes,t,n,r),t.forEach((function(t){n.contains(e)&&t(e,n,r)}))}))}function wl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,kl(r.body.childNodes,t,r,n),r.body.innerHTML}function Ol(e,t,n){var r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,function e(t,n,r,o){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!r.hasOwnProperty(i)||r[i].isMatch&&!r[i].isMatch(t))e(t.childNodes,n,r,o),o&&!fl(t)&&t.nextElementSibling&&jn(n.createElement("br"),t),En(t);else if(t.nodeType===vl){var a=r[i],c=a.attributes,l=void 0===c?[]:c,s=a.classes,u=void 0===s?[]:s,f=a.children,d=a.require,p=void 0===d?[]:d,h=a.allowEmpty;if(f&&!h&&yl(t))return void _n(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var n=e.name;"class"===n||Object(E.includes)(l,n)||t.removeAttribute(n)})),t.classList&&t.classList.length)){var m=u.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:E.noop}));Array.from(t.classList).forEach((function(e){m.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,n,r,o),En(t)):"BODY"===t.parentNode.nodeName&&fl(t)?(e(t.childNodes,n,r,o),Array.from(t.childNodes).some((function(e){return!fl(e)}))&&En(t)):e(t.childNodes,n,f,o);else for(;t.firstChild;)_n(t.firstChild)}}}))}(r.body.childNodes,r,t,n),r.body.innerHTML}function _l(e,t){var n=e["".concat(t,"Sibling")];if(n&&fl(n))return n;var r=e.parentNode;return r&&fl(r)?_l(r,t):void 0}var jl=window.Node,El=jl.ELEMENT_NODE,Cl=jl.TEXT_NODE,xl=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),r=t.body,o=n.body;for(r.innerHTML=e;r.firstChild;){var i=r.firstChild;i.nodeType===Cl?i.nodeValue.trim()?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):r.removeChild(i):i.nodeType===El?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(o.appendChild(n.createElement("P")),r.removeChild(i.nextSibling)),o.lastChild&&"P"===o.lastChild.nodeName&&o.lastChild.hasChildNodes()?o.lastChild.appendChild(i):r.removeChild(i)):"P"===i.nodeName?yl(i)?r.removeChild(i):o.appendChild(i):fl(i)?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):o.appendChild(i):r.removeChild(i)}return o.innerHTML},Sl=window.Node.COMMENT_NODE,Tl=function(e,t){if(e.nodeType===Sl)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var n=e.nodeValue.slice(4).trim(),r=e,o=!1;r=r.nextSibling;)if(r.nodeType===Sl&&"noteaser"===r.nodeValue){o=!0,_n(r);break}On(e,function(e,t,n){var r=n.createElement("wp-block");r.dataset.block="core/more",e&&(r.dataset.customText=e);t&&(r.dataset.noTeaser="");return r}(n,o,t))}}else On(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function zl(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Pl=function(e){if(zl(e)){var t=e,n=e.previousElementSibling;if(n&&n.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)n.appendChild(t.firstChild);t.parentNode.removeChild(t)}var r,o=e.parentNode;if(o&&"LI"===o.nodeName&&1===o.children.length&&!/\S/.test((r=o,Array.from(r.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=o,a=i.previousElementSibling,c=i.parentNode;a?(a.appendChild(t),c.removeChild(i)):(c.parentNode.insertBefore(t,c),c.parentNode.removeChild(c))}if(o&&zl(o)){var l=e.previousElementSibling;l?l.appendChild(e):En(e)}}},Il=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=xl(e.innerHTML))};function Ml(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(n,t),n.appendChild(e)}var Nl=function(e,t,n){if(function(e,t){var n=e.nodeName.toLowerCase();return"figcaption"!==n&&!dl(e)&&Object(E.has)(t,["figure","children",n])}(e,n)){var r=e,o=e.parentNode;(function(e,t){var n=e.nodeName.toLowerCase();return Object(E.has)(t,["figure","children","a","children",n])})(e,n)&&"A"===o.nodeName&&1===o.childNodes.length&&(r=e.parentNode);var i=r.closest("p,div");i?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!i.textContent.trim())&&Ml(r,i):"BODY"===r.parentNode.nodeName&&Ml(r)}};function Ll(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Al(e);r.lastIndex=n;var o=r.exec(t);if(o){if("["===o[1]&&"]"===o[7])return Ll(e,t,r.lastIndex);var i={index:o.index,content:o[0],shortcode:Hl(o)};return o[1]&&(i.content=i.content.slice(1),i.index++),o[7]&&(i.content=i.content.slice(0,-1)),i}}function Al(e){return new RegExp("\\[(\\[?)("+e+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var Dl=A()((function(e){var t,n={},r=[],o=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(e=e.replace(/[\u00a0\u200b]/g," ");t=o.exec(e);)t[1]?n[t[1].toLowerCase()]=t[2]:t[3]?n[t[3].toLowerCase()]=t[4]:t[5]?n[t[5].toLowerCase()]=t[6]:t[7]?r.push(t[7]):t[8]?r.push(t[8]):t[9]&&r.push(t[9]);return{named:n,numeric:r}}));function Hl(e){var t;return t=e[4]?"self-closing":e[6]?"closed":"single",new Rl({tag:e[2],attrs:e[3],type:t,content:e[5]})}var Rl=Object(E.extend)((function(e){var t=this;Object(E.extend)(this,Object(E.pick)(e||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(E.isString)(n)?this.attrs=Dl(n):Object(E.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(E.forEach)(n,(function(e,n){t.set(n,e)})))}),{next:Ll,replace:function(e,t,n){return t.replace(Al(e),(function(e,t,r,o,i,a,c,l){if("["===t&&"]"===l)return e;var s=n(Hl(arguments));return s?t+s+l:e}))},string:function(e){return new Rl(e).string()},regexp:Al,attrs:Dl,fromMatch:Hl});Object(E.extend)(Rl.prototype,{get:function(e){return this.attrs[Object(E.isNumber)(e)?"numeric":"named"][e]},set:function(e,t){return this.attrs[Object(E.isNumber)(e)?"numeric":"named"][e]=t,this},string:function(){var e="["+this.tag;return Object(E.forEach)(this.attrs.numeric,(function(t){/\s/.test(t)?e+=' "'+t+'"':e+=" "+t})),Object(E.forEach)(this.attrs.named,(function(t,n){e+=" "+n+'="'+t+'"'})),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});function Bl(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 Vl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bl(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fl=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=Ri("from"),i=Hi(o,(function(e){return-1===r.indexOf(e.blockName)&&"shortcode"===e.type&&Object(E.some)(Object(E.castArray)(e.tag),(function(e){return Al(e).test(t)}))}));if(!i)return[t];var a,c=Object(E.castArray)(i.tag),l=Object(E.find)(c,(function(e){return Al(e).test(t)})),s=n;if(a=Ll(l,t,n)){n=a.index+a.content.length;var u=t.substr(0,a.index),f=t.substr(n);if(!(Object(E.includes)(a.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(u)&&/^\s*(\n|<\/p>)/.test(f)))return e(t,n);if(i.isMatch&&!i.isMatch(a.shortcode.attrs))return e(t,s,[].concat(ae(r),[i.blockName]));var d=Object(E.mapValues)(Object(E.pickBy)(i.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(a.shortcode.attrs,a)})),p=Ii(i.blockName,el(Vl({},Ei(i.blockName),{attributes:i.attributes}),a.shortcode.content,d));return[u,p].concat(ae(e(t.substr(n))))}return[t]},Ul=window.Node.COMMENT_NODE,Wl=function(e){e.nodeType===Ul&&_n(e)};function Kl(e,t){return e.every((function(e){return function(e,t){if(dl(e))return!0;if(!t)return!1;var n=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(E.difference)([n,t],e).length}))}(e,t)&&Kl(Array.from(e.children),t)}))}function $l(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var ql=function(e,t){if("SPAN"===e.nodeName&&e.style){var n=e.style,r=n.fontWeight,o=n.fontStyle,i=n.textDecorationLine,a=n.textDecoration,c=n.verticalAlign;"bold"!==r&&"700"!==r||xn(t.createElement("strong"),e),"italic"===o&&xn(t.createElement("em"),e),("line-through"===i||Object(E.includes)(a,"line-through"))&&xn(t.createElement("s"),e),"super"===c?xn(t.createElement("sup"),e):"sub"===c&&xn(t.createElement("sub"),e)}else"B"===e.nodeName?e=Cn(e,"strong"):"I"===e.nodeName?e=Cn(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Gl=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Yl=window.parseInt;function Ql(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Xl=function(e,t){if("P"===e.nodeName){var n=e.getAttribute("style");if(n&&-1!==n.indexOf("mso-list")){var r=/mso-list\s*:[^;]+level([0-9]+)/i.exec(n);if(r){var o=Yl(r[1],10)-1||0,i=e.previousElementSibling;if(!i||!Ql(i)){var a=e.textContent.trim().slice(0,1),c=/[1iIaA]/.test(a),l=t.createElement(c?"ol":"ul");c&&l.setAttribute("type",a),e.parentNode.insertBefore(l,e)}var s=e.previousElementSibling,u=s.nodeName,f=t.createElement("li"),d=s;for(e.removeChild(e.firstElementChild);e.firstChild;)f.appendChild(e.firstChild);for(;o--;)Ql(d=d.lastElementChild||d)&&(d=d.lastElementChild||d);Ql(d)||(d=d.appendChild(t.createElement(u))),d.appendChild(f),e.parentNode.removeChild(e)}}}},Zl=window.URL,Jl=Zl.createObjectURL,es=(Zl.revokeObjectURL,{});function ts(e){var t=Jl(e);return es[t]=e,t}var ns=window,rs=ns.atob,os=ns.File,is=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,n=M(e.src.split(","),2),r=n[0],o=n[1],i=M(r.slice(5).split(";"),1)[0];if(!o||!i)return void(e.src="");try{t=rs(o)}catch(u){return void(e.src="")}for(var a=new Uint8Array(t.length),c=0;c<a.length;c++)a[c]=t.charCodeAt(c);var l=i.replace("/","."),s=new os([a],l,{type:i});e.src=ts(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},as=n(50),cs=new(n.n(as).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});var ls=function(e){"IFRAME"===e.nodeName&&_n(e)},ss=function(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&En(e)};var us=function(e){if(e.nodeType===e.TEXT_NODE&&!e.parentElement.closest("pre")){var t,n=e.data.replace(/[ \r\n\t]+/g," ");if(" "===n[0]){var r=_l(e,"previous");r&&"BR"!==r.nodeName&&" "!==r.textContent.slice(-1)||(n=n.slice(1))}if(" "===n[n.length-1]){var o=_l(e,"next");(!o||"BR"===o.nodeName||o.nodeType===o.TEXT_NODE&&(" "===(t=o.textContent[0])||"\r"===t||"\n"===t||"\t"===t))&&(n=n.slice(0,-1))}n?e.data=n:e.parentNode.removeChild(e)}},fs=function(e){"BR"===e.nodeName&&(_l(e,"next")||e.parentNode.removeChild(e))},ds=function(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))};function ps(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 hs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ps(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ps(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ms=window.console;function vs(e){return e=wl(e,[ss,ql,Wl]),e=wl(e=Ol(e,ul("paste"),{inline:!0}),[us,fs]),ms.log("Processed inline HTML:\n\n",e),e}function bs(e){var t,n=e.HTML,r=void 0===n?"":n,o=e.plainText,i=void 0===o?"":o,a=e.mode,c=void 0===a?"AUTO":a,l=e.tagName,s=e.canUserUseUnfilteredHTML,u=void 0!==s&&s;if(r=(r=(r=r.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==c){var f=r||i;if(-1!==f.indexOf("\x3c!-- wp:"))return ol(f)}if(String.prototype.normalize&&(r=r.normalize()),!i||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(t=i,r=cs.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,n,r){return"".concat(t,"\n").concat(n,"\n").concat(r)}))}(t)),"AUTO"===c&&-1===i.indexOf("\n")&&0!==i.indexOf("<p>")&&0===r.indexOf("<p>")&&(c="INLINE")),"INLINE"===c)return vs(r);var d=Fl(r),p=d.length>1;if("AUTO"===c&&!p&&function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var r=Array.from(n.body.children);return!r.some($l)&&Kl(r,t)}(r,l))return vs(r);var h=Object(E.filter)(Ri("from"),{type:"raw"}).map((function(e){return e.isMatch?e:hs({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),m=ul("paste"),v=gl(h,m,!0),b=Object(E.compact)(Object(E.flatMap)(d,(function(e){if("string"!=typeof e)return e;var t=[ss,Xl,Gl,Pl,is,ql,Tl,Wl,Nl,Il];u||t.unshift(ls);var n=hs({},v,{},m);return e=Ol(e=wl(e,t,v),n),e=wl(e=xl(e),[us,fs,ds],v),ms.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=Hi(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ii("core/html",el("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):Ii(o,el(o,e.outerHTML))}))}({html:e,rawTransforms:h})})));if("AUTO"===c&&1===b.length&&Si(b[0].name,"__unstablePasteTextInline",!1)){var g=i.trim();if(""!==g&&-1===g.indexOf("\n"))return Ol(sc(b[0]),m)}return b}function gs(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 ys(){return Object(E.filter)(Ri("from"),{type:"raw"}).map((function(e){return e.isMatch?e:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gs(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}))}function ks(e){var t=e.HTML,n=void 0===t?"":t;if(-1!==n.indexOf("\x3c!-- wp:"))return ol(n);var r=Fl(n),o=ys(),i=ul(),a=gl(o,i);return Object(E.compact)(Object(E.flatMap)(r,(function(e){return"string"!=typeof e?e:(e=wl(e,[Pl,Tl,Nl,Il],a),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=Hi(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ii("core/html",el("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):Ii(o,el(o,e.outerHTML))}))}({html:e=xl(e),rawTransforms:o}))})))}function ws(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 Os(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ws(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ws(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(E.map)(t,(function(t,n){var r=M(t,3),o=r[0],i=r[1],a=r[2],c=e[n];if(c&&c.name===o)return Os({},c,{innerBlocks:_s(c.innerBlocks,a)});var l=Ei(o),s=function(e,t){return Object(E.mapValues)(t,(function(t,n){return u(e[n],t)}))},u=function(e,t){return n=e,"html"===Object(E.get)(n,["source"])&&Object(E.isArray)(t)?Xa(t):function(e){return"query"===Object(E.get)(e,["source"])}(e)&&t?t.map((function(t){return s(e.query,t)})):t;var n};return Ii(o,s(Object(E.get)(l,["attributes"],{}),i),_s([],a))})):e}function js(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 Es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?js(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):js(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Cs=S()({formatTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return Es({},e,{},Object(E.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(E.omit)(e,t.names)}return e}}),xs=No((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function Ss(e,t){return e.formatTypes[t]}function Ts(e,t){return Object(E.find)(xs(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function zs(e,t){return Object(E.find)(xs(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function Ps(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(E.castArray)(e)}}function Is(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(E.castArray)(e)}}function Ms(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var o=Object.keys(n),i=Object.keys(r);if(o.length!==i.length)return!1;for(var a=o.length,c=0;c<a;c++){var l=o[c];if(n[l]!==r[l])return!1}return!0}function Ns(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 Ls(e){var t=e.formats.slice();return t.forEach((function(e,n){var r=t[n-1];if(r){var o=e.slice();o.forEach((function(e,t){var n=r[t];Ms(e,n)&&(o[t]=n)})),t[n]=o}})),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ns(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ns(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{formats:t})}function As(e,t){var n=e.implementation;return As.body||(As.body=n.createHTMLDocument("").body),As.body.innerHTML=t,As.body}Qt("core/rich-text",{reducer:Cs,selectors:s,actions:u});function Ds(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}var Hs=window.Node,Rs=Hs.TEXT_NODE,Bs=Hs.ELEMENT_NODE;function Vs(e,t){for(var n in e)if(e[n]===t)return n}function Fs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,o=e.range,i=e.multilineTag,a=e.multilineWrapperTags,c=e.__unstableIsEditableTree,l=e.preserveWhiteSpace;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=As(document,r)),"object"!==vt(t)?{formats:[],replacements:[],text:""}:i?qs({element:t,range:o,multilineTag:i,multilineWrapperTags:a,isEditableTree:c,preserveWhiteSpace:l}):$s({element:t,range:o,isEditableTree:c,preserveWhiteSpace:l}))}function Us(e,t,n,r){if(n){var o=t.parentNode,i=n.startContainer,a=n.startOffset,c=n.endContainer,l=n.endOffset,s=e.text.length;void 0!==r.start?e.start=s+r.start:t===i&&t.nodeType===Rs?e.start=s+a:o===i&&t===i.childNodes[a]?e.start=s:o===i&&t===i.childNodes[a-1]?e.start=s+r.text.length:t===i&&(e.start=s),void 0!==r.end?e.end=s+r.end:t===c&&t.nodeType===Rs?e.end=s+l:o===c&&t===c.childNodes[l-1]?e.end=s+r.text.length:o===c&&t===c.childNodes[l]?e.end=s:t===c&&(e.end=s+l)}}var Ws=new RegExp("\ufeff","g");function Ks(e){return e.replace(Ws,"")}function $s(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,c=e.isEditableTree,l=e.preserveWhiteSpace,s={formats:[],replacements:[],text:""};if(!t)return s;if(!t.hasChildNodes())return Us(s,t,n,{formats:[],replacements:[],text:""}),s;for(var u=t.childNodes.length,f=function(e){var i=t.childNodes[e],u=i.nodeName.toLowerCase();if(i.nodeType===Rs){var f=Ks;l||(f=function(e){return Ks(function(e){return e.replace(/[\n\r\t]+/g," ")}(e))});var d=f(i.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,o=t.endContainer,i=t.startOffset,a=t.endOffset;return e===r&&(i=n(e.nodeValue.slice(0,i)).length),e===o&&(a=n(e.nodeValue.slice(0,a)).length),{startContainer:r,startOffset:i,endContainer:o,endOffset:a}}}(i,n,f),Us(s,i,n,{text:d}),s.formats.length+=d.length,s.replacements.length+=d.length,s.text+=d,"continue"}if(i.nodeType!==Bs)return"continue";if(c&&(i.getAttribute("data-rich-text-placeholder")||"br"===u&&!i.getAttribute("data-rich-text-line-break")))return Us(s,i,n,{formats:[],replacements:[],text:""}),"continue";if("br"===u)return Us(s,i,n,{formats:[],replacements:[],text:""}),Ys(s,Fs({text:"\n"})),"continue";var p=s.formats[s.formats.length-1],h=p&&p[p.length-1],m=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=Gt("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=Gt("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var o={},i={};for(var a in r){var c=Vs(t.attributes,a);c?o[c]=r[a]:i[a]=r[a]}return{type:t.name,attributes:o,unregisteredAttributes:i}}({type:u,attributes:Gs({element:i})}),v=Ms(m,h)?h:m;if(o&&-1!==o.indexOf(u)){var b=qs({element:i,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:[].concat(ae(a),[v]),isEditableTree:c,preserveWhiteSpace:l});return Us(s,i,n,b),Ys(s,b),"continue"}var g=$s({element:i,range:n,multilineTag:r,multilineWrapperTags:o,isEditableTree:c,preserveWhiteSpace:l});if(Us(s,i,n,g),v)if(0===g.text.length)v.attributes&&Ys(s,{formats:[,],replacements:[v],text:""});else{function y(e){if(y.formats===e)return y.newFormats;var t=e?[v].concat(ae(e)):[v];return y.formats=e,y.newFormats=t,t}y.newFormats=[v],Ys(s,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ds(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ds(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},g,{formats:Array.from(g.formats,y)}))}else Ys(s,g)},d=0;d<u;d++)f(d);return s}function qs(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,c=e.isEditableTree,l=e.preserveWhiteSpace,s={formats:[],replacements:[],text:""};if(!t||!t.hasChildNodes())return s;for(var u=t.children.length,f=0;f<u;f++){var d=t.children[f];if(d.nodeName.toLowerCase()===r){var p=$s({element:d,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a,isEditableTree:c,preserveWhiteSpace:l});(0!==f||a.length>0)&&Ys(s,{formats:[,],replacements:a.length>0?[a]:[,],text:"\u2028"}),Us(s,d,n,p),Ys(s,p)}}return s}function Gs(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,o=0;o<r;o++){var i=t.attributes[o],a=i.name,c=i.value;0!==a.indexOf("data-rich-text-")&&((n=n||{})[a]=c)}return n}}function Ys(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function Qs(e){var t=e.formats,n=e.start,r=e.end,o=e.activeFormats,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===n)return i;if(n===r){if(o)return o;var a=t[n-1]||i,c=t[n]||i;return a.length<c.length?a:c}return t[n]||i}function Xs(e,t){return Object(E.find)(Qs(e),{type:t})}function Zs(e){return e.text}function Js(e){for(var t=e.start,n=e.text,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,o=r;o--;)if("\u2028"===n[o])return o}function eu(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function tu(e){return 0===e.text.length}function nu(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&"\u2028"===t.slice(0,1)||(n===t.length&&"\u2028"===t.slice(-1)||t.slice(n-1,r+1)==="".concat("\u2028").concat("\u2028"))))}function ru(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 ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ru(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ru(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var c=Object(E.find)(a[n],{type:t});if(c){for(;Object(E.find)(a[n],c);)au(a,n,t),n--;for(r++;Object(E.find)(a[r],c);)au(a,r,t),r++}}else for(var l=n;l<r;l++)a[l]&&au(a,l,t);return Ls(ou({},e,{formats:a,activeFormats:Object(E.reject)(i,{type:t})}))}function au(e,t,n){var r=e[t].filter((function(e){return e.type!==n}));r.length?e[t]=r:delete e[t]}function cu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.replacements,a=e.text;"string"==typeof t&&(t=Fs({text:t}));var c=n+t.text.length;return Ls({formats:o.slice(0,n).concat(t.formats,o.slice(r)),replacements:i.slice(0,n).concat(t.replacements,i.slice(r)),text:a.slice(0,n)+t.text+a.slice(r),start:c,end:c})}function lu(e,t,n){return cu(e,Fs(),t,n)}function su(e,t,n){var r=e.formats,o=e.replacements,i=e.text,a=e.start,c=e.end;return i=i.replace(t,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),l=1;l<t;l++)i[l-1]=arguments[l];var s,u,f=i[i.length-2],d=n;return"function"==typeof d&&(d=n.apply(void 0,[e].concat(i))),"object"===vt(d)?(s=d.formats,u=d.replacements,d=d.text):(s=Array(d.length),u=Array(d.length),r[f]&&(s=s.fill(r[f]))),r=r.slice(0,f).concat(s,r.slice(f+e.length)),o=o.slice(0,f).concat(u,o.slice(f+e.length)),a&&(a=c=f+d.length),d})),Ls({formats:r,replacements:o,text:i,start:a,end:c})}function uu(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 fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uu(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function du(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,o=e.start,i=e.end,a=eu(e),c=o-1,l=a?o-1:o,s=i;if(t||(c=i,l=o,s=a?i+1:i),"\u2028"===r[c]){var u;if(a&&n[c]&&n[c].length){var f=n.slice();f[c]=n[c].slice(0,-1),u=fu({},e,{replacements:f})}else u=lu(e,l,s);return u}}function pu(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 hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pu(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,o=e.replacements,i=e.text;return void 0===t||void 0===n?hu({},e):{formats:r.slice(t,n),replacements:o.slice(t,n),text:i.slice(t,n)}}function vu(e,t){var n=e.formats,r=e.replacements,o=e.text,i=e.start,a=e.end;if("string"!=typeof t)return bu.apply(void 0,arguments);var c=0;return o.split(t).map((function(e){var o=c,l={formats:n.slice(o,o+e.length),replacements:r.slice(o,o+e.length),text:e};return c+=t.length+e.length,void 0!==i&&void 0!==a&&(i>=o&&i<c?l.start=i-o:i<o&&a>o&&(l.start=0),a>=o&&a<c?l.end=a-o:i<c&&a>c&&(l.end=e.length)),l}))}function bu(e){var t=e.formats,n=e.replacements,r=e.text,o=e.start,i=e.end,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,l={formats:t.slice(0,a),replacements:n.slice(0,a),text:r.slice(0,a)},s={formats:t.slice(c),replacements:n.slice(c),text:r.slice(c),start:0,end:0};return[su(l,/\u2028+$/,""),su(s,/^\u2028+/,"")]}function gu(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 yu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gu(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ku(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,o=e.object,i=e.boundaryClass,a=function(e){return Gt("core/rich-text").getFormatType(e)}(t),c={};if(i&&(c["data-rich-text-format-boundary"]="true"),!a)return n&&(c=yu({},n,{},c)),{type:t,attributes:c,object:o};for(var l in c=yu({},r,{},c),n){var s=!!a.attributes&&a.attributes[l];s?c[s]=n[l]:c[l]=n[l]}return a.className&&(c.class?c.class="".concat(a.className," ").concat(c.class):c.class=a.className),{type:a.tagName,object:a.object,attributes:c}}function wu(e){var t,n,r,o=e.value,i=e.multilineTag,a=e.preserveWhiteSpace,c=e.createEmpty,l=e.append,s=e.getLastChild,u=e.getParent,f=e.isText,d=e.getText,p=e.remove,h=e.appendText,m=e.onStartIndex,v=e.onEndIndex,b=e.isEditableTree,g=e.placeholder,y=o.formats,k=o.replacements,w=o.text,O=o.start,_=o.end,j=y.length+1,E=c(),C={type:i},x=Qs(o),S=x[x.length-1];i?(l(l(E,{type:i}),""),n=t=[C]):l(E,"");for(var T=function(e){var o=w.charAt(e),c=b&&(!r||"\u2028"===r||"\n"===r),j=y[e];i&&(j="\u2028"===o?t=(k[e]||[]).reduce((function(e,t){return e.push(t,C),e}),[C]):[].concat(ae(t),ae(j||[])));var x=s(E);if(c&&"\u2028"===o){for(var T=x;!f(T);)T=s(T);l(u(T),"\ufeff")}if("\u2028"===r){for(var z=x;!f(z);)z=s(z);m&&O===e&&m(E,z),v&&_===e&&v(E,z)}if(j&&j.forEach((function(e,t){if(x&&n&&function(e,t,n){do{if(e[n]!==t[n])return!1}while(n--);return!0}(j,n,t)&&("\u2028"!==o||j.length-1!==t))x=s(x);else{var r=e.type,i=e.attributes,a=e.unregisteredAttributes,c=b&&"\u2028"!==o&&e===S,h=u(x),m=l(h,ku({type:r,attributes:i,unregisteredAttributes:a,boundaryClass:c}));f(x)&&0===d(x).length&&p(x),x=l(m,"")}})),"\u2028"===o)return n=j,r=o,"continue";0===e&&(m&&0===O&&m(E,x),v&&0===_&&v(E,x)),""===o?(x=l(u(x),ku(yu({},k[e],{object:!0}))),x=l(u(x),"")):a||"\n"!==o?f(x)?h(x,o):x=l(u(x),o):(x=l(u(x),{type:"br",attributes:b?{"data-rich-text-line-break":"true"}:void 0,object:!0}),x=l(u(x),"")),m&&O===e+1&&m(E,x),v&&_===e+1&&v(E,x),c&&e===w.length&&(l(u(x),"\ufeff"),g&&0===w.length&&l(u(x),{type:"span",attributes:{"data-rich-text-placeholder":g,contenteditable:"false"}})),n=j,r=o},z=0;z<j;z++)T(z);return E}function Ou(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}var _u=window.Node.TEXT_NODE;function ju(e,t,n){for(var r=e.parentNode,o=0;e=e.previousSibling;)o++;return n=[o].concat(ae(n)),r!==t&&(n=ju(r,t,n)),n}function Eu(e,t){for(t=ae(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var Cu=function(){return As(document,"")};function xu(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,o=n.attributes;if(r)for(var i in t=e.ownerDocument.createElement(r),o)t.setAttribute(i,o[i]);return e.appendChild(t)}function Su(e,t){e.appendData(t)}function Tu(e){return e.lastChild}function zu(e){return e.parentNode}function Pu(e){return e.nodeType===_u}function Iu(e){return e.nodeValue}function Mu(e){return e.parentNode.removeChild(e)}function Nu(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,o=e.isEditableTree,i=void 0===o||o,a=e.placeholder,c=[],l=[];return r&&(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ou(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ou(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{formats:r(t)})),{body:wu({value:t,multilineTag:n,createEmpty:Cu,append:xu,getLastChild:Tu,getParent:zu,isText:Pu,getText:Iu,remove:Mu,appendText:Su,onStartIndex:function(e,t){c=ju(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){l=ju(t,e,[t.nodeValue.length])},isEditableTree:i,placeholder:a}),selection:{startPath:c,endPath:l}}}function Lu(e){var t=e.value,n=e.current,r=e.multilineTag,o=e.prepareEditableTree,i=e.__unstableDomOnly,a=Nu({value:t,multilineTag:r,prepareEditableTree:o,placeholder:e.placeholder}),c=a.body,l=a.selection;!function e(t,n){var r,o=0;for(;r=t.firstChild;){var i=n.childNodes[o];if(i)if(i.isEqualNode(r))t.removeChild(r);else if(i.nodeName!==r.nodeName||i.nodeType===_u&&i.data!==r.data)n.replaceChild(r,i);else{var a=i.attributes,c=r.attributes;if(a)for(var l=a.length;l--;){var s=a[l].name;r.getAttribute(s)||i.removeAttribute(s)}if(c)for(var u=0;u<c.length;u++){var f=c[u],d=f.name,p=f.value;i.getAttribute(d)!==p&&i.setAttribute(d,p)}e(r,i),t.removeChild(r)}else n.appendChild(r);o++}for(;n.childNodes[o];)n.removeChild(n.childNodes[o])}(c,n),void 0===t.start||i||function(e,t){var n=e.startPath,r=e.endPath,o=Eu(t,n),i=o.node,a=o.offset,c=Eu(t,r),l=c.node,s=c.offset,u=window.getSelection(),f=t.ownerDocument,d=f.createRange();d.setStart(i,a),d.setEnd(l,s);var p=f.activeElement;if(u.rangeCount>0){if(h=d,m=u.getRangeAt(0),h.startContainer===m.startContainer&&h.startOffset===m.startOffset&&h.endContainer===m.endContainer&&h.endOffset===m.endOffset)return;u.removeAllRanges()}var h,m;u.addRange(d),p!==document.activeElement&&p instanceof window.HTMLElement&&p.focus()}(l,n)}function Au(e){return $u(wu({value:e.value,multilineTag:e.multilineTag,preserveWhiteSpace:e.preserveWhiteSpace,createEmpty:Du,append:Ru,getLastChild:Hu,getParent:Vu,isText:Fu,getText:Uu,remove:Wu,appendText:Bu}).children)}function Du(){return{}}function Hu(e){var t=e.children;return t&&t[t.length-1]}function Ru(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Bu(e,t){e.text+=t}function Vu(e){return e.parent}function Fu(e){return"string"==typeof e.text}function Uu(e){return e.text}function Wu(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function Ku(e){var t=e.type,n=e.attributes,r=e.object,o=e.children,i="";for(var a in n)Ca(a)&&(i+=" ".concat(a,'="').concat(_a(n[a]),'"'));return r?"<".concat(t).concat(i,">"):"<".concat(t).concat(i,">").concat($u(o),"</").concat(t,">")}function $u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return void 0===e.text?Ku(e):Ea(e.text)})).join("")}function qu(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 Gu(e,t){if(!function(e){var t=Js(e);if(void 0===t)return!1;var n=e.replacements,r=Js(e,t),o=n[t]||[],i=n[r]||[];return o.length<=i.length}(e))return e;for(var n=Js(e),r=Js(e,n),o=e.text,i=e.replacements,a=e.end,c=i.slice(),l=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;)if("\u2028"===n[i]){var a=r[i]||[];if(a.length===o.length+1)return i;if(a.length<=o.length)return}}(e,n),s=n;s<a;s++)if("\u2028"===o[s])if(l){var u=i[l]||[];c[s]=u.concat((c[s]||[]).slice(u.length-1))}else{var f=i[r]||[],d=f[f.length-1]||t;c[s]=f.concat([d],(c[s]||[]).slice(f.length))}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{replacements:c})}var Yu=dt((function(e){return function(t){function n(){var e;return pt(this,n),(e=gt(this,yt(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(bt(e)),e.clearTimeout=e.clearTimeout.bind(bt(e)),e}return wt(n,t),mt(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(E.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(b.createElement)(e,ft({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(b.Component)}),"withSafeTimeout"),Qu=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function Xu(e){var t=e.formatTypes,n=e.onChange,r=e.onFocus,o=e.value,i=e.allowedFormats,a=e.withoutInteractiveFormatting;return t.map((function(e){var t=e.name,c=e.edit,l=e.tagName;if(!c)return null;if(i&&-1===i.indexOf(t))return null;if(a&&Qu.has(l))return null;var s=Xs(o,t),u=void 0!==s,f=function(e){var t=e.start,n=e.end,r=e.replacements,o=e.text;if(t+1===n&&""===o[t])return r[t]}(o),d=void 0!==f&&f.type===t;return Object(b.createElement)(c,{key:t,isActive:u,activeAttributes:u&&s.attributes||{},isObjectActive:d,activeObjectAttributes:d&&f.attributes||{},value:o,onChange:n,onFocus:r})}))}function Zu(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 Ju(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zu(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ef(e){return e("core/rich-text").getFormatTypes()}var tf=document.createElement("style");function nf(e){var t=e.activeFormats,n=e.forwardedRef;return Object(b.useEffect)((function(){if(t&&t.length){var e=n.current.querySelector("*[data-rich-text-format-boundary]");if(e){var r=window.getComputedStyle(e).color.replace(")",", 0.2)").replace("rgb","rgba"),o=".rich-text:focus ".concat("*[data-rich-text-format-boundary]"),i="background-color: ".concat(r),a="".concat(o," {").concat(i,"}");tf.innerHTML!==a&&(tf.innerHTML=a)}}}),[t]),null}function rf(e){e.forwardedRef;return Object(b.useEffect)((function(){}),[]),null}function of(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 af(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?of(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}document.head.appendChild(tf);var cf=window,lf=cf.getSelection,sf=cf.getComputedStyle,uf=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),ff={whiteSpace:"pre-wrap"},df=[];function pf(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}var hf=function(e){function t(e){var n,r=e.value,o=e.selectionStart,i=e.selectionEnd;return pt(this,t),(n=gt(this,yt(t).apply(this,arguments))).onFocus=n.onFocus.bind(bt(n)),n.onBlur=n.onBlur.bind(bt(n)),n.onChange=n.onChange.bind(bt(n)),n.handleDelete=n.handleDelete.bind(bt(n)),n.handleEnter=n.handleEnter.bind(bt(n)),n.handleSpace=n.handleSpace.bind(bt(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(bt(n)),n.onPaste=n.onPaste.bind(bt(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(bt(n)),n.onInput=n.onInput.bind(bt(n)),n.onCompositionStart=n.onCompositionStart.bind(bt(n)),n.onCompositionEnd=n.onCompositionEnd.bind(bt(n)),n.onSelectionChange=n.onSelectionChange.bind(bt(n)),n.createRecord=n.createRecord.bind(bt(n)),n.applyRecord=n.applyRecord.bind(bt(n)),n.valueToFormat=n.valueToFormat.bind(bt(n)),n.onPointerDown=n.onPointerDown.bind(bt(n)),n.formatToValue=n.formatToValue.bind(bt(n)),n.Editable=n.Editable.bind(bt(n)),n.onKeyDown=function(e){e.defaultPrevented||(n.handleDelete(e),n.handleEnter(e),n.handleSpace(e),n.handleHorizontalNavigation(e))},n.state={},n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=o,n.record.end=i,n}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange),window.cancelAnimationFrame(this.rafId)}},{key:"componentDidMount",value:function(){this.applyRecord(this.record,{domOnly:!0})}},{key:"createRecord",value:function(){var e=this.props,t=e.__unstableMultilineTag,n=e.forwardedRef,r=e.preserveWhiteSpace,o=lf(),i=o.rangeCount>0?o.getRangeAt(0):null;return Fs({element:n.current,range:i,multilineTag:t,multilineWrapperTags:"li"===t?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:r})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly,r=this.props,o=r.__unstableMultilineTag,i=r.forwardedRef;Lu({value:e,current:i.current,multilineTag:o,multilineWrapperTags:"li"===o?["ul","ol"]:void 0,prepareEditableTree:pf(this.props,"format_prepare_functions"),__unstableDomOnly:n,placeholder:this.props.placeholder})}},{key:"onPaste",value:function(e){var t=this.props,n=t.formatTypes,r=t.onPaste,o=t.__unstableIsSelected,i=this.state.activeFormats,a=void 0===i?[]:i;if(o){var c=e.clipboardData,l=c.items,s=c.files;l=Object(E.isNil)(l)?[]:l,s=Object(E.isNil)(s)?[]:s;var u="",f="";try{u=c.getData("text/plain"),f=c.getData("text/html")}catch(h){try{f=c.getData("Text")}catch(m){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",f),window.console.log("Received plain text:\n\n",u);var d=this.record,p=n.reduce((function(e,t){var n=t.__unstablePasteRule;return n&&e===d&&(e=n(d,{html:f,plainText:u})),e}),d);p===d?r&&(s=Array.from(s),Array.from(l).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,r=t.type,o=t.size;Object(E.find)(s,{name:n,type:r,size:o})||s.push(t)}}})),r({value:this.removeEditorOnlyFormats(d),onChange:this.onChange,html:f,plainText:u,files:s,activeFormats:a})):this.onChange(p)}else e.preventDefault()}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;if(e&&e(),this.props.__unstableIsSelected)this.props.onSelectionChange(this.record.start,this.record.end),this.setState({activeFormats:Qs(af({},this.record,{activeFormats:void 0}),df)});else{var t=df;this.record=af({},this.record,{start:void 0,end:void 0,activeFormats:t}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:t})}this.rafId=window.requestAnimationFrame(this.onSelectionChange),document.addEventListener("selectionchange",this.onSelectionChange),this.props.setFocusedElement&&(tt("wp.blockEditor.RichText setFocusedElement prop",{alternative:"selection state from the block editor store."}),this.props.setFocusedElement(this.props.instanceId))}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){var t;if(!this.isComposing)if(e&&(t=e.inputType),!t&&e&&e.nativeEvent&&(t=e.nativeEvent.inputType),!t||0!==t.indexOf("format")&&!uf.has(t)){var n=this.createRecord(),r=this.record,o=r.start,i=r.activeFormats,a=void 0===i?[]:i,c=function(e){var t=e.value,n=e.start,r=e.end,o=e.formats,i=t.formats[n-1]||[],a=t.formats[r]||[];for(t.activeFormats=o.map((function(e,t){if(i[t]){if(Ms(e,i[t]))return i[t]}else if(a[t]&&Ms(e,a[t]))return a[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:n,start:o,end:n.start,formats:a});this.onChange(c,{withoutHistory:!0});var l=this.props,s=l.__unstableInputRule,u=l.__unstableMarkAutomaticChange,f=l.__unstableAllowPrefixTransformations,d=l.formatTypes,p=l.setTimeout;if((0,l.clearTimeout)(this.onInput.timeout),this.onInput.timeout=p(this.onCreateUndoLevel,1e3),"insertText"===t){f&&s&&s(c,this.valueToFormat);var h=d.reduce((function(e,t){var n=t.__unstableInputRule;return n&&(e=n(e)),e}),c);h!==c&&(this.onCreateUndoLevel(),this.onChange(af({},h,{activeFormats:a})),u())}}else this.applyRecord(this.record)}},{key:"onCompositionStart",value:function(){this.isComposing=!0,document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onCompositionEnd",value:function(){this.isComposing=!1,this.onInput({inputType:"insertText"}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(e){if(("selectionchange"===e.type||this.props.__unstableIsSelected)&&!this.props.disabled&&!this.isComposing){var t=this.createRecord(),n=t.start,r=t.end,o=t.text,i=this.record;if(o===i.text)if(n!==i.start||r!==i.end){var a=this.props,c=a.__unstableIsCaretWithinFormattedText,l=a.__unstableOnEnterFormattedText,s=a.__unstableOnExitFormattedText,u=af({},i,{start:n,end:r,activeFormats:void 0}),f=Qs(u,df);u.activeFormats=f,!c&&f.length?l():c&&!f.length&&s(),this.record=u,this.applyRecord(u,{domOnly:!0}),this.props.onSelectionChange(n,r),this.setState({activeFormats:f})}else 0===i.text.length&&0===n&&function(){var e=window.getSelection(),t=e.anchorNode,n=e.anchorOffset;if(t.nodeType===t.ELEMENT_NODE){var r=t.childNodes[n];r&&r.nodeType===r.ELEMENT_NODE&&r.getAttribute("data-rich-text-placeholder")&&e.collapseToStart()}}();else this.onInput()}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,o=e.end,i=e.activeFormats,a=void 0===i?[]:i,c=Object(E.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(c).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onSelectionChange(r,o),this.props.onChange(this.value),this.setState({activeFormats:a}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.__unstableOnCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"handleDelete",value:function(e){var t=e.keyCode;if(46===t||t===Un||27===t){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(27!==t){var n,r=this.props,o=r.onDelete,i=r.__unstableMultilineTag,a=this.state.activeFormats,c=void 0===a?[]:a,l=this.createRecord(),s=l.start,u=l.end,f=l.text,d=t===Un;if(0===s&&0!==u&&u===f.length)return this.onChange(lu(l)),void e.preventDefault();if(i)if(n=d&&0===l.start&&0===l.end&&nu(l)?du(l,!d):du(l,d))return this.onChange(n),void e.preventDefault();!o||!eu(l)||c.length||d&&0!==s||!d&&u!==f.length||(o({isReverse:d,value:l}),e.preventDefault())}}}},{key:"handleEnter",value:function(e){if(e.keyCode===Wn){e.preventDefault();var t=this.props.onEnter;t&&t({value:this.removeEditorOnlyFormats(this.createRecord()),onChange:this.onChange,shiftKey:e.shiftKey})}}},{key:"handleSpace",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,o=e.metaKey,i=e.ctrlKey,a=this.props,c=a.tagName,l=a.__unstableMultilineTag;if(!(n||r||o||i||32!==t||"li"!==l)){var s=this.createRecord();if(eu(s)){var u=s.text[s.start-1];u&&"\u2028"!==u||(this.onChange(Gu(s,{type:c})),e.preventDefault())}}}},{key:"handleHorizontalNavigation",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,o=e.metaKey,i=e.ctrlKey;if(!(n||r||o||i||t!==Kn&&t!==qn)){var a=this.record,c=a.text,l=a.formats,s=a.start,u=a.end,f=a.activeFormats,d=void 0===f?[]:f,p=eu(a),h="rtl"===sf(this.props.forwardedRef.current).direction?qn:Kn,m=e.keyCode===h;if(p&&0===d.length){if(0===s&&m)return;if(u===c.length&&!m)return}if(p){e.preventDefault();var v=l[s-1]||df,b=l[s]||df,g=d.length,y=b;if(v.length>b.length&&(y=v),v.length<b.length?(!m&&d.length<b.length&&g++,m&&d.length>v.length&&g--):v.length>b.length&&(!m&&d.length>b.length&&g--,m&&d.length<v.length&&g++),g!==d.length){var k=y.slice(0,g),w=af({},a,{activeFormats:k});return this.record=w,this.applyRecord(w),void this.setState({activeFormats:k})}var O=s+(m?-1:1),_=m?v:b,j=af({},a,{start:O,end:O,activeFormats:_});this.record=j,this.applyRecord(j),this.props.onSelectionChange(O,O),this.setState({activeFormats:_})}}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.props.forwardedRef.current&&!t.textContent){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t),o=t.ownerDocument.createRange(),i=lf();o.setStart(t.parentNode,r),o.setEnd(t.parentNode,r+1),i.removeAllRanges(),i.addRange(o)}}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.tagName,r=t.value,o=t.selectionStart,i=t.selectionEnd,a=t.placeholder,c=t.__unstableIsSelected,l=n!==e.tagName;l=l||r!==e.value&&r!==this.value;var s=o!==e.selectionStart&&o!==this.record.start||i!==e.selectionEnd&&i!==this.record.end;l=l||c&&!e.isSelected&&s;var u=function(e,t){return t.startsWith("format_prepare_props_")},f=Object(E.pickBy)(this.props,u),d=Object(E.pickBy)(e,u);(l=(l=l||!_t()(f,d))||a!==e.placeholder)?(this.value=r,this.record=this.formatToValue(r),this.record.start=o,this.record.end=i,this.applyRecord(this.record)):s&&(this.record=af({},this.record,{start:o,end:i}))}},{key:"formatToValue",value:function(e){var t=this.props,n=t.format,r=t.__unstableMultilineTag,o=t.preserveWhiteSpace;if("string"!==n)return e;var i=pf(this.props,"format_value_functions");return(e=Fs({html:e,multilineTag:r,multilineWrapperTags:"li"===r?["ul","ol"]:void 0,preserveWhiteSpace:o})).formats=i(e),e}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach((function(t){t.__experimentalCreatePrepareEditableTree&&(e=iu(e,t.name,0,e.text.length))})),e}},{key:"valueToFormat",value:function(e){var t=this.props,n=t.format,r=t.__unstableMultilineTag,o=t.preserveWhiteSpace;if(e=this.removeEditorOnlyFormats(e),"string"===n)return Au({value:e,multilineTag:r,preserveWhiteSpace:o})}},{key:"Editable",value:function(e){var t=this,n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,a=n.className,c=n.placeholder,l=n.forwardedRef,s=n.disabled,u=Object(E.pickBy)(this.props,(function(e,t){return Object(E.startsWith)(t,"aria-")}));return Object(b.createElement)(o,ft({role:"textbox","aria-multiline":!0,"aria-label":c},e,u,{ref:l,style:i?af({},i,{whiteSpace:"pre-wrap"}):ff,className:un()("rich-text",a),onPaste:this.onPaste,onInput:this.onInput,onCompositionStart:this.onCompositionStart,onCompositionEnd:this.onCompositionEnd,onKeyDown:e.onKeyDown?function(n){e.onKeyDown(n),t.onKeyDown(n)}:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onMouseDown:this.onPointerDown,onTouchStart:this.onPointerDown,onKeyUp:this.onSelectionChange,onMouseUp:this.onSelectionChange,onTouchEnd:this.onSelectionChange,contentEditable:!s||void 0,suppressContentEditableWarning:!s}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.__unstableIsSelected,r=t.children,o=t.allowedFormats,i=t.withoutInteractiveFormatting,a=t.formatTypes,c=t.forwardedRef,l=this.state.activeFormats,s=function(){c.current.focus(),e.applyRecord(e.record)};return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(nf,{activeFormats:l,forwardedRef:c}),Object(b.createElement)(rf,{forwardedRef:c}),n&&Object(b.createElement)(Xu,{allowedFormats:o,withoutInteractiveFormatting:i,value:this.record,onChange:this.onChange,onFocus:s,formatTypes:a}),r&&r({isSelected:n,value:this.record,onChange:this.onChange,onFocus:s,Editable:this.Editable}),!r&&Object(b.createElement)(this.Editable,null))}}]),t}(b.Component);hf.defaultProps={format:"string",value:""};var mf=C([Yu,function(e){return function(t){var n=t.clientId,r=t.identifier,o=Vt(ef,[]),i=Vt((function(e){return o.reduce((function(t,o){if(!o.__experimentalGetPropsForEditableTreePreparation)return t;var i="format_prepare_props_(".concat(o.name,")_");return Ju({},t,{},Object(E.mapKeys)(o.__experimentalGetPropsForEditableTreePreparation(e,{richTextIdentifier:r,blockClientId:n}),(function(e,t){return i+t})))}),{})}),[o,n,r]),a=Kt((function(e){return o.reduce((function(t,o){if(!o.__experimentalGetPropsForEditableTreeChangeHandler)return t;var i="format_on_change_props_(".concat(o.name,")_");return Ju({},t,{},Object(E.mapKeys)(o.__experimentalGetPropsForEditableTreeChangeHandler(e,{richTextIdentifier:r,blockClientId:n}),(function(e,t){return i+t})))}),{})}),[o,n,r]),c=Object(b.useMemo)((function(){return o.reduce((function(e,t){if(!t.__experimentalCreatePrepareEditableTree)return e;var o,c={richTextIdentifier:r,blockClientId:n},l=Ju({},i,{},a),s=t.name,u="format_prepare_props_(".concat(s,")_"),f="format_on_change_props_(".concat(s,")_"),d=Object.keys(l).reduce((function(e,t){return t.startsWith(u)&&(e[t.slice(u.length)]=l[t]),t.startsWith(f)&&(e[t.slice(f.length)]=l[t]),e}),{});return t.__experimentalCreateOnChangeEditableValue?Ju({},e,(N(o={},"format_value_functions_(".concat(s,")"),t.__experimentalCreatePrepareEditableTree(d,c)),N(o,"format_on_change_functions_(".concat(s,")"),t.__experimentalCreateOnChangeEditableValue(d,c)),o)):Ju({},e,N({},"format_prepare_functions_(".concat(s,")"),t.__experimentalCreatePrepareEditableTree(d,c)))}),{})}),[o,n,r,i,a]);return Object(b.createElement)(e,ft({},t,i,c,{formatTypes:o}))}}])(hf),vf=Object(b.forwardRef)((function(e,t){return Object(b.createElement)(mf,ft({},e,{forwardedRef:t}))}));function bf(e){return{type:"SET_IS_MATCHING",values:e}}function gf(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}Qt("core/viewport",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_MATCHING":return t.values}return e},actions:f,selectors:d});var yf=function(e){return dt((function(t){return function(n){return e(n)?Object(b.createElement)(t,n):null}}),"ifCondition")},kf=function(e){return dt((function(t){return jt((function(n){var r=Object(E.mapValues)(e,(function(e){var t=M(e.split(" "),2),n=t[0],r=t[1];return void 0===r&&(r=n,n=">="),sr(r,n)}));return Object(b.createElement)(t,ft({},n,r))}))}),"withViewportMatch")};function wf(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 Of(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wf(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(function(e,t){var n=Object(E.debounce)((function(){var e=Object(E.mapValues)(r,(function(e){return e.matches}));Yt("core/viewport").setIsMatching(e)}),{leading:!0}),r=Object(E.reduce)(e,(function(e,r,o){return Object(E.forEach)(t,(function(t,i){var a=window.matchMedia("(".concat(t,": ").concat(r,"px)"));a.addListener(n);var c=[i,o].join(" ");e[c]=a})),e}),{});window.addEventListener("orientationchange",n),n(),n.flush()})({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"});var _f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REGISTER_SHORTCUT":return Of({},e,N({},t.name,{category:t.category,keyCombination:t.keyCombination,aliases:t.aliases,description:t.description}));case"UNREGISTER_SHORTCUT":return Object(E.omit)(e,t.name)}return e};function jf(e){var t=e.name,n=e.category,r=e.description;return{type:"REGISTER_SHORTCUT",name:t,category:n,keyCombination:e.keyCombination,aliases:e.aliases,description:r}}function Ef(e){return{type:"UNREGISTER_SHORTCUT",name:e}}var Cf=[],xf={display:tr,raw:Jn,ariaLabel:nr};function Sf(e,t){return e?e.modifier?xf[t][e.modifier](e.character):e.character:null}function Tf(e,t){return e[t]?e[t].keyCombination:null}function zf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"display",r=Tf(e,t);return Sf(r,n)}function Pf(e,t){return e[t]?e[t].description:null}function If(e,t){return e[t]&&e[t].aliases?e[t].aliases:Cf}var Mf=No((function(e,t){return Object(E.compact)([Sf(Tf(e,t),"raw")].concat(ae(If(e,t).map((function(e){return Sf(e,"raw")})))))}),(function(e,t){return[e[t]]})),Nf=No((function(e,t){return Object.entries(e).filter((function(e){return M(e,2)[1].category===t})).map((function(e){return M(e,1)[0]}))}),(function(e){return[e]})),Lf=(Qt("core/keyboard-shortcuts",{reducer:_f,actions:p,selectors:h}),n(51)),Af=n.n(Lf);n(81);function Df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(E.includes)(["iPad","iPhone"],t)}var Hf=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.bindGlobal,o=void 0!==r&&r,i=n.eventName,a=void 0===i?"keydown":i,c=n.isDisabled,l=void 0!==c&&c,s=n.target;Object(b.useEffect)((function(){if(!l){var n=new Af.a(s?s.current:document);return Object(E.castArray)(e).forEach((function(e){var r=e.split("+"),i=new Set(r.filter((function(e){return e.length>1}))),c=i.has("alt"),l=i.has("shift");if(Df()&&(1===i.size&&c||2===i.size&&c&&l))throw new Error("Cannot bind ".concat(e,". Alt and Shift+Alt modifiers are reserved for character input."));n[o?"bindGlobal":"bind"](e,t,a)})),function(){n.reset()}}}),[e,o,a,t,s,l])};var Rf=function(e,t,n){var r=Vt((function(t){return t("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations(e)}),[e]);Hf(r,t,n)};var Bf=Object(b.createElement)(vr,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(dr,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),Vf=Object(b.createElement)(vr,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(dr,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),Ff=function(e){function t(e){var n;return pt(this,t),(n=gt(this,yt(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(bt(n)),n}return wt(t,e),mt(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState((function(e){return{opened:!e.opened}})),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,c=void 0===r?this.state.opened:r,l=un()("components-panel__body",o,{"is-opened":c});return Object(b.createElement)("div",{className:l,ref:a},!!t&&Object(b.createElement)("h2",{className:"components-panel__body-title"},Object(b.createElement)(yo,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":c},Object(b.createElement)("span",{"aria-hidden":"true"},Object(b.createElement)(bo,{className:"components-panel__arrow",icon:c?Bf:Vf})),t,i&&Object(b.createElement)(bo,{icon:i,className:"components-panel__icon",size:20}))),c&&n)}}]),t}(b.Component),Uf=function(e,t){return Object(b.createElement)(Ff,ft({},e,{forwardedRef:t}))};Uf.displayName="PanelBody";var Wf=Object(b.forwardRef)(Uf);function Kf(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}var $f=function(e){var t=e.as;return function(e){var t=e.as,n=void 0===t?"div":t,r=ln(e,["as"]);return"function"==typeof r.children?r.children(r):Object(b.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kf(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:void 0===t?"div":t,className:"components-visually-hidden"},ln(e,["as"])))};function qf(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,o=e.help,i=e.className,a=e.children;return Object(b.createElement)("div",{className:un()("components-base-control",i)},Object(b.createElement)("div",{className:"components-base-control__field"},n&&t&&(r?Object(b.createElement)($f,{as:"label",htmlFor:t},n):Object(b.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?Object(b.createElement)($f,{as:"label"},n):Object(b.createElement)(qf.VisualLabel,null,n)),a),!!o&&Object(b.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))}qf.VisualLabel=function(e){var t=e.className,n=e.children;return t=un()("components-base-control__label",t),Object(b.createElement)("span",{className:t},n)};var Gf=qf;var Yf=function(e){var t=e.className,n=ln(e,["className"]),r=un()("components-button-group",t);return Object(b.createElement)("div",ft({},n,{className:r,role:"group"}))};function Qf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?bi()(e.hex):bi()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var i=n.toRgb(),a=n.toHex();0===r.s&&(r.h=t||0,o.h=t||0);var c="000000"===a&&0===i.a;return{color:n,hex:c?"transparent":"#".concat(a),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:i,source:e.source}}function Xf(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,i=n.width,a=n.height,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=c-(r+window.pageXOffset),u=l-(o+window.pageYOffset);return s<0?s=0:s>i?s=i:u<0?u=0:u>a&&(u=a),{top:u,left:s,width:i,height:a}}function Zf(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&bi()(e).isValid()}function Jf(e){var t=e.target,n=e.callback,r=e.shortcut,o=e.bindGlobal,i=e.eventName;return Hf(r,n,{bindGlobal:o,target:t,eventName:i}),null}var ed=function(e){var t=e.children,n=e.shortcuts,r=e.bindGlobal,o=e.eventName,i=Object(b.useRef)(),a=Object(E.map)(n,(function(e,t){return Object(b.createElement)(Jf,{key:t,shortcut:t,callback:e,bindGlobal:r,eventName:o,target:i})}));return b.Children.count(t)?Object(b.createElement)("div",{ref:i},a,t):a},td=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).container=Object(b.createRef)(),e.increase=e.increase.bind(bt(e)),e.decrease=e.decrease.bind(bt(e)),e.handleChange=e.handleChange.bind(bt(e)),e.handleMouseDown=e.handleMouseDown.bind(bt(e)),e.handleMouseUp=e.handleMouseUp.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?E.noop:r;e=parseInt(100*e,10);var i={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?E.noop:r,i=parseInt(100*n.a,10)-parseInt(100*e,10),a={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:i/100,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?E.noop:t,r=function(e,t,n){var r=Xf(e,n),o=r.left,i=r.width,a=o<0?0:Math.round(100*o/i)/100;return t.hsl.a!==a?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(b.createElement)(ed,{shortcuts:i},Object(b.createElement)("div",{className:"components-color-picker__alpha"},Object(b.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(b.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(b.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":w("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(b.Component),nd=jt(td),rd=new WeakMap;function od(e){return Object(b.useMemo)((function(){return function(e){var t=rd.get(e)||0;return rd.set(e,t+1),t}(e)}),[e])}var id=dt((function(e){return function(t){var n=od(e);return Object(b.createElement)(e,ft({},t,{instanceId:n}))}}),"withInstanceId"),ad=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).container=Object(b.createRef)(),e.increase=e.increase.bind(bt(e)),e.decrease=e.decrease.bind(bt(e)),e.handleChange=e.handleChange.bind(bt(e)),e.handleMouseDown=e.handleMouseDown.bind(bt(e)),e.handleMouseUp=e.handleMouseUp.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?E.noop:r,i={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?E.noop:r,i={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?E.noop:t,r=function(e,t,n){var r=Xf(e,n),o=r.left,i=r.width,a=o>=i?359:360*(100*o/i)/100;return t.hsl.h!==a?{h:a,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,i={left:"".concat(100*r.h/360,"%")},a={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(b.createElement)(ed,{shortcuts:a},Object(b.createElement)("div",{className:"components-color-picker__hue"},Object(b.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(b.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(b.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":w("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(b.createElement)($f,{as:"p",id:"components-color-picker__hue-description-".concat(o)},w("Move the arrow left or right to change hue.")))))}}]),t}(b.Component),cd=C(jt,id)(ad);var ld,sd=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document.querySelector("body");return n&&n.appendChild(t),t},ud=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},fd="",dd=function(e){return e=e.replace(/<[^<>]+>/g," "),fd===e&&(e+=" "),fd=e,e};ld=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&sd("polite"),null===t&&sd("assertive")},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",ld):ld();var pd=function(e,t){ud(),e=dd(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)};function hd(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,o=e.help,i=e.className,a=e.onChange,c=e.type,l=void 0===c?"text":c,s=ln(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),u=od(hd),f="inspector-text-control-".concat(u);return Object(b.createElement)(Gf,{label:t,hideLabelFromVision:n,id:f,help:o,className:i},Object(b.createElement)("input",ft({className:"components-text-control__input",type:l,id:f,value:r,onChange:function(e){return a(e.target.value)},"aria-describedby":o?f+"__help":void 0},s)))}var md=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(bt(e)),e.handleChange=e.handleChange.bind(bt(e)),e.handleKeyDown=e.handleKeyDown.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&Zf(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===Wn||t===$n||t===Gn){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,o=ln(t,["label","value"]);return Object(b.createElement)(hd,ft({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(E.omit)(o,["onChange","valueKey","source"])))}}]),t}(b.Component),vd=jt(yo),bd=function(e){function t(e){var n,r=e.hsl;pt(this,t),n=gt(this,yt(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(bt(n)),n.resetDraftValues=n.resetDraftValues.bind(bt(n)),n.handleChange=n.handleChange.bind(bt(n)),n.normalizeValue=n.normalizeValue.bind(bt(n)),n}return wt(t,e),mt(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),pd(w("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),pd(w("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),pd(w("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),pd(w("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t<0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(b.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(b.createElement)(md,{source:this.state.view,label:w("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(b.createElement)("fieldset",null,Object(b.createElement)($f,{as:"legend"},w("Color value in RGB")),Object(b.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(b.createElement)(md,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(b.createElement)(md,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(b.createElement)(md,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(b.createElement)(md,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(b.createElement)("fieldset",null,Object(b.createElement)($f,{as:"legend"},w("Color value in HSL")),Object(b.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(b.createElement)(md,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(b.createElement)(md,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(b.createElement)(md,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(b.createElement)(md,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(b.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(b.createElement)("div",{className:"components-color-picker__inputs-toggle-wrapper"},Object(b.createElement)(vd,{className:"components-color-picker__inputs-toggle",icon:Vf,label:w("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(b.Component),gd=function(e){function t(e){var n;return pt(this,t),(n=gt(this,yt(t).call(this,e))).throttle=Object(E.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(b.createRef)(),n.saturate=n.saturate.bind(bt(n)),n.brighten=n.brighten.bind(bt(n)),n.handleChange=n.handleChange.bind(bt(n)),n.handleMouseDown=n.handleMouseDown.bind(bt(n)),n.handleMouseUp=n.handleMouseUp.bind(bt(n)),n}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?E.noop:r,i=Object(E.clamp)(n.s+Math.round(100*e),0,100),a={h:n.h,s:i,v:n.v,a:n.a,source:"rgb"};o(a)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?E.noop:r,i=Object(E.clamp)(n.v+Math.round(100*e),0,100),a={h:n.h,s:n.s,v:i,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?E.noop:t,r=function(e,t,n){var r=Xf(e,n),o=r.top,i=r.left,a=r.width,c=r.height,l=i<0?0:100*i/a,s=o>=c?0:-100*o/c+100;return s<1&&(s=0),{h:t.hsl.h,s:l,v:s,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},a={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(b.createElement)(ed,{shortcuts:a},Object(b.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(b.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(b.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(b.createElement)(yo,{"aria-label":w("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(b.createElement)($f,{id:"color-picker-saturation-".concat(o)},w("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(b.Component),yd=C(jt,id)(gd);function kd(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 wd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kd(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Od=function(e){return String(e).toLowerCase()},_d=function(e){return e.hex?Zf(e.hex):(t=e,n=0,r=0,Object(E.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},jd=function(e,t){var n=t.source,r=t.valueKey,o=t.value;return"hex"===n?N({source:n},n,o):wd({source:n},wd({},e[n],{},N({},r,o)))},Ed=function(e){function t(e){var n,r=e.color,o=void 0===r?"0071a1":r;pt(this,t),n=gt(this,yt(t).apply(this,arguments));var i=Qf(o);return n.state=wd({},i,{draftHex:Od(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(bt(n)),n.setDraftValues=n.setDraftValues.bind(bt(n)),n.resetDraftValues=n.resetDraftValues.bind(bt(n)),n.handleInputChange=n.handleInputChange.bind(bt(n)),n}return wt(t,e),mt(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,r=t.onChangeComplete,o=void 0===r?E.noop:r;if(_d(e)){var i=Qf(e,e.h||n);this.setState(wd({},i,{draftHex:Od(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(E.debounce)(Object(E.partial)(o,i),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:Od(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=jd(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(jd(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,o=r.color,i=r.hsl,a=r.hsv,c=r.rgb,l=r.draftHex,s=r.draftHsl,u=r.draftRgb,f=un()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(b.createElement)("div",{className:f},Object(b.createElement)("div",{className:"components-color-picker__saturation"},Object(b.createElement)(yd,{hsl:i,hsv:a,onChange:this.commitValues})),Object(b.createElement)("div",{className:"components-color-picker__body"},Object(b.createElement)("div",{className:"components-color-picker__controls"},Object(b.createElement)("div",{className:"components-color-picker__swatch"},Object(b.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:o&&o.toRgbString()}})),Object(b.createElement)("div",{className:"components-color-picker__toggles"},Object(b.createElement)(cd,{hsl:i,onChange:this.commitValues}),n?null:Object(b.createElement)(nd,{rgb:c,hsl:i,onChange:this.commitValues}))),Object(b.createElement)(bd,{rgb:u,hsl:s,hex:l,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(b.Component);function Cd(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}var xd=function(e){var t=e.icon,n=e.size,r=void 0===n?24:n,o=ln(e,["icon","size"]);return Object(b.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cd(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:r,height:r},o))},Sd=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2"})),Td=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).toggle=e.toggle.bind(bt(e)),e.close=e.close.bind(bt(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(bt(e)),e.containerRef=Object(b.createRef)(),e.state={isOpen:!1},e}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,o=t.position,i=void 0===o?"bottom":o,a=t.className,c=t.contentClassName,l=t.expandOnMobile,s=t.headerTitle,u=t.focusOnMount,f=t.popoverProps,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(b.createElement)("div",{className:un()("components-dropdown",a),ref:this.containerRef},r(d),e&&Object(b.createElement)(uo,ft({className:c,position:i,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:s,focusOnMount:u},f),n(d)))}}]),t}(b.Component);function zd(e){var t=e.actions,n=e.className,r=e.options,o=e.children;return Object(b.createElement)("div",{className:un()("components-circular-option-picker",n)},r,o,t&&Object(b.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}function Pd(e){var t=e.clearable,n=void 0===t||t,r=e.className,o=e.colors,i=e.disableCustomColors,a=void 0!==i&&i,c=e.onChange,l=e.value,s=Object(b.useCallback)((function(){return c(void 0)}),[c]),u=Object(b.useMemo)((function(){return Object(E.map)(o,(function(e){var t=e.color,n=e.name;return Object(b.createElement)(zd.Option,{key:t,isSelected:l===t,tooltipText:n||w("Color code: %s"),style:{color:t},onClick:l===t?s:function(){return c(t)},"aria-label":w(n?"Color: %s":"Color code: %s")})}))}),[o,l,c,s]),f=Object(b.useCallback)((function(){return Object(b.createElement)(Ed,{color:l,onChangeComplete:function(e){return c(e.hex)},disableAlpha:!0})}),[l]);return Object(b.createElement)(zd,{className:r,options:u,actions:Object(b.createElement)(b.Fragment,null,!a&&Object(b.createElement)(zd.DropdownLinkAction,{dropdownProps:{renderContent:f,contentClassName:"components-color-palette__picker"},buttonProps:{"aria-label":w("Custom color picker")},linkText:w("Custom color")}),!!n&&Object(b.createElement)(zd.ButtonAction,{onClick:s},w("Clear")))})}zd.Option=function(e){var t=e.className,n=e.isSelected,r=e.tooltipText,o=ln(e,["className","isSelected","tooltipText"]),i=Object(b.createElement)(yo,ft({isPressed:n,className:un()(t,"components-circular-option-picker__option")},o));return Object(b.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},r?Object(b.createElement)(po,{text:r},i):i,n&&Object(b.createElement)(xd,{icon:Sd}))},zd.ButtonAction=function(e){var t=e.className,n=e.children,r=ln(e,["className","children"]);return Object(b.createElement)(yo,ft({className:un()("components-circular-option-picker__clear",t),isSmall:!0,isSecondary:!0},r),n)},zd.DropdownLinkAction=function(e){var t=e.buttonProps,n=e.className,r=e.dropdownProps,o=e.linkText;return Object(b.createElement)(Td,ft({className:un()("components-circular-option-picker__dropdown-link-action",n),renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(b.createElement)(yo,ft({"aria-expanded":n,onClick:r,isLink:!0},t),o)}},r))};"undefined"!=typeof window?b.useLayoutEffect:b.useEffect;id((function(e){var t=e.instanceId,n="linear-gradient-".concat(t);return Object(b.createElement)(vr,{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(hr,{id:n,gradientUnits:"userSpaceOnUse",x1:"10",x2:"10",y1:"1",y2:"19"},Object(b.createElement)(mr,{offset:"0",stopColor:"#000000"}),Object(b.createElement)(mr,{offset:"1",stopColor:"#ffffff"})),Object(b.createElement)(dr,{d:"m1 1h18v18h-18z",fill:"url(#".concat(n,")")}))})),id((function(e){var t=e.instanceId,n="radial-gradient-".concat(t);return Object(b.createElement)(vr,{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(pr,{id:n,cx:"0",cy:"0",gradientTransform:"matrix(0 9 -9 0 10 10)",gradientUnits:"userSpaceOnUse",r:"1"},Object(b.createElement)(mr,{offset:"0",stopColor:"#000000"}),Object(b.createElement)(mr,{offset:"1",stopColor:"#ffffff"})),Object(b.createElement)(fr,{cx:"10",cy:"10",fill:"url(#".concat(n,")"),r:"9"}))}));var Id=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}));n(33);function Md(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 Nd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Md(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Md(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ld(e,t,n){return Nd({},e,{colorStops:e.colorStops.map((function(e,r){return r!==t?e:Nd({},e,{length:Nd({},e.length,{value:n})})}))})}function Ad(e,t,n){var r=parseInt(e.colorStops[n].length.value),o=Math.min(r,t),i=Math.max(r,t);return Object(E.some)(e.colorStops,(function(e,r){var a=e.length,c=parseInt(a.value);return r!==n&&(Math.abs(c-t)<9||o<c&&c<i)}))}function Dd(e,t,n){var r=e.colorStops[t].length.value,o=Math.max(0,Math.min(100,parseInt(r)+n));return Ad(e,o,t)?e:Ld(e,t,o)}b.Component;function Hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rd(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 Bd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rd(Object(n),!0).forEach((function(t){Hd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vd(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Fd=Object(b.createContext)({});var Ud=function(e,t,n){void 0===n&&(n=t.children);var r=Object(b.useContext)(Fd);if(r.useCreateElement)return r.useCreateElement(e,t,n);if(function(e){return"function"==typeof e}(n)){t.children;return n(Vd(t,["children"]))}return Object(b.createElement)(e,t,n)};function Wd(e,t){for(var n={},r={},o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];t.indexOf(a)>=0?n[a]=e[a]:r[a]=e[a]}return[n,r]}function Kd(e){var t,n=e.as,r=e.useHook,o=e.keys,i=void 0===o?r&&r.__keys||[]:o,a=e.propsAreEqual,c=void 0===a?r&&r.__propsAreEqual:a,l=e.useCreateElement,s=void 0===l?Ud:l,u=function(e,t){var o=e.as,a=void 0===o?n:o,c=Vd(e,["as"]);if(r){var l=Wd(c,i),u=l[0],f=l[1],d=r(u,Bd({ref:t},f)),p=d.wrapElement,h=Vd(d,["wrapElement"]),m=a.render?a.render.__keys:a.__keys,v=m?Wd(c,m)[0]:{},b=s(a,Bd({},h,{},v));return p?p(b):b}return s(a,c)};return u.__keys=i,function(e,t){return Object(b.memo)(e,t)}((t=u,Object(b.forwardRef)(t)),c)}function $d(e,t){Object(b.useDebugValue)(e);var n=Object(b.useContext)(Fd);return null!=n[e]?n[e]:t}function qd(e){return"object"==typeof e&&null!=e}function Gd(e){var t,n=(t=e.compose,Array.isArray(t)?t:void 0!==t?[t]:[]),r=function(t,n){return e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Options";Object(b.useDebugValue)(r);var o=$d(r);return o?Bd({},t,{},o(t,n)):t}(e.name,t,n)),t},o=function(t,o,i){return void 0===t&&(t={}),void 0===o&&(o={}),void 0===i&&(i=!1),i||(t=r(t,o)),e.compose&&n.forEach((function(e){t=e.__useOptions(t,o)})),e.useProps&&(o=e.useProps(t,o)),e.name&&(o=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Props";Object(b.useDebugValue)(r);var o=$d(r);return o?o(t,n):n}(e.name,t,o)),e.compose&&(e.useComposeOptions&&(t=e.useComposeOptions(t,o)),n.forEach((function(e){o=e(t,o,!0)}))),o};return o.__useOptions=r,o.__keys=[].concat(n.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]),e.useState?e.useState.__keys:[],e.keys||[]),Boolean(e.propsAreEqual||n.find((function(e){return Boolean(e.__propsAreEqual)})))&&(o.__propsAreEqual=function(t,r){var o=e.propsAreEqual&&e.propsAreEqual(t,r);if(null!=o)return o;var i=n,a=Array.isArray(i),c=0;for(i=a?i:i[Symbol.iterator]();;){var l;if(a){if(c>=i.length)break;l=i[c++]}else{if((c=i.next()).done)break;l=c.value}var s=l.__propsAreEqual,u=s&&s(t,r);if(null!=u)return u}return function e(t,n,r){if(void 0===r&&(r=1),t===n)return!0;if(!t||!n)return!1;var o=Object.keys(t),i=Object.keys(n),a=o.length;if(i.length!==a)return!1;for(var c=0,l=o;c<l.length;c++){var s=l[c];if(t[s]!==n[s]&&!(r&&qd(t[s])&&qd(n[s])&&e(t[s],n[s],r-1)))return!1}return!0}(t,r)}),o}function Yd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qd(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 Xd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qd(Object(n),!0).forEach((function(t){Yd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zd(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Jd(e,t){void 0===t&&(t=null),e&&("function"==typeof e?e(t):e.current=t)}function ep(e,t){return Object(b.useMemo)((function(){return null==e&&null==t?null:function(n){Jd(e,n),Jd(t,n)}}),[e,t])}function tp(e){return e?e.ownerDocument||e:window.document}function np(e){var t=tp(e);return!!t.activeElement&&e.contains(t.activeElement)}var rp=Gd({name:"Box",keys:["unstable_system"]}),op=(Kd({as:"div",useHook:rp}),["button","color","file","image","reset","submit"]);var ip="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function ap(e){return e.matches(ip)&&function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}(e)}function cp(e){return"BUTTON"===e.tagName||"INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||"A"===e.tagName||"AUDIO"===e.tagName||"VIDEO"===e.tagName}function lp(e){return"undefined"!=typeof window&&-1!==window.navigator.userAgent.indexOf(e)}var sp=lp("Mac")&&(lp("Safari")||lp("Firefox")),up=Gd({name:"Tabbable",compose:rp,keys:["disabled","focusable","unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e,t){var n=t.disabled,r=e.unstable_clickOnEnter,o=void 0===r||r,i=e.unstable_clickOnSpace;return Xd({disabled:n,unstable_clickOnEnter:o,unstable_clickOnSpace:void 0===i||i},Zd(e,["unstable_clickOnEnter","unstable_clickOnSpace"]))},useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=t.onClick,i=t.onMouseDown,a=t.onKeyDown,c=t.style,l=Zd(t,["ref","tabIndex","onClick","onMouseDown","onKeyDown","style"]),s=Object(b.useRef)(null),u=e.disabled&&!e.focusable,f=Object(b.useState)(!0),d=f[0],p=f[1],h=d?r:r||0,m=u?Xd({pointerEvents:"none"},c):c;Object(b.useEffect)((function(){var e=s.current;e&&!cp(e)&&p(!1)}),[]);var v=Object(b.useCallback)((function(t){e.disabled?(t.stopPropagation(),t.preventDefault()):o&&o(t)}),[e.disabled,o]),g=Object(b.useCallback)((function(t){if(e.disabled)return t.stopPropagation(),void t.preventDefault();var n=t.currentTarget,r=t.target;if(sp&&function(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){var t=e;return-1!==op.indexOf(t.type)}return!1}(n)&&n.contains(r)){t.preventDefault();var o=ap(r)||r instanceof HTMLLabelElement;np(n)&&n!==r&&o||n.focus()}i&&i(t)}),[e.disabled,i]),y=Object(b.useCallback)((function(t){a&&a(t),e.disabled||cp(t.currentTarget)||t.metaKey||(e.unstable_clickOnEnter&&"Enter"===t.key||e.unstable_clickOnSpace&&" "===t.key)&&(t.preventDefault(),t.target.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1})))}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace,a]);return Xd({ref:ep(s,n),disabled:u,tabIndex:u?void 0:h,"aria-disabled":e.disabled,onClick:v,onMouseDown:g,onKeyDown:y,style:m},l)}});Kd({as:"button",useHook:up});function fp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(b.useCallback)((function(){var e=t.filter(Boolean),n=e,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;a.apply(void 0,arguments)}}),t)}var dp=Object(b.createContext)((function(e){return void 0===e&&(e="id"),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}));function pp(e){return Object(b.useState)(e)[0]}function hp(e){void 0===e&&(e={});var t=pp(e).baseId,n=Object(b.useContext)(dp),r=Object(b.useRef)(0),o=Object(b.useState)((function(){return t||n()}));return{baseId:o[0],unstable_setBaseId:o[1],unstable_idCountRef:r}}hp.__keys=["baseId","unstable_setBaseId","unstable_idCountRef"];var mp=Gd({name:"Id",compose:rp,useState:hp,keys:["id"],useOptions:function(e,t){var n=Object(b.useContext)(dp),r=Object(b.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],o=Object(b.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),i=e.id||t.id||""+o+r;return Xd({},e,{id:i})},useProps:function(e,t){return Xd({},t,{id:void 0===t.id?e.id:t.id})}});Kd({as:"div",useHook:mp});function vp(e,t){var n=e.stops,r=e.currentId,o=e.unstable_pastId,i=e.unstable_moves,a=e.loop;switch(t.type){case"register":var c=t.id,l=t.ref;if(0===n.length)return Xd({},e,{stops:[{id:c,ref:l}]});if(n.findIndex((function(e){return e.id===c}))>=0)return e;var s=n.findIndex((function(e){return!(!e.ref.current||!l.current)&&Boolean(e.ref.current.compareDocumentPosition(l.current)&Node.DOCUMENT_POSITION_PRECEDING)}));return Xd({},e,-1===s?{stops:[].concat(n,[{id:c,ref:l}])}:{stops:[].concat(n.slice(0,s),[{id:c,ref:l}],n.slice(s))});case"unregister":var u=t.id,f=n.filter((function(e){return e.id!==u}));return f.length===n.length?e:Xd({},e,{stops:f,unstable_pastId:o&&o===u?null:o,currentId:r&&r===u?null:r});case"move":var d=t.id,p=t.silent?i:i+1;if(null===d)return Xd({},e,{currentId:null,unstable_pastId:r,unstable_moves:p});var h=n.findIndex((function(e){return e.id===d}));return-1===h?e:n[h].id===r?Xd({},e,{unstable_moves:p}):Xd({},e,{currentId:n[h].id,unstable_pastId:r,unstable_moves:p});case"next":if(null==r)return vp(e,{type:"move",id:n[0]&&n[0].id});var m=n.findIndex((function(e){return e.id===r})),v=[].concat(n.slice(m+1),a?n.slice(0,m):[]),b=v.findIndex((function(e){return e.id===r}))+1;return vp(e,{type:"move",id:v[b]&&v[b].id});case"previous":var g=vp(Xd({},e,{stops:n.slice().reverse()}),{type:"next"});g.stops;return Xd({},e,{},Zd(g,["stops"]));case"first":var y=n[0];return vp(e,{type:"move",id:y&&y.id});case"last":var k=n[n.length-1];return vp(e,{type:"move",id:k&&k.id});case"reset":return Xd({},e,{currentId:null,unstable_pastId:null});case"orientate":return Xd({},e,{orientation:t.orientation});default:throw new Error}}function bp(e){void 0===e&&(e={});var t=pp(e),n=t.orientation,r=t.currentId,o=void 0===r?null:r,i=t.loop,a=void 0!==i&&i,c=Zd(t,["orientation","currentId","loop"]),l=Object(b.useReducer)(vp,{orientation:n,stops:[],currentId:o,unstable_pastId:null,unstable_moves:0,loop:a}),s=l[0],u=l[1];return Xd({},hp(c),{},s,{register:Object(b.useCallback)((function(e,t){return u({type:"register",id:e,ref:t})}),[]),unregister:Object(b.useCallback)((function(e){return u({type:"unregister",id:e})}),[]),move:Object(b.useCallback)((function(e,t){return u({type:"move",id:e,silent:t})}),[]),next:Object(b.useCallback)((function(){return u({type:"next"})}),[]),previous:Object(b.useCallback)((function(){return u({type:"previous"})}),[]),first:Object(b.useCallback)((function(){return u({type:"first"})}),[]),last:Object(b.useCallback)((function(){return u({type:"last"})}),[]),unstable_reset:Object(b.useCallback)((function(){return u({type:"reset"})}),[]),unstable_orientate:Object(b.useCallback)((function(e){return u({type:"orientate",orientation:e})}),[])})}var gp=[].concat(hp.__keys,["orientation","stops","currentId","unstable_pastId","unstable_moves","loop","register","unregister","move","next","previous","first","last","unstable_reset","unstable_orientate"]);bp.__keys=gp;var yp=Gd({name:"Rover",compose:[up,mp],useState:bp,keys:["stopId"],useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=void 0===r?0:r,i=t.onFocus,a=t.onKeyDown,c=Zd(t,["ref","tabIndex","onFocus","onKeyDown"]),l=Object(b.useRef)(null),s=e.stopId||e.id||c.id,u=e.disabled&&!e.focusable,f=null==e.currentId,d=e.currentId===s,p=(e.stops||[])[0]&&e.stops[0].id===s,h=d||p&&f;Object(b.useEffect)((function(){if(!u&&s)return e.register&&e.register(s,l),function(){return e.unregister&&e.unregister(s)}}),[s,u,e.register,e.unregister]),Object(b.useEffect)((function(){var t=l.current;t&&e.unstable_moves&&d&&!np(t)&&t.focus()}),[d,e.unstable_moves]);var m=Object(b.useCallback)((function(t){s&&t.currentTarget.contains(t.target)&&e.move(s,!0)}),[e.move,s]),v=Object(b.useMemo)((function(){return function(e){var t=void 0===e?{}:e,n=t.keyMap,r=t.onKey,o=t.stopPropagation,i=t.onKeyDown,a=t.shouldKeyDown,c=void 0===a?function(){return!0}:a,l=t.preventDefault,s=void 0===l||l;return function(e){if(n){var t="function"==typeof n?n(e):n,a="function"==typeof s?s(e):s,l="function"==typeof o?o(e):o;if(e.key in t){var u=t[e.key];if("function"==typeof u&&c(e))return a&&e.preventDefault(),l&&e.stopPropagation(),r&&r(e),void u(e)}i&&i(e)}}}({onKeyDown:a,stopPropagation:!0,shouldKeyDown:function(e){return e.currentTarget.contains(e.target)},keyMap:{ArrowUp:"horizontal"!==e.orientation&&e.previous,ArrowRight:"vertical"!==e.orientation&&e.next,ArrowDown:"horizontal"!==e.orientation&&e.next,ArrowLeft:"vertical"!==e.orientation&&e.previous,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}})}),[a,e.orientation,e.previous,e.next,e.first,e.last]);return Xd({ref:ep(l,n),id:s,tabIndex:h?o:-1,onFocus:fp(m,i),onKeyDown:v},c)}});Kd({as:"button",useHook:yp});function kp(e){void 0===e&&(e={});var t=pp(e),n=t.orientation;return bp(Xd({orientation:void 0===n?"horizontal":n},Zd(t,["orientation"])))}var wp=[].concat(bp.__keys);kp.__keys=wp;var Op=Gd({name:"ToolbarItem",compose:yp,useState:kp});Kd({as:"button",useHook:Op});var _p=Object(b.createContext)();function jp(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}var Ep=Object(b.forwardRef)((function(e,t){var n=e.children,r=ln(e,["children"]),o=Object(b.useContext)(_p),i=Op(o,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jp(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{ref:t}));return"function"!=typeof n?("undefined"!=typeof process&&process.env,null):o?n(i):("undefined"!=typeof process&&process.env,null)})),Cp=function(e){return Object(b.createElement)("div",{className:e.className},e.children)};var xp=function(e){var t=e.containerClassName,n=e.className,r=e.extraProps,o=e.children,i=ln(e,["containerClassName","className","extraProps","children"]);return Object(b.useContext)(_p)?Object(b.createElement)(Ep,ft({className:un()("components-toolbar-button",n)},i),(function(e){return Object(b.createElement)(yo,e,o)})):Object(b.createElement)(Cp,{className:t},Object(b.createElement)(yo,ft({icon:i.icon,label:i.title,shortcut:i.shortcut,"data-subscript":i.subscript,onClick:function(e){e.stopPropagation(),i.onClick&&i.onClick(e)},className:un()("components-toolbar__control",n),isPressed:i.isActive,disabled:i.isDisabled},r)),o)},Sp=function(e){var t=e.className,n=e.children,r=ln(e,["className","children"]);return Object(b.createElement)("div",ft({className:t},r),n)};var Tp=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(bt(e)),e.bindContainer=e.bindContainer.bind(bt(e)),e.getFocusableContext=e.getFocusableContext.bind(bt(e)),e.getFocusableIndex=e.getFocusableIndex.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(E.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?Vn.tabbable:Vn.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,i=n.eventToOffset,a=n.onNavigate,c=void 0===a?E.noop:a,l=n.stopNavigationEvents,s=i(e);if(void 0!==s&&l&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),s){var u=t(document.activeElement);if(u){var f=u.index,d=u.focusables,p=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(f,d.length,s):f+s;p>=0&&p<d.length&&(d[p].focus(),c(p,d[p]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=ln(e,["children"]);return Object(b.createElement)("div",ft({ref:this.bindContainer},Object(E.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),t}(b.Component),zp=function(e,t){return Object(b.createElement)(Tp,ft({},e,{forwardedRef:t}))};zp.displayName="NavigableContainer";var Pp=Object(b.forwardRef)(zp);var Ip=Object(b.forwardRef)((function(e,t){var n=e.role,r=void 0===n?"menu":n,o=e.orientation,i=void 0===o?"vertical":o,a=ln(e,["role","orientation"]);return Object(b.createElement)(Pp,ft({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:r,"aria-orientation":"presentation"===r?null:i,eventToOffset:function(e){var t=e.keyCode,n=[Gn],r=[$n];return"horizontal"===i&&(n=[qn],r=[Kn]),"both"===i&&(n=[qn,Gn],r=[Kn,$n]),Object(E.includes)(n,t)?1:Object(E.includes)(r,t)?-1:void 0}},a))}));function Mp(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 Np(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mp(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Np({},e,{},t);return t.className&&e.className&&(n.className=un()(t.className,e.className)),n}var Ap=function(e){var t,n=e.children,r=e.className,o=e.controls,i=e.hasArrowIndicator,a=void 0!==i&&i,c=e.icon,l=void 0===c?"menu":c,s=e.label,u=e.popoverProps,f=e.toggleProps,d=e.menuProps,p=e.menuLabel,h=e.position;if(p&&tt("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),h&&tt("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(E.isEmpty)(o)&&!Object(E.isFunction)(n))return null;Object(E.isEmpty)(o)||(t=o,Array.isArray(t[0])||(t=[t]));var m=Lp({className:"components-dropdown-menu__popover",position:h},u);return Object(b.createElement)(Td,{className:un()("components-dropdown-menu",r),popoverProps:m,renderToggle:function(e){var t=e.isOpen,n=e.onToggle,r=Lp({className:un()("components-dropdown-menu__toggle",{"is-opened":t})},f);return Object(b.createElement)(yo,ft({},r,{icon:l,onClick:function(e){n(e),r.onClick&&r.onClick(e)},onKeyDown:function(e){!function(e){t||e.keyCode!==Gn||(e.preventDefault(),e.stopPropagation(),n())}(e),r.onKeyDown&&r.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":t,label:s,showTooltip:!0}),(!l||a)&&Object(b.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){var r=Lp({"aria-label":p||s,className:"components-dropdown-menu__menu"},d);return Object(b.createElement)(Ip,ft({},r,{role:"menu"}),Object(E.isFunction)(n)?n(e):null,Object(E.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(b.createElement)(yo,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:un()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})};var Dp=function(e){var t=e.controls,n=void 0===t?[]:t,r=ln(e,["controls"]),o=function(e){return Object(b.createElement)(Ap,ft({hasArrowIndicator:!0,controls:n,toggleProps:e},r))};return Object(b.useContext)(_p)?Object(b.createElement)(Ep,null,o):o()};var Hp=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,o=e.className,i=e.isCollapsed,a=e.title,c=ln(e,["controls","children","className","isCollapsed","title"]),l=Object(b.useContext)(_p);if(!(n&&n.length||r))return null;var s=un()(l?"components-toolbar-group":"components-toolbar",o),u=n;return Array.isArray(u[0])||(u=[u]),i?Object(b.createElement)(Dp,ft({label:a,controls:u,className:s,children:r},c)):Object(b.createElement)(Sp,ft({className:s},c),Object(E.flatMap)(u,(function(e,t){return e.map((function(e,n){return Object(b.createElement)(xp,ft({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)};function Rp(e){return dt((function(t){var n,r="core/with-filters/"+e;function o(){void 0===n&&(n=Je(e,t))}var i=function(e){function t(){var e;return pt(this,t),e=gt(this,yt(t).apply(this,arguments)),o(),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){t.instances.push(this),1===t.instances.length&&(Ge("hookRemoved",r,c),Ge("hookAdded",r,c))}},{key:"componentWillUnmount",value:function(){t.instances=Object(E.without)(t.instances,this),0===t.instances.length&&(Qe("hookRemoved",r),Qe("hookAdded",r))}},{key:"render",value:function(){return Object(b.createElement)(n,this.props)}}]),t}(b.Component);i.instances=[];var a=Object(E.debounce)((function(){n=Je(e,t),i.instances.forEach((function(e){e.forceUpdate()}))}),16);function c(t){t===e&&a()}return i}),"withFilters")}var Bp=Rp("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Ei(r);if(!o)return null;var i=Si(o,"className",!0)?ic(r):null,a=un()(i,n.className),c=o.edit||o.save;return Object(b.createElement)(c,ft({},e,{className:a}))})),Vp=Object(b.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:E.noop,clientId:null}),Fp=Vp.Provider,Up=Vp.Consumer;function Wp(){return Object(b.useContext)(Vp)}var Kp=function(e){return dt((function(t){return function(n){return Object(b.createElement)(Up,null,(function(r){return Object(b.createElement)(t,ft({},n,e(r,n)))}))}}),"withBlockEditContext")},$p=dt((function(e){return function(t){return Object(b.createElement)(Up,null,(function(n){return n.isSelected&&Object(b.createElement)(e,t)}))}}),"ifBlockEditSelected"),qp=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).propsToContext=A()(e.propsToContext.bind(bt(e)),{maxSize:1}),e}return wt(t,e),mt(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,a=this.propsToContext(t,n,r,o,i);return Object(b.createElement)(Fp,{value:a},Object(b.createElement)(Bp,this.props))}}]),t}(b.Component);w("(Color: %s)"),w("(Gradient: %s)");w("(%s: color %s)"),w("(%s: gradient %s)");function Gp(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 Yp(e){var t=e.children,n=ln(e,["children"]);return Object(b.createElement)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gp(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({dangerouslySetInnerHTML:{__html:t}},n))}function Qp(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 Xp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qp(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zp=Object(b.createContext)(),Jp=Zp.Provider,eh=Zp.Consumer,th=Object(b.forwardRef)((function(){return null})),nh=new Set(["string","boolean","number"]),rh=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),oh=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),ih=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),ah=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function ch(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function lh(e){return"key"===e||"children"===e}function sh(e,t){switch(e){case"style":return function(e){if(!Object(E.isPlainObject)(e))return e;var t;for(var n in e){var r=e[n];if(null!=r){t?t+=";":t="";var o=fh(n),i=dh(n,r);t+=o+":"+i}}return t}(t)}return t}function uh(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function fh(e){return Object(E.startsWith)(e,"--")?e:ch(e,["ms","O","Moz","Webkit"])?"-"+Object(E.kebabCase)(e):Object(E.kebabCase)(e)}function dh(e,t){return"number"!=typeof t||0===t||ah.has(e)?t:t+"px"}function ph(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return vh(e,t,n);switch(vt(e)){case"string":return ja(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case b.StrictMode:case b.Fragment:return vh(o.children,t,n);case Yp:var i=o.children,a=ln(o,["children"]);return hh(Object(E.isEmpty)(a)?null:"div",Xp({},a,{dangerouslySetInnerHTML:{__html:i}}),t,n)}switch(vt(r)){case"string":return hh(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?mh(r,o,t,n):ph(r(o,n),t,n)}switch(r&&r.$$typeof){case Jp.$$typeof:return vh(o.children,o.value,n);case eh.$$typeof:return ph(o.children(t||r._currentValue),t,n);case th.$$typeof:return ph(r.render(o),t,n)}return""}function hh(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=vh(t.value,n,r),t=Object(E.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=vh(t.children,n,r)),!e)return o;var i=bh(t);return rh.has(e)?"<"+e+i+"/>":"<"+e+i+">"+o+"</"+e+">"}function mh(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());var i=ph(o.render(),n,r);return i}function vh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(E.castArray)(e);for(var o=0;o<e.length;o++){var i=e[o];r+=ph(i,t,n)}return r}function bh(e){var t="";for(var n in e){var r=uh(n);if(Ca(r)){var o=sh(n,e[n]);if(nh.has(vt(o))&&!lh(n)){var i=oh.has(r);if(!i||!1!==o){var a=i||ch(n,["data-","aria-"])||ih.has(r);("boolean"!=typeof o||a)&&(t+=" "+r,i||("string"==typeof o&&(o=_a(o)),t+='="'+o+'"'))}}}}return t}var gh=ph;var yh=function(e){var t=e.className,n=e.status,r=void 0===n?"info":n,o=e.children,i=e.spokenMessage,a=void 0===i?o:i,c=e.onRemove,l=void 0===c?E.noop:c,s=e.isDismissible,u=void 0===s||s,f=e.actions,d=void 0===f?[]:f,p=e.politeness,h=void 0===p?function(e){switch(e){case"success":case"warning":case"info":return"polite";case"error":default:return"assertive"}}(r):p,m=e.__unstableHTML;!function(e,t){var n="string"==typeof e?e:gh(e);Object(b.useEffect)((function(){n&&pd(n,t)}),[n,t])}(a,h);var v=un()(t,"components-notice","is-"+r,{"is-dismissible":u});return m&&(o=Object(b.createElement)(Yp,null,o)),Object(b.createElement)("div",{className:v},Object(b.createElement)("div",{className:"components-notice__content"},o,d.map((function(e,t){var n=e.className,r=e.label,o=e.isPrimary,i=e.noDefaultClasses,a=void 0!==i&&i,c=e.onClick,l=e.url;return Object(b.createElement)(yo,{key:t,href:l,isPrimary:o,isSecondary:!a&&!l,isLink:!a&&!!l,onClick:l?void 0:c,className:un()("components-notice__action",n)},r)}))),u&&Object(b.createElement)(yo,{className:"components-notice__dismiss",icon:br,label:w("Dismiss this notice"),onClick:l,showTooltip:!1}))};var kh=to("InspectorControls"),wh=kh.Fill,Oh=kh.Slot,_h=$p(wh);_h.Slot=Oh;var jh=_h;var Eh=window;Eh.getComputedStyle,Eh.Node,w("Text Color"),w("Background Color");var Ch=C([id,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return dt((function(t){return function(n){function r(){var t;return pt(this,r),(t=gt(this,yt(r).apply(this,arguments))).setState=t.setState.bind(bt(t)),t.state=e,t}return wt(r,n),mt(r,[{key:"render",value:function(){return Object(b.createElement)(t,ft({},this.props,this.state,{setState:this.setState}))}}]),r}(b.Component)}),"withState")}({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,o=e.value,i=e.instanceId,a=e.onChange,c=e.beforeIcon,l=e.afterIcon,s=e.help,u=e.allowReset,f=e.initialPosition,d=e.min,p=e.max,h=e.setState,m=ln(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),v="inspector-range-control-".concat(i),g=null===n?o:n,y=function(){null!==n&&h({currentInput:null})},k=function(e){var t=e.target.value;e.target.checkValidity()?(y(),a(""===t?void 0:parseFloat(t))):h({currentInput:t})},O=Object(E.isFinite)(f)?f:"",_=Object(E.isFinite)(g)?g:O;return Object(b.createElement)(Gf,{label:r,id:v,help:s,className:un()("components-range-control",t)},c&&Object(b.createElement)(ho,{icon:c}),Object(b.createElement)("input",ft({className:"components-range-control__slider",id:v,type:"range",value:_,onChange:k,"aria-describedby":s?v+"__help":void 0,min:d,max:p},m)),l&&Object(b.createElement)(ho,{icon:l}),Object(b.createElement)("input",ft({className:"components-range-control__number",type:"number",onChange:k,"aria-label":r,value:g,min:d,max:p,onBlur:y},m)),u&&Object(b.createElement)(yo,{onClick:function(){y(),a()},disabled:void 0===o,isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},w("Reset")))}));function xh(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Sh(){return(Sh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Th=n(7),zh=n.n(Th);n(34);function Ph(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function Ih(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function Mh(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Ih(n.overflowY,t)||Ih(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Nh(e,t,n,r,o,i,a,c){return i<e&&a>t||i>e&&a<t?0:i<=e&&c<=n||a>=t&&c>=n?i-e-r:a>t&&c<n||i<e&&c>n?a-t+o:0}function Lh(e,t){null!==e&&function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,i=t.boundary,a=t.skipOverflowHiddenElements,c="function"==typeof i?i:function(e){return e!==i};if(!Ph(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,s=[],u=e;Ph(u)&&c(u);){if((u=u.parentNode)===l){s.push(u);break}u===document.body&&Mh(u)&&!Mh(document.documentElement)||Mh(u,a)&&s.push(u)}for(var f=window.visualViewport?visualViewport.width:innerWidth,d=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,b=m.width,g=m.top,y=m.right,k=m.bottom,w=m.left,O="start"===r||"nearest"===r?g:"end"===r?k:g+v/2,_="center"===o?w+b/2:"end"===o?y:w,j=[],E=0;E<s.length;E++){var C=s[E],x=C.getBoundingClientRect(),S=x.height,T=x.width,z=x.top,P=x.right,I=x.bottom,M=x.left;if("if-needed"===n&&g>=0&&w>=0&&k<=d&&y<=f&&g>=z&&k<=I&&w>=M&&y<=P)return j;var N=getComputedStyle(C),L=parseInt(N.borderLeftWidth,10),A=parseInt(N.borderTopWidth,10),D=parseInt(N.borderRightWidth,10),H=parseInt(N.borderBottomWidth,10),R=0,B=0,V="offsetWidth"in C?C.offsetWidth-C.clientWidth-L-D:0,F="offsetHeight"in C?C.offsetHeight-C.clientHeight-A-H:0;if(l===C)R="start"===r?O:"end"===r?O-d:"nearest"===r?Nh(h,h+d,d,A,H,h+O,h+O+v,v):O-d/2,B="start"===o?_:"center"===o?_-f/2:"end"===o?_-f:Nh(p,p+f,f,L,D,p+_,p+_+b,b),R=Math.max(0,R+h),B=Math.max(0,B+p);else{R="start"===r?O-z-A:"end"===r?O-I+H+F:"nearest"===r?Nh(z,I,S,A,H+F,O,O+v,v):O-(z+S/2)+F/2,B="start"===o?_-M-L:"center"===o?_-(M+T/2)+V/2:"end"===o?_-P+D+V:Nh(M,P,T,L,D+V,_,_+b,b);var U=C.scrollLeft,W=C.scrollTop;O+=W-(R=Math.max(0,Math.min(W+R,C.scrollHeight-S+F))),_+=U-(B=Math.max(0,Math.min(U+B,C.scrollWidth-T+V)))}j.push({el:C,top:R,left:B})}return j}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function Ah(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function Dh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Hh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function Rh(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=Bh(t,r)?t[r]:e[r],n}),{})}function Bh(e,t){return void 0!==e[t]}function Vh(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Fh(e,t,n,r,o){void 0===o&&(o=!0);var i=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:i+1);var a=t+e;a<0?a=o?i:0:a>i&&(a=o?0:i);var c=Uh(e,a,n,r,o);return-1===c?t:c}function Uh(e,t,n,r,o){var i=r(t);if(!i||!i.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a<n;a++)if(!r(a).hasAttribute("disabled"))return a}else for(var c=t-1;c>=0;c--)if(!r(c).hasAttribute("disabled"))return c;return o?e>0?Uh(1,0,n,r,!1):Uh(-1,n-1,n,r,!1):-1}var Wh=Ah((function(){$h().textContent=""}),500);function Kh(e,t){var n=$h(t);e&&(n.textContent=e,Wh())}function $h(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var qh={highlightedIndex:-1,isOpen:!1,selectedItem:null};function Gh(e,t){var n=void 0===t?{}:t,r=n.id,o=n.labelId,i=n.menuId,a=n.getItemId,c=n.toggleButtonId,l=void 0===r?"downshift-"+e():r;return{labelId:o||l+"-label",menuId:i||l+"-menu",getItemId:a||function(e){return l+"-item-"+e},toggleButtonId:c||l+"-toggle-button"}}function Yh(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function Qh(e){return/^\S{1}$/.test(e)}function Xh(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Zh(e,t,n){Object.keys(t).forEach((function(r){!function(e,t,n,r){var o="on"+Xh(e)+"Change";t[o]&&void 0!==r[e]&&r[e]!==n[e]&&t[o](r)}(r,e,t,n)})),e.onStateChange&&void 0!==n&&e.onStateChange(n)}function Jh(e,t,n){var r=Object(b.useCallback)((function(t,n){t=Rh(t,n.props);var r=(0,n.props.stateReducer)(t,Sh({},n,{changes:e(t,n)}));return Zh(n.props,t,r),r}),[e]),o=Object(b.useReducer)(r,t),i=o[0],a=o[1];return[Rh(i,n),a]}var em=0;function tm(){var e=Object(b.useState)(null),t=e[0],n=e[1];return Object(b.useEffect)((function(){return n(++em)}),[]),t}function nm(e,t){return!!t&&(e.relatedTarget===t||e.nativeEvent&&(t===e.nativeEvent.explicitOriginalTarget||t.contains(e.nativeEvent.explicitOriginalTarget)))}var rm={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.items;if(!n)return"";var r=n.length;return t?0===r?"No results are available":r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":""},getA11ySelectionMessage:function(e){var t=e.selectedItem;return(0,e.itemToString)(t)+" has been selected."},scrollIntoView:Lh,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function om(e,t,n){var r="default"+Xh(t);return r in e?e[r]:Sh({},qh,{},n)[t]}function im(e,t,n){if(t in e)return e[t];var r="initial"+Xh(t);return r in e?e[r]:om(e,t,n)}function am(e,t,n,r){var o=e.items,i=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,c=t.selectedItem,l=t.highlightedIndex;return void 0!==i&&l===i?i:void 0!==a?a:c?0===n?o.indexOf(c):Fh(n,o.indexOf(c),o.length,r,!1):0===n?-1:n<0?o.length-1:0}var cm={keysSoFar:""};function lm(e,t){return om(e,t,cm)}function sm(e,t){return im(e,t,cm)}function um(e,t,n,r,o){for(var i=n.map((function(e){return r(e).toLowerCase()})),a=e.toLowerCase(),c=function(e,t){var n=o(t);return e.startsWith(a)&&!(n&&n.hasAttribute("disabled"))},l=t+1;l<i.length;l++){if(c(i[l],l))return l}for(var s=0;s<t;s++){if(c(i[s],s))return s}return t}zh.a.array.isRequired,zh.a.func,zh.a.func,zh.a.func,zh.a.bool,zh.a.number,zh.a.number,zh.a.number,zh.a.bool,zh.a.bool,zh.a.bool,zh.a.any,zh.a.any,zh.a.any,zh.a.string,zh.a.string,zh.a.string,zh.a.func,zh.a.string,zh.a.func,zh.a.func,zh.a.func,zh.a.func,zh.a.func,zh.a.shape({addEventListener:zh.a.func,removeEventListener:zh.a.func,document:zh.a.shape({getElementById:zh.a.func,activeElement:zh.a.any,body:zh.a.any})});var fm=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonKeyDownCharacter:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonClick:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionClearKeysSoFar:21,FunctionReset:22});function dm(e,t){var n,r=t.type,o=t.props,i=t.shiftKey;switch(r){case 10:n={highlightedIndex:t.index};break;case 11:n={isOpen:lm(o,"isOpen"),highlightedIndex:lm(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case 8:n={isOpen:!1,highlightedIndex:-1};break;case 0:n={highlightedIndex:Fh(i?5:1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 1:n={highlightedIndex:Fh(i?-5:-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 3:n={highlightedIndex:Uh(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:Uh(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1)};break;case 2:n={isOpen:!1,highlightedIndex:-1};break;case 5:case 6:n=Sh({isOpen:lm(o,"isOpen"),highlightedIndex:lm(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case 7:var a=t.key,c=""+e.keysSoFar+a,l=um(c,e.highlightedIndex,o.items,o.itemToString,t.getItemNodeFromIndex);n=Sh({keysSoFar:c},l>=0&&{highlightedIndex:l});break;case 9:n={highlightedIndex:-1};break;case 12:var s=t.key,u=""+e.keysSoFar+s,f=um(u,e.selectedItem?o.items.indexOf(e.selectedItem):-1,o.items,o.itemToString,t.getItemNodeFromIndex);n=Sh({keysSoFar:u},f>=0&&{selectedItem:o.items[f]});break;case 13:n={isOpen:!0,highlightedIndex:am(o,e,1,t.getItemNodeFromIndex)};break;case 14:n={isOpen:!0,highlightedIndex:am(o,e,-1,t.getItemNodeFromIndex)};break;case 15:case 16:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:am(o,e,0)};break;case 17:n={isOpen:!0,highlightedIndex:am(o,e,0)};break;case 18:n={isOpen:!1};break;case 19:n={highlightedIndex:t.highlightedIndex};break;case 20:n={selectedItem:t.selectedItem};break;case 21:n={keysSoFar:""};break;case 22:n={highlightedIndex:lm(o,"highlightedIndex"),isOpen:lm(o,"isOpen"),selectedItem:lm(o,"selectedItem")};break;default:throw new Error("Reducer called without proper action type.")}return Sh({},e,{},n)}function pm(e){void 0===e&&(e={});var t=Sh({},rm,{},e),n=t.items,r=t.itemToString,o=t.getA11yStatusMessage,i=t.getA11ySelectionMessage,a=t.initialIsOpen,c=t.defaultIsOpen,l=t.scrollIntoView,s=t.environment,u=Jh(dm,function(e){var t=sm(e,"selectedItem"),n=sm(e,"isOpen"),r=sm(e,"highlightedIndex");return{highlightedIndex:r<0&&t?e.items.indexOf(t):r,isOpen:n,selectedItem:t,keysSoFar:""}}(t),t),f=u[0],d=f.isOpen,p=f.highlightedIndex,h=f.selectedItem,m=f.keysSoFar,v=u[1],g=function(e){return v(Sh({props:t},e))},y=Gh(tm,t),k=y.labelId,w=y.getItemId,O=y.menuId,_=y.toggleButtonId,j=Object(b.useRef)(null),E=Object(b.useRef)(null),C=Object(b.useRef)();C.current=[];var x=Object(b.useRef)(!0),S=Object(b.useRef)(!0),T=Object(b.useRef)(null);Object(b.useEffect)((function(){x.current||Kh(o({isOpen:d,items:n,selectedItem:h,itemToString:r}),s.document)}),[d]),Object(b.useEffect)((function(){x.current||Kh(i({isOpen:d,items:n,selectedItem:h,itemToString:r}),s.document)}),[h]),Object(b.useEffect)((function(){x.current&&(T.current=Ah((function(e){e({type:21})}),500)),m&&T.current(g)}),[m]),Object(b.useEffect)((function(){x.current?(a||c||d)&&E.current.focus():d?E.current.focus():s.document.activeElement===E.current&&j.current.focus()}),[d]),Object(b.useEffect)((function(){p<0||!d||!C.current.length||(!1===S.current?S.current=!0:l(C.current[p],E.current))}),[p]),Object(b.useEffect)((function(){x.current=!1}),[]);var z=function(e){return C.current[e]},P={ArrowDown:function(e){e.preventDefault(),g({type:0,shiftKey:e.shiftKey,getItemNodeFromIndex:z})},ArrowUp:function(e){e.preventDefault(),g({type:1,shiftKey:e.shiftKey,getItemNodeFromIndex:z})},Home:function(e){e.preventDefault(),g({type:3,getItemNodeFromIndex:z})},End:function(e){e.preventDefault(),g({type:4,getItemNodeFromIndex:z})},Escape:function(){g({type:2})},Enter:function(e){e.preventDefault(),g({type:5})}," ":function(e){e.preventDefault(),g({type:6})},Tab:function(e){e.shiftKey&&g({type:8})}},I={ArrowDown:function(e){e.preventDefault(),g({type:13,getItemNodeFromIndex:z})},ArrowUp:function(e){e.preventDefault(),g({type:14,getItemNodeFromIndex:z})}},M=function(e){var t=Vh(e);t&&P[t]?P[t](e):Qh(t)&&g({type:7,key:t,getItemNodeFromIndex:z})},N=function(e){nm(e,j.current)||g({type:8})},L=function(){g({type:9})},A=function(){g({type:15})},D=function(e){var t=Vh(e);t&&I[t]?I[t](e):Qh(t)&&g({type:12,key:t,getItemNodeFromIndex:z})};return{getToggleButtonProps:function(e){var t,n=void 0===e?{}:e,r=n.onClick,o=n.onKeyDown,i=n.refKey,a=void 0===i?"ref":i,c=n.ref,l=xh(n,["onClick","onKeyDown","refKey","ref"]),s=Sh(((t={})[a]=Hh(c,(function(e){j.current=e})),t.id=_,t["aria-haspopup"]="listbox",t["aria-expanded"]=d,t["aria-labelledby"]=k+" "+_,t),l);return l.disabled||(s.onClick=Dh(r,A),s.onKeyDown=Dh(o,D)),s},getLabelProps:function(e){return Sh({id:k,htmlFor:_},e)},getMenuProps:function(e){var t,n=void 0===e?{}:e,r=n.onKeyDown,o=n.onBlur,i=n.onMouseLeave,a=n.refKey,c=void 0===a?"ref":a,l=n.ref,s=xh(n,["onKeyDown","onBlur","onMouseLeave","refKey","ref"]);return Sh(((t={})[c]=Hh(l,(function(e){E.current=e})),t.id=O,t.role="listbox",t["aria-labelledby"]=k,t.tabIndex=-1,t),p>-1&&{"aria-activedescendant":w(p)},{onKeyDown:Dh(r,M),onBlur:Dh(o,N),onMouseLeave:Dh(i,L)},s)},getItemProps:function(e){var t,r=void 0===e?{}:e,o=r.item,i=r.index,a=r.refKey,c=void 0===a?"ref":a,l=r.ref,s=r.onMouseMove,u=r.onClick,f=xh(r,["item","index","refKey","ref","onMouseMove","onClick"]),d=Yh(i,o,n);if(d<0)throw new Error("Pass either item or item index in getItemProps!");var h=Sh(((t={})[c]=Hh(l,(function(e){e&&C.current.push(e)})),t.role="option",t["aria-selected"]=""+(d===p),t.id=w(d),t),f);return f.disabled||(h.onMouseMove=Dh(s,(function(){return function(e){e!==p&&(S.current=!1,g({type:10,index:e}))}(d)})),h.onClick=Dh(u,(function(){return function(e){g({type:11,index:e})}(d)}))),h},toggleMenu:function(){g({type:16})},openMenu:function(){g({type:17})},closeMenu:function(){g({type:18})},setHighlightedIndex:function(e){g({type:19,highlightedIndex:e})},selectItem:function(e){g({type:20,selectedItem:e})},reset:function(){g({type:22})},highlightedIndex:p,isOpen:d,selectedItem:h}}pm.stateChangeTypes=fm;zh.a.array.isRequired,zh.a.func,zh.a.func,zh.a.func,zh.a.bool,zh.a.number,zh.a.number,zh.a.number,zh.a.bool,zh.a.bool,zh.a.bool,zh.a.any,zh.a.any,zh.a.any,zh.a.string,zh.a.string,zh.a.string,zh.a.string,zh.a.string,zh.a.string,zh.a.func,zh.a.string,zh.a.string,zh.a.func,zh.a.func,zh.a.func,zh.a.func,zh.a.func,zh.a.func,zh.a.shape({addEventListener:zh.a.func,removeEventListener:zh.a.func,document:zh.a.shape({getElementById:zh.a.func,activeElement:zh.a.any,body:zh.a.any})}),Sh({},rm,{circularNavigation:!0});var hm=function(e){return e&&e.name},mm=function(e,t){var n=e.selectedItem,r=t.type,o=t.changes,i=t.props.items;switch(r){case pm.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:i[n?Math.min(i.indexOf(n)+1,i.length-1):0]};case pm.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:i[n?Math.max(i.indexOf(n)-1,0):i.length-1]};default:return o}};function vm(e){var t=e.className,n=e.hideLabelFromVision,r=e.label,o=e.options,i=e.onChange,a=e.value,c=pm({initialSelectedItem:o[0],items:o,itemToString:hm,onSelectedItemChange:i,selectedItem:a,stateReducer:mm}),l=c.getLabelProps,s=c.getToggleButtonProps,u=c.getMenuProps,f=c.getItemProps,d=c.isOpen,p=c.highlightedIndex,h=c.selectedItem,m=u({className:"components-custom-select-control__menu"});return m["aria-activedescendant"]&&"downshift-null"===m["aria-activedescendant"].slice(0,"downshift-null".length)&&delete m["aria-activedescendant"],Object(b.createElement)("div",{className:un()("components-custom-select-control",t)},Object(b.createElement)("label",l({className:un()("components-custom-select-control__label",{"screen-reader-text":n})}),r),Object(b.createElement)(yo,s({"aria-label":r,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0}),hm(h),Object(b.createElement)(xd,{icon:Vf,className:"components-custom-select-control__button-icon"})),Object(b.createElement)("ul",m,d&&o.map((function(e,t){return Object(b.createElement)("li",f({item:e,index:t,key:e.key,className:un()("components-custom-select-control__item",{"is-highlighted":t===p}),style:e.style}),e===h&&Object(b.createElement)(xd,{icon:Sd,className:"components-custom-select-control__item-icon"}),e.name)}))))}var bm="default";function gm(e,t){if(t){var n=e.find((function(e){return e.size===Number(t)}));return n?n.slug:"custom"}return bm}Ft((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))((function e(t){var n=t.fallbackFontSize,r=t.fontSizes,o=void 0===r?[]:r,i=t.disableCustomFontSizes,a=void 0!==i&&i,c=t.onChange,l=t.value,s=t.withSlider,u=void 0!==s&&s,f=od(e),d=M(Object(b.useState)(gm(o,l)),2),p=d[0],h=d[1];if(a&&!o.length)return null;var m=function(e,t){h(e),e!==bm?t&&c(Number(t)):c(void 0)},v=function(e,t){return(e=[{slug:bm,name:w("Default")}].concat(ae(e),ae(t?[]:[{slug:"custom",name:w("Custom")}]))).map((function(e){return{key:e.slug,name:e.name,style:{fontSize:e.size}}}))}(o,a),g="components-range-control__number#".concat(f);return Object(b.createElement)("fieldset",{className:"components-font-size-picker"},Object(b.createElement)("legend",{className:"screen-reader-text"},w("Font size")),Object(b.createElement)("div",{className:"components-font-size-picker__controls"},o.length>0&&Object(b.createElement)(vm,{className:"components-font-size-picker__select",label:w("Preset size"),options:v,value:v.find((function(e){return e.key===p}))||v[0],onChange:function(e){var t=e.selectedItem,n=t.key,r=t.style&&t.style.fontSize;m(n,r)}}),!u&&!a&&Object(b.createElement)("div",{className:"components-range-control__number-container"},Object(b.createElement)("label",{htmlFor:g},w("Custom")),Object(b.createElement)("input",{id:g,className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value,n=gm(o,t);m(n,t)},"aria-label":w("Custom"),value:l||""})),Object(b.createElement)(yo,{className:"components-color-palette__clear",disabled:void 0===l,onClick:function(){m(bm)},isSmall:!0,isSecondary:!0},w("Reset"))),u&&Object(b.createElement)(Ch,{className:"components-font-size-picker__custom-input",label:w("Custom Size"),value:l||"",initialPosition:n,onChange:function(e){var t=gm(o,e);m(t,e)},min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))}));var ym=Gd({name:"IdGroup",compose:rp,useState:hp,keys:["id"],useOptions:function(e,t){var n=Object(b.useContext)(dp),r=Object(b.useState)((function(){return e.id||t.id||e.baseId||n()}))[0];return e.unstable_setBaseId&&r!==e.baseId&&e.unstable_setBaseId(r),Xd({},e,{baseId:r})},useProps:function(e,t){return Xd({},t,{id:void 0===t.id?e.id:t.id})}}),km=(Kd({as:"div",useHook:ym}),Kd({as:"div",useHook:Gd({name:"Toolbar",compose:ym,useState:kp,useProps:function(e,t){return Xd({role:"toolbar","aria-orientation":e.orientation},t)}}),useCreateElement:function(e,t,n){return Ud(e,t,n)}}));var wm=Object(b.forwardRef)((function(e,t){var n=e.accessibilityLabel,r=ln(e,["accessibilityLabel"]),o=kp({loop:!0});return Object(b.createElement)(_p.Provider,{value:o},Object(b.createElement)(km,ft({ref:t,"aria-label":n},o,r)))}));var Om=function(e){var t=e.className,n=e.__experimentalAccessibilityLabel,r=ln(e,["className","__experimentalAccessibilityLabel"]);return n?Object(b.createElement)(wm,ft({className:un()("components-accessible-toolbar",t),accessibilityLabel:n},r)):Object(b.createElement)(Hp,ft({},r,{className:t}))},_m=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z"})),jm=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z"})),Em=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z"}));w("Align text left"),w("Align text center"),w("Align text right");var Cm=dt((function(e){return function(t){function n(){var e;return pt(this,n),(e=gt(this,yt(n).apply(this,arguments))).debouncedSpeak=Object(E.debounce)(e.speak.bind(bt(e)),500),e}return wt(n,t),mt(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";pd(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(b.createElement)(e,ft({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(b.Component)}),"withSpokenMessages");function xm(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 Sm(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o<t.length;o++){var i=t[o],a=i.keywords,c=void 0===a?[]:a;"string"==typeof i.label&&(c=[].concat(ae(c),[i.label]));var l=c.some((function(t){return e.test(Object(E.deburr)(t))}));if(l&&(r.push(i),r.length===n))break}return r}var Tm=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).select=e.select.bind(bt(e)),e.reset=e.reset.bind(bt(e)),e.resetWhenSuppressed=e.resetWhenSuppressed.bind(bt(e)),e.handleKeyDown=e.handleKeyDown.bind(bt(e)),e.debouncedLoadOptions=Object(E.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return wt(t,e),mt(t,null,[{key:"getInitialState",value:function(){return{search:/./,selectedIndex:0,suppress:void 0,open:void 0,query:void 0,filteredOptions:[]}}}]),mt(t,[{key:"insertCompletion",value:function(e){var t=this.state,n=t.open,r=t.query,o=this.props,i=o.record,a=o.onChange,c=i.start,l=c-n.triggerPrefix.length-r.length;a(cu(i,Fs({html:gh(e)}),l,c))}},{key:"select",value:function(e){var t=this.props.onReplace,n=this.state,r=n.open,o=n.query,i=(r||{}).getOptionCompletion;if(!e.isDisabled){if(i){var a=i(e.value,o),c=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a,l=c.action,s=c.value;"replace"===l?t([s]):"insert-at-caret"===l&&this.insertCompletion(s)}this.reset()}}},{key:"reset",value:function(){this.setState(this.constructor.getInitialState())}},{key:"resetWhenSuppressed",value:function(){var e=this.state,t=e.open,n=e.suppress;t&&n===t.idx&&this.reset()}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(j(O("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t(w("No results."),"assertive"))}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,o=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(o===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(e.idx,"-").concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}})),a=Sm(n.state.search,i),c=a.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((N(r={},"options_"+e.idx,i),N(r,"filteredOptions",a),N(r,"selectedIndex",c),r)),n.announce(a)}}))}},{key:"handleKeyDown",value:function(e){var t=this.state,n=t.open,r=t.suppress,o=t.selectedIndex,i=t.filteredOptions;if(n)if(r!==n.idx){if(0!==i.length){var a;switch(e.keyCode){case $n:a=(0===o?i.length:o)-1,this.setState({selectedIndex:a});break;case Gn:a=(o+1)%i.length,this.setState({selectedIndex:a});break;case 27:this.setState({suppress:n.idx});break;case Wn:this.select(i[o]);break;case Kn:case qn:return void this.reset();default:return}e.preventDefault()}}else switch(e.keyCode){case 32:var c=e.ctrlKey,l=e.shiftKey,s=e.altKey,u=e.metaKey;c&&!(l||s||u)&&(this.setState({suppress:void 0}),e.preventDefault(),e.stopPropagation());break;case $n:case Gn:case Kn:case qn:this.reset()}}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.record,r=t.completers,o=e.record;if(eu(n)){var i=Object(E.deburr)(Zs(mu(n,0))),a=Object(E.deburr)(Zs(mu(o,0)));if(i!==a){var c=Zs(mu(n,void 0,Zs(n).length)),l=Object(E.map)(r,(function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xm(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{idx:t})})),s=Object(E.find)(l,(function(e){var t=e.triggerPrefix,n=e.allowContext,r=i.lastIndexOf(t);return-1!==r&&(!(n&&!n(i.slice(0,r),c))&&/^\S*$/.test(i.slice(r+t.length)))}));if(!s)return void this.reset();var u=Object(E.escapeRegExp)(s.triggerPrefix),f=i.match(new RegExp("".concat(u,"(\\S*)$"))),d=f&&f[1],p=this.state,h=p.open,m=p.suppress,v=p.query;!s||h&&s.idx===h.idx&&d===v||(s.isDebounced?this.debouncedLoadOptions(s,d):this.loadOptions(s,d));var b=s?new RegExp("(?:\\b|\\s|^)"+Object(E.escapeRegExp)(d),"i"):/./,g=s?Sm(b,this.state["options_"+s.idx]):[],y=s&&m===s.idx?m:void 0;(h||s)&&this.setState({selectedIndex:0,filteredOptions:g,suppress:y,search:b,open:s,query:d}),s&&this.state["options_"+s.idx]&&this.announce(g)}}}},{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.children,o=n.instanceId,i=n.isSelected,a=this.state,c=a.open,l=a.suppress,s=a.selectedIndex,u=a.filteredOptions,f=(u[s]||{}).key,d=void 0===f?"":f,p=c||{},h=p.className,m=l!==p.idx&&u.length>0,v=m?"components-autocomplete-listbox-".concat(o):null,g=m?"components-autocomplete-item-".concat(o,"-").concat(d):null;return Object(b.createElement)(b.Fragment,null,r({isExpanded:m,listBoxId:v,activeId:g,onKeyDown:this.handleKeyDown}),m&&i&&Object(b.createElement)(uo,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",anchorRef:(e=window.getSelection(),e.rangeCount?e.getRangeAt(0):null)},Object(b.createElement)("div",{id:v,role:"listbox",className:"components-autocomplete__results"},m&&Object(E.map)(u,(function(e,n){return Object(b.createElement)(yo,{key:e.key,id:"components-autocomplete-item-".concat(o,"-").concat(e.key),role:"option","aria-selected":n===s,disabled:e.isDisabled,className:un()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return t.select(e)}},e.label)})))))}}]),t}(b.Component),zm=C([Cm,id])(Tm);var Pm=C([Kp((function(e){return{blockName:e.name}})),function(e){return function(t){var n=t.completers,r=void 0===n?[]:n;return Xe("editor.Autocomplete.completers")&&(r=Je("editor.Autocomplete.completers",r.map(E.clone),t.blockName)),Object(b.createElement)(e,ft({},t,{completers:r}))}}])(zm),Im=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z"})),Mm=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z"})),Nm=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z"})),Lm=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z"})),Am=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M17 13V3H3v10h14zM5 17h10v-2H5v2z"}));function Dm(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}var Hm={left:{icon:Im,title:w("Align left")},center:{icon:Mm,title:w("Align center")},right:{icon:Nm,title:w("Align right")},wide:{icon:Lm,title:w("Wide width")},full:{icon:Am,title:w("Full width")}},Rm=["left","center","right","wide","full"],Bm=["wide","full"];var Vm=C(Kp((function(e){return{clientId:e.clientId}})),Ft((function(e){return{wideControlsEnabled:(0,e("core/block-editor").getSettings)().alignWide}})))((function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Rm:r,i=e.isCollapsed,a=void 0===i||i,c=e.wideControlsEnabled,l=void 0!==c&&c?o:o.filter((function(e){return-1===Bm.indexOf(e)})),s=Hm[t],u=Hm.center;return Object(b.createElement)(Om,{isCollapsed:a,icon:s?s.icon:u.icon,label:w("Change alignment"),controls:l.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dm(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Hm[e],{isActive:t===e,role:a?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})}));var Fm=Ft((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=Ei(t);return n?n.title:null})),Um=to("BlockControls"),Wm=Um.Fill,Km=Um.Slot,$m=$p((function(e){var t=e.controls,n=e.children;return Object(b.createElement)(Wm,null,Object(b.createElement)(Om,{controls:t}),n)}));$m.Slot=Km;var qm=$m,Gm=to("BlockFormatControls"),Ym=Gm.Fill,Qm=Gm.Slot,Xm=$p(Ym);Xm.Slot=Qm;var Zm=Xm;function Jm(e){var t=e.icon,n=e.showColors,r=void 0!==n&&n,o=e.className;"block-default"===Object(E.get)(t,["src"])&&(t={src:Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(b.createElement)(bo,{icon:t&&t.src?t.src:t}),a=r?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(b.createElement)("span",{style:a,className:un()("block-editor-block-icon",o,{"has-colors":r})},i)}var ev,tv,nv,rv,ov=n(21),iv=n.n(ov),av=/<(\/)?(\w+)\s*(\/)?>/g;function cv(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}var lv=function(e){var t="object"===vt(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(b.isValidElement)(e)}))};function sv(e){var t=function(){var e=av.exec(ev);if(null===e)return["no-more-tokens"];var t=e.index,n=M(e,4),r=n[0],o=n[1],i=n[2],a=n[3],c=r.length;if(a)return["self-closed",i,t,c];if(o)return["closer",i,t,c];return["opener",i,t,c]}(),n=M(t,4),r=n[0],o=n[1],i=n[2],a=n[3],c=rv.length,l=i>tv?tv:null;if(!e[o])return uv(),!1;switch(r){case"no-more-tokens":if(0!==c){var s=rv.pop(),u=s.leadingTextStart,f=s.tokenStart;nv.push(ev.substr(u,f))}return uv(),!1;case"self-closed":return 0===c?(null!==l&&nv.push(ev.substr(l,i-l)),nv.push(e[o]),tv=i+a,!0):(fv(new cv(e[o],i,a)),tv=i+a,!0);case"opener":return rv.push(new cv(e[o],i,a,i+a,l)),tv=i+a,!0;case"closer":if(1===c)return function(e){var t=rv.pop(),n=t.element,r=t.leadingTextStart,o=t.prevOffset,i=t.tokenStart,a=t.children,c=e?ev.substr(o,e-o):ev.substr(o);c&&a.push(c);null!==r&&nv.push(ev.substr(r,i-r));nv.push(b.cloneElement.apply(void 0,[n,null].concat(ae(a))))}(i),tv=i+a,!0;var d=rv.pop(),p=ev.substr(d.prevOffset,i-d.prevOffset);d.children.push(p),d.prevOffset=i+a;var h=new cv(d.element,d.tokenStart,d.tokenLength,i+a);return h.children=d.children,fv(h),tv=i+a,!0;default:return uv(),!1}}function uv(){var e=ev.length-tv;0!==e&&nv.push(ev.substr(tv,e))}function fv(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,i=e.children,a=rv[rv.length-1],c=ev.substr(a.prevOffset,n-a.prevOffset);c&&a.children.push(c),a.children.push(b.cloneElement.apply(void 0,[t,null].concat(ae(i)))),a.prevOffset=o||n+r}var dv=function(e,t){if(ev=e,tv=0,nv=[],rv=[],av.lastIndex=0,!lv(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(sv(t));return b.createElement.apply(void 0,[b.Fragment,null].concat(ae(nv)))};var pv=function(e){return Object(b.createElement)("div",{className:"components-tip"},Object(b.createElement)(vr,{width:"24",height:"24",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{d:"M20.45 4.91L19.04 3.5l-1.79 1.8 1.41 1.41 1.79-1.8zM13 4h-2V1h2v3zm10 9h-3v-2h3v2zm-12 6.95v-3.96l-1-.58c-1.24-.72-2-2.04-2-3.46 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.42-.77 2.74-2 3.46l-1 .58v3.96h-2zm-2 2h6v-4.81c1.79-1.04 3-2.97 3-5.19 0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19v4.81zM4 13H1v-2h3v2zm2.76-7.71l-1.79-1.8L3.56 4.9l1.8 1.79 1.4-1.4z"})),Object(b.createElement)("p",null,e.children))},hv=n(35);function mv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(Object(hv.parse)(e.substr(r+1)),t),n=n.substr(0,r)),n+"?"+Object(hv.stringify)(t)}var vv=Object(b.createContext)(!1),bv=vv.Consumer,gv=vv.Provider,yv=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],kv=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).bindNode=e.bindNode.bind(bt(e)),e.disable=e.disable.bind(bt(e)),e.debouncedDisable=Object(E.debounce)(e.disable,{leading:!0}),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){Vn.focusable.find(this.node).forEach((function(e){Object(E.includes)(yv,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=ln(e,["className"]);return Object(b.createElement)(gv,{value:!0},Object(b.createElement)("div",ft({ref:this.bindNode,className:un()(t,"components-disabled")},n),this.props.children))}}]),t}(b.Component);kv.Consumer=bv;var wv=kv,Ov={insertUsage:{}},_v={alignWide:!1,colors:[{name:w("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:w("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:w("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:w("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:w("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:w("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:w("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:w("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:w("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"},{name:w("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:w("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:w("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:_("Small","font size name"),size:13,slug:"small"},{name:_("Normal","font size name"),size:16,slug:"normal"},{name:_("Medium","font size name"),size:20,slug:"medium"},{name:_("Large","font size name"),size:36,slug:"large"},{name:_("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",name:w("Thumbnail")},{slug:"medium",name:w("Medium")},{slug:"large",name:w("Large")},{slug:"full",name:w("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1,showInserterHelpPanel:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalEnableLegacyWidgetBlock:!1,__experimentalBlockDirectory:!1,__experimentalEnableFullSiteEditing:!1,__experimentalEnableFullSiteEditingDemo:!1,__experimentalEnablePageTemplates:!1,gradients:[{name:w("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:w("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:w("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:w("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:w("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:w("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:w("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:w("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:w("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:w("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:w("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:w("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function jv(e,t,n){return[].concat(ae(e.slice(0,n)),ae(Object(E.castArray)(t)),ae(e.slice(n)))}function Ev(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=ae(e);return o.splice(t,r),jv(o,e.slice(t,t+r),n)}function Cv(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 xv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cv(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=N({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Sv(o,r))})),n}function Tv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,N({},n.clientId,t),Tv(n.innerBlocks,n.clientId))}),{})}function zv(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E.identity,n={},r=ae(e);r.length;){var o=r.shift(),i=o.innerBlocks,a=ln(o,["innerBlocks"]);r.push.apply(r,ae(i)),n[a.clientId]=t(a)}return n}function Pv(e){return zv(e,(function(e){return Object(E.omit)(e,"attributes")}))}function Iv(e){return zv(e,(function(e){return e.attributes}))}function Mv(e,t){return e===t?xv({},e):t}function Nv(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(E.isEqual)(Object(E.keys)(n),Object(E.keys)(r)));var n,r}var Lv=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var Av=Object(E.flow)(S.a,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=xv({},t)).attributes=Object(E.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?xv({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(E.mapValues)(zv(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(E.keys)(zv(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=xv({},r.cache,{},Lv(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=xv({},r.cache,{},Lv(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var a=Lv(o(n.replacedClientIds));r.cache=xv({},Object(E.omit)(r.cache,n.replacedClientIds),{},Object(E.omit)(a,n.replacedClientIds),{},Lv(Object(E.keys)(zv(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=xv({},Object(E.omit)(r.cache,n.removedClientIds),{},Lv(Object(E.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var c=[n.clientId];n.fromRootClientId&&c.push(n.fromRootClientId),n.toRootClientId&&c.push(n.toRootClientId),r.cache=xv({},r.cache,{},Lv(o(c)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=xv({},r.cache,{},Lv(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(E.keys)(Object(E.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=xv({},r.cache,{},Lv(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r<n.length;r++){var o;t.order[n[r]]&&(n===e&&(n=ae(n)),(o=n).push.apply(o,ae(t.order[n[r]])))}return n};if(t)switch(n.type){case"REMOVE_BLOCKS":n=xv({},n,{type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:r(n.clientIds)});break;case"REPLACE_BLOCKS":n=xv({},n,{type:"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN",replacedClientIds:r(n.clientIds)})}return e(t,n)}}),(function(e){return function(t,n){if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);var r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",clientIds:t.order[n.rootClientId]}));var o=r;return n.blocks.length&&(o=e(o,xv({},n,{type:"INSERT_BLOCKS",index:0}))),o}}),(function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(E.reduce)(t[n],(function(n,r){return[].concat(ae(n),[r],ae(e(t,r)))}),[])}(t.order);return xv({},t,{byClientId:xv({},Object(E.omit)(t.byClientId,r),{},Pv(n.blocks)),attributes:xv({},Object(E.omit)(t.attributes,r),{},Iv(n.blocks)),order:xv({},Object(E.omit)(t.order,r),{},Sv(n.blocks)),parents:xv({},Object(E.omit)(t.parents,r),{},Tv(n.blocks)),cache:xv({},Object(E.omit)(t.cache,r),{},Object(E.mapValues)(zv(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var i=e(r,o),a="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===i&&!a){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var c=Object(E.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===c?r:xv({},i,{isPersistentChange:c})}return i=xv({},i,{isPersistentChange:a?!n:!Nv(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,i}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Pv(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return xv({},e,{},Pv(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(E.omit)(t.updates,"attributes");return Object(E.isEmpty)(n)?e:xv({},e,N({},t.clientId,xv({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?xv({},Object(E.omit)(e,t.replacedClientIds),{},Pv(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(E.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Iv(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return xv({},e,{},Iv(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?xv({},e,N({},t.clientId,xv({},e[t.clientId],{},t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(E.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Mv(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:xv({},e,N({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?xv({},Object(E.omit)(e,t.replacedClientIds),{},Iv(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(E.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Sv(t.blocks);case"RECEIVE_BLOCKS":return xv({},e,{},Object(E.omit)(Sv(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Sv(t.blocks,r),a=t.index,c=void 0===a?o.length:a;return xv({},e,{},i,N({},r,jv(o,i[r],c)));case"MOVE_BLOCK_TO_POSITION":var l,s=t.fromRootClientId,u=void 0===s?"":s,f=t.toRootClientId,d=void 0===f?"":f,p=t.clientId,h=t.index,m=void 0===h?e[d].length:h;if(u===d){var v=e[d],b=v.indexOf(p);return xv({},e,N({},d,Ev(e[d],b,m)))}return xv({},e,(N(l={},u,Object(E.without)(e[u],p)),N(l,d,jv(e[d],p,m)),l));case"MOVE_BLOCKS_UP":var g=t.clientIds,y=t.rootClientId,k=void 0===y?"":y,w=Object(E.first)(g),O=e[k];if(!O.length||w===Object(E.first)(O))return e;var _=O.indexOf(w);return xv({},e,N({},k,Ev(O,_,_-1,g.length)));case"MOVE_BLOCKS_DOWN":var j=t.clientIds,C=t.rootClientId,x=void 0===C?"":C,S=Object(E.first)(j),T=Object(E.last)(j),z=e[x];if(!z.length||T===Object(E.last)(z))return e;var P=z.indexOf(S);return xv({},e,N({},x,Ev(z,P,P+1,j.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var I=t.clientIds;if(!t.blocks)return e;var M=Sv(t.blocks);return Object(E.flow)([function(e){return Object(E.omit)(e,t.replacedClientIds)},function(e){return xv({},e,{},Object(E.omit)(M,""))},function(e){return Object(E.mapValues)(e,(function(e){return Object(E.reduce)(e,(function(e,t){return t===I[0]?[].concat(ae(e),ae(M[""])):(-1===I.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(E.flow)([function(e){return Object(E.omit)(e,t.removedClientIds)},function(e){return Object(E.mapValues)(e,(function(e){return E.without.apply(void 0,[e].concat(ae(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Tv(t.blocks);case"RECEIVE_BLOCKS":return xv({},e,{},Tv(t.blocks));case"INSERT_BLOCKS":return xv({},e,{},Tv(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return xv({},e,N({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return xv({},Object(E.omit)(e,t.replacedClientIds),{},Tv(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(E.omit)(e,t.removedClientIds)}return e}});function Dv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var Hv=S()({blocks:Av,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return Dv(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return Dv(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return xv({},e,N({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(E.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(E.isEqual)(e[n],t.settings)?e:xv({},e,N({},n,t.settings)):e.hasOwnProperty(n)?Object(E.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return xv({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_v,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return xv({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ov,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Ti(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),xv({},e,{insertUsage:xv({},e.insertUsage,N({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return N({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return N({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),Rv=n(52),Bv=n.n(Rv),Vv=n(53),Fv=n.n(Vv);function Uv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"SELECT",storeName:e,selectorName:t,args:r}}var Wv,Kv={SELECT:(Wv=function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,ae(i))}},Wv.isRegistryControl=!0,Wv)};function $v(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 qv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$v(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Gv=H.a.mark(ib),Yv=H.a.mark(db),Qv=H.a.mark(pb),Xv=H.a.mark(kb),Zv=H.a.mark(Eb),Jv=H.a.mark(xb),eb=H.a.mark(Mb),tb=H.a.mark(Xb),nb=H.a.mark(Zb),rb=H.a.mark(Jb),ob=H.a.mark(eg);function ib(){return H.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Uv("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,Wb();case 6:case"end":return e.stop()}}),Gv)}function ab(e){return{type:"RESET_BLOCKS",blocks:e}}function cb(e,t){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t}}function lb(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function sb(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function ub(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function fb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function db(e){var t;return H.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Uv("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,fb(t,-1);case 6:case"end":return n.stop()}}),Yv)}function pb(e){var t;return H.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Uv("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,fb(t);case 6:case"end":return n.stop()}}),Qv)}function hb(){return{type:"START_MULTI_SELECT"}}function mb(){return{type:"STOP_MULTI_SELECT"}}function vb(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function bb(){return{type:"CLEAR_SELECTED_BLOCK"}}function gb(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function yb(e,t){var n=Object(E.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(E.get)(e,["attributes","className"]);if(Object(E.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,a=n[t];return qv({},e,{attributes:qv({},i,{className:"".concat(r||""," is-style-").concat(a).trim()})})}))}function kb(e,t,n){var r,o,i;return H.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return e=Object(E.castArray)(e),a.t0=yb,a.t1=Object(E.castArray)(t),a.next=5,Uv("core/block-editor","getSettings");case 5:return a.t2=a.sent,t=(0,a.t0)(a.t1,a.t2),a.next=9,Uv("core/block-editor","getBlockRootClientId",Object(E.first)(e));case 9:r=a.sent,o=0;case 11:if(!(o<t.length)){a.next=21;break}return i=t[o],a.next=15,Uv("core/block-editor","canInsertBlockType",i.name,r);case 15:if(a.sent){a.next=18;break}return a.abrupt("return");case 18:o++,a.next=11;break;case 21:return a.next=23,{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n};case 23:return a.delegateYield(ib(),"t3",24);case 24:case"end":return a.stop()}}),Xv)}function wb(e,t){return kb(e,t)}function Ob(e){return function(t,n){return{clientIds:Object(E.castArray)(t),type:e,rootClientId:n}}}var _b=Ob("MOVE_BLOCKS_DOWN"),jb=Ob("MOVE_BLOCKS_UP");function Eb(e){var t,n,r,o,i,a,c=arguments;return H.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return t=c.length>1&&void 0!==c[1]?c[1]:"",n=c.length>2&&void 0!==c[2]?c[2]:"",r=c.length>3?c[3]:void 0,l.next=5,Uv("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,Uv("core/block-editor","getBlockName",e);case 17:return a=l.sent,l.next=20,Uv("core/block-editor","canInsertBlockType",a,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),Zv)}function Cb(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return xb([e],t,n,r)}function xb(e,t,n){var r,o,i,a,c,l,s,u,f=arguments;return H.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return r=!(f.length>3&&void 0!==f[3])||f[3],d.t0=yb,d.t1=Object(E.castArray)(e),d.next=5,Uv("core/block-editor","getSettings");case 5:d.t2=d.sent,e=(0,d.t0)(d.t1,d.t2),o=[],i=!0,a=!1,c=void 0,d.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){d.next=22;break}return u=s.value,d.next=17,Uv("core/block-editor","canInsertBlockType",u.name,n);case 17:d.sent&&o.push(u);case 19:i=!0,d.next=13;break;case 22:d.next=28;break;case 24:d.prev=24,d.t3=d.catch(11),a=!0,c=d.t3;case 28:d.prev=28,d.prev=29,i||null==l.return||l.return();case 31:if(d.prev=31,!a){d.next=34;break}throw c;case 34:return d.finish(31);case 35:return d.finish(28);case 36:if(!o.length){d.next=38;break}return d.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return d.stop()}}),Jv,null,[[11,24,28,36],[29,,31,35]])}function Sb(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Tb(){return{type:"HIDE_INSERTION_POINT"}}function zb(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Pb(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Ib(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Mb(e){var t,n,r=arguments;return H.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(r.length>1&&void 0!==r[1])||r[1],e&&e.length){o.next=3;break}return o.abrupt("return");case 3:return e=Object(E.castArray)(e),o.next=6,Uv("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,Uv("core/block-editor","getTemplateLock",n);case 9:if(!o.sent){o.next=12;break}return o.abrupt("return");case 12:if(!t){o.next=15;break}return o.next=15,db(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(ib(),"t0",18);case 18:case"end":return o.stop()}}),eb)}function Nb(e,t){return Mb([e],t)}function Lb(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function Ab(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Db(){return{type:"START_TYPING"}}function Hb(){return{type:"STOP_TYPING"}}function Rb(){return{type:"START_DRAGGING_BLOCKS"}}function Bb(){return{type:"STOP_DRAGGING_BLOCKS"}}function Vb(){return{type:"ENTER_FORMATTED_TEXT"}}function Fb(){return{type:"EXIT_FORMATTED_TEXT"}}function Ub(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function Wb(e,t,n){var r=ji();if(r)return Cb(Ii(r,e),n,t)}function Kb(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function $b(e){return{type:"UPDATE_SETTINGS",settings:e}}function qb(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Gb(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Yb(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function Qb(){return{type:"MARK_AUTOMATIC_CHANGE"}}function Xb(){var e,t=arguments;return H.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:pd(w(e?"You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.":"You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),tb)}function Zb(e){var t,n,r,o,i;return H.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e||e.length){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,Uv("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,Uv("core/block-editor","getBlockRootClientId",e[0]);case 7:if(n=a.sent,!Object(E.some)(t,(function(e){return!e}))){a.next=10;break}return a.abrupt("return");case 10:if(r=t.map((function(e){return e.name})),!Object(E.some)(r,(function(e){return!Si(e,"multiple",!0)}))){a.next=13;break}return a.abrupt("return");case 13:return a.next=15,Uv("core/block-editor","getBlockIndex",Object(E.last)(Object(E.castArray)(e)),n);case 15:return o=a.sent,i=t.map((function(e){return Mi(e)})),a.next=19,xb(i,o+1,n);case 19:if(!(i.length>1)){a.next=22;break}return a.next=22,vb(Object(E.first)(i).clientId,Object(E.last)(i).clientId);case 22:case"end":return a.stop()}}),nb)}function Jb(e){var t,n;return H.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Uv("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Uv("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Uv("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Wb({},t,n);case 15:case"end":return r.stop()}}),rb)}function eg(e){var t,n;return H.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Uv("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Uv("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Uv("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Wb({},t,n+1);case 15:case"end":return r.stop()}}),ob)}function tg(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 ng(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tg(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rg=3,og=2,ig=1,ag=0,cg=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)((function(e){return Object(b.createElement)("rect",e)}),{x:"0",fill:"none",width:"24",height:"24"}),Object(b.createElement)((function(e){return Object(b.createElement)("g",e)}),null,Object(b.createElement)(dr,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),lg=[];function sg(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function ug(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function fg(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var dg=No((function(e,t){var n=e.blocks.byClientId[t];return n?ng({},n,{attributes:fg(e,t),innerBlocks:hg(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),pg=No((function(e,t){var n=e.blocks.byClientId[t];return n?ng({},n,{attributes:fg(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),hg=No((function(e,t){return Object(E.map)(qg(e,t),(function(t){return dg(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),mg=function e(t,n){return Object(E.flatMap)(n,(function(n){var r=qg(t,n);return[].concat(ae(r),ae(e(t,r)))}))},vg=No((function(e){var t=qg(e);return[].concat(ae(t),ae(mg(e,t)))}),(function(e){return[e.blocks.order]})),bg=No((function(e,t){var n=vg(e);return t?Object(E.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),gg=No((function(e,t){return Object(E.map)(Object(E.castArray)(t),(function(t){return dg(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function yg(e,t){return qg(e,t).length}function kg(e){return e.selectionStart}function wg(e){return e.selectionEnd}function Og(e){return e.selectionStart.clientId}function _g(e){return e.selectionEnd.clientId}function jg(e){var t=Hg(e).length;return t||(e.selectionStart.clientId?1:0)}function Eg(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function Cg(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function xg(e){var t=Cg(e);return t?dg(e,t):null}function Sg(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Tg=No((function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),zg=No((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Tg(e,t,r);return Object(E.map)(Object(E.filter)(Object(E.map)(o,(function(t){return{id:t,name:sg(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Pg(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Ig(e,t){for(var n,r=Cg(e),o=[].concat(ae(Tg(e,t)),[t]),i=[].concat(ae(Tg(e,r)),[r]),a=Math.min(o.length,i.length),c=0;c<a&&o[c]===i[c];c++)n=o[c];return n}function Mg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Cg(e)),void 0===t&&(t=n<0?Bg(e):Vg(e)),!t)return null;var r=Sg(e,t);if(null===r)return null;var o=e.blocks.order,i=o[r],a=i.indexOf(t),c=a+1*n;return c<0||c===i.length?null:i[c]}function Ng(e,t){return Mg(e,t,-1)}function Lg(e,t){return Mg(e,t,1)}function Ag(e){return e.initialPosition}var Dg=No((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return lg;if(t.clientId===n.clientId)return[t.clientId];var r=Sg(e,t.clientId);if(null===r)return lg;var o=qg(e,r),i=o.indexOf(t.clientId),a=o.indexOf(n.clientId);return i>a?o.slice(a,i+1):o.slice(i,a+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function Hg(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?lg:Dg(e)}var Rg=No((function(e){var t=Hg(e);return t.length?t.map((function(t){return dg(e,t)})):lg}),(function(e){return[].concat(ae(Dg.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Bg(e){return Object(E.first)(Hg(e))||null}function Vg(e){return Object(E.last)(Hg(e))||null}function Fg(e,t){return Bg(e)===t}function Ug(e,t){return-1!==Hg(e).indexOf(t)}var Wg=No((function(e,t){for(var n=t,r=!1;n&&!r;)r=Ug(e,n=Sg(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function Kg(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function $g(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function qg(e,t){return e.blocks.order[t||""]||lg}function Gg(e,t,n){return qg(e,n).indexOf(t)}function Yg(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function Qg(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(E.some)(qg(e,t),(function(t){return Yg(e,t)||Ug(e,t)||n&&Qg(e,t,n)}))}function Xg(e,t){if(!t)return!1;var n=Hg(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function Zg(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId!==n.clientId}function Jg(e){return e.isMultiSelecting}function ey(e){return e.isSelectionEnabled}function ty(e,t){return e.blocksMode[t]||"visual"}function ny(e){return e.isTyping}function ry(e){return e.isDraggingBlocks}function oy(e){return e.isCaretWithinFormattedText}function iy(e){var t,n,r=e.insertionPoint,o=e.selectionEnd;if(null!==r)return r;var i=o.clientId;return i?(t=Sg(e,i)||void 0,n=Gg(e,o.clientId,t)+1):n=qg(e).length,{rootClientId:t,index:n}}function ay(e){return null!==e.insertionPoint}function cy(e){return e.template.isValid}function ly(e){return e.settings.template}function sy(e,t){if(!t)return e.settings.templateLock;var n=by(e,t);return n?n.templateLock:null}var uy=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(E.isBoolean)(e)?e:Object(E.isArray)(e)?!(!Object(E.includes)(e,"core/post-content")||null!==t)||Object(E.includes)(e,t):n},o=Ei(t);if(!o)return!1;var i=gy(e),a=i.allowedBlockTypes,c=r(a,t,!0);if(!c)return!1;var l=!!sy(e,n);if(l)return!1;var s=by(e,n),u=Object(E.get)(s,["allowedBlocks"]),f=r(u,t),d=o.parent,p=sg(e,n),h=r(d,p);return null!==f&&null!==h?f||h:null!==f?f:null===h||h},fy=No(uy,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function dy(e,t){return Object(E.get)(e.preferences.insertUsage,[t],null)}var py=function(e,t,n){return!!Si(t,"inserter",!0)&&uy(e,t.name,n)},hy=No((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?rg:t>0?og:"common"===e?ig:ag},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,i=!1;Si(t.name,"multiple",!0)||(i=Object(E.some)(gg(e,vg(e)),{name:t.name}));var a=Object(E.isArray)(t.parent),c=dy(e,o)||{},l=c.time,s=c.count,u=void 0===s?0:s,f=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:o,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:f,example:t.example,isDisabled:i,utility:n(t.category,u,a),frecency:r(l,u)}},i=function(t){var o,i="core/block/".concat(t.id),a=wy(e,t.id);1===a.length&&(o=Ei(a[0].name));var c=dy(e,i)||{},l=c.time,s=c.count,u=void 0===s?0:s,f=n("reusable",u,!1),d=r(l,u);return{id:i,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:cg,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:d}},a=Ci().filter((function(n){return py(e,n,t)})).map(o),c=uy(e,"core/block",t)?jy(e).map(i):[];return Object(E.orderBy)([].concat(ae(a),ae(c)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,jy(e),Ci()]})),my=No((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(E.some)(Ci(),(function(n){return py(e,n,t)}));if(n)return!0;var r=uy(e,"core/block",t)&&jy(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,jy(e),Ci()]})),vy=No((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(E.filter)(Ci(),(function(n){return py(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Ci()]}));function by(e,t){return e.blockListSettings[t]}function gy(e){return e.settings}function yy(e){return e.blocks.isPersistentChange}var ky=No((function(e,t){return Object(E.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),wy=No((function(e,t){var n=Object(E.find)(jy(e),(function(e){return e.id===t}));return n?il(n.content):null}),(function(e){return[jy(e)]}));function Oy(e){return e.blocks.isIgnoredChange}function _y(e){return e.lastBlockAttributesChange}function jy(e){return Object(E.get)(e,["settings","__experimentalReusableBlocks"],lg)}function Ey(e){return e.isNavigationMode}function Cy(e){return!!e.automaticChangeStatus}function xy(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 Sy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xy(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ty={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=M(e.blocks,2),i=o[0],a=o[1],c=dg(r,i),l=Ei(c.name);if(l.merge){var s=dg(r,a),u=Ei(s.name),f=kg(r),d=f.clientId,p=f.attributeKey,h=f.offset,m=(d===i?l:u).attributes[p],v=(d===i||d===a)&&void 0!==p&&void 0!==h&&!!m;m||("number"==typeof p?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(vt(p))):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));var b=Mi(c),g=Mi(s);if(v){var y=d===i?b:g,k=y.attributes[p],w=m.multiline,O=m.__unstableMultilineWrapperTags,_=m.__unstablePreserveWhiteSpace,j=cu(Fs({html:k,multilineTag:w,multilineWrapperTags:O,preserveWhiteSpace:_}),"†",h,h);y.attributes[p]=Au({value:j,multilineTag:w,preserveWhiteSpace:_})}var C=c.name===s.name?[g]:Bi(g,c.name);if(C&&C.length){var x=l.merge(b.attributes,C[0].attributes);if(v){var S=Object(E.findKey)(x,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),T=x[S],z=l.attributes[S],P=z.multiline,I=z.__unstableMultilineWrapperTags,N=z.__unstablePreserveWhiteSpace,L=Fs({html:T,multilineTag:P,multilineWrapperTags:I,preserveWhiteSpace:N}),A=L.text.indexOf("†"),D=Au({value:lu(L,A,A+1),multilineTag:P,preserveWhiteSpace:N});x[S]=D,n(Ub(c.clientId,S,A,A))}n(kb([c.clientId,s.clientId],[Sy({},c,{attributes:Sy({},c.attributes,{},x)})].concat(ae(C.slice(1)))))}}else n(fb(c.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=ly(n),o=sy(n),i=!r||"all"!==o||function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length===n.length&&Object(E.every)(n,(function(n,r){var o=M(n,3),i=o[0],a=o[2],c=t[r];return i===c.name&&e(c.innerBlocks,a)}))}(e.blocks,r);if(i!==cy(n))return zb(i)}],MULTI_SELECT:function(e,t){var n=jg((0,t.getState)());pd(O("%s block selected.","%s blocks selected.",n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)();return ab(_s(hg(n),ly(n)))},MARK_AUTOMATIC_CHANGE:function(e,t){var n=window,r=n.setTimeout,o=n.requestIdleCallback;(void 0===o?function(e){return r(e,100)}:o)((function(){t.dispatch({type:"MARK_AUTOMATIC_CHANGE_FINAL"})}))}};var zy=function(e){var t,n=[Bv()(Ty),Fv.a],r=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 r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=E.flowRight.apply(void 0,ae(t))(e.dispatch),e.dispatch=r,e};function Py(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}var Iy={reducer:Hv,selectors:v,actions:m,controls:Kv},My=Qt("core/block-editor",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Py(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Py(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Iy,{persist:["preferences"]}));zy(My);var Ny=dt((function(e){return qt((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=ln(t,["useSubRegistry","registry"]);if(!r)return Object(b.createElement)(e,ft({registry:o},i));var a=M(Object(b.useState)(null),2),c=a[0],l=a[1];return Object(b.useEffect)((function(){var e=Le({},o),t=e.registerStore("core/block-editor",Iy);zy(t),l(e)}),[o]),c?Object(b.createElement)(Pt,{value:c},Object(b.createElement)(e,ft({registry:c},i))):null}))}),"withRegistryProvider"),Ly=function(e){function t(){return pt(this,t),gt(this,yt(t).apply(this,arguments))}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry),this.isSyncingOutcomingValue=[]}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,a=t.selectionStart,c=t.selectionEnd,l=t.resetSelection,s=t.registry;n!==e.settings&&r(n),s!==e.registry&&this.attachChangeObserver(s),this.isSyncingOutcomingValue.includes(o)?Object(E.last)(this.isSyncingOutcomingValue)===o&&(this.isSyncingOutcomingValue=[]):o!==e.value&&(this.isSyncingOutcomingValue=[],this.isSyncingIncomingValue=o,i(o),a&&c&&l(a,c))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.getSelectionStart,i=n.getSelectionEnd,a=n.isLastBlockChangePersistent,c=n.__unstableIsLastBlockChangeIgnored,l=r(),s=a();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,u=void 0===n?E.noop:n,f=e.onInput,d=void 0===f?E.noop:f,p=r(),h=a();if(p!==l&&(t.isSyncingIncomingValue||c()))return t.isSyncingIncomingValue=null,l=p,void(s=h);if(p!==l||h&&!s){p!==l&&t.isSyncingOutcomingValue.push(p),l=p,s=h;var m=o(),v=i();s?u(l,{selectionStart:m,selectionEnd:v}):d(l,{selectionStart:m,selectionEnd:v})}}))}},{key:"render",value:function(){return this.props.children}}]),t}(b.Component),Ay=C([Ny,$t((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(Ly),Dy=n(23),Hy=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).containerRef=Object(b.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(bt(e)),e.handleFocusOutside=e.handleFocusOutside.bind(bt(e)),e.focusFirstTabbable=e.focusFirstTabbable.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=Vn.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){27===e.keyCode&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.stopPropagation(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.contentLabel,r=e.aria,o=r.describedby,i=r.labelledby,a=e.children,c=e.className,l=e.role,s=e.style;return Object(b.createElement)(Mr,{className:un()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(b.createElement)("div",{className:un()("components-modal__frame",c),style:s,ref:this.containerRef,role:l,"aria-label":n,"aria-labelledby":n?null:i,"aria-describedby":o,tabIndex:"-1"},a))}}]),t}(b.Component),Ry=C([Cr,xr,Tr])(Hy),By=function(e){var t=e.icon,n=e.title,r=e.onClose,o=e.closeLabel,i=e.headingId,a=e.isDismissible,c=o||w("Close dialog");return Object(b.createElement)("div",{className:"components-modal__header"},Object(b.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(b.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(b.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),a&&Object(b.createElement)(yo,{onClick:r,icon:br,label:c}))},Vy=new Set(["alert","status","log","marquee","timer"]),Fy=[],Uy=!1;function Wy(e){if(!Uy){var t=document.body.children;Object(E.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Vy.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Fy.push(t))})),Uy=!0}}var Ky,$y=0,qy=function(e){function t(e){var n;return pt(this,t),(n=gt(this,yt(t).call(this,e))).prepareDOM(),n}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){1===++$y&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--$y&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Ky||(Ky=document.createElement("div"),document.body.appendChild(Ky)),this.node=document.createElement("div"),Ky.appendChild(this.node)}},{key:"cleanDOM",value:function(){Ky.removeChild(this.node)}},{key:"openFirstModal",value:function(){Wy(Ky),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Uy&&(Object(E.forEach)(Fy,(function(e){e.removeAttribute("aria-hidden")})),Fy=[],Uy=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,r=e.icon,o=e.closeButtonLabel,i=e.children,a=e.aria,c=e.instanceId,l=e.isDismissible,s=e.isDismissable,u=ln(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),f=a.labelledby||"components-modal-header-".concat(c);return s&&tt("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),Object(qr.createPortal)(Object(b.createElement)(Ry,ft({onRequestClose:t,aria:{labelledby:n?f:null,describedby:a.describedby}},u),Object(b.createElement)("div",{className:"components-modal__content",tabIndex:"0",role:"document"},Object(b.createElement)(By,{closeLabel:o,headingId:f,icon:r,isDismissible:l||s,onClose:t,title:n}),i)),this.node)}}]),t}(b.Component);qy.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};var Gy=id(qy);var Yy=function e(t){var n=t.children,r=t.className,o=void 0===r?"":r,i=t.label,a=od(e);if(!b.Children.count(n))return null;var c="components-menu-group-label-".concat(a),l=un()(o,"components-menu-group");return Object(b.createElement)("div",{className:l},i&&Object(b.createElement)("div",{className:"components-menu-group__label",id:c,"aria-hidden":"true"},i),Object(b.createElement)("div",{role:"group","aria-labelledby":i?c:null},n))};var Qy=function(e){var t=e.children,n=e.info,r=e.className,o=e.icon,i=e.shortcut,a=e.isSelected,c=e.role,l=void 0===c?"menuitem":c,s=ln(e,["children","info","className","icon","shortcut","isSelected","role"]);return r=un()("components-menu-item__button",r),n&&(t=Object(b.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(b.createElement)("span",{className:"components-menu-item__info"},n))),o&&!Object(E.isString)(o)&&(o=Object(b.cloneElement)(o,{className:"components-menu-items__item-icon",height:20,width:20})),Object(b.createElement)(yo,ft({icon:o,"aria-checked":"menuitemcheckbox"===l||"menuitemradio"===l?a:void 0,role:l,className:r},s),t,Object(b.createElement)(fo,{className:"components-menu-item__shortcut",shortcut:i}))},Xy=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));var Zy=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(b.createElement)("div",{className:un()(t,"block-editor-warning")},Object(b.createElement)("div",{className:"block-editor-warning__contents"},Object(b.createElement)("p",{className:"block-editor-warning__message"},r),b.Children.count(n)>0&&Object(b.createElement)("div",{className:"block-editor-warning__actions"},b.Children.map(n,(function(e,t){return Object(b.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})))),o&&Object(b.createElement)(Td,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(yo,{icon:Xy,label:w("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(b.createElement)(Yy,null,o.map((function(e,t){return Object(b.createElement)(Qy,{onClick:e.onClick,key:t},e.title)})))}}))},Jy=n(54),ek=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,a=e.className;return Object(b.createElement)("div",{className:a},Object(b.createElement)("div",{className:"block-editor-block-compare__content"},Object(b.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(b.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(b.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(b.createElement)("div",{className:"block-editor-block-compare__action"},Object(b.createElement)(yo,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},tk=function(e){function t(){return pt(this,t),gt(this,yt(t).apply(this,arguments))}return wt(t,e),mt(t,[{key:"getDifference",value:function(e,t){return Object(Jy.diffChars)(e,t).map((function(e,t){var n=un()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(b.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:ac(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(E.castArray)(e),n=t.map((function(e){return cc(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return ac(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,a=this.getOriginalContent(t),c=this.getConvertedContent(o(t)),l=this.getDifference(a.rawContent,c.rawContent);return Object(b.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(b.createElement)(ek,{title:w("Current"),className:"block-editor-block-compare__current",action:n,actionText:w("Convert to HTML"),rawContent:a.rawContent,renderedContent:a.renderedContent}),Object(b.createElement)(ek,{title:w("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:c.renderedContent}))}}]),t}(b.Component),nk=function(e){function t(e){var n;return pt(this,t),(n=gt(this,yt(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(bt(n)),n.onCompareClose=n.onCompareClose.bind(bt(n)),n}return wt(t,e),mt(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,i=e.block,a=!!Ei("core/html"),c=this.state.compare,l=[{title:w("Convert to Classic Block"),onClick:r},{title:w("Attempt Block Recovery"),onClick:o}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Zy,{actions:[Object(b.createElement)(yo,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},_("Resolve","imperative verb")),a&&Object(b.createElement)(yo,{key:"edit",onClick:t,isPrimary:!0},w("Convert to HTML"))],secondaryActions:l},w("This block contains unexpected or invalid content.")),c&&Object(b.createElement)(Gy,{title:w("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(b.createElement)(tk,{block:i,onKeep:t,onConvert:n,convertor:rk,convertButtonText:w("Convert to Blocks")})))}}]),t}(b.Component),rk=function(e){return ks({HTML:e.originalContent})},ok=C([Ft((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),$t((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Ii("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Ii("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,rk(n))},attemptBlockRecovery:function(){var e;r(n.clientId,Ii((e=n).name,e.attributes,e.innerBlocks))}}}))])(nk),ik=Object(b.createElement)(Zy,{className:"block-editor-block-list__block-crash-warning"},w("This block has encountered an error and cannot be previewed.")),ak=function(){return ik},ck=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).state={hasError:!1},e}return wt(t,e),mt(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(b.Component),lk=n(22),sk=n.n(lk);var uk=function(e){var t=e.clientId,n=M(Object(b.useState)(""),2),r=n[0],o=n[1],i=Vt((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,a=Ut("core/block-editor").updateBlock;return Object(b.useEffect)((function(){o(sc(i))}),[i]),Object(b.createElement)(sk.a,{className:"block-editor-block-list__block-html-textarea",value:r,onBlur:function(){var e=Ei(i.name),n=el(e,r,i.attributes),c=r||cc(e,n),l=!r||function(e,t,n){return Lc(e,t,n,ga()).isValid}(e,n,c);a(t,{attributes:n,originalContent:c,isValid:l}),r||o({content:c})},onChange:function(e){return o(e.target.value)}})};function fk(e){return document.getElementById("block-"+e)}function dk(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function pk(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var hk="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0?function(){return!0}:function(){return rr("(prefers-reduced-motion: reduce)")},mk=function(e){return e+1},vk=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var bk=function(e,t,n,r,o){var i=hk()||!r,a=M(Object(b.useReducer)(mk,0),2),c=a[0],l=a[1],s=M(Object(b.useReducer)(mk,0),2),u=s[0],f=s[1],d=M(Object(b.useState)({x:0,y:0,scrollTop:0}),2),p=d[0],h=d[1],m=e.current?vk(e.current):null,v=Object(b.useMemo)((function(){return!!n&&wn(e.current)}),[n]);Object(b.useLayoutEffect)((function(){c&&f()}),[c]),Object(b.useLayoutEffect)((function(){if(i){if(n&&v){e.current.style.transform="none";var t=vk(e.current);v.scrollTop=v.scrollTop-m.top+t.top}}else{e.current.style.transform="none";var r=vk(e.current),o={x:m?m.left-r.left:0,y:m?m.top-r.top:0,scrollTop:m&&v?v.scrollTop-m.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),l(),h(o)}}),[o]);var g=Object(Dy.useSpring)({from:{x:p.x,y:p.y},to:{x:0,y:0},reset:c!==u,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&v&&!i&&e.y&&(v.scrollTop=p.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(Dy.interpolate)([g.x,g.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(Dy.interpolate)([g.x,g.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function gk(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function yk(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,i=t.hasMultiSelection,a=t.getBlockParents,c=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:i(),getBlockParents:a,selectedBlockClientId:c()}}function kk(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}Object(b.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,i=e.noCapture,a=e.hasMultiSelection,c=e.multiSelectionContainer,l=Vt((function(e){return e("core/block-editor").isNavigationMode()})),s=Ut("core/block-editor").setNavigationMode;return Object(b.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(i.current)i.current=null;else if(n){var e=fk(n);if(r){var t=Vn.tabbable.find(e);(Object(E.last)(t)||e).focus()}else e.focus()}else{if(a)return void c.current.focus();s(!0);var l=Vn.tabbable.find(o.current);l.length&&(r?Object(E.last)(l).focus():Object(E.first)(l).focus())}},style:{position:"fixed"}})}));var wk=window;wk.getSelection,wk.getComputedStyle,Object(E.overEvery)([kn,Vn.tabbable.isTabbableIndex]);function Ok(e,t,n){var r=Vn.focusable.find(n);return t&&(r=Object(E.reverse)(r)),r=r.slice(r.indexOf(e)+1),Object(E.find)(r,(function t(n,r,o){if(!Vn.tabbable.isTabbableIndex(n))return!1;if(kn(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,a=1;(i=o[r+a])&&n.contains(i);a++)if(t(i,r+a,o))return!1;return!0}))}function _k(e){var t=e.clientId;return Vt((function(e){var n=e("core/block-editor"),r=n.getBlockIndex,o=n.getBlockInsertionPoint,i=n.isBlockInsertionPointVisible,a=(0,n.getBlockRootClientId)(t),c=r(t,a),l=o();return i()&&l.index===c&&l.rootClientId===a}),[t])?Object(b.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}):null}function jk(e){var t=e.className,n=e.isMultiSelecting,r=e.hasMultiSelection,o=e.selectedBlockClientId,i=e.children,a=e.containerRef,c=M(Object(b.useState)(!1),2),l=c[0],s=c[1],u=M(Object(b.useState)(!1),2),f=u[0],d=u[1],p=M(Object(b.useState)(null),2),h=p[0],m=p[1],v=M(Object(b.useState)(null),2),g=v[0],y=v[1],k=Object(b.useRef)(),w=Vt((function(e){return{multiSelectedBlockClientIds:(0,e("core/block-editor").getMultiSelectedBlockClientIds)()}})).multiSelectedBlockClientIds;var O=r?w.includes(g):g===o;return Object(b.createElement)(b.Fragment,null,!n&&(l||f)&&Object(b.createElement)(uo,{noArrow:!0,animate:!1,anchorRef:h,position:"top right left",focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:"block-toolbar",__unstableFixedPosition:!1},Object(b.createElement)("div",{className:"block-editor-block-list__insertion-point",style:{width:h.offsetWidth}},Object(b.createElement)(_k,{clientId:g}),Object(b.createElement)("div",{ref:k,onFocus:function(){return d(!0)},onBlur:function(){return d(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===k.current){var o=r.getBoundingClientRect(),i=n<o.top+o.height/2,c=fk(g),l=Ok(c,!0,i?a.current:c),s=new window.DOMRect(t,n,0,16);l&&yn(l,i,s,!1)}},tabIndex:-1,className:un()("block-editor-block-list__insertion-point-inserter",{"is-inserter-hidden":O})},Object(b.createElement)(Pw,{clientId:g})))),Object(b.createElement)("div",{onMouseMove:f||n?void 0:function(e){if(e.target.className===t){var n=e.target.getBoundingClientRect(),r=e.clientY-n.top,o=Array.from(e.target.children).find((function(e){return e.offsetTop>r}));if(o){var i=o.id.slice("block-".length);if(i){var a=o.getBoundingClientRect();e.clientX>a.right||e.clientX<a.left?l&&s(!1):(s(!0),m(o),y(i))}}}else l&&s(!1)}},i))}var Ek=function(e){var t=e.clientId,n=e.rootClientId,r=e.moverDirection,o=ln(e,["clientId","rootClientId","moverDirection"]),i=Vt((function(e){var r=e("core/block-editor"),o=r.__unstableGetBlockWithoutInnerBlocks,i=(0,r.getBlockIndex)(t,n),a=o(t);return{index:i,name:a.name,attributes:a.attributes}}),[t,n]),a=i.index,c=i.name,l=i.attributes,s=Ut("core/block-editor"),u=s.setNavigationMode,f=s.removeBlock,d=Object(b.useRef)();Object(b.useEffect)((function(){d.current.focus()}));var p=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",o=e.title,i=ki(e,t,"accessibility"),a=void 0!==n,c=i&&i!==o;return w(a&&"vertical"===r?c?"%1$s Block. Row %2$d. %3$s":"%s Block. Row %d":a&&"horizontal"===r?c?"%1$s Block. Column %2$d. %3$s":"%s Block. Column %d":c?"%1$s Block. %2$s":"%s Block")}(Ei(c),l,a+1,r);return Object(b.createElement)("div",ft({className:"block-editor-block-list__breadcrumb"},o),Object(b.createElement)(Om,null,Object(b.createElement)(yo,{ref:d,onClick:function(){return u(!1)},onKeyDown:function(e){var n=e.keyCode;n!==Un&&46!==n||(f(t),e.preventDefault())},label:p},Object(b.createElement)(Fm,{clientId:t}))))};var Ck=function(e){var t=e.children,n=e.focusOnMount,r=ln(e,["children","focusOnMount"]),o=Object(b.useRef)(),i=Object(b.useCallback)((function(){var e=Vn.tabbable.find(o.current);e.length&&e[0].focus()}),[]);return Rf("core/block-editor/focus-toolbar",i,{bindGlobal:!0,eventName:"keydown"}),Object(b.useEffect)((function(){n&&i()}),[]),Object(b.createElement)(Ip,ft({orientation:"horizontal",role:"toolbar",ref:o},r),t)};var xk=function(e){var t=e.focusOnMount,n=ln(e,["focusOnMount"]);return Object(b.createElement)(Ck,ft({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":w("Block tools")},n),Object(b.createElement)(N_,null))};function Sk(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,i=t.isTyping,a=t.isCaretWithinFormattedText,c=t.getSettings,l=t.getLastMultiSelectedBlockClientId;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:i(),isCaretWithinFormattedText:a(),hasMultiSelection:o(),hasFixedToolbar:c().hasFixedToolbar,lastClientId:l()}}function Tk(e){var t=e.clientId,n=e.rootClientId,r=e.name,o=e.align,i=e.isValid,a=e.moverDirection,c=e.isEmptyDefaultBlock,l=e.capturingClientId,s=Vt(Sk,[]),u=s.isNavigationMode,f=s.isMultiSelecting,d=s.isTyping,p=s.isCaretWithinFormattedText,h=s.hasMultiSelection,m=s.hasFixedToolbar,v=s.lastClientId,g=sr("medium"),y=M(Object(b.useState)(!1),2),k=y[0],w=y[1],O=M(Object(b.useState)(!1),2),_=O[0],j=O[1],E=M(Object(b.useContext)(Mk),1)[0],C=!u&&c&&i,x=u,S=!u&&!m&&g&&!C&&!f&&(!d||p),T=!(u||S||m||c);if(Rf("core/block-editor/focus-toolbar",Object(b.useCallback)((function(){return w(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!T}),!(x||S||k||C))return null;var z=E[t];if(l&&(z=document.getElementById("block-"+l)),!z)return null;z.classList.contains("is-block-collapsed")&&(z=z.querySelector(".is-block-content")||z);var P=z;if(h){var I=E[v];if(!I)return null;P={top:z,bottom:I}}var N=C?"top left right":"top right left";return Object(b.createElement)(uo,{noArrow:!0,animate:!1,position:N,focusOnMount:!1,anchorRef:P,className:"block-editor-block-list__block-popover",__unstableSticky:!C,__unstableSlotName:"block-toolbar",__unstableAllowVerticalSubpixelPosition:"horizontal"!==a&&z,__unstableAllowHorizontalSubpixelPosition:"horizontal"===a&&z,onBlur:function(){return w(!1)},shouldAnchorIncludePadding:!0},(S||k)&&Object(b.createElement)("div",{onFocus:function(){j(!0)},onBlur:function(){j(!1)},tabIndex:-1,className:un()("block-editor-block-list__block-popover-inserter",{"is-visible":_})},Object(b.createElement)(Pw,{clientId:t,rootClientId:n})),(S||k)&&Object(b.createElement)(xk,{focusOnMount:k,"data-type":r,"data-align":o}),x&&Object(b.createElement)(Ek,{clientId:t,rootClientId:n,moverDirection:a,"data-align":o}),C&&Object(b.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(b.createElement)(Pw,{position:"top right",rootClientId:n,clientId:t})))}function zk(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,i=t.__unstableGetBlockWithoutInnerBlocks,a=t.getBlockParents,c=t.getBlockListSettings,l=t.__experimentalGetBlockListSettingsForBlocks,s=n()||r();if(s){var u,f=o(s),d=i(s)||{},p=d.name,h=d.attributes,m=void 0===h?{}:h,v=d.isValid,b=a(s),g=(c(f)||{}).__experimentalMoverDirection,y=l(b),k=Object(E.findIndex)(y,["__experimentalCaptureToolbars",!0]);return-1!==k&&(u=b[k]),{clientId:s,rootClientId:o(s),name:p,align:m.align,isValid:v,moverDirection:g,isEmptyDefaultBlock:p&&gi({name:p,attributes:m}),capturingClientId:u}}}function Pk(){var e=Vt(zk,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.name,o=e.align,i=e.isValid,a=e.moverDirection,c=e.isEmptyDefaultBlock,l=e.capturingClientId;return r?Object(b.createElement)(Tk,{clientId:t,rootClientId:n,name:r,align:o,isValid:i,moverDirection:a,isEmptyDefaultBlock:c,capturingClientId:l}):null}var Ik=Object(b.createContext)(),Mk=Object(b.createContext)();function Nk(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectedBlockClientId:n(),hasMultiSelection:r(),isMultiSelecting:o()}}function Lk(e){pk(e.target)&&e.preventDefault()}var Ak=Object(b.forwardRef)((function(e,t){var n=e.children,r=e.className,o=e.hasPopover,i=void 0===o||o,a=Vt(Nk,[]),c=a.selectedBlockClientId,l=a.hasMultiSelection,s=a.isMultiSelecting,u=Ut("core/block-editor").selectBlock,f=function(e){var t=Vt(yk,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,i=t.hasMultiSelection,a=t.getBlockParents,c=t.selectedBlockClientId,l=Ut("core/block-editor"),s=l.startMultiSelect,u=l.stopMultiSelect,f=l.multiSelect,d=l.selectBlock,p=Object(b.useRef)(),h=Object(b.useRef)(),m=Object(b.useRef)();Object(b.useEffect)((function(){if(i&&!r){var e=o.length;if(!(e<2)){var t=o[0],n=o[e-1],a=fk(t),l=fk(n),s=window.getSelection(),u=document.createRange();a=gk(a,"start"),l=gk(l,"end"),u.setStartBefore(a),u.setEndAfter(l),s.removeAllRanges(),s.addRange(u)}}else{if(!c||r)return;var f=window.getSelection();if(f.rangeCount&&!f.isCollapsed){var d=fk(c),p=f.getRangeAt(0),h=p.startContainer,m=p.endContainer;d.contains(h)&&d.contains(m)||f.removeAllRanges()}}}),[i,r,o,d,c]);var v=Object(b.useCallback)((function(t){var n=t.isSelectionEnd,r=window.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=pk(r.focusNode);if(h.current===o){if(d(o),n&&(kk(e.current,!0),r.rangeCount)){var i=r.getRangeAt(0).commonAncestorContainer;m.current.contains(i)&&m.current.focus()}}else{var c=[].concat(ae(a(h.current)),[h.current]),l=[].concat(ae(a(o)),[o]),s=Math.min(c.length,l.length)-1;f(c[s],l[s])}}else kk(e.current,!0)}),[d,a,f]),g=Object(b.useCallback)((function(){document.removeEventListener("selectionchange",v),window.removeEventListener("mouseup",g),p.current=window.requestAnimationFrame((function(){v({isSelectionEnd:!0}),u()}))}),[v,u]);return Object(b.useEffect)((function(){return function(){document.removeEventListener("selectionchange",v),window.removeEventListener("mouseup",g),window.cancelAnimationFrame(p.current)}}),[v,g]),Object(b.useCallback)((function(t){if(n){if(h.current=t,m.current=document.activeElement,m.current){var r=document.querySelector(".block-editor-block-inspector");if(r&&r.contains(m.current))return}s(),document.addEventListener("selectionchange",v),window.addEventListener("mouseup",g),kk(e.current,!1)}}),[n,s,g])}(t);return Object(b.createElement)(jk,{className:r,isMultiSelecting:s,hasMultiSelection:l,selectedBlockClientId:c,containerRef:t},Object(b.createElement)(Mk.Provider,{value:Object(b.useState)({})},i?Object(b.createElement)(Pk,null):null,Object(b.createElement)("div",{ref:t,className:r,onFocus:function(e){if(!l){var t=pk(e.target);t&&t!==c&&u(t)}},onDragStart:Lk},Object(b.createElement)(Ik.Provider,{value:f},n))))}));function Dk(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 Hk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dk(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rk=Ft((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,i=e("core/block-editor"),a=i.isBlockSelected,c=i.isAncestorMultiSelected,l=i.isBlockMultiSelected,s=i.isFirstMultiSelectedBlock,u=i.getLastMultiSelectedBlockClientId,f=i.isTyping,d=i.getBlockMode,p=i.isSelectionEnabled,h=i.getSelectedBlocksInitialCaretPosition,m=i.getSettings,v=i.hasSelectedInnerBlock,b=i.getTemplateLock,g=i.__unstableGetBlockWithoutInnerBlocks,y=i.isNavigationMode,k=g(n),w=a(n),O=m(),_=O.focusMode,j=O.isRTL,E=b(r),C=v(n,!0),x=k||{},S=x.name,T=x.attributes,z=x.isValid;return{isMultiSelected:l(n),isPartOfMultiSelection:l(n)||c(n),isFirstMultiSelected:s(n),isLastMultiSelected:u()===n,isTypingWithinBlock:(w||C)&&f(),mode:d(n),isSelectionEnabled:p(),initialPosition:w?h():null,isEmptyDefaultBlock:S&&gi({name:S,attributes:T}),isLocked:!!E,isFocusMode:_&&o,isNavigationMode:y(),isRTL:j,block:k,name:S,attributes:T,isValid:z,isSelected:w,isAncestorOfSelectedBlock:C}})),Bk=$t((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.updateBlockAttributes,a=o.insertBlocks,c=o.insertDefaultBlock,l=o.removeBlock,s=o.mergeBlocks,u=o.replaceBlocks,f=o.toggleSelection,d=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;i(n,e)},onInsertBlocks:function(e,n){var r=t.rootClientId;a(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);c({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);a(e,i+1,o)},onRemove:function(e){l(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,a=o.getNextBlockClientId;if(e){var c=a(n);c&&s(n,c)}else{var l=i(n);l&&s(l,n)}},onReplace:function(e,n){e.length&&!gi(e[e.length-1])&&d(),u([t.clientId],e,n)},toggleSelection:function(e){f(e)}}})),Vk=C(jt,kf({isLargeViewport:"medium"}),Rk,Bk,yf((function(e){return!!e.block})),Rp("editor.BlockListBlock"))((function(e){var t=e.mode,n=e.isFocusMode,r=e.isLocked,o=e.clientId,i=e.isSelected,a=e.isMultiSelected,c=e.isPartOfMultiSelection,l=e.isFirstMultiSelected,s=e.isLastMultiSelected,u=e.isTypingWithinBlock,f=e.isEmptyDefaultBlock,d=e.isAncestorOfSelectedBlock,p=e.isSelectionEnabled,h=e.className,m=e.name,v=e.isValid,g=e.attributes,y=e.initialPosition,k=e.wrapperProps,O=e.setAttributes,_=e.onReplace,C=e.onInsertBlocksAfter,x=e.onMerge,S=e.onRemove,T=e.onInsertDefaultBlockAfter,z=e.toggleSelection,P=e.animateOnChange,I=e.enableAnimation,L=e.isNavigationMode,A=e.isMultiSelecting,D=e.hasSelectedUI,H=void 0===D||D,R=Object(b.useContext)(Ik),B=M(Object(b.useContext)(Mk),2)[1],V=Vt((function(e){return{isDraggingBlocks:e("core/block-editor").isDraggingBlocks()}}),[]).isDraggingBlocks,F=Object(b.useRef)(null);Object(b.useLayoutEffect)((function(){if(i||l||s){var e=F.current;return B((function(t){return Hk({},t,N({},o,e))})),function(){B((function(e){return Object(E.omit)(e,o)}))}}}),[i,l,s]);var U=M(Object(b.useState)(!1),2),W=U[0],K=U[1],$=Ei(m),q=j(w("Block: %s"),$.title),G=Object(b.useRef)(!0);Object(b.useEffect)((function(){A||L||!i||function(e){if(!F.current.contains(document.activeElement)){var t=Vn.tabbable.find(F.current).filter(kn).filter((function(t){return!e||dk(F.current,t)})),n=-1===y,r=(n?E.last:E.first)(t);r?bn(r,n):F.current.focus()}}(!G.current),G.current=!1}),[i,A,L]);var Y=bk(F,i||c,i||l,I,P),Q=m===_i(),X=!n&&!(!L&&i&&f&&v)&&i&&!u,Z=V&&(i||c);$.getEditWrapperProps&&(k=Hk({},k,{},$.getEditWrapperProps(g)));var J=k&&k["data-align"],ee=un()("wp-block block-editor-block-list__block",{"has-selected-ui":H,"has-warning":!v||!!W||Q,"is-selected":X&&H,"is-multi-selected":a,"is-reusable":Ti($),"is-dragging":Z,"is-typing":u,"is-focused":n&&(i||d),"is-focus-mode":n,"has-child-selected":d,"is-block-collapsed":J},h),te="block-".concat(o),ne=Object(b.createElement)(qp,{name:m,isSelected:i,attributes:g,setAttributes:O,insertBlocksAfter:r?void 0:C,onReplace:r?void 0:_,mergeBlocks:r?void 0:x,clientId:o,isSelectionEnabled:p,toggleSelection:z});return J&&(ne=Object(b.createElement)("div",{className:"is-block-content"},ne)),"visual"!==t&&(ne=Object(b.createElement)("div",{style:{display:"none"}},ne)),Object(b.createElement)(Dy.animated.div,ft({id:te,ref:F,className:ee,"data-block":o,"data-type":m,onKeyDown:i&&!r?function(e){var t=e.keyCode,n=e.target;switch(t){case Wn:n===F.current&&(T(),e.preventDefault());break;case Un:case 46:n===F.current&&(S(o),e.preventDefault())}}:void 0,onMouseLeave:i?function(e){var t=e.which;1===(e.buttons||t)&&R(o)}:void 0,tabIndex:"0","aria-label":q,role:"group"},k,{style:k&&k.style?Hk({},k.style,{},Y):Y}),Object(b.createElement)(ck,{onError:function(){return K(!0)}},v&&ne,v&&"html"===t&&Object(b.createElement)(uk,{clientId:o}),!v&&[Object(b.createElement)(ok,{key:"invalid-warning",clientId:o}),Object(b.createElement)("div",{key:"invalid-preview"},ac($,g))]),!!W&&Object(b.createElement)(ak,null))}));var Fk=C(Ft((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,i=n.isBlockValid,a=n.getSettings,c=n.getTemplateLock,l=!r(t.rootClientId),s=o(t.lastBlockClientId)===ji(),u=i(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:l||!s||!u,showPrompt:l,isLocked:!!c(t.rootClientId),placeholder:f}})),$t((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,a=e.rootClientId;if(t||!n)return null;var c=ba(i)||w("Start writing or type / to choose a block");return Object(b.createElement)("div",{"data-root-client-id":a||"",className:"wp-block block-editor-default-block-appender"},Object(b.createElement)(sk.a,{role:"button","aria-label":w("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?c:""}),Object(b.createElement)(Pw,{rootClientId:a,position:"top right",isAppender:!0}))}));function Uk(e){e.stopPropagation()}var Wk=Ft((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,i=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:i(ji(),n)}}))((function(e){var t,n=e.blockClientIds,r=e.rootClientId,o=e.canInsertDefaultBlock,i=e.isLocked,a=e.renderAppender,c=e.className;return i||!1===a?null:(t=a?Object(b.createElement)(a,null):o?Object(b.createElement)(Fk,{rootClientId:r,lastBlockClientId:Object(E.last)(n)}):Object(b.createElement)(Iw,{rootClientId:r,className:"block-list-appender__toggle"}),Object(b.createElement)("div",{tabIndex:-1,onFocus:Uk,className:un()("block-list-appender",c)},t))})),Kk=to("__experimentalBlockListFooter"),$k=Kk.Fill,qk=Kk.Slot;$k.Slot=qk;var Gk=$k,Yk=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z"})),Qk=Object(b.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Xk=Qk.Provider,Zk=Qk.Consumer,Jk=function(e){var t=e.dataTransfer;if(t){if(Object(E.includes)(t.types,"Files"))return"file";if(Object(E.includes)(t.types,"text/html"))return"html"}return"default"},ew=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop};b.Component;function tw(e){var t=e.element,n=e.onFilesDrop,r=e.onHTMLDrop,o=e.onDrop,i=e.isDisabled,a=e.withPosition,c=Object(b.useContext)(Qk),l=c.addDropZone,s=c.removeDropZone,u=M(Object(b.useState)({isDraggingOverDocument:!1,isDraggingOverElement:!1,type:null}),2),f=u[0],d=u[1];return Object(b.useEffect)((function(){if(!i){var e={element:t,onDrop:o,onFilesDrop:n,onHTMLDrop:r,setState:d,withPosition:a};return l(e),function(){s(e)}}}),[i,o,n,r,a]),f}function nw(e){var t,n=e.className,r=e.label,o=e.onFilesDrop,i=e.onHTMLDrop,a=e.onDrop,c=Object(b.useRef)(),l=tw({element:c,onFilesDrop:o,onHTMLDrop:i,onDrop:a}),s=l.isDraggingOverDocument,u=l.isDraggingOverElement,f=l.type;u&&(t=Object(b.createElement)("div",{className:"components-drop-zone__content"},Object(b.createElement)(xd,{icon:Yk,size:"40",className:"components-drop-zone__content-icon"}),Object(b.createElement)("span",{className:"components-drop-zone__content-text"},r||w("Drop files to upload"))));var d=un()("components-drop-zone",n,N({"is-active":(s||u)&&("file"===f&&o||"html"===f&&i||"default"===f&&a),"is-dragging-over-document":s,"is-dragging-over-element":u},"is-dragging-".concat(f),!!f));return Object(b.createElement)("div",{ref:c,className:d},t)}var rw=function(e){return Object(b.createElement)(Zk,null,(function(t){var n=t.addDropZone,r=t.removeDropZone;return Object(b.createElement)(nw,ft({addDropZone:n,removeDropZone:r},e))}))};function ow(e){var t=e.element,n=e.rootClientId,r=M(Object(b.useState)(null),2),o=r[0],i=r[1];var a=Vt((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,i=t.getClientIdsOfDescendants,a=t.getSettings,c=t.getTemplateLock;return{getBlockIndex:r,blockIndex:r(o,n),getClientIdsOfDescendants:i,hasUploadPermissions:!!a().mediaUpload,isLockedAll:"all"===c(n)}}),[n,o]),c=a.getBlockIndex,l=a.blockIndex,s=a.getClientIdsOfDescendants,u=a.hasUploadPermissions,f=a.isLockedAll,d=Ut("core/block-editor"),p=d.insertBlocks,h=d.updateBlockAttributes,m=d.moveBlockToPosition,v=Object(b.useCallback)((function(e){if(u){var t=Hi(Ri("from"),(function(t){return"files"===t.type&&t.isMatch(e)}));if(t){var r=t.transform(e,h);p(r,l,n)}}}),[u,h,p,l,n]),g=Object(b.useCallback)((function(e){var t=bs({HTML:e,mode:"BLOCKS"});t.length&&p(t,l,n)}),[p,l,n]),y=Object(b.useCallback)((function(e){var t=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(n){return t}return t}(e),r=t.srcRootClientId,i=t.srcClientId,a=t.srcIndex,u=t.type;if("block"===u&&i!==o&&!function(e,t){return s([e]).some((function(e){return e===t}))}(i,o||n)){var f,d,p=o?c(o,n):void 0,h=p&&a<p&&((f=r)===(d=n)||1==!f&&1==!d)?l-1:l;m(i,r,n,h)}}),[s,c,o,l,m,n]),k=tw({element:t,onFilesDrop:v,onHTMLDrop:g,onDrop:y,isDisabled:f,withPosition:!0}).position;if(Object(b.useEffect)((function(){if(k){var e=k.y-t.current.getBoundingClientRect().top,n=Array.from(t.current.children).find((function(t){return t.offsetTop+t.offsetHeight/2>e}));if(!n)return;var r=n.id.slice("block-".length);if(!r)return;i(r)}}),[k]),k)return o}var iw,aw=(iw=function(e){var t=e.className,n=e.rootClientId,r=e.isDraggable,o=e.renderAppender,i=e.__experimentalUIParts,a=void 0===i?{}:i,c=Vt((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isMultiSelecting,i=t.getSelectedBlockClientId,a=t.getMultiSelectedBlockClientIds,c=t.hasMultiSelection,l=t.getGlobalBlockCount,s=t.isTyping;return{blockClientIds:r(n),isMultiSelecting:o(),selectedBlockClientId:i(),multiSelectedBlockClientIds:a(),hasMultiSelection:c(),enableAnimation:!s()&&l()<=200}}),[n]),l=c.blockClientIds,s=c.isMultiSelecting,u=c.selectedBlockClientId,f=c.multiSelectedBlockClientIds,d=c.hasMultiSelection,p=c.enableAnimation,h=n?"div":Ak,m=Object(b.useRef)(),v=ow({element:m,rootClientId:n}),g=n?{}:{hasPopover:a.hasPopover};return Object(b.createElement)(h,ft({ref:m,className:un()("block-editor-block-list__layout",t)},g),l.map((function(e,t){var o=d?f.includes(e):u===e;return Object(b.createElement)(Nt,{key:e,value:!o},Object(b.createElement)(Vk,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:s,animateOnChange:t,enableAnimation:p,hasSelectedUI:a.hasSelectedUI,className:e===v?"is-drop-target":void 0}))})),Object(b.createElement)(Wk,{rootClientId:n,renderAppender:o,className:null===v?"is-drop-target":void 0}),Object(b.createElement)(Gk.Slot,null))},function(e){return Object(b.createElement)(Nt,{value:!1},Object(b.createElement)(iw,e))});function cw(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(b.useRef)(null),a=M(Object(b.useState)(!1),2),c=a[0],l=a[1],s=M(Object(b.useState)(1),2),u=s[0],f=s[1],d=M(Object(b.useState)({x:0,y:0}),2),p=d[0],h=p.x,m=p.y,v=d[1];if(Object(b.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e){var t=fk(e);if(t)return t.firstChild||t}(t[0].clientId);if(!r)return;var a=e.getBoundingClientRect();a={width:a.width-2*o,height:a.height-2*o,left:a.left,top:a.top};var c=r.getBoundingClientRect(),s=a.width/c.width||1,u=-(c.left-a.left)*s+o,d=a.height>c.height*s?(a.height-c.height*s)/2+o:0;f(s),v({x:u,y:d}),r.style.marginTop="0"}else{var p=e.getBoundingClientRect();f(p.width/n)}l(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var g={transform:"scale(".concat(u,")"),visibility:c?"visible":"hidden",left:h,top:m,width:n};return Object(b.createElement)("div",{ref:i,className:un()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":c}),"aria-hidden":!0},Object(b.createElement)(wv,{style:g,className:"block-editor-block-preview__content"},Object(b.createElement)(aw,null)))}var lw=Ft((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,a=Object(b.useMemo)((function(){return Object(E.castArray)(t)}),[t]),c=M(Object(b.useReducer)((function(e){return e+1}),0),2),l=c[0],s=c[1];return Object(b.useLayoutEffect)(s,[t]),Object(b.createElement)(Ay,{value:a,settings:i},Object(b.createElement)(cw,{key:l,blocks:a,viewportWidth:r,padding:o}))}));var sw=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,a=ln(e,["icon","onClick","isDisabled","title","className"]),c=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(b.createElement)("li",{className:"block-editor-block-types-list__list-item"},Object(b.createElement)(yo,ft({className:un()("block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},a),Object(b.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:c},Object(b.createElement)(Jm,{icon:t,showColors:!0})),Object(b.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function uw(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 fw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uw(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var dw=function(e){var t=e.items,n=void 0===t?[]:t,r=e.onSelect,o=e.onHover,i=void 0===o?function(){}:o,a=e.children,c=n.reduce((function(e,t){var n=t.variations,r=void 0===n?[]:n;return r.some((function(e){return e.isDefault}))||e.push(t),r.length&&(e=e.concat(r.map((function(e){return fw({},t,{id:"".concat(t.id,"-").concat(e.name),icon:e.icon||t.icon,title:e.title||t.title,description:e.description||t.description,example:e.hasOwnProperty("example")?e.example:t.example,initialAttributes:fw({},t.initialAttributes,{},e.attributes),innerBlocks:e.innerBlocks})})))),e}),[]);return Object(b.createElement)("ul",{role:"list",className:"block-editor-block-types-list"},c.map((function(e){return Object(b.createElement)(sw,{key:e.id,className:(t=e.id,n="editor-block-list-item-"+t.replace(/\//,"-").replace(/^core-/,""),Je("blocks.getBlockMenuDefaultClassName",n,t)),icon:e.icon,onClick:function(){r(e),i(null)},onFocus:function(){return i(e)},onMouseEnter:function(){return i(e)},onMouseLeave:function(){return i(null)},onBlur:function(){return i(null)},isDisabled:e.isDisabled,title:e.title});var t,n})),a)};var pw=function(e){var t=e.blockType;return Object(b.createElement)("div",{className:"block-editor-block-card"},Object(b.createElement)(Jm,{icon:t.icon,showColors:!0}),Object(b.createElement)("div",{className:"block-editor-block-card__content"},Object(b.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(b.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var hw=C(yf((function(e){var t=e.items;return t&&t.length>0})),Ft((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=ln(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(b.createElement)("div",{className:"block-editor-inserter__child-blocks"},(t||n)&&Object(b.createElement)("div",{className:"block-editor-inserter__parent-block-header"},Object(b.createElement)(Jm,{icon:t,showColors:!0}),n&&Object(b.createElement)("h2",null,n)),Object(b.createElement)(dw,ft({items:r},o)))})),mw=to("__experimentalInserterMenuExtension"),vw=mw.Fill,bw=mw.Slot;vw.Slot=bw;var gw=vw;function yw(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}var kw=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(E.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(E.words)(e)},ww=function(e,t){return Object(E.differenceWith)(e,kw(t),(function(e,t){return t.includes(e)}))},Ow=function(e,t,n,r){var o=kw(r);return 0===o.length?e:e.filter((function(e){var r=e.name,i=e.title,a=e.category,c=e.keywords,l=void 0===c?[]:c,s=e.variations,u=void 0===s?[]:s,f=ww(o,i);if(0===f.length)return!0;if(0===(f=ww(f,l.join(" "))).length)return!0;f=ww(f,Object(E.get)(Object(E.find)(t,{slug:a}),["title"]));var d=n[r.split("/")[0]];return d&&(f=ww(f,d.title)),0===f.length||0===(f=ww(f,u.map((function(e){return e.title})).join(" "))).length})).map((function(e){if(Object(E.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(E.intersectionWith)(o,kw(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(E.isEmpty)(t)?e:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yw(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{variations:t})}))};function _w(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 jw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_w(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ew=function(e){return e.stopPropagation()},Cw=function(e){return e.name.split("/")[0]},xw=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},itemsPerCollection:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(bt(e)),e.onHover=e.onHover.bind(bt(e)),e.panels={},e.inserterResults=Object(b.createRef)(),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks&&this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(E.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(ae(t.state.openPanels),[e])}),t.props.setTimeout((function(){iv()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var i=[];return o.length>0&&i.push("reusable"),r.length>0&&(i=i.concat(Object.keys(t),Object.keys(n))),i}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.collections,o=t.debouncedSpeak,i=t.items,a=t.rootChildBlocks,c=Ow(i,n,r,e),l=Object(E.filter)(c,(function(e){var t=e.name;return Object(E.includes)(a,t)})),s=[];if(!e){var u=this.props.maxSuggestedItems||9;s=Object(E.filter)(i,(function(e){return e.utility>0})).slice(0,u)}var f=Object(E.filter)(c,{category:"reusable"}),d=function(e){return Object(E.findIndex)(n,(function(t){return t.slug===e.category}))},p=Object(E.flow)((function(e){return Object(E.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(E.sortBy)(e,d)}),(function(e){return Object(E.groupBy)(e,"category")}))(c),h=jw({},r);Object.keys(r).forEach((function(e){h[e]=c.filter((function(t){return Cw(t)===e})),0===h[e].length&&delete h[e]})),this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:s,reusableItems:f,itemsPerCategory:p,itemsPerCollection:h,openPanels:this.filterOpenPanels(e,p,h,c,f)});var m=Object.keys(p).reduce((function(e,t){return e+p[t].length}),0),v=O("%d result found.","%d results found.",m);o(v)}},{key:"onKeyDown",value:function(e){Object(E.includes)([Kn,Gn,qn,$n,Un,Wn],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.collections,o=t.instanceId,i=t.onSelect,a=t.rootClientId,c=t.showInserterHelpPanel,l=this.state,s=l.childItems,u=l.hoveredItem,f=l.itemsPerCategory,d=l.itemsPerCollection,p=l.openPanels,h=l.reusableItems,m=l.suggestedItems,v=l.filterValue,g=function(e){return-1!==p.indexOf(e)},y=!(Object(E.isEmpty)(m)&&Object(E.isEmpty)(h)&&Object(E.isEmpty)(f)&&Object(E.isEmpty)(d)),k=u?Ei(u.name):null,O=y&&c;return Object(b.createElement)("div",{className:un()("block-editor-inserter__menu",{"has-help-panel":O}),onKeyPress:Ew,onKeyDown:this.onKeyDown},Object(b.createElement)("div",{className:"block-editor-inserter__main-area"},Object(b.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(o),className:"screen-reader-text"},w("Search for a block")),Object(b.createElement)("input",{id:"block-editor-inserter__search-".concat(o),type:"search",placeholder:w("Search for a block"),className:"block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(b.createElement)("div",{className:"block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":w("Available block types")},Object(b.createElement)(hw,{rootClientId:a,items:s,onSelect:i,onHover:this.onHover}),!!m.length&&Object(b.createElement)(Wf,{title:_("Most used","blocks"),opened:g("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(b.createElement)(dw,{items:m,onSelect:i,onHover:this.onHover})),Object(E.map)(n,(function(t){var n=f[t.slug];return n&&n.length?Object(b.createElement)(Wf,{key:t.slug,title:t.title,icon:t.icon,opened:g(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(b.createElement)(dw,{items:n,onSelect:i,onHover:e.onHover})):null})),Object(E.map)(r,(function(t,n){var r=d[n];return r&&r.length?Object(b.createElement)(Wf,{key:n,title:t.title,icon:t.icon,opened:g(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(b.createElement)(dw,{items:r,onSelect:i,onHover:e.onHover})):null})),!!h.length&&Object(b.createElement)(Wf,{className:"block-editor-inserter__reusable-blocks-panel",title:w("Reusable"),opened:g("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(b.createElement)(dw,{items:h,onSelect:i,onHover:this.onHover}),Object(b.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:mv("edit.php",{post_type:"wp_block"})},w("Manage all reusable blocks"))),Object(b.createElement)(gw.Slot,{fillProps:{onSelect:i,onHover:this.onHover,filterValue:v,hasItems:y}},(function(e){return e.length?e:y?null:Object(b.createElement)("p",{className:"block-editor-inserter__no-results"},w("No blocks found."))})))),O&&Object(b.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},u&&Object(b.createElement)(b.Fragment,null,!Ti(u)&&Object(b.createElement)(pw,{blockType:u}),Object(b.createElement)("div",{className:"block-editor-inserter__preview"},Ti(u)||k.example?Object(b.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(b.createElement)(lw,{padding:10,viewportWidth:500,blocks:k.example?Vi(u.name,{attributes:jw({},k.example.attributes,{},u.initialAttributes),innerBlocks:k.example.innerBlocks}):Ii(u.name,u.initialAttributes)})):Object(b.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},w("No Preview Available.")))),!u&&Object(b.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(b.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(b.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},w("Content blocks")),Object(b.createElement)("p",null,w("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(b.createElement)("p",null,w("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(b.createElement)("p",null,w("Browse through the library to learn more about what each block does."))),Object(b.createElement)(pv,null,dv(w("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(b.createElement)("kbd",null)})))))}}]),t}(b.Component),Sw=C(Ft((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,a=e("core/block-editor"),c=a.getInserterItems,l=a.getBlockName,s=a.getBlockRootClientId,u=a.getBlockSelectionEnd,f=a.getSettings,d=e("core/blocks"),p=d.getCategories,h=d.getCollections,m=d.getChildBlockNames,v=o;if(!v&&!n&&!r){var b=u();b&&(v=s(b)||void 0)}var g=l(v),y=f(),k=y.showInserterHelpPanel,w=y.__experimentalFetchReusableBlocks;return{categories:p(),collections:h(),rootChildBlocks:m(g),items:c(v),showInserterHelpPanel:i&&k,destinationRootClientId:v,fetchReusableBlocks:w}})),$t((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,a=t.clientId,c=t.destinationRootClientId,l=t.isAppender;if(a)return n(a,c);var s=o();return!l&&s?n(s,c)+1:i(c).length}return{showInsertionPoint:function(){var e=a();i(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),i=o.replaceBlocks,c=o.insertBlock,l=r("core/block-editor").getSelectedBlock,s=t.isAppender,u=t.onSelect,f=t.__experimentalSelectBlockOnInsert,d=n.name,p=(n.title,n.initialAttributes),h=n.innerBlocks,m=l(),v=Ii(d,p,function e(t){return Object(E.map)(t,(function(t){var n=M(t,3),r=n[0],o=n[1],i=n[2];return Ii(r,o,e(void 0===i?[]:i))}))}(h));if(!s&&m&&gi(m))i(m.clientId,v);else if(c(v,a(),t.destinationRootClientId,f),!f){var b=w("%s block added");pd(b)}return u(),v}}})),Cm,id,Yu)(xw),Tw=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=(e.blockTitle,e.hasSingleBlockType);return t=i?_("Add %s","directly add the only allowed block"):_("Add block","Generic label for block inserter button"),Object(b.createElement)(yo,{icon:Id,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!i&&"true","aria-expanded":!i&&o,disabled:r})},zw=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).onToggle=e.onToggle.bind(bt(e)),e.renderToggle=e.renderToggle.bind(bt(e)),e.renderContent=e.renderContent.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.blockTitle,a=r.hasSingleBlockType,c=r.renderToggle,l=void 0===c?Tw:c;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:a})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,a=n.showInserterHelpPanel,c=n.__experimentalSelectBlockOnInsert;return Object(b.createElement)(Sw,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:a,__experimentalSelectBlockOnInsert:c})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(b.createElement)(Td,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:w("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(b.Component),Pw=C([Ft((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockRootClientId,a=o.hasInserterItems,c=o.__experimentalGetAllowedBlocks,l=e("core/blocks").getBlockVariations,s=c(r=r||i(n)||void 0),u=1===Object(E.size)(s)&&0===Object(E.size)(l(s[0].name,"inserter")),f=!1;return u&&(f=s[0]),{hasItems:a(r),hasSingleBlockType:u,blockTitle:f?f.title:"",allowedBlockType:f,rootClientId:r}})),$t((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,i=t.isAppender,a=t.hasSingleBlockType,c=t.allowedBlockType,l=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Ii(c.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,a=e.getBlockSelectionEnd,c=e.getBlockOrder;if(o)return t(o,n);var l=a();return!i&&l?t(l,n)+1:c(n).length}(),n,l),!l)){var s=j(w("%s block added"),c.title);pd(s)}}}})),yf((function(e){return e.hasItems}))])(zw);var Iw=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(b.createElement)(Pw,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,a=(e.blockTitle,e.hasSingleBlockType);t=a?_("Add %s","directly add the only allowed block"):_("Add block","Generic label for block inserter button");var c=!a;return Object(b.createElement)(po,{text:t},Object(b.createElement)(yo,{className:un()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":c?"true":void 0,"aria-expanded":c?i:void 0,disabled:o,label:t},Object(b.createElement)("span",{className:"screen-reader-text"},t),Object(b.createElement)(xd,{icon:Id})))},isAppender:!0})};function Mw(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,i=e.showNestedBlocks,a=e.parentBlockClientId,c=o&&!!a;return Object(b.createElement)("ul",{className:"block-editor-block-navigation__list",role:"list"},Object(E.map)(Object(E.omitBy)(t,E.isNil),(function(e){var t=Ei(e.name),a=e.clientId===n;return Object(b.createElement)("li",{key:e.clientId},Object(b.createElement)("div",{className:"block-editor-block-navigation__item"},Object(b.createElement)(yo,{className:un()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(b.createElement)(Jm,{icon:t.icon,showColors:!0}),ki(t,e.attributes),a&&Object(b.createElement)("span",{className:"screen-reader-text"},w("(selected block)")))),i&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(b.createElement)(Mw,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),c&&Object(b.createElement)("li",null,Object(b.createElement)("div",{className:"block-editor-block-navigation__item"},Object(b.createElement)(Iw,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}C(Ft((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,a=n();return{rootBlocks:i(),rootBlock:a?o(r(a)):null,selectedBlockClientId:a}})),$t((function(e,t){var n=t.onSelect,r=void 0===n?E.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(b.createElement)(Ip,{role:"presentation",className:"block-editor-block-navigation__container"},Object(b.createElement)("p",{className:"block-editor-block-navigation__label"},w("Block navigation")),i&&Object(b.createElement)(Mw,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(b.createElement)(Mw,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(b.createElement)(dr,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Nw=n(55),Lw=n.n(Nw);var Aw=function(e){var t,n=e.icon,r=e.children,o=e.label,i=e.instructions,a=e.className,c=e.notices,l=e.preview,s=e.isColumnLayout,u=ln(e,["icon","children","label","instructions","className","notices","preview","isColumnLayout"]),f=M(Lw()(),2),d=f[0],p=f[1].width;"number"==typeof p&&(t={"is-large":p>=320,"is-medium":p>=160&&p<320,"is-small":p<160});var h=un()("components-placeholder",a,t),m=un()("components-placeholder__fieldset",{"is-column-layout":s});return Object(b.createElement)("div",ft({},u,{className:h}),d,c,l&&Object(b.createElement)("div",{className:"components-placeholder__preview"},l),Object(b.createElement)("div",{className:"components-placeholder__label"},Object(b.createElement)(bo,{icon:n}),o),!!i&&Object(b.createElement)("div",{className:"components-placeholder__instructions"},i),Object(b.createElement)("div",{className:m},r))};var Dw=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(dr,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Hw=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(dr,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}));Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(dr,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),_("Vertically Align Top","Block vertical alignment setting"),_("Vertically Align Middle","Block vertical alignment setting"),_("Vertically Align Bottom","Block vertical alignment setting");dt(Ft((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(E.isEmpty)(r)||!o}})),"withColorContext")(Pd);var Rw={previous:["ctrl+shift+`",Jn.access("p")],next:["ctrl+`",Jn.access("n")]};dt((function(e){return function(t){var n=t.shortcuts,r=void 0===n?Rw:n,o=ln(t,["shortcuts"]),i=Object(b.useRef)(),a=M(Object(b.useState)(!1),2),c=a[0],l=a[1],s=un()("components-navigate-regions",{"is-focusing-regions":c});function u(e){var t=Array.from(i.current.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),l(!0)}}var f=Object(b.useCallback)((function(){return u(-1)}),[i]),d=Object(b.useCallback)((function(){return u(1)}),[i]);return Hf(r.previous,f,{bindGlobal:!0}),Hf(r.next,d,{bindGlobal:!0}),Object(b.createElement)("div",{ref:i,className:s,onClick:function(){return l(!1)}},Object(b.createElement)(e,o))}}),"navigateRegions")((function(e){var t=e.footer,n=e.header,r=e.sidebar,o=e.content,i=e.publish,a=e.className;return function(e){Object(b.useEffect)((function(){var t=document&&document.querySelector("html:not(.".concat(e,")"));if(t)return t.classList.toggle(e),function(){t.classList.toggle(e)}}),[e])}("block-editor-editor-skeleton__html-container"),Object(b.createElement)("div",{className:un()(a,"block-editor-editor-skeleton")},!!n&&Object(b.createElement)("div",{className:"block-editor-editor-skeleton__header",role:"region","aria-label":w("Editor top bar"),tabIndex:"-1"},n),Object(b.createElement)("div",{className:"block-editor-editor-skeleton__body"},Object(b.createElement)("div",{className:"block-editor-editor-skeleton__content",role:"region","aria-label":w("Editor content"),tabIndex:"-1"},o),!!r&&Object(b.createElement)("div",{className:"block-editor-editor-skeleton__sidebar",role:"region","aria-label":w("Editor settings"),tabIndex:"-1"},r),!!i&&Object(b.createElement)("div",{className:"block-editor-editor-skeleton__publish",role:"region","aria-label":w("Editor publish"),tabIndex:"-1"},i)),!!t&&Object(b.createElement)("div",{className:"block-editor-editor-skeleton__footer",role:"region","aria-label":w("Editor footer"),tabIndex:"-1"},t))}));function Bw(e){var t=e.help,n=e.label,r=e.multiple,o=void 0!==r&&r,i=e.onChange,a=e.options,c=void 0===a?[]:a,l=e.className,s=e.hideLabelFromVision,u=ln(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),f=od(Bw),d="inspector-select-control-".concat(f);return!Object(E.isEmpty)(c)&&Object(b.createElement)(Gf,{label:n,hideLabelFromVision:s,id:d,help:t,className:l},Object(b.createElement)("select",ft({id:d,className:"components-select-control__input",onChange:function(e){if(o){var t=ae(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));i(t)}else i(e.target.value)},"aria-describedby":t?"".concat(d,"__help"):void 0,multiple:o},u),c.map((function(e,t){return Object(b.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}b.Component;var Vw=dt((function(e){return Kp((function(e){return Object(E.pick)(e,["clientId"])}))(e)}),"withClientId"),Fw=Vw((function(e){var t=e.clientId,n=e.showSeparator;return Object(b.createElement)(Iw,{rootClientId:t,showSeparator:n})})),Uw=C([Vw,Ft((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(E.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(b.createElement)(Fk,{rootClientId:t,lastBlockClientId:n})})),Ww=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.block,n=e.templateLock,r=e.__experimentalBlocks,o=e.replaceInnerBlocks,i=e.__unstableMarkNextChangeAsNotPersistent;0!==t.innerBlocks.length&&"all"!==n||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1}),r&&(i(),o(r))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.block,r=t.templateLock,o=t.template,i=t.isLastBlockChangePersistent,a=t.onInput,c=t.onChange,l=n.innerBlocks;(this.updateNestedSettings(),0===l.length||"all"===r)&&(!Object(E.isEqual)(o,e.template)&&this.synchronizeBlocksWithTemplate());if(e.block.innerBlocks!==l){var s=i?c:a;s&&s(l)}}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,i=_s(o,t);Object(E.isEqual)(i,o)||r(i)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,a={allowedBlocks:n,templateLock:void 0===o?i:o,__experimentalCaptureToolbars:e.__experimentalCaptureToolbars||!1,__experimentalMoverDirection:e.__experimentalMoverDirection,__experimentalUIParts:e.__experimentalUIParts};_t()(t,a)||r(a)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.__experimentalCaptureToolbars,i=ln(e,["enableClickThrough","clientId","hasOverlay","__experimentalCaptureToolbars"]),a=this.state.templateInProcess,c=un()("block-editor-inner-blocks",{"has-overlay":t&&r,"is-capturing-toolbar":o});return Object(b.createElement)("div",{className:c},!a&&Object(b.createElement)(aw,ft({rootClientId:n},i)))}}]),t}(b.Component);(Ww=C([kf({isSmallScreen:"< medium"}),Kp((function(e){return Object(E.pick)(e,["clientId"])})),Ft((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,a=n.getBlockListSettings,c=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=n.isLastBlockChangePersistent,f=t.clientId,d=t.isSmallScreen,p=i(f),h=c(f);return{block:p,blockListSettings:a(f),hasOverlay:"core/template"!==p.name&&!r(f)&&!o(f,!0),parentLock:l(h),enableClickThrough:s()||d,isLastBlockChangePersistent:u()}})),$t((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.__unstableMarkNextChangeAsNotPersistent,i=n.updateBlockListSettings,a=t.block,c=t.clientId,l=t.templateInsertUpdatesSelection,s=void 0===l||l;return{replaceInnerBlocks:function(e){r(c,e,0===a.innerBlocks.length&&s&&0!==e.length)},__unstableMarkNextChangeAsNotPersistent:o,updateNestedSettings:function(t){e(i(c,t))}}}))])(Ww)).DefaultBlockAppender=Uw,Ww.ButtonBlockAppender=Fw,Ww.Content=tc((function(e){var t=e.BlockContent;return Object(b.createElement)(t,null)}));var Kw=to("InspectorAdvancedControls"),$w=Kw.Fill,qw=Kw.Slot,Gw=$p($w);Gw.slotName="InspectorAdvancedControls",Gw.Slot=qw;var Yw=Gw;var Qw=Object(b.forwardRef)((function(e,t){var n=e.href,r=e.children,o=e.className,i=e.rel,a=void 0===i?"":i,c=ln(e,["href","children","className","rel"]);a=Object(E.uniq)(Object(E.compact)([].concat(ae(a.split(" ")),["external","noreferrer","noopener"]))).join(" ");var l=un()("components-external-link",o);return Object(b.createElement)("a",ft({},c,{className:l,href:n,target:"_blank",rel:a,ref:t}),r,Object(b.createElement)($f,{as:"span"},w("(opens in a new tab)")),Object(b.createElement)(ho,{icon:"external",className:"components-external-link__icon"}))}));function Xw(e){var t=e.replace(/^(?:https?:)\/\/(?:www\.)?/,"");return t.match(/^[^\/]+\/$/)?t.replace("/",""):t}function Zw(e){try{return decodeURI(e)}catch(t){return e}}function Jw(e){try{return new URL(e),!0}catch(pj){return!1}}var eO=function(e){var t=e.className,n=e.checked,r=e.id,o=e.onChange,i=void 0===o?E.noop:o,a=ln(e,["className","checked","id","onChange"]),c=un()("components-form-toggle",t,{"is-checked":n});return Object(b.createElement)("span",{className:c},Object(b.createElement)("input",ft({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},a)),Object(b.createElement)("span",{className:"components-form-toggle__track"}),Object(b.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(b.createElement)(vr,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(b.createElement)(dr,{d:"M0 0h2v6H0z"})):Object(b.createElement)(vr,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(b.createElement)(dr,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))};id(function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).onChange=e.onChange.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,o=n.checked,i=n.help,a=n.instanceId,c=n.className,l="inspector-toggle-control-".concat(a);return i&&(e=l+"__help",t=Object(E.isFunction)(i)?i(o):i),Object(b.createElement)(Gf,{id:l,help:t,className:un()("components-toggle-control",c)},Object(b.createElement)(eO,{id:l,checked:o,onChange:this.onChange,"aria-describedby":e}),Object(b.createElement)("label",{htmlFor:l,className:"components-toggle-control__label"},r))}}]),t}(b.Component));w("Open in new tab");var tO=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(bt(e)),e.bindInput=e.bindInput.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.multiple,o=void 0!==r&&r,i=e.onChange,a=e.render,c=ln(e,["accept","children","multiple","onChange","render"]),l=a?a({openFileDialog:this.openFileDialog}):Object(b.createElement)(yo,ft({onClick:this.openFileDialog},c),n);return Object(b.createElement)("div",{className:"components-form-file-upload"},l,Object(b.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:t,onChange:i}))}}]),t}(b.Component);var nO=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?E.noop:n,o=e.className,i=e.children;return o=un()("components-notice-list",o),Object(b.createElement)("div",{className:o},i,ae(t).reverse().map((function(e){return Object(b.createElement)(yh,ft({},Object(E.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t})))};function rO(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}var oO=dt((function(e){return function(t){function n(){var e;return pt(this,n),(e=gt(this,yt(n).apply(this,arguments))).createNotice=e.createNotice.bind(bt(e)),e.createErrorNotice=e.createErrorNotice.bind(bt(e)),e.removeNotice=e.removeNotice.bind(bt(e)),e.removeAllNotices=e.removeAllNotices.bind(bt(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return wt(n,t),mt(n,[{key:"createNotice",value:function(e){var t=e.id?e:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rO(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{id:mi()()});this.setState((function(e){return{noticeList:[].concat(ae(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(b.createElement)(e,ft({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(b.createElement)(nO,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(b.Component)})),iO=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z"})),aO=Rp("editor.MediaUpload")((function(){return null}));var cO=Ft((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),lO=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"}));function sO(){return Object(b.createElement)("span",{className:"components-spinner"})}var uO=function(e){return e.stopPropagation()},fO=function(e){function t(e){var n;return pt(this,t),(n=gt(this,yt(t).call(this,e))).onChange=n.onChange.bind(bt(n)),n.onKeyDown=n.onKeyDown.bind(bt(n)),n.selectLink=n.selectLink.bind(bt(n)),n.handleOnClick=n.handleOnClick.bind(bt(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(bt(n)),n.autocompleteRef=e.autocompleteRef||Object(b.createRef)(),n.inputRef=Object(b.createRef)(),n.updateSuggestions=Object(E.throttle)(n.updateSuggestions.bind(bt(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return wt(t,e),mt(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,iv()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100)),this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentDidMount",value:function(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"shouldShowInitialSuggestions",value:function(){var e=this.state.suggestions,t=this.props,n=t.__experimentalShowInitialSuggestions,r=void 0!==n&&n,o=t.value;return!this.isUpdatingSuggestions&&r&&!(o&&o.length)&&!(e&&e.length)}},{key:"updateSuggestions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var i=!(t&&t.length);if(i||!(t.length<2||!o&&Jw(t))){this.isUpdatingSuggestions=!0,this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var a=r(t,{isInitialSuggestions:i});a.then((function(t){e.suggestionsRequest===a&&(e.setState({suggestions:t,loading:!1}),t.length?e.props.debouncedSpeak(j(O("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(w("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===a&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=a}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var a=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case $n:e.stopPropagation(),e.preventDefault();var c=r?r-1:o.length-1;this.setState({selectedSuggestion:c});break;case Gn:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case 9:null!==this.state.selectedSuggestion&&(this.selectLink(a),this.props.speak(w("Link selected.")));break;case Wn:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(a))}}else switch(e.keyCode){case $n:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Gn:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,i=t.isFullWidth,a=t.hasBorder,c=t.__experimentalRenderSuggestions,l=t.placeholder,s=void 0===l?w("Paste URL or type to search"):l,u=t.value,f=void 0===u?"":u,d=t.autoFocus,p=void 0===d||d,h=t.__experimentalShowInitialSuggestions,m=void 0!==h&&h,v=this.state,g=v.showSuggestions,y=v.suggestions,k=v.selectedSuggestion,O=v.loading,_="url-input-control-".concat(r),j="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),x={id:j,ref:this.autocompleteRef,role:"listbox"},S=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===k}};return Object(b.createElement)(Gf,{label:n,id:_,className:un()("block-editor-url-input",o,{"is-full-width":i,"has-border":a})},Object(b.createElement)("input",{autoFocus:p,type:"text","aria-label":w("URL"),required:!0,value:f,onChange:this.onChange,onInput:uO,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":g,"aria-autocomplete":"list","aria-owns":j,"aria-activedescendant":null!==k?"".concat(C,"-").concat(k):void 0,ref:this.inputRef}),O&&Object(b.createElement)(sO,null),Object(E.isFunction)(c)&&g&&!!y.length&&c({suggestions:y,selectedSuggestion:k,suggestionsListProps:x,buildSuggestionItemProps:S,isLoading:O,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:m&&!(f&&f.length)}),!Object(E.isFunction)(c)&&g&&!!y.length&&Object(b.createElement)(uo,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(b.createElement)("div",ft({},x,{className:un()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(b.createElement)(yo,ft({},S(0,n),{key:t.id,className:un()("block-editor-url-input__suggestion",{"is-selected":n===k}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,i=void 0!==o&&o,a=t.showSuggestions,c=n&&n.length;return i||c||(a=!1),!0===r&&(a=!1),{showSuggestions:a}}}]),t}(b.Component),dO=C(Yu,Cm,id,Ft((function(e,t){if(!Object(E.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(fO);function pO(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=ln(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(b.createElement)("form",ft({className:un()("block-editor-url-popover__link-editor",n)},i),Object(b.createElement)(dO,{value:o,onChange:r,autocompleteRef:t}),Object(b.createElement)(yo,{icon:lO,label:w("Apply"),type:"submit"}))}var hO=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"}));function mO(e){var t=e.url,n=e.urlLabel,r=e.className,o=un()(r,"block-editor-url-popover__link-viewer-url");return t?Object(b.createElement)(Qw,{className:o,href:t},n||Xw(Zw(t))):Object(b.createElement)("span",{className:o})}function vO(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,a=ln(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(b.createElement)("div",ft({className:un()("block-editor-url-popover__link-viewer",t)},a),Object(b.createElement)(mO,{url:o,urlLabel:i,className:n}),r&&Object(b.createElement)(yo,{icon:hO,label:w("Edit"),onClick:r}))}C(oO)((function(e){var t,n=e.mediaURL,r=e.mediaId,o=e.allowedTypes,i=e.accept,a=e.onSelect,c=e.onSelectURL,l=e.onError,s=e.name,u=void 0===s?w("Replace"):s,f=M(Object(b.useState)(!1),2),d=f[0],p=f[1],h=M(Object(b.useState)(!1),2),m=h[0],v=h[1],g=M(Object(b.useState)(n),2),y=g[0],k=g[1],O=Vt((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),_=Object(b.createRef)(),j=function(e){a(e),k(e.url),pd(w("The media file has been replaced"))},E=function(e){e.keyCode===Gn&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=m?Object(b.createElement)(pO,{onKeyDown:function(e){[Kn,Gn,qn,$n,Un,Wn].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:y,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return k(e)},onSubmit:function(e){e.preventDefault(),c(y),v(!1),_.current.focus()}}):Object(b.createElement)(vO,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:y,onEditLinkClick:function(){return v(!m)}}),Object(b.createElement)(Td,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(Hp,{className:"media-replace-flow"},Object(b.createElement)(yo,{ref:_,"aria-expanded":t,onClick:n,onKeyDown:E},u,Object(b.createElement)("span",{className:"block-editor-media-replace-flow__indicator"})))},renderContent:function(e){var n=e.onClose;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ip,null,Object(b.createElement)(aO,{value:r,onSelect:function(e){return j(e)},allowedTypes:o,render:function(e){var t=e.open;return Object(b.createElement)(Qy,{icon:"admin-media",onClick:t},w("Open Media Library"))}}),Object(b.createElement)(cO,null,Object(b.createElement)(tO,{onChange:function(e){!function(e,t){var n=e.target.files;O({allowedTypes:o,filesList:n,onFileChange:function(e){var n=M(e,1)[0];j(n),t()},onError:l})}(e,n)},accept:i,render:function(e){var t=e.openFileDialog;return Object(b.createElement)(Qy,{icon:Yk,onClick:function(){t()}},w("Upload"))}})),c&&Object(b.createElement)(Qy,{icon:iO,onClick:function(){return p(!d)},"aria-expanded":d},Object(b.createElement)("div",null," ",w("Insert from URL")," "))),d&&Object(b.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})}));var bO=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(bt(e)),e.state={isSettingsExpanded:!1},e}return wt(t,e),mt(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,a=e.focusOnMount,c=void 0===a?"firstElement":a,l=ln(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,u=!!r&&s;return Object(b.createElement)(uo,ft({className:"block-editor-url-popover",focusOnMount:c,position:i},l),Object(b.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(b.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(b.createElement)(yo,{className:"block-editor-url-popover__settings-toggle",icon:Vf,label:w("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),u&&Object(b.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!u&&Object(b.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(b.Component);bO.LinkEditor=pO,bO.LinkViewer=vO;var gO=bO,yO=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(b.createElement)(gO,{onClose:o},Object(b.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(b.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":w("URL"),placeholder:w("Paste or type URL"),onChange:n,value:t}),Object(b.createElement)(yo,{className:"block-editor-media-placeholder__url-input-submit-button",icon:lO,label:w("Apply"),type:"submit"})))},kO=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(bt(e)),e.onSubmitSrc=e.onSubmitSrc.bind(bt(e)),e.onUpload=e.onUpload.bind(bt(e)),e.onFilesUpload=e.onFilesUpload.bind(bt(e)),e.openURLInput=e.openURLInput.bind(bt(e)),e.closeURLInput=e.closeURLInput.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(E.every)(e,(function(e){return"image"===e||Object(E.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(E.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(E.get)(e.value,["src"],"")!==Object(E.get)(this.props.value,["src"],"")&&this.setState({src:Object(E.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,a=n.multiple,c=n.onError,l=n.onSelect,s=n.value;if(a)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=M(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:c})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,a=n.icon,c=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,f=n.mediaPreview,d=n.notices,p=n.onSelectURL,h=n.mediaUpload,m=n.children,v=s.instructions,g=s.title;if(h||p||(v=w("To edit this block, you need permission to upload media.")),void 0===v||void 0===g){var y=1===o.length,k=y&&"audio"===o[0],O=y&&"image"===o[0],_=y&&"video"===o[0];void 0===v&&h&&(v=w("Upload a media file or pick one from your media library."),k?v=w("Upload an audio file, pick one from your media library, or add one with a URL."):O?v=w("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=w("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===g&&(g=w("Media"),k?g=w("Audio"):O?g=w("Image"):_&&(g=w("Video")))}var j=un()("block-editor-media-placeholder",i,{"is-appender":c});return Object(b.createElement)(Aw,{icon:a,label:g,instructions:v,className:j,notices:d,onClick:t,onDoubleClick:u,preview:f},e,m)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?E.noop:n;return t?null:Object(b.createElement)(rw,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(b.createElement)(yo,{className:"block-editor-media-placeholder__cancel-button",title:w("Cancel"),isLink:!0,onClick:e},w("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(b.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(b.createElement)(yo,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},w("Insert from URL")),t&&Object(b.createElement)(yO,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,a=t.isAppender,c=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,f=t.value,d=void 0===f?{}:f,p=Object(b.createElement)(aO,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:i,value:Object(E.isArray)(d)?d.map((function(e){return e.id})):d.id,render:function(e){var t=e.open;return Object(b.createElement)(yo,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},w("Media Library"))}});if(c&&a)return Object(b.createElement)(b.Fragment,null,this.renderDropZone(),Object(b.createElement)(tO,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(yo,{isSecondary:!0,className:un()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},w("Upload")),p,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(c){var h=Object(b.createElement)(b.Fragment,null,this.renderDropZone(),Object(b.createElement)(tO,{isSecondary:!0,className:un()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},w("Upload")),p,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(h)}return this.renderPlaceholder(p)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&tt("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(b.createElement)(cO,null,this.renderDropZone())):Object(b.createElement)(cO,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(b.Component),wO=Ft((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}}));C(wO,Rp("editor.MediaPlaceholder"))(kO),Object(b.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=ln(e,["onChange","className"]);return Object(b.createElement)(sk.a,ft({ref:t,className:un()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));var OO={OS:"web",select:function(e){return"web"in e?e.web:e.default}};function _O(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 jO(e){var t=e.children,n=ln(e,["children"]);return Object(b.createElement)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_O(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({dangerouslySetInnerHTML:{__html:t}},n))}var EO=[Jn.primary("z"),Jn.primaryShift("z"),Jn.primary("y")],CO=Object(b.createElement)(ed,{bindGlobal:!0,shortcuts:Object(E.fromPairs)(EO.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),xO=function(){return CO};function SO(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'<img src="'.concat(ts(e),'">')})).join("")}var TO={position:"bottom left"},zO=function(){return Object(b.createElement)("div",{className:"block-editor-format-toolbar"},Object(b.createElement)(Om,null,["bold","italic","link","text-color"].map((function(e){return Object(b.createElement)(Jr,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(b.createElement)(Jr,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(b.createElement)(Ap,{icon:!1,label:w("More rich text controls"),controls:Object(E.orderBy)(e.map((function(e){return M(e,1)[0].props})),"title"),popoverProps:TO})}))))},PO=function(e){var t=e.inline,n=e.anchorRef;return t?Object(b.createElement)(uo,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(b.createElement)(zO,null)):Object(b.createElement)(Zm,null,Object(b.createElement)(zO,null))};b.Component;b.Component;function IO(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 MO(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var NO=Object(b.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,i=t.value,a=t.onChange,c=t.isSelected,l=t.multiline,s=t.inlineToolbar,u=t.wrapperClassName,f=t.className,d=t.autocompleters,p=t.onReplace,h=t.placeholder,m=t.keepPlaceholderOnFocus,v=t.allowedFormats,g=t.formattingControls,y=t.withoutInteractiveFormatting,k=t.onRemove,w=t.onMerge,O=t.onSplit,_=t.__unstableOnSplitMiddle,j=t.identifier,E=t.start,C=t.reversed,x=t.style,S=t.preserveWhiteSpace,T=t.__unstableEmbedURLOnPaste,z=ln(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste"]),P=od(e);j=j||P;var I=Object(b.useRef)(),L=n||I,A=Wp(),D=A.clientId,H=A.onCaretVerticalPositionChange,R=A.isSelected,B=Vt((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,i=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,s=n.__unstableGetBlockWithoutInnerBlocks,u=n.isMultiSelecting,f=n.hasMultiSelection,d=o(),p=i(),h=a(),m=h.__experimentalCanUserUseUnfilteredHTML,v=h.__experimentalUndo;void 0===c?t=d.clientId===D&&d.attributeKey===j:c&&(t=d.clientId===D);var b={};if("native"===OO.OS){var g=D&&s(D);b={shouldBlurOnUnmount:g&&t&&gi(g)}}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IO(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({canUserUseUnfilteredHTML:m,isCaretWithinFormattedText:r(),selectionStart:t?d.offset:void 0,selectionEnd:t?p.offset:void 0,isSelected:t,didAutomaticChange:l(),disabled:u()||f(),undo:v},b)})),V=B.canUserUseUnfilteredHTML,F=B.isCaretWithinFormattedText,U=B.selectionStart,W=B.selectionEnd,K=B.isSelected,$=B.didAutomaticChange,q=B.disabled,G=B.undo,Y=B.shouldBlurOnUnmount,Q=Ut("core/block-editor"),X=Q.__unstableMarkLastChangeAsPersistent,Z=Q.enterFormattedText,J=Q.exitFormattedText,ee=Q.selectionChange,te=Q.__unstableMarkAutomaticChange,ne=MO(l),re=function(e){var t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(tt("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}({allowedFormats:v,formattingControls:g}),oe=!re||re.length>0,ie=i,ce=a;Array.isArray(i)&&(ie=Rc.toHTML(i),ce=function(e){return a(Rc.fromDOM(As(document,e).childNodes))});var le=Object(b.useCallback)((function(e,t){ee(D,j,e,t)}),[D,j]),se=Object(b.useCallback)((function(e){var t=e.value,n=e.isReverse;w&&w(!n),k&&tu(t)&&n&&k(!n)}),[w,k]),ue=Object(b.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(p&&O){var n=[],r=vu(e),o=M(r,2),i=o[0],a=o[1],c=t.length>0;c&&tu(i)||n.push(O(Au({value:i,multilineTag:ne}))),c?n.push.apply(n,ae(t)):_&&n.push(_()),!c&&_&&tu(a)||n.push(O(Au({value:a,multilineTag:ne})));var l=c?n.length-1:1;p(n,l)}}),[p,O,ne,_]),fe=Object(b.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=p&&O;if(p){var i=Hi(Ri("from").filter((function(e){return"enter"===e.type})),(function(e){return e.regExp.test(t.text)}));i&&(p([i.transform({content:t.text})]),te())}l?r?n(cu(t,"\n")):o&&nu(t)?ue(t):n(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=Zs(e).slice(0,t),o=r.lastIndexOf("\u2028"),i=e.replacements[o],a=[,];i&&(a=[i]);var c={formats:[,],replacements:a,text:"\u2028"};return cu(e,c,t,n)}(t)):r||!o?n(cu(t,"\n")):ue(t)}),[p,O,te,l,ue]),de=Object(b.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,i=e.plainText,a=e.files,c=e.activeFormats;if(a&&a.length&&!r){var s=bs({HTML:SO(a),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",a),void(p&&tu(t)?p(s):ue(t,s))}var u=p&&O?"AUTO":"INLINE";T&&tu(t)&&Jw(i.trim())&&(u="BLOCKS");var f=bs({HTML:r,plainText:i,mode:u,tagName:o,canUserUseUnfilteredHTML:V});if("string"==typeof f){var d=Fs({html:f});if(c.length)for(var h=d.formats.length;h--;)d.formats[h]=[].concat(ae(c),ae(d.formats[h]||[]));l&&(d=su(d,/\n+/g,"\u2028")),n(cu(t,d))}else f.length>0&&(p&&tu(t)?p(f):ue(t,f))}),[o,p,O,ue,T,V,l]),pe=Object(b.useCallback)((function(e,t){if(p){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),i=Hi(Ri("from").filter((function(e){return"prefix"===e.type})),(function(e){var t=e.prefix;return o===t}));if(i){var a=t(mu(e,n,r.length)),c=i.transform(a);p([c]),te()}}}}),[p,te]),he=Object(b.createElement)(vf,ft({},z,{clientId:D,identifier:j,ref:L,value:ie,onChange:ce,selectionStart:U,selectionEnd:W,onSelectionChange:le,tagName:o,className:un()("block-editor-rich-text__editable",f,{"keep-placeholder-on-focus":m}),placeholder:h,allowedFormats:re,withoutInteractiveFormatting:y,onEnter:fe,onDelete:se,onPaste:de,__unstableIsSelected:K,__unstableInputRule:pe,__unstableMultilineTag:ne,__unstableIsCaretWithinFormattedText:F,__unstableOnEnterFormattedText:Z,__unstableOnExitFormattedText:J,__unstableOnCreateUndoLevel:X,__unstableMarkAutomaticChange:te,__unstableDidAutomaticChange:$,__unstableUndo:G,style:x,preserveWhiteSpace:S,disabled:q,start:E,reversed:C,onCaretVerticalPositionChange:H,blockIsSelected:void 0!==c?c:R,shouldBlurOnUnmount:Y}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,i=e.onFocus,a=e.Editable;return Object(b.createElement)(b.Fragment,null,r&&r({value:n,onChange:o,onFocus:i}),t&&oe&&Object(b.createElement)(PO,{inline:s,anchorRef:L.current}),t&&Object(b.createElement)(xO,null),Object(b.createElement)(Pm,{onReplace:p,completers:d,record:n,onChange:o,isSelected:t},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(b.createElement)(a,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:E,reversed:C,onKeyDown:r})})))}));return u?(tt("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(b.createElement)("div",{className:un()("block-editor-rich-text",u)},he)):he}));NO.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=ln(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=Rc.toHTML(t));var i=MO(r);!t&&i&&(t="<".concat(i,"></").concat(i,">"));var a=Object(b.createElement)(jO,null,t);return n?Object(b.createElement)(n,Object(E.omit)(o,["format"]),a):a},NO.isEmpty=function(e){return!e||0===e.length},NO.Content.defaultProps={format:"string",value:""};Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(dr,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var LO=Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z"})),AO=(b.Component,Object(b.createElement)(vr,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(dr,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(dr,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(b.createElement)(dr,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),to("__experimentalBlockSettingsMenuFirstItem")),DO=AO.Fill,HO=AO.Slot;DO.Slot=HO;var RO=DO,BO=to("__experimentalBlockSettingsMenuPluginsExtension"),VO=BO.Fill,FO=BO.Slot;VO.Slot=FO;var UO=VO;function WO(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}var KO=[{name:"About",icon:"👋",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center","level":3} --\x3e\n\t\t\t<h3 class="has-text-align-center">What People Say</h3>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>The way to get started is to quit talking and begin doing.</p><cite>Walt Disney</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>It is our choices, Harry, that show what we truly are, far more than our abilities.</p><cite>J. K. Rowling</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>Don\'t cry because it\'s over, smile because it happened.</p><cite>Dr. Seuss</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t<hr class="wp-block-separator is-style-wide"/>\n\t\t\t\x3c!-- /wp:separator --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center"} --\x3e\n\t\t\t<h2 class="has-text-align-center">Let’s build something together.</h2>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"center","textColor":"primary"} --\x3e\n\t\t\t<p class="has-text-color has-text-align-center has-primary-color"><strong><a href="#">Get in touch!</a></strong></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t<hr class="wp-block-separator is-style-wide"/>\n\t\t\t\x3c!-- /wp:separator --\x3e\n\t\t'},{name:"Contact",icon:"✉️",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"left"} --\x3e\n\t\t\t<h2 class="has-text-align-left">Get in Touch</h2>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>10 Street Road</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>City, 10100</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>USA</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p><a href="mailto:mail@example.com">mail@example.com</a></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p><a href="tel:5555551234">(555) 555 1234</a></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\t\t'}],$O=(A()((function(){return KO.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WO(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{blocks:il(e.content)})}))})),function(){return Vt((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/block-editor"),r=n.getBlockOrder,o=n.getBlock,i=(0,n.getSettings)().__experimentalEnablePageTemplates,a=r(),c=0===a.length,l=!c&&o(a[0]),s=1===a.length&&gi(l),u=c||s,f="page"===t();return i&&u&&f}),[])}),qO=(dt((function(e){return function(t){var n=$O();return Object(b.createElement)(e,ft({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible"),Ft((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(b.createElement)(yo,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:function(){fk(t).focus()}},w("Skip to the selected block"))}))),GO=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";pt(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var n;return(n=t._valueAsArray)[e].apply(n,arguments)}}))}return mt(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:H.a.mark((function e(){return H.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value=E.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(E.uniq)(Object(E.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}();function YO(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 QO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YO(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function XO(e,t,n){var r=new GO(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var ZO=C([Ft((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,i=r(n),a=Ei(i.name);return{block:i,className:i.attributes.className||"",styles:o(i.name),type:a}})),$t((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,i=e.block,a=e.onSwitch,c=void 0===a?E.noop:a,l=e.onHoverClassName,s=void 0===l?E.noop:l;if(!t||0===t.length)return null;o.styles||Object(E.find)(t,"isDefault")||(t=[{name:"default",label:_("Default","block style"),isDefault:!0}].concat(ae(t)));var u=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=new GO(t).values()[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var c=i.value;if(-1!==c.indexOf("is-style-")){var l=c.substring(9),s=Object(E.find)(e,{name:l});if(s)return s}}}catch(u){r=!0,o=u}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return Object(E.find)(e,"isDefault")}(t,n);function f(e){var t=XO(n,u,e);r(t),s(null),c()}return Object(b.createElement)("div",{className:"block-editor-block-styles"},t.map((function(e){var t=XO(n,u,e);return Object(b.createElement)("div",{key:e.name,className:un()("block-editor-block-styles__item",{"is-active":u===e}),onClick:function(){return f(e)},onKeyDown:function(t){Wn!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),f(e))},onMouseEnter:function(){return s(t)},onMouseLeave:function(){return s(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(b.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(b.createElement)(lw,{viewportWidth:500,blocks:o.example?Vi(i.name,{attributes:QO({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Mi(i,{className:t})})),Object(b.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name))})))})),JO={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/&nbsp;|&#160;/gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},e_=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},t_=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},n_=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},r_=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},o_=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},i_=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},a_=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},c_=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},l_=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function s_(e,t,n){if(""===e)return 0;if(e){var r=function(e,t){var n=Object(E.extend)(JO,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),o=r[t+"RegExp"],i="words"===r.type?function(e,t,n){return e=Object(E.flow)(e_.bind(this,n),i_.bind(this,n),a_.bind(this,n),c_.bind(this,n),n_.bind(this,n),r_.bind(this,n),o_.bind(this,n))(e),(e+="\n").match(t)}(e,o,r):function(e,t,n){return e=Object(E.flow)(e_.bind(this,n),i_.bind(this,n),a_.bind(this,n),c_.bind(this,n),t_.bind(this,n),l_.bind(this,n))(e),(e+="\n").match(t)}(e,o,r);return i?i.length:0}}var u_=Ft((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=s_(fc(t),"words");return Object(b.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(b.createElement)(Jm,{icon:Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(b.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},Object(b.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},j(O("%d block","%d blocks",t.length),t.length)),Object(b.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},O("%d word","%d words",n))))}));function f_(e){var t=e.blockName,n=Vt((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(E.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(E.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,a=Object(b.useMemo)((function(){return[{label:w("Not set"),value:""}].concat(ae(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),c=Object(b.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(b.createElement)(Bw,{options:a,value:r||"",label:w("Default Style"),onChange:c})}Ft((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,i=e("core/blocks").getBlockStyles,a=n(),c=a&&o(a),l=a&&Ei(c),s=a&&i(c);return{count:r(),hasBlockStyles:s&&s.length>0,selectedBlockName:c,selectedBlockClientId:a,blockType:l}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,i=e.selectedBlockName,a=e.showNoBlockSelectedMessage,c=void 0===a||a,l=Ar(Yw.slotName),s=Boolean(l.fills&&l.fills.length);if(n>1)return Object(b.createElement)(u_,null);var u=i===_i();return t&&o&&!u?Object(b.createElement)("div",{className:"block-editor-block-inspector"},Object(b.createElement)(pw,{blockType:t}),r&&Object(b.createElement)("div",null,Object(b.createElement)(Wf,{title:w("Styles"),initialOpen:!1},Object(b.createElement)(ZO,{clientId:o}),Object(b.createElement)(f_,{blockName:t.name}))),Object(b.createElement)(jh.Slot,{bubblesVirtually:!0}),Object(b.createElement)("div",null,s&&Object(b.createElement)(Wf,{className:"block-editor-block-inspector__advanced",title:w("Advanced"),initialOpen:!1},Object(b.createElement)(Yw.Slot,{bubblesVirtually:!0}))),Object(b.createElement)(qO,{key:"back"})):c?Object(b.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},w("No block selected.")):null}));function d_(e,t,n,r,o,i,a,c){var l=function(e){return"up"===e?"horizontal"===a?c?"right":"left":"up":"down"===e?"horizontal"===a?c?"left":"right":"down":null};if(e>1)return function(e,t,n,r,o){if(o<0&&n)return w("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return w("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return O("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e);if(o>0&&!r)return O("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e)}(e,0,r,o,i);if(r&&o)return w("Block %s is the only block, and cannot be moved");if(i>0&&!o){var s=l("down");if("down"===s)return w("Move %1$s block from position %2$d down to position %3$d");if("left"===s)return w("Move %1$s block from position %2$d left to position %3$d");if("right"===s)return w("Move %1$s block from position %2$d right to position %3$d")}if(i>0&&o){var u=l("down");if("down"===u)return w("Block %1$s is at the end of the content and can’t be moved down");if("left"===u)return w("Block %1$s is at the end of the content and can’t be moved left");if("right"===u)return w("Block %1$s is at the end of the content and can’t be moved right")}if(i<0&&!r){var f=l("up");if("up"===f)return w("Move %1$s block from position %2$d up to position %3$d");if("left"===f)return w("Move %1$s block from position %2$d left to position %3$d");if("right"===f)return w("Move %1$s block from position %2$d right to position %3$d")}if(i<0&&r){var d=l("up");if("up"===d)return w("Block %1$s is at the beginning of the content and can’t be moved up");if("left"===d)return w("Block %1$s is at the beginning of the content and can’t be moved left");if("right"===d)return w("Block %1$s is at the beginning of the content and can’t be moved right")}}var p_=Object(b.createElement)(vr,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(dr,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),h_=Object(b.createElement)(vr,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(dr,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),m_=Object(b.createElement)(vr,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(b.createElement)(dr,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),v_=Yu(function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(bt(e)),e.onDragOver=e.onDragOver.bind(bt(e)),e.onDragEnd=e.onDragEnd.bind(bt(e)),e.resetDragState=e.resetDragState.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?E.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,i=void 0===o?E.noop:o,a=document.getElementById(n);if(a){if("function"==typeof e.dataTransfer.setDragImage){var c=document.createElement("div");c.id="drag-image-".concat(n),c.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0),this.props.setTimeout((function(){document.body.removeChild(c)}))}e.dataTransfer.setData("text",JSON.stringify(r));var l=a.getBoundingClientRect(),s=a.parentNode,u=parseInt(l.top,10),f=parseInt(l.left,10),d=a.cloneNode(!0);d.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(l.width+40,"px"),l.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(f-20,"px")),Array.from(d.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(d),s.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(i)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(b.Component)),b_=function(e){var t=e.children,n=e.clientIds,r=Vt((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,a=Object(E.castArray)(n),c=1===a.length?o(a[0]):null,l=c?i(c):null;return{index:r(a[0],c),srcRootClientId:c,isDraggable:1===a.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,a=r.isDraggable,c=Object(b.useRef)(!1),l=Ut("core/block-editor"),s=l.startDraggingBlocks,u=l.stopDraggingBlocks;if(Object(b.useEffect)((function(){return function(){c.current&&u()}}),[]),!a)return null;var f=Object(E.castArray)(n),d="block-".concat(f[0]),p={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(b.createElement)(v_,{elementId:d,transferData:p,onDragStart:function(){s(),c.current=!0},onDragEnd:function(){u(),c.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},g_=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(bt(e)),e.onBlur=e.onBlur.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,a=e.isLast,c=e.clientIds,l=e.blockType,s=(e.firstIndex,e.isLocked),u=e.instanceId,f=e.isHidden,d=e.rootClientId,p=e.hideDragHandle,h=this.state.isFocused,m=Object(E.castArray)(c).length;if(s||i&&a&&!d)return null;var v=function(e){return"up"===e?"horizontal"===r?o?h_:p_:Bf:"down"===e?"horizontal"===r?o?p_:h_:Vf:null},g=function(e){return"up"===e?w("horizontal"===r?o?"Move right":"Move left":"Move up"):"down"===e?w("horizontal"===r?o?"Move left":"Move right":"Move down"):null};return Object(b.createElement)(Hp,{className:un()("block-editor-block-mover",{"is-visible":h||!f,"is-horizontal":"horizontal"===r})},Object(b.createElement)(yo,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:v("up"),label:g("up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(u),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),!p&&Object(b.createElement)(b_,{clientIds:c},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(b.createElement)(yo,{icon:m_,className:"block-editor-block-mover__control-drag-handle block-editor-block-mover__control","aria-hidden":"true",tabIndex:"-1",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(b.createElement)(yo,{className:"block-editor-block-mover__control",onClick:a?null:n,icon:v("down"),label:g("down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(u),"aria-disabled":a,onFocus:this.onFocus,onBlur:this.onBlur}),Object(b.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(u),className:"block-editor-block-mover__description"},d_(m,l&&l.title,0,i,a,-1,r,o)),Object(b.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(u),className:"block-editor-block-mover__description"},d_(m,l&&l.title,0,i,a,1,r,o)))}}]),t}(b.Component),y_=C(Ft((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockIndex,a=r.getTemplateLock,c=r.getBlockRootClientId,l=r.getBlockOrder,s=Object(E.castArray)(n),u=Object(E.first)(s),f=o(u),d=c(Object(E.first)(s)),p=l(d),h=i(u,d),m=i(Object(E.last)(s),d),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Ei(f.name):null,isLocked:"all"===a(d),rootClientId:d,firstIndex:h,isRTL:v,isFirst:0===h,isLast:m===p.length-1}})),$t((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,a=o.moveBlocksUp;return{onMoveDown:Object(E.partial)(i,n,r),onMoveUp:Object(E.partial)(a,n,r)}})),id)(g_),k_=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(bt(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(b.createElement)("div",ft({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(E.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(b.Component),w_=(C([Ft((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),$t((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(k_),Object(b.createElement)(vr,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(dr,{d:"M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z"})));var O_=C([Ft((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,i=n.getBlocksByClientId,a=n.getTemplateLock,c=e("core/blocks").getDefaultBlockName,l=i(t.clientIds),s=o(t.clientIds[0]);return{blocks:l,canDuplicate:Object(E.every)(l,(function(e){return!!e&&Si(e.name,"multiple",!0)&&r(e.name,s)})),canInsertDefaultBlock:r(c(),s),extraProps:t,isLocked:!!a(s),rootClientId:s}})),$t((function(e,t,n){var r=n.select,o=t.clientIds,i=t.blocks,a=e("core/block-editor"),c=a.removeBlocks,l=a.replaceBlocks,s=a.duplicateBlocks,u=a.insertAfterBlock,f=a.insertBeforeBlock;return{onDuplicate:function(){return s(o)},onRemove:function(){c(o)},onInsertBefore:function(){f(Object(E.first)(Object(E.castArray)(o)))},onInsertAfter:function(){u(Object(E.last)(Object(E.castArray)(o)))},onGroup:function(){if(i.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Bi(i,e);t&&l(o,t)}},onUngroup:function(){if(i.length){var e=i[0].innerBlocks;e.length&&l(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})}));var __=C([Ft((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockMode,a=r.getSettings,c=o(n),l=a().codeEditingEnabled;return{mode:i(n),blockType:c?Ei(c.name):null,isCodeEditingEnabled:l}})),$t((function(e,t){var n=t.onToggle,r=void 0===n?E.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,a=e.isCodeEditingEnabled,c=void 0===a||a;if(!Si(t,"html",!0)||!c)return null;var l=w("visual"===n?"Edit as HTML":"Edit visually");return Object(b.createElement)(Qy,{onClick:r,icon:"html"},!i&&l)}));function j_(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=w("Convert to Blocks");return Object(b.createElement)(Qy,{onClick:n,icon:"screenoptions"},!r&&o)}var E_=C(Ft((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),$t((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,ks({HTML:sc(n)}))}}})))(j_),C_=C(Ft((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Oi()}})),$t((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,ks({HTML:fc(n)}))}}})))(j_),x_={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var S_=function(e){var t=e.clientIds,n=Object(E.castArray)(t),r=n.length,o=n[0],i=Vt((function(e){var t=e("core/keyboard-shortcuts").getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]);return Object(b.createElement)(O_,{clientIds:t},(function(e){var n=e.canDuplicate,a=e.canInsertDefaultBlock,c=e.isLocked,l=e.onDuplicate,s=e.onInsertAfter,u=e.onInsertBefore,f=e.onRemove;return Object(b.createElement)(Om,null,Object(b.createElement)(Ap,{icon:Xy,label:w("More options"),className:"block-editor-block-settings-menu",popoverProps:x_},(function(e){var d=e.onClose;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Yy,null,Object(b.createElement)(RO.Slot,{fillProps:{onClose:d}}),1===r&&Object(b.createElement)(C_,{clientId:o}),1===r&&Object(b.createElement)(E_,{clientId:o}),n&&Object(b.createElement)(Qy,{onClick:Object(E.flow)(d,l),icon:"admin-page",shortcut:i.duplicate},w("Duplicate")),a&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Qy,{onClick:Object(E.flow)(d,u),icon:"insert-before",shortcut:i.insertBefore},w("Insert Before")),Object(b.createElement)(Qy,{onClick:Object(E.flow)(d,s),icon:"insert-after",shortcut:i.insertAfter},w("Insert After"))),1===r&&Object(b.createElement)(__,{clientId:o,onToggle:d}),Object(b.createElement)(UO.Slot,{fillProps:{clientIds:t,onClose:d}})),Object(b.createElement)(Yy,null,!c&&Object(b.createElement)(Qy,{onClick:Object(E.flow)(d,f),icon:w_,shortcut:i.remove},O("Remove Block","Remove Blocks",r))))})))}))};function T_(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 z_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T_(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P_=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,i=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var c,l=a?n[0]:null,s=a?Ei(l.name):null,u=Object(E.mapKeys)(o,(function(e){return e.name})),f=Object(E.orderBy)(Object(E.filter)(Di(n),(function(e){return e&&!!u[e.name]})),(function(e){return u[e.name].frecency}),"desc");if(1===Object(E.uniq)(Object(E.map)(n,"name")).length){var d=Ei(n[0].name);c=d.icon}else c="layout";return i||f.length?Object(b.createElement)(Td,{position:"bottom right",className:"block-editor-block-switcher",contentClassName:"block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?w("Change block type or style"):j(O("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(b.createElement)(Om,null,Object(b.createElement)(yo,{className:"block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,onKeyDown:function(e){r||e.keyCode!==Gn||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0,icon:Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Jm,{icon:c,showColors:!0}),Object(b.createElement)(vr,{className:"block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(dr,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(b.createElement)(b.Fragment,null,(i||0!==f.length)&&Object(b.createElement)("div",{className:"block-editor-block-switcher__container"},i&&Object(b.createElement)(Wf,{title:w("Block Styles"),initialOpen:!0},Object(b.createElement)(ZO,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==f.length&&Object(b.createElement)(Wf,{title:w("Transform To:"),initialOpen:!0},Object(b.createElement)(dw,{items:f.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(b.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(b.createElement)("div",{className:"block-editor-block-switcher__preview-title"},w("Preview")),Object(b.createElement)(lw,{viewportWidth:500,blocks:s.example?Vi(l.name,{attributes:z_({},s.example.attributes,{className:a}),innerBlocks:s.example.innerBlocks}):Mi(l,{className:a})})))}}):Object(b.createElement)(Om,null,Object(b.createElement)(yo,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",label:w("Block icon"),icon:Object(b.createElement)(Jm,{icon:c,showColors:!0})}))}}]),t}(b.Component),I_=C(Ft((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,a=r.getInserterItems,c=e("core/blocks").getBlockStyles,l=i(Object(E.first)(Object(E.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,f=u&&c(u.name);return{blocks:s,inserterItems:a(l),hasBlockStyles:f&&f.length>0}})),$t((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Bi(n,r))}}})))(P_);var M_=Ft((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(b.createElement)(I_,{key:"switcher",clientIds:n}):null}));function N_(e){var t=e.hideDragHandle,n=Vt((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=t.getBlockRootClientId,a=t.getBlockListSettings,c=r(),l=i(c[0]),s=a(l)||{},u=s.__experimentalMoverDirection,f=s.__experimentalUIParts,d=void 0===f?{}:f;return{blockClientIds:c,rootClientId:l,isValid:1===c.length?o(c[0]):null,mode:1===c.length?n(c[0]):null,moverDirection:u,hasMovers:d.hasMovers}}),[]),r=n.blockClientIds,o=n.isValid,i=n.mode,a=n.moverDirection,c=n.hasMovers,l=void 0===c||c;return 0===r.length?null:r.length>1?Object(b.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(b.createElement)(y_,{clientIds:r,__experimentalOrientation:a,hideDragHandle:t}),Object(b.createElement)(M_,null),Object(b.createElement)(S_,{clientIds:r})):Object(b.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(b.createElement)(y_,{clientIds:r,__experimentalOrientation:a,hideDragHandle:t}),"visual"===i&&o&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(I_,{clientIds:r}),Object(b.createElement)(qm.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(b.createElement)(Zm.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(b.createElement)(S_,{clientIds:r}))}C([$t((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,i=r.getSelectedBlockClientIds,a=r.hasMultiSelection,c=r.getSettings,l=e("core/block-editor"),s=l.removeBlocks,u=l.replaceBlocks,f=c().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=i();if(0!==t.length&&(a()||!function(){if(kn(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=fc(o(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n)}if("cut"===e.type)s(t);else if("paste"===e.type){var r=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(E.isNil)(n)?[]:n,r=Object(E.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(a){try{i=t.getData("Text")}catch(c){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(E.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'<img src="'.concat(ts(e),'">')})).join(""),o=""),{html:i,plainText:o}}(e),c=r.plainText,l=bs({HTML:r.html,plainText:c,mode:"BLOCKS",canUserUseUnfilteredHTML:f});u(t,l)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(b.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function L_(){var e=Vt((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder;return{clientIds:n(),rootBlocksClientIds:r()}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=Ut("core/block-editor"),o=r.duplicateBlocks,i=r.removeBlocks,a=r.insertAfterBlock,c=r.insertBeforeBlock,l=r.multiSelect,s=r.clearSelectedBlock;return Rf("core/block-editor/duplicate",Object(b.useCallback)((function(e){e.preventDefault(),o(t)}),[t,o]),{bindGlobal:!0,isDisabled:0===t.length}),Rf("core/block-editor/remove",Object(b.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Rf("core/block-editor/insert-after",Object(b.useCallback)((function(e){e.preventDefault(),a(Object(E.last)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Rf("core/block-editor/insert-before",Object(b.useCallback)((function(e){e.preventDefault(),c(Object(E.first)(t))}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Rf("core/block-editor/delete-multi-selection",Object(b.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<1}),Rf("core/block-editor/select-all",Object(b.useCallback)((function(e){e.preventDefault(),l(Object(E.first)(n),Object(E.last)(n))}),[n,l])),Rf("core/block-editor/unselect",Object(b.useCallback)((function(e){e.preventDefault(),s(),window.getSelection().removeAllRanges()}),[t,s]),{isDisabled:t.length<2}),null}L_.Register=function(){var e=Ut("core/keyboard-shortcuts").registerShortcut;return Object(b.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:w("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:w("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:w("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:w("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:w("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:w("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:w("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:w("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var A_=[$n,qn,Gn,Kn,Wn,Un];Yu((function(e){var t=e.children,n=e.setTimeout,r=Object(b.useRef)(),o=Vt((function(e){return e("core/block-editor").isTyping()})),i=Ut("core/block-editor"),a=i.startTyping,c=i.stopTyping;function l(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",u),document[t]("mousemove",s)}function s(e){var t=e.clientX,n=e.clientY;if(r.current){var o=r.current,i=o.clientX,a=o.clientY;i===t&&a===n||c()}r.current={clientX:t,clientY:n}}function u(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||c()}function f(e){var t=e.type,n=e.target;o||!kn(n)||n.closest(".block-editor-block-toolbar")||("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(E.includes)(A_,t)}(e))&&a()}return Object(b.useEffect)((function(){return l(o),function(){return l(!1)}}),[o]),Object(b.createElement)("div",{onFocus:function(e){var t=e.target;n((function(){o&&!kn(t)&&c()}))},onKeyPress:f,onKeyDown:Object(E.over)([f,function(e){o&&27===e.keyCode&&c()}])},t)}));var D_=-1!==window.navigator.userAgent.indexOf("Trident"),H_=new Set([$n,Gn,Kn,qn]),R_=function(e){function t(){var e;return pt(this,t),(e=gt(this,yt(t).apply(this,arguments))).ref=Object(b.createRef)(),e.onKeyDown=e.onKeyDown.bind(bt(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(bt(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(bt(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(bt(e)),e.computeCaretRect=e.computeCaretRect.bind(bt(e)),e.onScrollResize=e.onScrollResize.bind(bt(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(bt(e)),e}return wt(t,e),mt(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=vn())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=vn();if(n)if(this.caretRect)if(H_.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=wn(this.ref.current);if(o){var i=o===document.body,a=i?window.scrollY:o.scrollTop,c=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-c)/(window.innerHeight-c);if(0===a&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>c+s||this.caretRect.top<c?this.caretRect=n:i?window.scrollBy(0,r):o.scrollTop+=r}}}}else this.caretRect=n}}},{key:"addSelectionChangeListener",value:function(){document.addEventListener("selectionchange",this.computeCaretRectOnSelectionChange)}},{key:"onKeyDown",value:function(e){var t=this;e.persist(),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId),this.onKeyDown.rafId=window.requestAnimationFrame((function(){t.maintainCaretPosition(e),delete t.onKeyDown.rafId}))}},{key:"render",value:function(){return Object(b.createElement)("div",{ref:this.ref,onKeyDown:this.onKeyDown,onKeyUp:this.maintainCaretPosition,onMouseDown:this.addSelectionChangeListener,onTouchStart:this.addSelectionChangeListener,className:"block-editor__typewriter"},this.props.children)}}]),t}(b.Component);D_||Ft((function(e){return{selectedBlockClientId:(0,e("core/block-editor").getSelectedBlockClientId)()}}))(R_);function B_(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}var V_=["left","center","right","wide","full"],F_=["wide","full"];function U_(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?V_:[],!r||!0===e&&!n?E.without.apply(void 0,[t].concat(F_)):t}var W_=Object(b.createContext)({}),K_=(W_.Provider,dt((function(e){return function(t){var n=Object(b.useContext)(W_).isEmbedButton,r=t.name,o=n?[]:U_(xi(r,"align"),Si(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(b.createElement)(qm,{key:"align-controls"},Object(b.createElement)(Vm,{value:t.attributes.align,onChange:function(e){if(!e){var n=Ei(t.name);Object(E.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(b.createElement)(e,ft({key:"edit"},t))]}}),"withToolbarControls")),$_=dt((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Vt((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(b.createElement)(e,t);var i=U_(xi(n,"align"),Si(n,"alignWide",!0),o),a=t.wrapperProps;return Object(E.includes)(i,r)&&(a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B_(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a,{"data-align":r})),Object(b.createElement)(e,ft({},t,{wrapperProps:a}))}}));Ye("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(E.has)(e.attributes,["align","type"])||Si(e,"align")&&(e.attributes=Object(E.assign)(e.attributes,{align:{type:"string"}})),e})),Ye("editor.BlockListBlock","core/editor/align/with-data-align",$_),Ye("editor.BlockEdit","core/editor/align/with-toolbar-controls",K_),Ye("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=xi(t,"align"),i=Si(t,"alignWide",!0);return Object(E.includes)(U_(o,i),r)&&(e.className=un()("align".concat(r),e.className)),e}));var q_=/[\s#]/g;var G_=dt((function(e){return function(t){return Si(t.name,"anchor")&&t.isSelected?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,t),Object(b.createElement)(Yw,null,Object(b.createElement)(hd,{className:"html-anchor-control",label:w("HTML anchor"),help:Object(b.createElement)(b.Fragment,null,w("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(b.createElement)(Qw,{href:"https://wordpress.org/support/article/page-jumps/"},w("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(q_,"-"),t.setAttributes({anchor:e})}}))):Object(b.createElement)(e,t)}}),"withInspectorControl");Ye("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(E.has)(e.attributes,["anchor","type"])||Si(e,"anchor")&&(e.attributes=Object(E.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e})),Ye("editor.BlockEdit","core/editor/anchor/with-inspector-control",G_),Ye("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Si(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var Y_=dt((function(e){return function(t){return Si(t.name,"customClassName",!0)&&t.isSelected?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,t),Object(b.createElement)(Yw,null,Object(b.createElement)(hd,{label:w("Additional CSS class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:w("Separate multiple classes with spaces.")}))):Object(b.createElement)(e,t)}}),"withInspectorControl");function Q_(e){var t=Zc(e="<div data-custom-class-name>".concat(e,"</div>"),{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Ye("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Si(e,"customClassName",!0)&&(e.attributes=Object(E.assign)(e.attributes,{className:{type:"string"}})),e})),Ye("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Y_),Ye("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Si(t,"customClassName",!0)&&n.className&&(e.className=un()(e.className,n.className)),e})),Ye("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Si(t,"customClassName",!0)){var r=cc(t,Object(E.omit)(e,["className"])),o=Q_(r),i=Q_(n),a=Object(E.difference)(i,o);a.length?e.className=a.join(" "):r&&delete e.className}return e})),Ye("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Si(t,"className",!0)&&("string"==typeof e.className?e.className=Object(E.uniq)([ic(t.name)].concat(ae(e.className.split(" ")))).join(" ").trim():e.className=ic(t.name)),e}));n(56);var X_=n(28),Z_=n.n(X_),J_=ej;function ej(e){this.options=e||{}}ej.prototype.emit=function(e){return e},ej.prototype.visit=function(e){return this[e.type](e)},ej.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r<o;r++)n+=this.visit(e[r]),t&&r<o-1&&(n+=this.emit(t));return n};function tj(e){J_.call(this,e)}Z_()(tj,J_),tj.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},tj.prototype.comment=function(e){return this.emit("",e.position)},tj.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},tj.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},tj.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},tj.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},tj.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},tj.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},tj.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},tj.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},tj.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},tj.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},tj.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},tj.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},tj.prototype.rule=function(e){var t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},tj.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};function nj(e){e=e||{},J_.call(this,e),this.indentation=e.indent}Z_()(nj,J_),nj.prototype.compile=function(e){return this.stylesheet(e)},nj.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},nj.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},nj.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},nj.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},nj.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},nj.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},nj.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},nj.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},nj.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},nj.prototype.keyframe=function(e){var t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},nj.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},nj.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},nj.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},nj.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},nj.prototype.rule=function(e){var t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},nj.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},nj.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};n(36);n(105);var rj=C([$t((function(e,t){var n,r=t.blockName,o=t.href,i=t.onClick;return{autosaveAndRedirect:(n=cn()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),i(r),t.next=4,e("core/editor").savePost();case 4:window.top.location.href=o;case 5:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,r=e.href,o=e.icon,i=e.subtitle,a=e.title;return Object(b.createElement)(Zy,{actions:r&&[Object(b.createElement)(yo,{href:r,onClick:t,target:"_top",isSecondary:!0,isLarge:!0},n)],className:"jetpack-block-nudge wp-block"},Object(b.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(b.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(b.createElement)("span",{className:"jetpack-block-nudge__title"},a),i&&Object(b.createElement)("