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 | Jetpack by WordPress.com |
Version | 7.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.8 to 7.1.3
- .svnignore +8 -0
- 3rd-party/3rd-party.php +23 -0
- 3rd-party/bbpress.php +50 -0
- 3rd-party/beaverbuilder.php +20 -0
- 3rd-party/bitly.php +34 -0
- 3rd-party/buddypress.php +9 -0
- 3rd-party/class.jetpack-amp-support.php +300 -0
- 3rd-party/class.jetpack-modules-overrides.php +143 -0
- 3rd-party/debug-bar.php +19 -0
- 3rd-party/debug-bar/class.jetpack-search-debug-bar.php +173 -0
- 3rd-party/debug-bar/debug-bar.css +56 -0
- 3rd-party/debug-bar/debug-bar.js +22 -0
- 3rd-party/domain-mapping.php +113 -0
- 3rd-party/polldaddy.php +7 -0
- 3rd-party/qtranslate-x.php +19 -0
- 3rd-party/vaultpress.php +42 -0
- 3rd-party/woocommerce-services.php +133 -0
- 3rd-party/woocommerce.php +105 -0
- 3rd-party/wpml.php +62 -0
- CODE-OF-CONDUCT.md +28 -0
- _inc/accessible-focus.js +19 -0
- _inc/blocks/contact-info/view.css +1 -0
- _inc/blocks/contact-info/view.js +1 -0
- _inc/blocks/contact-info/view.rtl.css +1 -0
- _inc/blocks/editor-beta.css +1 -0
- _inc/blocks/editor-beta.js +25 -0
- _inc/blocks/editor-beta.rtl.css +1 -0
- _inc/blocks/editor.css +1 -0
- _inc/blocks/editor.js +25 -0
.svnignore
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.git/
|
2 |
+
.gitignore
|
3 |
+
.travis.yml
|
4 |
+
readme.md
|
5 |
+
tests/
|
6 |
+
_inc/lib/icalendar-reader.php
|
7 |
+
modules/shortcodes/upcoming-events.php
|
8 |
+
modules/widgets/upcoming-events.php
|
3rd-party/3rd-party.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/domain-mapping.php' );
|
14 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/qtranslate-x.php' );
|
15 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/vaultpress.php' );
|
16 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/beaverbuilder.php' );
|
17 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/debug-bar.php' );
|
18 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/class.jetpack-modules-overrides.php' );
|
19 |
+
|
20 |
+
// We can't load this conditionally since polldaddy add the call in class constuctor.
|
21 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/polldaddy.php' );
|
22 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/woocommerce-services.php' );
|
23 |
+
require_once( JETPACK__PLUGIN_DIR . '3rd-party/class.jetpack-amp-support.php' );
|
3rd-party/bbpress.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Adds Jetpack + bbPress Compatibility filters.
|
6 |
+
*
|
7 |
+
* @author Brandon Kraft
|
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 |
+
* Enable Markdown support for bbpress post types.
|
19 |
+
*
|
20 |
+
* @author Brandon Kraft
|
21 |
+
* @since 6.0.0
|
22 |
+
*/
|
23 |
+
if ( function_exists( 'bbp_get_topic_post_type' ) ) {
|
24 |
+
add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
|
25 |
+
add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
|
26 |
+
add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Use Photon for all images in Topics and replies.
|
31 |
+
*
|
32 |
+
* @since 4.9.0
|
33 |
+
*/
|
34 |
+
if ( class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' ) ) {
|
35 |
+
add_filter( 'bbp_get_topic_content', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
|
36 |
+
add_filter( 'bbp_get_reply_content', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Display Jetpack "Sharing" buttons on bbPress 2.x forums/ topics/ lead topics/ replies.
|
42 |
+
*
|
43 |
+
* Determination if the sharing buttons should display on the post type is handled within sharing_display().
|
44 |
+
*
|
45 |
+
* @author David Decker
|
46 |
+
* @since 3.7.0
|
47 |
+
*/
|
48 |
+
function jetpack_sharing_bbpress() {
|
49 |
+
sharing_display( null, true );
|
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/bitly.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* Fixes issues with the Official Bitly for WordPress
|
5 |
+
* https://wordpress.org/plugins/bitly/
|
6 |
+
*/
|
7 |
+
if( class_exists( 'Bitly' ) ) {
|
8 |
+
|
9 |
+
if( isset( $GLOBALS['bitly'] ) ) {
|
10 |
+
if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
|
11 |
+
remove_action( 'wp_head', array( $GLOBALS['bitly'], 'og_tags' ) );
|
12 |
+
}
|
13 |
+
|
14 |
+
add_action( 'wp_head', 'jetpack_bitly_og_tag', 100 );
|
15 |
+
}
|
16 |
+
|
17 |
+
}
|
18 |
+
|
19 |
+
/**
|
20 |
+
* jetpack_bitly_og_tag
|
21 |
+
*
|
22 |
+
* @return null
|
23 |
+
*/
|
24 |
+
function jetpack_bitly_og_tag() {
|
25 |
+
if( has_filter( 'wp_head', 'jetpack_og_tags') === false ) {
|
26 |
+
// Add the bitly part again back if we don't have any jetpack_og_tags added
|
27 |
+
if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
|
28 |
+
$GLOBALS['bitly']->og_tags();
|
29 |
+
}
|
30 |
+
} elseif ( isset( $GLOBALS['posts'] ) && $GLOBALS['posts'][0]->ID > 0 ) {
|
31 |
+
printf( "<meta property=\"bitly:url\" content=\"%s\" /> \n", esc_attr( $GLOBALS['bitly']->get_bitly_link_for_post_id( $GLOBALS['posts'][0]->ID ) ) );
|
32 |
+
}
|
33 |
+
|
34 |
+
}
|
3rd-party/buddypress.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
add_filter( 'bp_core_pre_avatar_handle_upload', 'blobphoto' );
|
4 |
+
function blobphoto( $bool ) {
|
5 |
+
|
6 |
+
add_filter( 'jetpack_photon_skip_image', '__return_true' );
|
7 |
+
|
8 |
+
return $bool;
|
9 |
+
}
|
3rd-party/class.jetpack-amp-support.php
ADDED
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Manages compatibility with the amp-wp plugin
|
5 |
+
*
|
6 |
+
* @see https://github.com/Automattic/amp-wp
|
7 |
+
*/
|
8 |
+
class Jetpack_AMP_Support {
|
9 |
+
|
10 |
+
static function init() {
|
11 |
+
|
12 |
+
// enable stats
|
13 |
+
if ( Jetpack::is_module_active( 'stats' ) ) {
|
14 |
+
add_action( 'amp_post_template_footer', array( 'Jetpack_AMP_Support', 'add_stats_pixel' ) );
|
15 |
+
}
|
16 |
+
|
17 |
+
// Sharing.
|
18 |
+
add_filter( 'jetpack_sharing_display_markup', array( 'Jetpack_AMP_Support', 'render_sharing_html' ), 10, 2 );
|
19 |
+
|
20 |
+
// enforce freedom mode for videopress
|
21 |
+
add_filter( 'videopress_shortcode_options', array( 'Jetpack_AMP_Support', 'videopress_enable_freedom_mode' ) );
|
22 |
+
|
23 |
+
// include Jetpack og tags when rendering native AMP head
|
24 |
+
add_action( 'amp_post_template_head', array( 'Jetpack_AMP_Support', 'amp_post_jetpack_og_tags' ) );
|
25 |
+
|
26 |
+
// Post rendering changes for legacy AMP
|
27 |
+
add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
|
28 |
+
|
29 |
+
// Add post template metadata for legacy AMP
|
30 |
+
add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
|
31 |
+
}
|
32 |
+
|
33 |
+
static function admin_init() {
|
34 |
+
// disable Likes metabox for post editor if AMP canonical disabled
|
35 |
+
add_filter( 'post_flair_disable', array( 'Jetpack_AMP_Support', 'is_amp_canonical' ), 99 );
|
36 |
+
}
|
37 |
+
|
38 |
+
static function is_amp_canonical() {
|
39 |
+
return function_exists( 'amp_is_canonical' ) && amp_is_canonical();
|
40 |
+
}
|
41 |
+
|
42 |
+
static function is_amp_request() {
|
43 |
+
$is_amp_request = ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() );
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Returns true if the current request should return valid AMP content.
|
47 |
+
*
|
48 |
+
* @since 6.2.0
|
49 |
+
*
|
50 |
+
* @param boolean $is_amp_request Is this request supposed to return valid AMP content?
|
51 |
+
*/
|
52 |
+
return apply_filters( 'jetpack_is_amp_request', $is_amp_request );
|
53 |
+
}
|
54 |
+
|
55 |
+
static function amp_disable_the_content_filters() {
|
56 |
+
if ( defined( 'WPCOM') && WPCOM ) {
|
57 |
+
add_filter( 'videopress_show_2015_player', '__return_true' );
|
58 |
+
add_filter( 'protected_embeds_use_form_post', '__return_false' );
|
59 |
+
remove_filter( 'the_title', 'widont' );
|
60 |
+
}
|
61 |
+
|
62 |
+
remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'filter' ), 11 );
|
63 |
+
remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Add Jetpack stats pixel.
|
68 |
+
*
|
69 |
+
* @since 6.2.1
|
70 |
+
*/
|
71 |
+
static function add_stats_pixel() {
|
72 |
+
if ( ! has_action( 'wp_footer', 'stats_footer' ) ) {
|
73 |
+
return;
|
74 |
+
}
|
75 |
+
stats_render_amp_footer( stats_build_view_data() );
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Add publisher and image metadata to legacy AMP post.
|
80 |
+
*
|
81 |
+
* @since 6.2.0
|
82 |
+
*
|
83 |
+
* @param array $metadata Metadata array.
|
84 |
+
* @param WP_Post $post Post.
|
85 |
+
* @return array Modified metadata array.
|
86 |
+
*/
|
87 |
+
static function amp_post_template_metadata( $metadata, $post ) {
|
88 |
+
if ( isset( $metadata['publisher'] ) && ! isset( $metadata['publisher']['logo'] ) ) {
|
89 |
+
$metadata = self::add_site_icon_to_metadata( $metadata );
|
90 |
+
}
|
91 |
+
|
92 |
+
if ( ! isset( $metadata['image'] ) ) {
|
93 |
+
$metadata = self::add_image_to_metadata( $metadata, $post );
|
94 |
+
}
|
95 |
+
|
96 |
+
return $metadata;
|
97 |
+
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Add blavatar to legacy AMP post metadata.
|
101 |
+
*
|
102 |
+
* @since 6.2.0
|
103 |
+
*
|
104 |
+
* @param array $metadata Metadata.
|
105 |
+
* @return array Metadata.
|
106 |
+
*/
|
107 |
+
static function add_site_icon_to_metadata( $metadata ) {
|
108 |
+
$size = 60;
|
109 |
+
|
110 |
+
if ( function_exists( 'blavatar_domain' ) ) {
|
111 |
+
$metadata['publisher']['logo'] = array(
|
112 |
+
'@type' => 'ImageObject',
|
113 |
+
'url' => blavatar_url( blavatar_domain( site_url() ), 'img', $size, self::staticize_subdomain( 'https://wordpress.com/i/favicons/apple-touch-icon-60x60.png' ) ),
|
114 |
+
'width' => $size,
|
115 |
+
'height' => $size,
|
116 |
+
);
|
117 |
+
} else if ( $site_icon_url = Jetpack_Sync_Functions::site_icon_url( $size ) ) {
|
118 |
+
$metadata['publisher']['logo'] = array(
|
119 |
+
'@type' => 'ImageObject',
|
120 |
+
'url' => $site_icon_url,
|
121 |
+
'width' => $size,
|
122 |
+
'height' => $size,
|
123 |
+
);
|
124 |
+
}
|
125 |
+
|
126 |
+
return $metadata;
|
127 |
+
}
|
128 |
+
|
129 |
+
/**
|
130 |
+
* Add image to legacy AMP post metadata.
|
131 |
+
*
|
132 |
+
* @since 6.2.0
|
133 |
+
*
|
134 |
+
* @param array $metadata Metadata.
|
135 |
+
* @param WP_Post $post Post.
|
136 |
+
* @return array Metadata.
|
137 |
+
*/
|
138 |
+
static function add_image_to_metadata( $metadata, $post ) {
|
139 |
+
$image = Jetpack_PostImages::get_image( $post->ID, array(
|
140 |
+
'fallback_to_avatars' => true,
|
141 |
+
'avatar_size' => 200,
|
142 |
+
// AMP already attempts these.
|
143 |
+
'from_thumbnail' => false,
|
144 |
+
'from_attachment' => false,
|
145 |
+
) );
|
146 |
+
|
147 |
+
if ( empty( $image ) ) {
|
148 |
+
return self::add_fallback_image_to_metadata( $metadata );
|
149 |
+
}
|
150 |
+
|
151 |
+
if ( ! isset( $image['src_width'] ) ) {
|
152 |
+
$dimensions = self::extract_image_dimensions_from_getimagesize( array(
|
153 |
+
$image['src'] => false,
|
154 |
+
) );
|
155 |
+
|
156 |
+
if ( false !== $dimensions[ $image['src'] ] ) {
|
157 |
+
$image['src_width'] = $dimensions['width'];
|
158 |
+
$image['src_height'] = $dimensions['height'];
|
159 |
+
}
|
160 |
+
}
|
161 |
+
|
162 |
+
$metadata['image'] = array(
|
163 |
+
'@type' => 'ImageObject',
|
164 |
+
'url' => $image['src'],
|
165 |
+
);
|
166 |
+
if ( isset( $image['src_width'] ) ) {
|
167 |
+
$metadata['image']['width'] = $image['src_width'];
|
168 |
+
}
|
169 |
+
if ( isset( $image['src_width'] ) ) {
|
170 |
+
$metadata['image']['height'] = $image['src_height'];
|
171 |
+
}
|
172 |
+
|
173 |
+
return $metadata;
|
174 |
+
}
|
175 |
+
|
176 |
+
/**
|
177 |
+
* Add fallback image to legacy AMP post metadata.
|
178 |
+
*
|
179 |
+
* @since 6.2.0
|
180 |
+
*
|
181 |
+
* @param array $metadata Metadata.
|
182 |
+
* @return array Metadata.
|
183 |
+
*/
|
184 |
+
static function add_fallback_image_to_metadata( $metadata ) {
|
185 |
+
/** This filter is documented in functions.opengraph.php */
|
186 |
+
$default_image = apply_filters( 'jetpack_open_graph_image_default', 'https://wordpress.com/i/blank.jpg' );
|
187 |
+
|
188 |
+
$metadata['image'] = array(
|
189 |
+
'@type' => 'ImageObject',
|
190 |
+
'url' => self::staticize_subdomain( $default_image ),
|
191 |
+
'width' => 200,
|
192 |
+
'height' => 200,
|
193 |
+
);
|
194 |
+
|
195 |
+
return $metadata;
|
196 |
+
}
|
197 |
+
|
198 |
+
static function staticize_subdomain( $domain ) {
|
199 |
+
// deal with WPCOM vs Jetpack
|
200 |
+
if ( function_exists( 'staticize_subdomain' ) ) {
|
201 |
+
return staticize_subdomain( $domain );
|
202 |
+
} else {
|
203 |
+
return Jetpack::staticize_subdomain( $domain );
|
204 |
+
}
|
205 |
+
}
|
206 |
+
|
207 |
+
/**
|
208 |
+
* Extract image dimensions via wpcom/imagesize, only on WPCOM
|
209 |
+
*
|
210 |
+
* @since 6.2.0
|
211 |
+
*
|
212 |
+
* @param array $dimensions Dimensions.
|
213 |
+
* @return array Dimensions.
|
214 |
+
*/
|
215 |
+
static function extract_image_dimensions_from_getimagesize( $dimensions ) {
|
216 |
+
if ( ! ( defined('WPCOM') && WPCOM && function_exists( 'require_lib' ) ) ) {
|
217 |
+
return $dimensions;
|
218 |
+
}
|
219 |
+
require_lib( 'wpcom/imagesize' );
|
220 |
+
|
221 |
+
foreach ( $dimensions as $url => $value ) {
|
222 |
+
if ( is_array( $value ) ) {
|
223 |
+
continue;
|
224 |
+
}
|
225 |
+
$result = wpcom_getimagesize( $url );
|
226 |
+
if ( is_array( $result ) ) {
|
227 |
+
$dimensions[ $url ] = array(
|
228 |
+
'width' => $result[0],
|
229 |
+
'height' => $result[1],
|
230 |
+
);
|
231 |
+
}
|
232 |
+
}
|
233 |
+
|
234 |
+
return $dimensions;
|
235 |
+
}
|
236 |
+
|
237 |
+
static function amp_post_jetpack_og_tags() {
|
238 |
+
Jetpack::init()->check_open_graph();
|
239 |
+
if ( function_exists( 'jetpack_og_tags' ) ) {
|
240 |
+
jetpack_og_tags();
|
241 |
+
}
|
242 |
+
}
|
243 |
+
|
244 |
+
static function videopress_enable_freedom_mode( $options ) {
|
245 |
+
if ( self::is_amp_request() ) {
|
246 |
+
$options['freedom'] = true;
|
247 |
+
}
|
248 |
+
return $options;
|
249 |
+
}
|
250 |
+
|
251 |
+
static function render_sharing_html( $markup, $sharing_enabled ) {
|
252 |
+
if ( ! self::is_amp_request() ) {
|
253 |
+
return $markup;
|
254 |
+
}
|
255 |
+
|
256 |
+
remove_action( 'wp_footer', 'sharing_add_footer' );
|
257 |
+
if ( empty( $sharing_enabled ) ) {
|
258 |
+
return $markup;
|
259 |
+
}
|
260 |
+
$supported_services = array(
|
261 |
+
'facebook' => array(
|
262 |
+
/** This filter is documented in modules/sharedaddy/sharing-sources.php */
|
263 |
+
'data-param-app_id' => apply_filters( 'jetpack_sharing_facebook_app_id', '249643311490' ),
|
264 |
+
),
|
265 |
+
'twitter' => array(),
|
266 |
+
'pinterest' => array(),
|
267 |
+
'whatsapp' => array(),
|
268 |
+
'google-plus-1' => array(
|
269 |
+
'type' => 'gplus',
|
270 |
+
),
|
271 |
+
'tumblr' => array(),
|
272 |
+
'linkedin' => array(),
|
273 |
+
);
|
274 |
+
$sharing_links = array();
|
275 |
+
foreach ( $sharing_enabled['visible'] as $id => $service ) {
|
276 |
+
if ( ! isset( $supported_services[ $id ] ) ) {
|
277 |
+
$sharing_links[] = "<!-- not supported: $id -->";
|
278 |
+
continue;
|
279 |
+
}
|
280 |
+
$args = array_merge(
|
281 |
+
array(
|
282 |
+
'type' => $id,
|
283 |
+
),
|
284 |
+
$supported_services[ $id ]
|
285 |
+
);
|
286 |
+
$sharing_link = '<amp-social-share';
|
287 |
+
foreach ( $args as $key => $value ) {
|
288 |
+
$sharing_link .= sprintf( ' %s="%s"', sanitize_key( $key ), esc_attr( $value ) );
|
289 |
+
}
|
290 |
+
$sharing_link .= '></amp-social-share>';
|
291 |
+
$sharing_links[] = $sharing_link;
|
292 |
+
}
|
293 |
+
return preg_replace( '#(?<=<div class="sd-content">).+?(?=</div>)#s', implode( '', $sharing_links ), $markup );
|
294 |
+
}
|
295 |
+
}
|
296 |
+
|
297 |
+
add_action( 'init', array( 'Jetpack_AMP_Support', 'init' ), 1 );
|
298 |
+
|
299 |
+
add_action( 'admin_init', array( 'Jetpack_AMP_Support', 'admin_init' ), 1 );
|
300 |
+
|
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 appy 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/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;).
|
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,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class Jetpack_3rd_Party_Domain_Mapping
|
5 |
+
*
|
6 |
+
* This class contains methods that are used to provide compatibility between Jetpack sync and domain mapping plugins.
|
7 |
+
*/
|
8 |
+
class Jetpack_3rd_Party_Domain_Mapping {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @var Jetpack_3rd_Party_Domain_Mapping
|
12 |
+
**/
|
13 |
+
private static $instance = null;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* An array of methods that are used to hook the Jetpack sync filters for home_url and site_url to a mapping plugin.
|
17 |
+
*
|
18 |
+
* @var array
|
19 |
+
*/
|
20 |
+
static $test_methods = array(
|
21 |
+
'hook_wordpress_mu_domain_mapping',
|
22 |
+
'hook_wpmu_dev_domain_mapping'
|
23 |
+
);
|
24 |
+
|
25 |
+
static function init() {
|
26 |
+
if ( is_null( self::$instance ) ) {
|
27 |
+
self::$instance = new Jetpack_3rd_Party_Domain_Mapping;
|
28 |
+
}
|
29 |
+
|
30 |
+
return self::$instance;
|
31 |
+
}
|
32 |
+
|
33 |
+
private function __construct() {
|
34 |
+
add_action( 'plugins_loaded', array( $this, 'attempt_to_hook_domain_mapping_plugins' ) );
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* This function is called on the plugins_loaded action and will loop through the $test_methods
|
39 |
+
* to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables.
|
40 |
+
*/
|
41 |
+
function attempt_to_hook_domain_mapping_plugins() {
|
42 |
+
if ( ! Jetpack_Constants::is_defined( 'SUNRISE' ) ) {
|
43 |
+
return;
|
44 |
+
}
|
45 |
+
|
46 |
+
$hooked = false;
|
47 |
+
$count = count( self::$test_methods );
|
48 |
+
for ( $i = 0; $i < $count && ! $hooked; $i++ ) {
|
49 |
+
$hooked = call_user_func( array( $this, self::$test_methods[ $i ] ) );
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* This method will test for a constant and function that are known to be used with Donncha's WordPress MU
|
55 |
+
* Domain Mapping plugin. If conditions are met, we hook the domain_mapping_siteurl() function to Jetpack sync
|
56 |
+
* filters for home_url and site_url callables.
|
57 |
+
*
|
58 |
+
* @return bool
|
59 |
+
*/
|
60 |
+
function hook_wordpress_mu_domain_mapping() {
|
61 |
+
if ( ! Jetpack_Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) {
|
62 |
+
return false;
|
63 |
+
}
|
64 |
+
|
65 |
+
add_filter( 'jetpack_sync_home_url', 'domain_mapping_siteurl' );
|
66 |
+
add_filter( 'jetpack_sync_site_url', 'domain_mapping_siteurl' );
|
67 |
+
|
68 |
+
return true;
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* This method will test for a class and method known to be used in WPMU Dev's domain mapping plugin. If the
|
73 |
+
* method exists, then we'll hook the swap_to_mapped_url() to our Jetpack sync filters for home_url and site_url.
|
74 |
+
*
|
75 |
+
* @return bool
|
76 |
+
*/
|
77 |
+
function hook_wpmu_dev_domain_mapping() {
|
78 |
+
if ( ! $this->class_exists( 'domain_map' ) || ! $this->method_exists( 'domain_map', 'utils' ) ) {
|
79 |
+
return false;
|
80 |
+
}
|
81 |
+
|
82 |
+
$utils = $this->get_domain_mapping_utils_instance();
|
83 |
+
add_filter( 'jetpack_sync_home_url', array( $utils, 'swap_to_mapped_url' ) );
|
84 |
+
add_filter( 'jetpack_sync_site_url', array( $utils, 'swap_to_mapped_url' ) );
|
85 |
+
|
86 |
+
return true;
|
87 |
+
}
|
88 |
+
|
89 |
+
/*
|
90 |
+
* Utility Methods
|
91 |
+
*
|
92 |
+
* These methods are very minimal, and in most cases, simply pass on arguments. Why create them you ask?
|
93 |
+
* So that we can test.
|
94 |
+
*/
|
95 |
+
|
96 |
+
public function method_exists( $class, $method ) {
|
97 |
+
return method_exists( $class, $method );
|
98 |
+
}
|
99 |
+
|
100 |
+
public function class_exists( $class ) {
|
101 |
+
return class_exists( $class );
|
102 |
+
}
|
103 |
+
|
104 |
+
public function function_exists( $function ) {
|
105 |
+
return function_exists( $function );
|
106 |
+
}
|
107 |
+
|
108 |
+
public function get_domain_mapping_utils_instance() {
|
109 |
+
return domain_map::utils();
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
Jetpack_3rd_Party_Domain_Mapping::init();
|
3rd-party/polldaddy.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Jetpack_Sync {
|
4 |
+
static function sync_options() {
|
5 |
+
_deprecated_function( __METHOD__, 'jetpack-4.2', 'jetpack_options_whitelist filter' );
|
6 |
+
}
|
7 |
+
}
|
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,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Notify user that VaultPress has been disabled. Hide VaultPress notice that requested attention.
|
5 |
+
*
|
6 |
+
* @since 5.8
|
7 |
+
*/
|
8 |
+
function jetpack_vaultpress_rewind_enabled_notice() {
|
9 |
+
// The deactivation is performed here because there may be pages that admin_init runs on,
|
10 |
+
// such as admin_ajax, that could deactivate the plugin without showing this notification.
|
11 |
+
deactivate_plugins( 'vaultpress/vaultpress.php' );
|
12 |
+
|
13 |
+
// Remove WP core notice that says that the plugin was activated.
|
14 |
+
if ( isset( $_GET['activate'] ) ) {
|
15 |
+
unset( $_GET['activate'] );
|
16 |
+
}
|
17 |
+
?>
|
18 |
+
<div class="notice notice-success vp-deactivated">
|
19 |
+
<h2 style="margin-bottom: 0.25em;"><?php _e( 'Jetpack is now handling your backups.', 'jetpack' ); ?></h2>
|
20 |
+
<p><?php _e( 'VaultPress is no longer needed and has been deactivated.', 'jetpack' ); ?></p>
|
21 |
+
</div>
|
22 |
+
<style>#vp-notice{display:none;}</style>
|
23 |
+
<?php
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* If Rewind is enabled, remove its entry in sidebar, deactivate VaultPress, and show a notification.
|
28 |
+
*
|
29 |
+
* @since 5.8
|
30 |
+
*/
|
31 |
+
function jetpack_vaultpress_rewind_check() {
|
32 |
+
if ( Jetpack::is_active() &&
|
33 |
+
Jetpack::is_plugin_active( 'vaultpress/vaultpress.php' ) &&
|
34 |
+
Jetpack::is_rewind_enabled()
|
35 |
+
) {
|
36 |
+
remove_submenu_page( 'jetpack', 'vaultpress' );
|
37 |
+
|
38 |
+
add_action( 'admin_notices', 'jetpack_vaultpress_rewind_enabled_notice' );
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
add_action( 'admin_init', 'jetpack_vaultpress_rewind_check', 11 );
|
3rd-party/woocommerce-services.php
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
*/
|
36 |
+
public function try_install() {
|
37 |
+
if ( ! isset( $_GET['wc-services-action'] ) ) {
|
38 |
+
return;
|
39 |
+
}
|
40 |
+
check_admin_referer( 'wc-services-install' );
|
41 |
+
|
42 |
+
$result = false;
|
43 |
+
|
44 |
+
switch ( $_GET['wc-services-action'] ) {
|
45 |
+
case 'install':
|
46 |
+
if ( current_user_can( 'install_plugins' ) ) {
|
47 |
+
$this->jetpack->stat( 'jitm', 'wooservices-install-' . JETPACK__VERSION );
|
48 |
+
$result = $this->install();
|
49 |
+
if ( $result ) {
|
50 |
+
$result = $this->activate();
|
51 |
+
}
|
52 |
+
}
|
53 |
+
break;
|
54 |
+
|
55 |
+
case 'activate':
|
56 |
+
if ( current_user_can( 'activate_plugins' ) ) {
|
57 |
+
$this->jetpack->stat( 'jitm', 'wooservices-activate-' . JETPACK__VERSION );
|
58 |
+
$result = $this->activate();
|
59 |
+
}
|
60 |
+
break;
|
61 |
+
}
|
62 |
+
|
63 |
+
$redirect = isset( $_GET['redirect'] ) ? admin_url( $_GET['redirect'] ) : wp_get_referer();
|
64 |
+
|
65 |
+
if ( $result ) {
|
66 |
+
$this->jetpack->stat( 'jitm', 'wooservices-activated-' . JETPACK__VERSION );
|
67 |
+
} else {
|
68 |
+
$redirect = add_query_arg( 'wc-services-install-error', true, $redirect );
|
69 |
+
}
|
70 |
+
|
71 |
+
wp_safe_redirect( $redirect );
|
72 |
+
|
73 |
+
exit;
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
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 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Notify the user that the installation of WooCommerce Services failed.
|
87 |
+
*/
|
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 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Download and install the WooCommerce Services plugin.
|
98 |
+
*
|
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 |
+
/**
|
121 |
+
* Activate the WooCommerce Services plugin.
|
122 |
+
*
|
123 |
+
* @return bool result of activation
|
124 |
+
*/
|
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 |
+
}
|
132 |
+
|
133 |
+
WC_Services_Installer::init();
|
3rd-party/woocommerce.php
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
28 |
+
*/
|
29 |
+
function jetpack_woocommerce_social_share_icons() {
|
30 |
+
if ( function_exists( 'sharing_display' ) ) {
|
31 |
+
remove_filter( 'the_content', 'sharing_display', 19 );
|
32 |
+
remove_filter( 'the_excerpt', 'sharing_display', 19 );
|
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 |
+
jQuery( 'body' ).trigger( 'jetpack-lazy-images-load' );
|
101 |
+
} );
|
102 |
+
" );
|
103 |
+
}
|
104 |
+
|
105 |
+
add_action( 'wp_enqueue_scripts', 'jetpack_woocommerce_lazy_images_compat', 11 );
|
3rd-party/wpml.php
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Only load these if WPML plugin is installed and active.
|
4 |
+
*/
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Load routines only if WPML is loaded.
|
8 |
+
*
|
9 |
+
* @since 4.4.0
|
10 |
+
*/
|
11 |
+
function wpml_jetpack_init() {
|
12 |
+
add_action( 'jetpack_widget_get_top_posts', 'wpml_jetpack_widget_get_top_posts', 10, 3 );
|
13 |
+
add_filter( 'grunion_contact_form_field_html', 'grunion_contact_form_field_html_filter', 10, 3 );
|
14 |
+
}
|
15 |
+
add_action( 'wpml_loaded', 'wpml_jetpack_init' );
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Filter the Top Posts and Pages by language.
|
19 |
+
*
|
20 |
+
* @param array $posts Array of the most popular posts.
|
21 |
+
* @param array $post_ids Array of Post IDs.
|
22 |
+
* @param string $count Number of Top Posts we want to display.
|
23 |
+
*
|
24 |
+
* @return array
|
25 |
+
*/
|
26 |
+
function wpml_jetpack_widget_get_top_posts( $posts, $post_ids, $count ) {
|
27 |
+
global $sitepress;
|
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 |
+
|
39 |
+
return $posts;
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Filter the HTML of the Contact Form and output the one requested by language.
|
44 |
+
*
|
45 |
+
* @param string $r Contact Form HTML output.
|
46 |
+
* @param string $field_label Field label.
|
47 |
+
* @param int|null $id Post ID.
|
48 |
+
*
|
49 |
+
* @return string
|
50 |
+
*/
|
51 |
+
function grunion_contact_form_field_html_filter( $r, $field_label, $id ){
|
52 |
+
global $sitepress;
|
53 |
+
|
54 |
+
if ( function_exists( 'icl_translate' ) ) {
|
55 |
+
if ( $sitepress->get_current_language() !== $sitepress->get_default_language() ) {
|
56 |
+
$label_translation = icl_translate( 'jetpack ', $field_label . '_label', $field_label );
|
57 |
+
$r = str_replace( $field_label, $label_translation, $r );
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
return $r;
|
62 |
+
}
|
CODE-OF-CONDUCT.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributor Code of Conduct
|
2 |
+
|
3 |
+
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4 |
+
|
5 |
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
|
6 |
+
|
7 |
+
Examples of unacceptable behavior by participants include:
|
8 |
+
|
9 |
+
* The use of sexualized language or imagery
|
10 |
+
* Personal attacks
|
11 |
+
* Trolling or insulting/derogatory comments
|
12 |
+
* Public or private harassment
|
13 |
+
* Publishing other's private information, such as physical or electronic addresses, without explicit permission
|
14 |
+
* Other unethical or unprofessional conduct
|
15 |
+
|
16 |
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
17 |
+
|
18 |
+
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
|
19 |
+
|
20 |
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
|
21 |
+
|
22 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by emailing a project maintainer via [this contact form](https://developer.wordpress.com/contact/?g21-subject=Code%20of%20Conduct), with a subject that includes `Code of Conduct`. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident.
|
23 |
+
|
24 |
+
|
25 |
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.3.0, available at [http://contributor-covenant.org/version/1/3/0/][version]
|
26 |
+
|
27 |
+
[homepage]: http://contributor-covenant.org
|
28 |
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
_inc/accessible-focus.js
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|
8 |
+
if ( keyboardNavigationKeycodes.indexOf( event.keyCode ) !== -1 ) {
|
9 |
+
keyboardNavigation = true;
|
10 |
+
document.documentElement.classList.add( 'accessible-focus' );
|
11 |
+
}
|
12 |
+
} );
|
13 |
+
document.addEventListener( 'mouseup', function() {
|
14 |
+
if ( ! keyboardNavigation ) {
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
keyboardNavigation = false;
|
18 |
+
document.documentElement.classList.remove( 'accessible-focus' );
|
19 |
+
} );
|
_inc/blocks/contact-info/view.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-contact-info{margin-bottom:1.5em}
|
_inc/blocks/contact-info/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=539)}({180:function(e,t,n){},539:function(e,t,n){n(75),e.exports=n(540)},540:function(e,t,n){"use strict";n.r(t);n(180)},75:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)}}));
|
_inc/blocks/contact-info/view.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-contact-info{margin-bottom:1.5em}
|
_inc/blocks/editor-beta.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.help-message{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours .business-hours__row{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button{text-decoration:none}.wp-block-jetpack-business-hours .business-hours-row__add button svg{pointer-events:none}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;-webkit-box-shadow:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .required{color:#dc3232}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;-webkit-box-shadow:none;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;-webkit-box-shadow:none;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;-webkit-box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;-webkit-animation:grow .2s ease-in-out;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@-webkit-keyframes grow{0%{-webkit-transform:scale(.3);transform:scale(.3)}60%{-webkit-transform:scale(1.15);transform:scale(1.15)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes grow{0%{-webkit-transform:scale(.3);transform:scale(.3)}60%{-webkit-transform:scale(1.15);transform:scale(1.15)}to{-webkit-transform:scale(1);transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-info-block{padding:10px 18px}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-info-block .editor-plain-text{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:unset;padding:0;-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif figure{-webkit-transition:padding-top 125ms ease-in-out;transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:-webkit-box;display:-ms-flexbox;display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{-webkit-box-shadow:0 0 0 1px #555d66;box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{-webkit-box-shadow:0 0 0 2px #00a0d2;box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#ccc}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{-webkit-box-shadow:none;box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;-webkit-box-shadow:none;box-shadow:none;float:right}.component__add-point__close path{color:#aaa}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-gutenberg-social-icon.is-google-plus{fill:#df4a32}.jetpack-publicize-connection-label{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jp-related-posts-i2__row{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.jetpack-clipboard-input{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-right:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#eb0001}.simple-payments__loading{-webkit-animation:simple-payments-loading 1.6s ease-in-out infinite;animation:simple-payments-loading 1.6s ease-in-out infinite}@-webkit-keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-product-image{-webkit-box-flex:0;-ms-flex:0 0 30%;flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{-webkit-box-sizing:border-box;box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrappper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;width:24px;height:24px;-webkit-box-sizing:content-box;box-sizing:content-box;padding:12px;border-radius:4px;margin-top:-24px;-webkit-transition:background-color .25s;transition:background-color .25s}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);-webkit-box-sizing:border-box;box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;-webkit-transform:scale(.75);transform:scale(.75);-webkit-transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,transform .25s;transition:opacity .25s,transform .25s,-webkit-transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active{background-color:currentColor;opacity:1;-webkit-transform:scale(1);transform:scale(1)}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:-webkit-box;display:-ms-flexbox;display:flex}.tiled-gallery__gallery{padding:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.tiled-gallery__gallery,.tiled-gallery__row{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.tiled-gallery__row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{-webkit-filter:sepia(100%);filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;-webkit-filter:contrast(1.1) brightness(1.1) saturate(1.3);filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;-webkit-filter:contrast(1.2) saturate(1.35);filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;-webkit-filter:brightness(1.05) hue-rotate(-10deg);filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@-webkit-keyframes tiled-gallery-img-placeholder{0%{background-color:#e7e8e9}50%{background-color:rgba(231,232,233,.5)}to{background-color:#e7e8e9}}@keyframes tiled-gallery-img-placeholder{0%{background-color:#e7e8e9}50%{background-color:rgba(231,232,233,.5)}to{background-color:#e7e8e9}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{-webkit-animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite;animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;-webkit-filter:none;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__media-placeholder-icon{height:20px;margin-right:1ch;width:20px}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;-webkit-box-shadow:0 0 0 2px #555d66!important;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-wordads{background:#fff}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__footer,.jetpack-wordads__header{font-size:10px;font-family:sans-serif}.jetpack-wordads__header{text-align:left}.jetpack-wordads__footer{text-transform:uppercase;text-align:right}.jetpack-wordads__ad{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.jetpack-wordads-leaderboard .components-placeholder{min-height:90px}.jetpack-wordads-mobile_leaderboard .components-placeholder{min-height:72px}.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;-webkit-box-shadow:0 0 0 2px #555d66!important;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:.8em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{-ms-flex-preferred-size:100%;flex-basis:100%}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-left:auto;margin-right:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around}
|
_inc/blocks/editor-beta.js
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,o=t[0],a=t[1],c=0,s=[];c<o.length;c++)r=o[c],i[r]&&s.push(i[r][0]),i[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={2:0},i={2:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{5:1,9:1}[e]&&t.push(r[e]=new Promise(function(t,n){for(var r="rtl"===document.dir?({5:"map/mapbox-gl",9:"swiper"}[e]||e)+".rtl.css":({5:"map/mapbox-gl",9:"swiper"}[e]||e)+".css",i=o.p+r,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var s=(u=a[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===r||s===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var u;if((s=(u=l[c]).getAttribute("data-href"))===r||s===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.request=r,n(o)},p.href=i,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){r[e]=0}));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=a);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+""+({5:"map/mapbox-gl",9:"swiper"}[e]||e)+".js"}(e),c=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+r+": "+o+")");a.type=r,a.request=o,n[1](a)}i[e]=void 0}};var l=setTimeout(function(){c({type:"timeout",target:s})},12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var l=c;return o(o.s=534)}([function(e,t){e.exports=wp.element},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return l});var r=n(28),i=n.n(r),o=n(24),a=function(e){var t=i()(e);return t.push("jetpack"),t};function c(){return o.__.apply(void 0,i()(a(arguments)))}function s(){return o._n.apply(void 0,i()(a(arguments)))}function l(){return o._x.apply(void 0,i()(a(arguments)))}},function(e,t){e.exports=wp.components},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){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){e.exports=window.lodash},function(e,t,n){var r=n(14),i=n(52),o=n(36),a=n(39),c=n(42),s=function(e,t,n){var l,u,p,h,f=e&s.F,d=e&s.G,m=e&s.S,b=e&s.P,g=e&s.B,v=d?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=d?i:i[t]||(i[t]={}),j=y.prototype||(y.prototype={});for(l in d&&(n=t),n)p=((u=!f&&v&&void 0!==v[l])?v:n)[l],h=g&&u?c(p,r):b&&"function"==typeof p?c(Function.call,p):p,v&&a(v,l,p,e&s.U),y[l]!=p&&o(y,l,h),b&&j[l]!=p&&(j[l]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=wp.editor},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(178),i=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(179);e.exports=function(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&&r(e,t)}},function(e,t){function n(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)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;
|
2 |
+
/*!
|
3 |
+
Copyright (c) 2017 Jed Watson.
|
4 |
+
Licensed under the MIT License (MIT), see
|
5 |
+
http://jedwatson.github.io/classnames
|
6 |
+
*/
|
7 |
+
/*!
|
8 |
+
Copyright (c) 2017 Jed Watson.
|
9 |
+
Licensed under the MIT License (MIT), see
|
10 |
+
http://jedwatson.github.io/classnames
|
11 |
+
*/
|
12 |
+
!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}},function(e,t,n){var r=n(82)("wks"),i=n(58),o=n(14).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.blocks},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(188);var p=/[&<>"]/,h=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function d(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var b=n(165);t.lib={},t.lib.mdurl=n(189),t.lib.ucmicro=n(396),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(h,d):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){var r=n(16),i=n(137),o=n(46),a=Object.defineProperty;t.f=n(26)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.data},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(54),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(174),i=n(175),o=n(176);e.exports=function(e){return r(e)||i(e)||o()}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(21),i=n(93);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=Object(i.a)(e),a=o.available;o.unavailableReason;if(!a)return!1;var c=Object(r.registerBlockType)("jetpack/".concat(e),t);return n.forEach(function(e){return Object(r.registerBlockType)("jetpack/".concat(e.name),e.settings)}),c}},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){return Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"h",function(){return o}),n.d(t,"i",function(){return a}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return p});var r=["image"],i=4,o=20,a=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t,n){var r=n(47);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(126),i=n(127),o=n(128);e.exports=function(e,t){return r(e)||i(e,t)||o()}},function(e,t,n){var r=n(6),i=n(17),o=n(47),a=/"/g,c=function(e,t,n,r){var i=String(o(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+String(r).replace(a,""")+'"'),c+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(c),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){e.exports=wp.blob},function(e,t,n){var r=n(23),i=n(57);e.exports=n(26)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(77),i=n(57),o=n(43),a=n(46),c=n(37),s=n(137),l=Object.getOwnPropertyDescriptor;t.f=n(26)?l:function(e,t){if(e=o(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(c(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(14),i=n(36),o=n(37),a=n(58)("src"),c=n(202),s=(""+c).split("toString");n(52).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||i(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),i=n(1),o={name:"map",prefix:"jetpack",title:Object(i.a)("Map"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(i.a)("map"),Object(i.a)("location")],description:Object(i.a)("Add an interactive map showing one or more locations."),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(i.a)("Basic")},{value:"black_and_white",label:Object(i.a)("Black and white")},{value:"satellite",label:Object(i.a)("Satellite")},{value:"terrain",label:Object(i.a)("Terrain")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"}))))}},function(e,t,n){var r=n(40);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(97),i=n(47);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(6),i=n(52),o=n(17);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";var r=n(177),i=n(361);function o(){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){i.isString(e)&&(e=y(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(362);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),c=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var j=s.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var O=a.exec(y);if(O){var _=(O=O[0]).toLowerCase();this.protocol=_,y=y.substr(O.length)}if(n||O||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===y.substr(0,2);!k||O&&b[O]||(y=y.substr(2),this.slashes=!0)}if(!b[O]&&(k||O&&!g[O])){for(var w,E,x=-1,C=0;C<h.length;C++){-1!==(S=y.indexOf(h[C]))&&(-1===x||S<x)&&(x=S)}-1!==(E=-1===x?y.lastIndexOf("@"):y.lastIndexOf("@",x))&&(w=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(w)),x=-1;for(C=0;C<p.length;C++){var S;-1!==(S=y.indexOf(p[C]))&&(-1===x||S<x)&&(x=S)}-1===x&&(x=y.length),this.host=y.slice(0,x),y=y.slice(x),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var M=this.hostname.split(/\./),T=(C=0,M.length);C<T;C++){var P=M[C];if(P&&!P.match(f)){for(var F="",N=0,z=P.length;N<z;N++)P.charCodeAt(N)>127?F+="x":F+=P[N];if(!F.match(f)){var D=M.slice(0,C),R=M.slice(C+1),I=P.match(d);I&&(D.push(I[1]),R.unshift(I[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[_])for(C=0,T=u.length;C<T;C++){var q=u[C];if(-1!==y.indexOf(q)){var V=encodeURIComponent(q);V===q&&(V=escape(q)),y=y.split(q).join(V)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},o.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||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var c=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(c=c.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,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 s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),h=0;h<p.length;h++){var f=p[h];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.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||"",v=n.search||"";n.path=m+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),O=j||y||n.host&&e.pathname,_=O,k=n.pathname&&n.pathname.split("/")||[],w=(d=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),O=O&&(""===d[0]||""===k[0])),j)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,k=d;else if(d.length)k||(k=[]),k.pop(),k=k.concat(d),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=k.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=k.slice(-1)[0],x=(n.host||e.host||k.length>1)&&("."===E||".."===E)||""===E,C=0,S=k.length;S>=0;S--)"."===(E=k[S])?k.splice(S,1):".."===E?(k.splice(S,1),C++):C&&(k.splice(S,1),C--);if(!O&&!_)for(;C--;C)k.unshift("..");!O||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),x&&"/"!==k.join("/").substr(-1)&&k.push("");var A,M=""===k[0]||k[0]&&"/"===k[0].charAt(0);w&&(n.hostname=n.host=M?"":k.length?k.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(O=O||n.host&&k.length)&&!M&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.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},o.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,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(37),i=n(32),o=n(105)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";if(n(26)){var r=n(53),i=n(14),o=n(17),a=n(6),c=n(120),s=n(160),l=n(42),u=n(71),p=n(57),h=n(36),f=n(70),d=n(54),m=n(27),b=n(161),g=n(65),v=n(46),y=n(37),j=n(83),O=n(15),_=n(32),k=n(99),w=n(67),E=n(48),x=n(63).f,C=n(101),S=n(58),A=n(19),M=n(76),T=n(102),P=n(78),F=n(103),N=n(66),z=n(84),D=n(69),R=n(96),I=n(138),L=n(23),B=n(38),q=L.f,V=B.f,H=i.RangeError,U=i.TypeError,G=i.Uint8Array,$=Array.prototype,W=s.ArrayBuffer,K=s.DataView,Z=M(0),J=M(2),Y=M(3),X=M(4),Q=M(5),ee=M(6),te=T(!0),ne=T(!1),re=F.values,ie=F.keys,oe=F.entries,ae=$.lastIndexOf,ce=$.reduce,se=$.reduceRight,le=$.join,ue=$.sort,pe=$.slice,he=$.toString,fe=$.toLocaleString,de=A("iterator"),me=A("toStringTag"),be=S("typed_constructor"),ge=S("def_constructor"),ve=c.CONSTR,ye=c.TYPED,je=c.VIEW,Oe=M(1,function(e,t){return xe(P(e,e[ge]),t)}),_e=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),ke=!!G&&!!G.prototype.set&&o(function(){new G(1).set({})}),we=function(e,t){var n=d(e);if(n<0||n%t)throw H("Wrong offset!");return n},Ee=function(e){if(O(e)&&ye in e)return e;throw U(e+" is not a typed array!")},xe=function(e,t){if(!(O(e)&&be in e))throw U("It is not a typed array constructor!");return new e(t)},Ce=function(e,t){return Se(P(e,e[ge]),t)},Se=function(e,t){for(var n=0,r=t.length,i=xe(e,r);r>n;)i[n]=t[n++];return i},Ae=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Me=function(e){var t,n,r,i,o,a,c=_(e),s=arguments.length,u=s>1?arguments[1]:void 0,p=void 0!==u,h=C(c);if(null!=h&&!k(h)){for(a=h.call(c),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);c=r}for(p&&s>2&&(u=l(u,arguments[2],2)),t=0,n=m(c.length),i=xe(this,n);n>t;t++)i[t]=p?u(c[t],t):c[t];return i},Te=function(){for(var e=0,t=arguments.length,n=xe(this,t);t>e;)n[e]=arguments[e++];return n},Pe=!!G&&o(function(){fe.call(new G(1))}),Fe=function(){return fe.apply(Pe?pe.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function(e,t){return I.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return X(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Ee(this),arguments)},filter:function(e){return Ce(this,J(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return le.apply(Ee(this),arguments)},lastIndexOf:function(e){return ae.apply(Ee(this),arguments)},map:function(e){return Oe(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ce.apply(Ee(this),arguments)},reduceRight:function(e){return se.apply(Ee(this),arguments)},reverse:function(){for(var e,t=Ee(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return Y(Ee(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ue.call(Ee(this),e)},subarray:function(e,t){var n=Ee(this),r=n.length,i=g(e,r);return new(P(n,n[ge]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:g(t,r))-i))}},ze=function(e,t){return Ce(this,pe.call(Ee(this),e,t))},De=function(e){Ee(this);var t=we(arguments[1],1),n=this.length,r=_(e),i=m(r.length),o=0;if(i+t>n)throw H("Wrong length!");for(;o<i;)this[t+o]=r[o++]},Re={entries:function(){return oe.call(Ee(this))},keys:function(){return ie.call(Ee(this))},values:function(){return re.call(Ee(this))}},Ie=function(e,t){return O(e)&&e[ye]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Le=function(e,t){return Ie(e,t=v(t,!0))?p(2,e[t]):V(e,t)},Be=function(e,t,n){return!(Ie(e,t=v(t,!0))&&O(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?q(e,t,n):(e[t]=n.value,e)};ve||(B.f=Le,L.f=Be),a(a.S+a.F*!ve,"Object",{getOwnPropertyDescriptor:Le,defineProperty:Be}),o(function(){he.call({})})&&(he=fe=function(){return le.call(this)});var qe=f({},Ne);f(qe,Re),h(qe,de,Re.values),f(qe,{slice:ze,set:De,constructor:function(){},toString:he,toLocaleString:Fe}),Ae(qe,"buffer","b"),Ae(qe,"byteOffset","o"),Ae(qe,"byteLength","l"),Ae(qe,"length","e"),q(qe,me,{get:function(){return this[ye]}}),e.exports=function(e,t,n,s){var l=e+((s=!!s)?"Clamped":"")+"Array",p="get"+e,f="set"+e,d=i[l],g=d||{},v=d&&E(d),y=!d||!c.ABV,_={},k=d&&d.prototype,C=function(e,n){q(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[p](n*t+r.o,_e)}(this,n)},set:function(e){return function(e,n,r){var i=e._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[f](n*t+i.o,r,_e)}(this,n,e)},enumerable:!0})};y?(d=n(function(e,n,r,i){u(e,d,l,"_d");var o,a,c,s,p=0,f=0;if(O(n)){if(!(n instanceof W||"ArrayBuffer"==(s=j(n))||"SharedArrayBuffer"==s))return ye in n?Se(d,n):Me.call(d,n);o=n,f=we(r,t);var g=n.byteLength;if(void 0===i){if(g%t)throw H("Wrong length!");if((a=g-f)<0)throw H("Wrong length!")}else if((a=m(i)*t)+f>g)throw H("Wrong length!");c=a/t}else c=b(n),o=new W(a=c*t);for(h(e,"_d",{b:o,o:f,l:a,e:c,v:new K(o)});p<c;)C(e,p++)}),k=d.prototype=w(qe),h(k,"constructor",d)):o(function(){d(1)})&&o(function(){new d(-1)})&&z(function(e){new d,new d(null),new d(1.5),new d(e)},!0)||(d=n(function(e,n,r,i){var o;return u(e,d,l),O(n)?n instanceof W||"ArrayBuffer"==(o=j(n))||"SharedArrayBuffer"==o?void 0!==i?new g(n,we(r,t),i):void 0!==r?new g(n,we(r,t)):new g(n):ye in n?Se(d,n):Me.call(d,n):new g(b(n))}),Z(v!==Function.prototype?x(g).concat(x(v)):x(g),function(e){e in d||h(d,e,g[e])}),d.prototype=k,r||(k.constructor=d));var S=k[de],A=!!S&&("values"==S.name||null==S.name),M=Re.values;h(d,be,!0),h(k,ye,l),h(k,je,!0),h(k,ge,d),(s?new d(1)[me]==l:me in k)||q(k,me,{get:function(){return l}}),_[l]=d,a(a.G+a.W+a.F*(d!=g),_),a(a.S,l,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o(function(){g.of.call(d,1)}),l,{from:Me,of:Te}),"BYTES_PER_ELEMENT"in k||h(k,"BYTES_PER_ELEMENT",t),a(a.P,l,Ne),D(l),a(a.P+a.F*ke,l,{set:De}),a(a.P+a.F*!A,l,Re),r||k.toString==he||(k.toString=he),a(a.P+a.F*o(function(){new d(1).slice()}),l,{slice:ze}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!o(function(){k.toLocaleString.call([1,2])})),l,{toLocaleString:Fe}),N[l]=A?S:M,r||A||h(k,de,M)}}else e.exports=function(){}},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";e.exports=n(356)},function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=!1},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(58)("meta"),i=n(15),o=n(37),a=n(23).f,c=0,s=Object.isExtensible||function(){return!0},l=!n(17)(function(){return s(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!s(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!s(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return l&&p.NEED&&s(e)&&!o(e,r)&&u(e),e}}},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){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(19)("unscopables"),i=Array.prototype;null==i[r]&&n(36)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(142),i=n(106);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(142),i=n(106).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){e.exports=wp.keycodes},function(e,t,n){var r=n(54),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t){e.exports={}},function(e,t,n){var r=n(16),i=n(210),o=n(106),a=n(105)("IE_PROTO"),c=function(){},s=function(){var e,t=n(95)("iframe"),r=o.length;for(t.style.display="none",n(143).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[o[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=s(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(23).f,i=n(37),o=n(19)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(14),i=n(23),o=n(26),a=n(19)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(39);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){function n(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function c(e){n(a,i,o,c,s,"next",e)}function s(e){n(a,i,o,c,s,"throw",e)}c(void 0)})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return l});var r=n(5),i=16/9,o=.8,a=600,c="wp-block-jetpack-slideshow_autoplay-paused";function s(e){l(e),u(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",function(){e.el&&(e.el.classList.contains(c)?(e.el.classList.remove(c),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(c),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))})}function l(e){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,i),1),c="undefined"!=typeof window?window.innerHeight*o:a,s=Math.min(e.width/r,c),l="".concat(Math.floor(s),"px"),u="".concat(Math.floor(s/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=l,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=u,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=u}}function u(e){Object(r.forEach)(e.slides,function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")}),function(e){var t=e.slides[e.activeIndex],n=t.getElementsByTagName("FIGCAPTION")[0],r=t.getElementsByTagName("IMG")[0],i=n?n.innerText:r.alt;e.a11y.notify(i)}(e)}function p(e){Object(r.forEach)(e.pagination.bullets,function(t){t.addEventListener("click",function(){var t=e.slides[e.realIndex];setTimeout(function(){t.focus()},500)})})}},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},c=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function s(){a(o)}function l(){var e=Date.now();if(n){if(e-i<c)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=j(0,0,0,0);function m(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+m(e["border-"+n+"-width"])},0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=m(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,c=m(r.width),s=m(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==t&&(c-=b(r,"left","right")+o),Math.round(s+a)!==n&&(s-=b(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var l=Math.round(c+o)-t,u=Math.round(s+a)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return j(i.left,i.top,c,s)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?v(e)?function(e){var t=e.getBBox();return j(0,0,t.width,t.height)}(e):g(e):d}function j(e,t,n,r){return{x:e,y:t,width:n,height:r}}var O=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=j(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(){return function(e,t){var n,r,i,o,a,c,s,l=(r=(n=t).x,i=n.y,o=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),h(s,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),s);h(this,{target:e,contentRect:l})}}(),k=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new O(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new _(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,E=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new k(t,n,this);w.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var x=void 0!==o.ResizeObserver?o.ResizeObserver:E;t.a=x},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,n){var r=n(42),i=n(97),o=n(32),a=n(27),c=n(139);e.exports=function(e,t){var n=1==e,s=2==e,l=3==e,u=4==e,p=6==e,h=5==e||p,f=t||c;return function(t,c,d){for(var m,b,g=o(t),v=i(g),y=r(c,d,3),j=a(v.length),O=0,_=n?f(t,j):s?f(t,0):void 0;j>O;O++)if((h||O in v)&&(b=y(m=v[O],O,g),e))if(n)_[O]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return O;case 2:_.push(m)}else if(u)return!1;return p?-1:l||u?u:_}}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(16),i=n(40),o=n(19)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r=n(365);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(11),d=n.n(f),m=n(0),b=n(13),g=n.n(b),v=n(20),y=n(2),j=n(7),O=n(5),_=n(1),k=window.getComputedStyle,w=Object(y.withFallbackStyles)(function(e,t){var n,r,i,o,a=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=a&&a.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(i=k(r).backgroundColor),n&&(o=k(n).color),{fallbackBackgroundColor:s||i,fallbackTextColor:l||o}}),E=function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return d()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(O.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(O.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,o=Object(O.get)(n,"class"),a=Object(O.get)(r,"class");return g()("wp-block-button__link",(e={"has-text-color":n},i()(e,o,o),i()(e,"has-background",r),i()(e,a,a),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,i=e.setAttributes,o=e.setBackgroundButtonColor,a=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(m.createElement)(j.RichText,{placeholder:Object(_.a)("Add text…"),value:t.submitButtonText,onChange:function(e){return i({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,formattingControls:[]})),Object(m.createElement)(j.InspectorControls,null,Object(m.createElement)(j.PanelColorSettings,{title:Object(_.a)("Button Color Settings"),colorSettings:[{value:c,onChange:function(e){o(e),i({customBackgroundButtonColor:e})},label:Object(_.a)("Background Color")},{value:s,onChange:function(e){a(e),i({customTextButtonColor:e})},label:Object(_.a)("Text Color")}]}),Object(m.createElement)(j.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(m.Component);t.a=Object(v.compose)([Object(j.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){var r=n(52),i=n(14),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(53)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(60),i=n(19)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(19)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){var r=n(42),i=n(140),o=n(99),a=n(16),c=n(27),s=n(101),l={},u={};(t=e.exports=function(e,t,n,p,h){var f,d,m,b,g=h?function(){return e}:s(e),v=r(n,p,t?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=c(e.length);f>y;y++)if((b=t?v(a(d=e[y])[0],d[1]):v(e[y]))===l||b===u)return b}else for(m=g.call(e);!(d=m.next()).done;)if((b=i(m,v,d.value,t))===l||b===u)return b}).BREAK=l,t.RETURN=u},function(e,t,n){"use strict";var r=n(14),i=n(6),o=n(39),a=n(70),c=n(55),s=n(85),l=n(71),u=n(15),p=n(17),h=n(84),f=n(68),d=n(107);e.exports=function(e,t,n,m,b,g){var v=r[e],y=v,j=b?"set":"add",O=y&&y.prototype,_={},k=function(e){var t=O[e];o(O,e,"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(g||O.forEach&&!p(function(){(new y).entries().next()}))){var w=new y,E=w[j](g?{}:-0,1)!=w,x=p(function(){w.has(1)}),C=h(function(e){new y(e)}),S=!g&&p(function(){for(var e=new y,t=5;t--;)e[j](t,t);return!e.has(-0)});C||((y=t(function(t,n){l(t,y,e);var r=d(new v,t,y);return null!=n&&s(n,b,r[j],r),r})).prototype=O,O.constructor=y),(x||S)&&(k("delete"),k("has"),b&&k("get")),(S||E)&&k(j),g&&O.clear&&delete O.clear}else y=m.getConstructor(t,e,b,j),a(y.prototype,n),c.NEED=!0;return f(y,e),_[e]=y,i(i.G+i.W+i.F*(y!=v),_),g||m.setStrong(y,e,b),y}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";e.exports=n(53)||!n(17)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(14)[e]})},function(e,t,n){var r=n(14).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(16);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(83),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(290);var r=n(39),i=n(36),o=n(17),a=n(47),c=n(19),s=n(117),l=c("species"),u=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=c(e),f=!o(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),d=f?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[l]=function(){return n}),n[h](""),!t}):void 0;if(!f||!d||"replace"===e&&!u||"split"===e&&!p){var m=/./[h],b=n(a,h,""[e],function(e,t,n,r,i){return t.exec===s?f&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),g=b[0],v=b[1];r(String.prototype,e,g),i(RegExp.prototype,h,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(5),a=n(342),c="Jetpack_Editor_Initial_State";function s(e){var t=Object(o.get)("object"==typeof window?window:null,[c],null),n=Object(o.includes)(a.beta,e),r=Object(o.get)(t,["available_blocks",e,"available"],n),s=Object(o.get)(t,["available_blocks",e,"unavailable_reason"],"unknown");return i()({available:r},!r&&{unavailableReason:s})}n.d(t,"a",function(){return s})},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"e",function(){return c});var r="after-visits",i="before-visits",o=3,a="jp-visit-counter",c=15552e3},function(e,t,n){var r=n(15),i=n(14).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){"use strict";var r=n(32),i=n(65),o=n(27);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,c=i(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,l=void 0===s?n:i(s,n);l>c;)t[c++]=e;return t}},function(e,t,n){var r=n(60);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(60);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(66),i=n(19)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(23),i=n(57);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(83),i=n(19)("iterator"),o=n(66);e.exports=n(52).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(43),i=n(27),o=n(65);e.exports=function(e){return function(t,n,a){var c,s=r(t),l=i(s.length),u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){"use strict";var r=n(59),i=n(141),o=n(66),a=n(43);e.exports=n(104)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(53),i=n(6),o=n(39),a=n(36),c=n(66),s=n(209),l=n(68),u=n(48),p=n(19)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,d,m,b,g){s(n,t,d);var v,y,j,O=function(e){if(!h&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==m,w=!1,E=e.prototype,x=E[p]||E["@@iterator"]||m&&E[m],C=x||O(m),S=m?k?O("entries"):C:void 0,A="Array"==t&&E.entries||x;if(A&&(j=u(A.call(new e)))!==Object.prototype&&j.next&&(l(j,_,!0),r||"function"==typeof j[p]||a(j,p,f)),k&&x&&"values"!==x.name&&(w=!0,C=function(){return x.call(this)}),r&&!g||!h&&!w&&E[p]||a(E,p,C),c[t]=C,c[_]=f,m)if(v={values:k?C:O("values"),keys:b?C:O("keys"),entries:S},g)for(y in v)y in E||o(E,y,v[y]);else i(i.P+i.F*(h||w),t,v);return v}},function(e,t,n){var r=n(82)("keys"),i=n(58);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15),i=n(108).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},function(e,t,n){var r=n(15),i=n(16),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(42)(Function.call,n(38).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(6),i=n(47),o=n(17),a=n(112),c="["+a+"]",s=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),u=function(e,t,n){var i={},c=o(function(){return!!a[e]()||"
"!="
"[e]()}),s=i[e]=c?t(p):a[e];n&&(i[n]=s),r(r.P+r.F*c,"String",i)},p=u.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(l,"")),e};e.exports=u},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r,i,o,a=n(42),c=n(152),s=n(143),l=n(95),u=n(14),p=u.process,h=u.setImmediate,f=u.clearImmediate,d=u.MessageChannel,m=u.Dispatch,b=0,g={},v=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){v.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++b]=function(){c("function"==typeof e?e:Function(e),t)},r(b),b},f=function(e){delete g[e]},"process"==n(60)(p)?r=function(e){p.nextTick(a(v,e,1))}:m&&m.now?r=function(e){m.now(a(v,e,1))}:d?(o=(i=new d).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,n){var r=n(15),i=n(60),o=n(19)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){"use strict";var r=n(116)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(54),i=n(47);e.exports=function(e){return function(t,n){var o,a,c=String(i(t)),s=r(n),l=c.length;return s<0||s>=l?e?"":void 0:(o=c.charCodeAt(s))<55296||o>56319||s+1===l||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):o:e?c.slice(s,s+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){"use strict";var r,i,o=n(90),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),u=void 0!==/()??/.exec("")[1];(l||u)&&(s=function(e){var t,n,r,i,s=this;return u&&(n=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),l&&(t=s.lastIndex),r=a.call(s,e),l&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),u&&r&&r.length>1&&c.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),e.exports=s},function(e,t,n){var r=n(114),i=n(47);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(19)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){for(var r,i=n(14),o=n(36),a=n(58),c=a("typed_array"),s=a("view"),l=!(!i.ArrayBuffer||!i.DataView),u=l,p=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[h[p++]])?(o(r.prototype,c,!0),o(r.prototype,s,!0)):u=!1;e.exports={ABV:l,CONSTR:u,TYPED:c,VIEW:s}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(2),o=n(124),a=n(134),c=(n(368),n(123)),s=Object(i.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot,p=function(e){var t=e.children;return Object(r.createElement)(l,null,t)};p.Slot=function(){return Object(r.createElement)(u,null,function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null})},Object(a.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(p.Slot,null)}}),t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(5);n(173),n(45);function i(e){var t=e.split("?")[0],n=t.split("/");if(0===t.indexOf("/checkout/thank-you/no-site/"))return!1;if(0===t.indexOf("/me/purchases/")||0===t.indexOf("/checkout/thank-you/")){var r=n[3];if(r&&-1!==r.indexOf("."))return r;var i=parseInt(r,10);if(Number.isSafeInteger(i))return i}for(var o=2;o>0;o--){var a=n[n.length-o];if(a&&-1!==a.indexOf("."))return a}for(var c=2;c>0;c--){var s=parseInt(n[n.length-c],10);if(Number.isSafeInteger(s))return s}return!1}function o(){if(window&&window._currentSiteId)return window._currentSiteId;var e=i(window.location.pathname);return Object(r.includes)(["post.php","post-new.php"],e)?window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null:e||null}n.d(t,"default",function(){return o})},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(172),a=n.n(o),c=n(13),s=n.n(c),l=i.a.createElement(i.a.Fragment,null,i.a.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),i.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),i.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),u=function(e){var t=e.full,n=void 0!==t&&t,r=e.size,o=void 0===r?32:r,a=e.className,c=s()("jetpack-logo",a);return!0===n?i.a.createElement("svg",{height:o,className:c,viewBox:"0 0 118 32"},i.a.createElement("title",null,"Jetpack"),l,i.a.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===o?i.a.createElement("svg",{className:c,height:"24",width:"24",viewBox:"0 0 24 24"},i.a.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):i.a.createElement("svg",{className:c,height:o,width:o,viewBox:"0 0 32 32"},l)};u.propTypes={full:a.a.bool,size:a.a.number},t.a=u},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return s});var r=n(33),i=n.n(r),o=n(31);function a(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function c(e,t){!function(e,t,n){var r=i()(t,2),c=r[0],s=r[1],f=1/c*(n-o.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),c=i.map(function(e){return(n-o.b*(e.childElementCount-1))*p(e)[0]}),s=a(c,r);i.forEach(function(e,t){var r=c[t],i=s[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,o=a(u(e).map(function(e){return i/h(e)}),n);Array.from(e.children).forEach(function(e,t){var n=o[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-o.b*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:f,rowWidth:n-o.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce(function(e,t){var n=i()(e,2),r=n[0],o=n[1],a=i()(t,2),c=a[0],s=a[1];return[r+c,o+s]},[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(h).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function h(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(197)(Object,"create");e.exports=r},function(e,t,n){var r=n(472);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(478);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){"use strict";n.r(t);var r=n(56),i=n.n(r),o=n(79),a=n.n(o),c=n(0),s=n(13),l=n.n(s),u=n(133),p=n.n(u);n(366);t.default=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,o=void 0!==r&&r,s=a()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":o});return n&&Object(c.createElement)("div",i()({className:u},s),o&&Object(c.createElement)(p.a,{size:"24"}),Object(c.createElement)("span",null,n))}},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,i=void 0===n?24:n,o=e.onClick,c=(e.icon,e.className),s=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"]),l=["gridicon","gridicons-notice-outline",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,height:i,width:i,onClick:o},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,o=n(51),a=(i=o)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t){e.exports=wp.plugins},function(e,t){e.exports=wp.date},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(134),i=n(93);function o(e,t){var n=Object(i.a)(e),o=n.available;n.unavailableReason;return!!o&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){e.exports=!n(26)&&!n(17)(function(){return 7!=Object.defineProperty(n(95)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(32),i=n(65),o=n(27);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),c=i(e,a),s=i(t,a),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?a:i(l,a))-s,a-c),p=1;for(s<c&&c<s+u&&(p=-1,s+=u-1,c+=u-1);u-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},function(e,t,n){var r=n(205);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(16);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(37),i=n(43),o=n(102)(!1),a=n(105)("IE_PROTO");e.exports=function(e,t){var n,c=i(e),s=0,l=[];for(n in c)n!=a&&r(c,n)&&l.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(23).f,i=n(67),o=n(70),a=n(42),c=n(71),s=n(85),l=n(104),u=n(141),p=n(69),h=n(26),f=n(55).fastKey,d=n(62),m=h?"_s":"size",b=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var u=e(function(e,r){c(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&s(r,n,e[l],e)});return o(u.prototype,{clear:function(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=d(this,t),r=b(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(e){d(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!b(d(this,t),e)}}),h&&r(u.prototype,"size",{get:function(){return d(this,t)[m]}}),u},def:function(e,t,n){var r,i,o=b(e,t);return o?o.v=n:(e._l=o={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:b,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=d(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),p(t)}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(15),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){"use strict";var r=n(61),i=n(87),o=n(77),a=n(32),c=n(97),s=Object.assign;e.exports=!s||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=a(e),s=arguments.length,l=1,u=i.f,p=o.f;s>l;)for(var h,f=c(arguments[l++]),d=u?r(f).concat(u(f)):r(f),m=d.length,b=0;m>b;)p.call(f,h=d[b++])&&(n[h]=f[h]);return n}:s},function(e,t,n){var r=n(61),i=n(43),o=n(77).f;e.exports=function(e){return function(t){for(var n,a=i(t),c=r(a),s=c.length,l=0,u=[];s>l;)o.call(a,n=c[l++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t,n){var r=n(63),i=n(87),o=n(16),a=n(14).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(43),i=n(63).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(40);function i(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},function(e,t,n){var r=n(16),i=n(15),o=n(153);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){n(26)&&"g"!=/./g.flags&&n(23).f(RegExp.prototype,"flags",{configurable:!0,get:n(90)})},function(e,t,n){t.f=n(19)},function(e,t,n){var r=n(14),i=n(52),o=n(53),a=n(156),c=n(23).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(27),i=n(159),o=n(47);e.exports=function(e,t,n,a){var c=String(o(e)),s=c.length,l=void 0===n?" ":String(n),u=r(t);if(u<=s||""==l)return c;var p=u-s,h=i.call(l,Math.ceil(p/l.length));return h.length>p&&(h=h.slice(0,p)),a?h+c:c+h}},function(e,t,n){"use strict";var r=n(54),i=n(47);e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t,n){"use strict";var r=n(14),i=n(26),o=n(53),a=n(120),c=n(36),s=n(70),l=n(17),u=n(71),p=n(54),h=n(27),f=n(161),d=n(63).f,m=n(23).f,b=n(96),g=n(68),v="prototype",y="Wrong index!",j=r.ArrayBuffer,O=r.DataView,_=r.Math,k=r.RangeError,w=r.Infinity,E=j,x=_.abs,C=_.pow,S=_.floor,A=_.log,M=_.LN2,T=i?"_b":"buffer",P=i?"_l":"byteLength",F=i?"_o":"byteOffset";function N(e,t,n){var r,i,o,a=new Array(n),c=8*n-t-1,s=(1<<c)-1,l=s>>1,u=23===t?C(2,-24)-C(2,-77):0,p=0,h=e<0||0===e&&1/e<0?1:0;for((e=x(e))!=e||e===w?(i=e!=e?1:0,r=s):(r=S(A(e)/M),e*(o=C(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?u/o:u*C(2,1-l))*o>=2&&(r++,o/=2),r+l>=s?(i=0,r=s):r+l>=1?(i=(e*o-1)*C(2,t),r+=l):(i=e*C(2,l-1)*C(2,t),r=0));t>=8;a[p++]=255&i,i/=256,t-=8);for(r=r<<t|i,c+=t;c>0;a[p++]=255&r,r/=256,c-=8);return a[--p]|=128*h,a}function z(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,c=i-7,s=n-1,l=e[s--],u=127&l;for(l>>=7;c>0;u=256*u+e[s],s--,c-=8);for(r=u&(1<<-c)-1,u>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:l?-w:w;r+=C(2,t),u-=a}return(l?-1:1)*r*C(2,u-t)}function D(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function R(e){return[255&e]}function I(e){return[255&e,e>>8&255]}function L(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function B(e){return N(e,52,8)}function q(e){return N(e,23,4)}function V(e,t,n){m(e[v],t,{get:function(){return this[n]}})}function H(e,t,n,r){var i=f(+n);if(i+t>e[P])throw k(y);var o=e[T]._b,a=i+e[F],c=o.slice(a,a+t);return r?c:c.reverse()}function U(e,t,n,r,i,o){var a=f(+n);if(a+t>e[P])throw k(y);for(var c=e[T]._b,s=a+e[F],l=r(+i),u=0;u<t;u++)c[s+u]=l[o?u:t-u-1]}if(a.ABV){if(!l(function(){j(1)})||!l(function(){new j(-1)})||l(function(){return new j,new j(1.5),new j(NaN),"ArrayBuffer"!=j.name})){for(var G,$=(j=function(e){return u(this,j),new E(f(e))})[v]=E[v],W=d(E),K=0;W.length>K;)(G=W[K++])in j||c(j,G,E[G]);o||($.constructor=j)}var Z=new O(new j(2)),J=O[v].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||s(O[v],{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else j=function(e){u(this,j,"ArrayBuffer");var t=f(e);this._b=b.call(new Array(t),0),this[P]=t},O=function(e,t,n){u(this,O,"DataView"),u(e,j,"DataView");var r=e[P],i=p(t);if(i<0||i>r)throw k("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw k("Wrong length!");this[T]=e,this[F]=i,this[P]=n},i&&(V(j,"byteLength","_l"),V(O,"buffer","_b"),V(O,"byteLength","_l"),V(O,"byteOffset","_o")),s(O[v],{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(H(this,4,e,arguments[1]))},getUint32:function(e){return D(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return z(H(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return z(H(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){U(this,1,e,R,t)},setUint8:function(e,t){U(this,1,e,R,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments[2])},setUint16:function(e,t){U(this,2,e,I,t,arguments[2])},setInt32:function(e,t){U(this,4,e,L,t,arguments[2])},setUint32:function(e,t){U(this,4,e,L,t,arguments[2])},setFloat32:function(e,t){U(this,4,e,q,t,arguments[2])},setFloat64:function(e,t){U(this,8,e,B,t,arguments[2])}});g(j,"ArrayBuffer"),g(O,"DataView"),c(O[v],a.VIEW,!0),t.ArrayBuffer=j,t.DataView=O},function(e,t,n){var r=n(54),i=n(27);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){"use strict";var r=n(70),i=n(55).getWeak,o=n(16),a=n(15),c=n(71),s=n(85),l=n(76),u=n(37),p=n(62),h=l(5),f=l(6),d=0,m=function(e){return e._l||(e._l=new b)},b=function(){this.a=[]},g=function(e,t){return h(e.a,function(e){return e[0]===t})};b.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var l=e(function(e,r){c(e,l,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&s(r,n,e[o],e)});return r(l.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(p(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(p(this,t)).has(e):n&&u(n,this._i)}}),l},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(33),i=n.n(r),o=n(72),a=n.n(o),c=(n(201),n(203),n(204),n(206),n(207),n(208),n(103),n(211),n(212),n(214),n(215),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(248),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(273),n(274),n(275),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(155),n(289),n(291),n(292),n(293),n(294),n(295),n(296),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(336),n(337),n(338),n(339),n(5));n(340);function s(){return l.apply(this,arguments)}function l(){return(l=a()(regeneratorRuntime.mark(function e(){var t,r,o,a,s,l,u,p=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=p.length>0&&void 0!==p[0]?p[0]:".swiper-container",r=p.length>1&&void 0!==p[1]?p[1]:{},o=p.length>2&&void 0!==p[2]?p[2]:{},a={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(c.mapValues)(o,function(e){return function(){e(this)}})},e.next=6,Promise.all([n.e(9).then(n.t.bind(null,530,7)),n.e(9).then(n.t.bind(null,531,7))]);case 6:return s=e.sent,l=i()(s,1),u=l[0].default,e.abrupt("return",new u(t,Object(c.merge)({},a,r)));case 10:case"end":return e.stop()}},e,this)}))).apply(this,arguments)}},function(e,t,n){"use strict";var r=n(33),i=n.n(r),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(0),j=n(1),O=n(5),_=n(2),k=(n(184),function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(d()(n),"handleClick",function(){(0,n.props.onClick)(d()(n))}),v()(d()(n),"getPoint",function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,i=e.markerColor,o=this.handleClick,a=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(a):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(a).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+i+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(y.Component));k.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=k,E=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(d()(n),"closeClick",function(){n.props.unsetActiveMarker()}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(y.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(y.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var x=E;var C=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"onMarkerClick",function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()}),v()(d()(e),"onMapClick",function(){e.setState({activeMarker:null})}),v()(d()(e),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(d()(e),"updateActiveMarker",function(t){var n=e.props.points,r=e.state.activeMarker.props.index,i=n.slice(0);Object(O.assign)(i[r],t),e.props.onSetPoints(i)}),v()(d()(e),"deleteActiveMarker",function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})}),v()(d()(e),"sizeMap",function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,i=.8*window.innerHeight,o=Math.min(.75*r,i);n.style.height=o+"px",t.resize(),e.setBoundsByMarkers()}),v()(d()(e),"setBoundsByMarkers",function(){var t=e.props,n=t.zoom,r=t.points,i=t.onSetZoom,o=e.state,a=o.map,c=o.activeMarker,s=o.mapboxgl,l=o.zoomControl,u=o.boundsSetProgrammatically;if(a&&r.length&&!c){var p=new s.LngLatBounds;if(r.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),r.length>1)return a.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void a.removeControl(l);if(a.setCenter(p.getCenter()),u){a.setZoom(12),i(12)}else a.setZoom(parseInt(n,10));a.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(d()(e),"scriptsLoaded",function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(y.createRef)(),e.debouncedSizeMap=Object(O.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,i=t.children,o=t.markerColor,a=this.state,c=a.map,s=a.activeMarker,l=a.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,f=Object(O.get)(s,"props.point")||{},d=f.title,m=f.caption,b=y.Children.map(i,function(e){if("AddPoint"===Object(O.get)(e,"props.tagName"))return e}),g=c&&l&&n.map(function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:o,onClick:u})}),v=l&&Object(y.createElement)(x,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(_.TextControl,{label:Object(j.a)("Marker Title"),value:d,onChange:function(e){return h({title:e})}}),Object(y.createElement)(_.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(j.a)("Marker Caption"),value:m,rows:"2",tag:"textarea",onChange:function(e){return h({caption:e})}}),Object(y.createElement)(_.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(y.createElement)(_.Dashicon,{icon:"trash",size:"15"})," ",Object(j.a)("Delete Marker"))),s&&!r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)("h3",null,d),Object(y.createElement)("p",null,m)));return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,i=t.points,o=t.mapStyle,a=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),i!==e.points&&this.setBoundsByMarkers(),i.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&a===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(5).then(n.t.bind(null,561,7)),n.e(5).then(n.t.bind(null,562,7))]).then(function(n){var r=i()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,i=r.zoom,o=r.onMapLoaded,a=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(i,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}s.on("error",function(e){a("mapbox_error",e.error.message)});var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",function(){t.props.onSetZoom(s.getZoom())}),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),o(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)})}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(y.Component);C.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=C},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(196),i=n(451),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(171).Symbol;e.exports=r},function(e,t,n){var r=n(448),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){e.exports=n(358)()},function(e,t,n){e.exports=function(){"use strict";var e=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},t=d,n=c,r=function(e){return s(c(e))},i=s,o=f,a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function c(e){for(var t,n=[],r=0,i=0,o="";null!=(t=a.exec(e));){var c=t[0],s=t[1],l=t.index;if(o+=e.slice(i,l),i=l+c.length,s)o+=s[1];else{o&&(n.push(o),o="");var p=t[2],h=t[3],f=t[4],d=t[5],m=t[6],b=t[7],g="+"===m||"*"===m,v="?"===m||"*"===m,y=p||"/",j=f||d||(b?".*":"[^"+y+"]+?");n.push({name:h||r++,prefix:p||"",delimiter:y,optional:v,repeat:g,pattern:u(j)})}}return i<e.length&&(o+=e.substr(i)),o&&n.push(o),n}function s(t){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^"+t[r].pattern+"$"));return function(r){for(var i="",o=r||{},a=0;a<t.length;a++){var c=t[a];if("string"!=typeof c){var s,l=o[c.name];if(null==l){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to be defined')}if(e(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received "'+l+'"');if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var u=0;u<l.length;u++){if(s=encodeURIComponent(l[u]),!n[a].test(s))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');i+=(0===u?c.prefix:c.delimiter)+s}}else{if(s=encodeURIComponent(l),!n[a].test(s))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');i+=c.prefix+s}}else i+=c}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function p(e,t){return e.keys=t,e}function h(e){return e.sensitive?"":"i"}function f(e,t){for(var n=(t=t||{}).strict,r=!1!==t.end,i="",o=e[e.length-1],a="string"==typeof o&&/\/$/.test(o),c=0;c<e.length;c++){var s=e[c];if("string"==typeof s)i+=l(s);else{var u=l(s.prefix),p=s.pattern;s.repeat&&(p+="(?:"+u+p+")*"),p=s.optional?u?"(?:"+u+"("+p+"))?":"("+p+")?":u+"("+p+")",i+=p}}return n||(i=(a?i.slice(0,-2):i)+"(?:\\/(?=$))?"),i+=r?"$":n&&a?"":"(?=\\/|$)",new RegExp("^"+i,h(t))}function d(t,n,r){return e(n=n||[])?r||(r={}):(r=n,n=[]),t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return p(e,t)}(t,n):e(t)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(d(e[i],t,n).source);return p(new RegExp("(?:"+r.join("|")+")",h(n)),t)}(t,n,r):function(e,t,n){for(var r=c(e),i=f(r,n),o=0;o<r.length;o++)"string"!=typeof r[o]&&t.push(r[o]);return p(i,t)}(t,n,r)}t.parse=n,t.compile=r,t.tokensToFunction=i,t.tokensToRegExp=o;var m,b="undefined"!=typeof document,g="undefined"!=typeof window,v="undefined"!=typeof history,y="undefined"!=typeof process,j=b&&document.ontouchstart?"touchstart":"click",O=g&&!(!window.history.location&&!window.location);function _(){this.callbacks=[],this.exits=[],this.current="",this.len=0,this._decodeURLComponents=!0,this._base="",this._strict=!1,this._running=!1,this._hashbang=!1,this.clickHandler=this.clickHandler.bind(this),this._onpopstate=this._onpopstate.bind(this)}function k(e,t){if("function"==typeof e)return k.call(this,"*",e);if("function"==typeof t)for(var n=new E(e,null,this),r=1;r<arguments.length;++r)this.callbacks.push(n.middleware(arguments[r]));else"string"==typeof e?this["string"==typeof t?"redirect":"show"](e,t):this.start(e)}function w(e,t,n){var r=this.page=n||k,i=r._window,o=r._hashbang,a=r._getBase();"/"===e[0]&&0!==e.indexOf(a)&&(e=a+(o?"#!":"")+e);var c=e.indexOf("?");this.canonicalPath=e;var s=new RegExp("^"+a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1"));if(this.path=e.replace(s,"")||"/",o&&(this.path=this.path.replace("#!","")||"/"),this.title=b&&i.document.title,this.state=t||{},this.state.path=e,this.querystring=~c?r._decodeURLEncodedURIComponent(e.slice(c+1)):"",this.pathname=r._decodeURLEncodedURIComponent(~c?e.slice(0,c):e),this.params={},this.hash="",!o){if(!~this.path.indexOf("#"))return;var l=this.path.split("#");this.path=this.pathname=l[0],this.hash=r._decodeURLEncodedURIComponent(l[1])||"",this.querystring=this.querystring.split("#")[0]}}function E(e,n,r){this.page=r||x;var i=n||{};i.strict=i.strict||r._strict,this.path="*"===e?"(.*)":e,this.method="GET",this.regexp=t(this.path,this.keys=[],i)}_.prototype.configure=function(e){var t=e||{};this._window=t.window||g&&window,this._decodeURLComponents=!1!==t.decodeURLComponents,this._popstate=!1!==t.popstate&&g,this._click=!1!==t.click&&b,this._hashbang=!!t.hashbang;var n=this._window;this._popstate?n.addEventListener("popstate",this._onpopstate,!1):g&&n.removeEventListener("popstate",this._onpopstate,!1),this._click?n.document.addEventListener(j,this.clickHandler,!1):b&&n.document.removeEventListener(j,this.clickHandler,!1),this._hashbang&&g&&!v?n.addEventListener("hashchange",this._onpopstate,!1):g&&n.removeEventListener("hashchange",this._onpopstate,!1)},_.prototype.base=function(e){if(0===arguments.length)return this._base;this._base=e},_.prototype._getBase=function(){var e=this._base;if(e)return e;var t=g&&this._window&&this._window.location;return g&&this._hashbang&&t&&"file:"===t.protocol&&(e=t.pathname),e},_.prototype.strict=function(e){if(0===arguments.length)return this._strict;this._strict=e},_.prototype.start=function(e){var t=e||{};if(this.configure(t),!1!==t.dispatch){var n;if(this._running=!0,O){var r=this._window,i=r.location;n=this._hashbang&&~i.hash.indexOf("#!")?i.hash.substr(2)+i.search:this._hashbang?i.search+i.hash:i.pathname+i.search+i.hash}this.replace(n,null,!0,t.dispatch)}},_.prototype.stop=function(){if(this._running){this.current="",this.len=0,this._running=!1;var e=this._window;this._click&&e.document.removeEventListener(j,this.clickHandler,!1),g&&e.removeEventListener("popstate",this._onpopstate,!1),g&&e.removeEventListener("hashchange",this._onpopstate,!1)}},_.prototype.show=function(e,t,n,r){var i=new w(e,t,this),o=this.prevContext;return this.prevContext=i,this.current=i.path,!1!==n&&this.dispatch(i,o),!1!==i.handled&&!1!==r&&i.pushState(),i},_.prototype.back=function(e,t){var n=this;if(this.len>0){var r=this._window;v&&r.history.back(),this.len--}else e?setTimeout(function(){n.show(e,t)}):setTimeout(function(){n.show(n._getBase(),t)})},_.prototype.redirect=function(e,t){var n=this;"string"==typeof e&&"string"==typeof t&&k.call(this,e,function(e){setTimeout(function(){n.replace(t)},0)}),"string"==typeof e&&void 0===t&&setTimeout(function(){n.replace(e)},0)},_.prototype.replace=function(e,t,n,r){var i=new w(e,t,this),o=this.prevContext;return this.prevContext=i,this.current=i.path,i.init=n,i.save(),!1!==r&&this.dispatch(i,o),i},_.prototype.dispatch=function(e,t){var n=0,r=0,i=this;function o(){var t=i.callbacks[n++];if(e.path===i.current)return t?void t(e,o):function(e){if(!e.handled){var t=this._window;(this._hashbang?O&&this._getBase()+t.location.hash.replace("#!",""):O&&t.location.pathname+t.location.search)!==e.canonicalPath&&(this.stop(),e.handled=!1,O&&(t.location.href=e.canonicalPath))}}.call(i,e);e.handled=!1}t?function e(){var n=i.exits[r++];if(!n)return o();n(t,e)}():o()},_.prototype.exit=function(e,t){if("function"==typeof e)return this.exit("*",e);for(var n=new E(e,null,this),r=1;r<arguments.length;++r)this.exits.push(n.middleware(arguments[r]))},_.prototype.clickHandler=function(e){if(1===this._which(e)&&!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented)){var t=e.target,n=e.path||(e.composedPath?e.composedPath():null);if(n)for(var r=0;r<n.length;r++)if(n[r].nodeName&&"A"===n[r].nodeName.toUpperCase()&&n[r].href){t=n[r];break}for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;if(t&&"A"===t.nodeName.toUpperCase()){var i="object"==typeof t.href&&"SVGAnimatedString"===t.href.constructor.name;if(!t.hasAttribute("download")&&"external"!==t.getAttribute("rel")){var o=t.getAttribute("href");if((this._hashbang||!this._samePath(t)||!t.hash&&"#"!==o)&&!(o&&o.indexOf("mailto:")>-1)&&(i?!t.target.baseVal:!t.target)&&(i||this.sameOrigin(t.href))){var a=i?t.href.baseVal:t.pathname+t.search+(t.hash||"");a="/"!==a[0]?"/"+a:a,y&&a.match(/^\/[a-zA-Z]:\//)&&(a=a.replace(/^\/[a-zA-Z]:\//,"/"));var c=a,s=this._getBase();0===a.indexOf(s)&&(a=a.substr(s.length)),this._hashbang&&(a=a.replace("#!","")),(!s||c!==a||O&&"file:"===this._window.location.protocol)&&(e.preventDefault(),this.show(c))}}}}},_.prototype._onpopstate=(m=!1,g?(b&&"complete"===document.readyState?m=!0:window.addEventListener("load",function(){setTimeout(function(){m=!0},0)}),function(e){if(m)if(e.state){var t=e.state.path;this.replace(t,e.state)}else if(O){var n=this._window.location;this.show(n.pathname+n.search+n.hash,void 0,void 0,!1)}}):function(){}),_.prototype._which=function(e){return null==(e=e||g&&this._window.event).which?e.button:e.which},_.prototype._toURL=function(e){var t=this._window;if("function"==typeof URL&&O)return new URL(e,t.location.toString());if(b){var n=t.document.createElement("a");return n.href=e,n}},_.prototype.sameOrigin=function(e){if(!e||!O)return!1;var t=this._toURL(e),n=this._window,r=n.location;return r.protocol===t.protocol&&r.hostname===t.hostname&&r.port===t.port},_.prototype._samePath=function(e){if(!O)return!1;var t=this._window,n=t.location;return e.pathname===n.pathname&&e.search===n.search},_.prototype._decodeURLEncodedURIComponent=function(e){return"string"!=typeof e?e:this._decodeURLComponents?decodeURIComponent(e.replace(/\+/g," ")):e},w.prototype.pushState=function(){var e=this.page,t=e._window,n=e._hashbang;e.len++,v&&t.history.pushState(this.state,this.title,n&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},w.prototype.save=function(){var e=this.page;v&&e._window.history.replaceState(this.state,this.title,e._hashbang&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},E.prototype.middleware=function(e){var t=this;return function(n,r){if(t.match(n.path,n.params))return e(n,r);r()}},E.prototype.match=function(e,t){var n=this.keys,r=e.indexOf("?"),i=~r?e.slice(0,r):e,o=this.regexp.exec(decodeURIComponent(i));if(!o)return!1;for(var a=1,c=o.length;a<c;++a){var s=n[a-1],l=this.page._decodeURLEncodedURIComponent(o[a]);void 0===l&&hasOwnProperty.call(t,s.name)||(t[s.name]=l)}return!0};var x=function e(){var t=new _;function n(){return k.apply(t,arguments)}return n.callbacks=t.callbacks,n.exits=t.exits,n.base=t.base.bind(t),n.strict=t.strict.bind(t),n.start=t.start.bind(t),n.stop=t.stop.bind(t),n.show=t.show.bind(t),n.back=t.back.bind(t),n.redirect=t.redirect.bind(t),n.replace=t.replace.bind(t),n.dispatch=t.dispatch.bind(t),n.exit=t.exit.bind(t),n.configure=t.configure.bind(t),n.sameOrigin=t.sameOrigin.bind(t),n.clickHandler=t.clickHandler.bind(t),n.create=e,Object.defineProperty(n,"len",{get:function(){return t.len},set:function(e){t.len=e}}),Object.defineProperty(n,"current",{get:function(){return t.current},set:function(e){t.current=e}}),n.Context=w,n.Route=E,n}(),C=x,S=x;return C.default=S,C}()},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof window&&window;o.global!==o&&o.window!==o&&o.self;var a,c=2147483647,s=36,l=1,u=26,p=38,h=700,f=72,d=128,m="-",b=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-l,O=Math.floor,_=String.fromCharCode;function k(e){throw RangeError(y[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function C(e){return w(e,function(e){var t="";return e>65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)}).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?O(e/h):e>>1,e+=O(e/t);e>j*u>>1;r+=s)e=O(e/j);return O(r+(j+1)*e/(e+p))}function M(e){var t,n,r,i,o,a,p,h,b,g,v,y=[],j=e.length,_=0,w=d,E=f;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&k("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<j;){for(o=_,a=1,p=s;i>=j&&k("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||h>O((c-_)/a))&&k("overflow"),_+=h*a,!(h<(b=p<=E?l:p>=E+u?u:p-E));p+=s)a>O(c/(g=s-b))&&k("overflow"),a*=g;E=A(_-o,t=y.length+1,0==o),O(_/t)>c-w&&k("overflow"),w+=O(_/t),_%=t,y.splice(_++,0,w)}return C(y)}function T(e){var t,n,r,i,o,a,p,h,b,g,v,y,j,w,E,C=[];for(y=(e=x(e)).length,t=d,n=0,o=f,a=0;a<y;++a)(v=e[a])<128&&C.push(_(v));for(r=i=C.length,i&&C.push(m);r<y;){for(p=c,a=0;a<y;++a)(v=e[a])>=t&&v<p&&(p=v);for(p-t>O((c-n)/(j=r+1))&&k("overflow"),n+=(p-t)*j,t=p,a=0;a<y;++a)if((v=e[a])<t&&++n>c&&k("overflow"),v==t){for(h=n,b=s;!(h<(g=b<=o?l:b>=o+u?u:b-o));b+=s)E=h-g,w=s-g,C.push(_(S(g+E%w,0))),h=O(E/w);C.push(_(S(h,0))),o=A(n,j,r==i),n=0,++r}++n,++t}return C.join("")}a={version:"1.3.2",ucs2:{decode:x,encode:C},decode:M,encode:T,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return E(e,function(e){return b.test(e)?M(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(360)(e))},function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";e.exports=n(391)},function(e,t,n){"use strict";e.exports.encode=n(392),e.exports.decode=n(393),e.exports.format=n(394),e.exports.parse=n(395)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,c=e.src.charCodeAt(a);if(t)return!1;if(126!==c)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(c),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),n=0;n<i;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,o,a=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(i=c[r.end],(o=e.tokens[r.token]).type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",(o=e.tokens[i.token]).type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(n=(t=a.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,o,a,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],a=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,o=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",(i=e.tokens[r.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){var r=n(170),i=n(449),o=n(450),a="[object Null]",c="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:a:s&&s in Object(e)?i(e):o(e)}},function(e,t,n){var r=n(459),i=n(464);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(200);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(170),i=n(482),o=n(168),a=n(169),c=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-c?"-0":n}},function(e,t,n){var r=n(6);r(r.P,"Array",{copyWithin:n(138)}),n(59)("copyWithin")},function(e,t,n){e.exports=n(82)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(6);r(r.P,"Array",{fill:n(96)}),n(59)("fill")},function(e,t,n){"use strict";var r=n(6),i=n(76)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(59)("find")},function(e,t,n){var r=n(15),i=n(98),o=n(19)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(6),i=n(76)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(59)(o)},function(e,t,n){"use strict";var r=n(42),i=n(6),o=n(32),a=n(140),c=n(99),s=n(27),l=n(100),u=n(101);i(i.S+i.F*!n(84)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,p,h=o(e),f="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,b=void 0!==m,g=0,v=u(h);if(b&&(m=r(m,d>2?arguments[2]:void 0,2)),null==v||f==Array&&c(v))for(n=new f(t=s(h.length));t>g;g++)l(n,g,b?m(h[g],g):h[g]);else for(p=v.call(h),n=new f;!(i=p.next()).done;g++)l(n,g,b?a(p,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(6),i=n(102)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(59)("includes")},function(e,t,n){"use strict";var r=n(67),i=n(57),o=n(68),a={};n(36)(a,n(19)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(23),i=n(16),o=n(61);e.exports=n(26)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),c=a.length,s=0;c>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){"use strict";var r=n(6),i=n(100);r(r.S+r.F*n(17)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(6),i=n(40),o=n(32),a=n(17),c=[].sort,s=[1,2,3];r(r.P+r.F*(a(function(){s.sort(void 0)})||!a(function(){s.sort(null)})||!n(213)(c)),"Array",{sort:function(e){return void 0===e?c.call(o(this)):c.call(o(this),i(e))}})},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){n(69)("Array")},function(e,t,n){var r=n(19)("toPrimitive"),i=Date.prototype;r in i||n(36)(i,r,n(216))},function(e,t,n){"use strict";var r=n(16),i=n(46);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){"use strict";var r=n(15),i=n(48),o=n(19)("hasInstance"),a=Function.prototype;o in a||n(23).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(23).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(26)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(144),i=n(62);e.exports=n(86)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(6),i=n(145),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var r=n(6),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(6),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(6),i=n(109);r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(6);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(6),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(6),i=n(110);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(6);r(r.S,"Math",{fround:n(228)})},function(e,t,n){var r=n(109),i=Math.pow,o=i(2,-52),a=i(2,-23),c=i(2,127)*(2-a),s=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),l=r(e);return i<s?l*(i/s/a+1/o-1/o)*s*a:(n=(t=(1+a/o)*i)-(t-i))>c||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(6),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,c=arguments.length,s=0;a<c;)s<(n=i(arguments[a++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(o)}})},function(e,t,n){var r=n(6),i=Math.imul;r(r.S+r.F*n(17)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(6);r(r.S,"Math",{log1p:n(145)})},function(e,t,n){var r=n(6);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(6);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(6);r(r.S,"Math",{sign:n(109)})},function(e,t,n){var r=n(6),i=n(110),o=Math.exp;r(r.S+r.F*n(17)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(6),i=n(110),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var r=n(6);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(14),i=n(37),o=n(60),a=n(107),c=n(46),s=n(17),l=n(63).f,u=n(38).f,p=n(23).f,h=n(111).trim,f=r.Number,d=f,m=f.prototype,b="Number"==o(n(67)(m)),g="trim"in String.prototype,v=function(e){var t=c(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=g?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,s=t.slice(2),l=0,u=s.length;l<u;l++)if((a=s.charCodeAt(l))<48||a>i)return NaN;return parseInt(s,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(b?s(function(){m.valueOf.call(n)}):"Number"!=o(n))?a(new d(v(t)),n,f):v(t)};for(var y,j=n(26)?l(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;j.length>O;O++)i(d,y=j[O])&&!i(f,y)&&p(f,y,u(d,y));f.prototype=m,m.constructor=f,n(39)(r,"Number",f)}},function(e,t,n){var r=n(6);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(6),i=n(14).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(6);r(r.S,"Number",{isInteger:n(146)})},function(e,t,n){var r=n(6);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(6),i=n(146),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},function(e,t,n){var r=n(6);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(6);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(6),i=n(247);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(14).parseFloat,i=n(111).trim;e.exports=1/r(n(112)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(6),i=n(249);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(14).parseInt,i=n(111).trim,o=n(112),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(147)})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(40),a=n(23);n(26)&&r(r.P+n(88),"Object",{__defineGetter__:function(e,t){a.f(i(this),e,{get:o(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(40),a=n(23);n(26)&&r(r.P+n(88),"Object",{__defineSetter__:function(e,t){a.f(i(this),e,{set:o(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(6),i=n(148)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){var r=n(15),i=n(55).onFreeze;n(44)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(43),i=n(38).f;n(44)("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(6),i=n(149),o=n(43),a=n(38),c=n(100);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),s=a.f,l=i(r),u={},p=0;l.length>p;)void 0!==(n=s(r,t=l[p++]))&&c(u,t,n);return u}})},function(e,t,n){n(44)("getOwnPropertyNames",function(){return n(150).f})},function(e,t,n){var r=n(32),i=n(48);n(44)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(46),a=n(48),c=n(38).f;n(26)&&r(r.P+n(88),"Object",{__lookupGetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=c(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(46),a=n(48),c=n(38).f;n(26)&&r(r.P+n(88),"Object",{__lookupSetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=c(n,r))return t.set}while(n=a(n))}})},function(e,t,n){var r=n(15),i=n(55).onFreeze;n(44)("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(6);r(r.S,"Object",{is:n(151)})},function(e,t,n){var r=n(15);n(44)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(15);n(44)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(15);n(44)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(32),i=n(61);n(44)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(15),i=n(55).onFreeze;n(44)("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(108).set})},function(e,t,n){var r=n(6),i=n(148)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){"use strict";var r,i,o,a,c=n(53),s=n(14),l=n(42),u=n(83),p=n(6),h=n(15),f=n(40),d=n(71),m=n(85),b=n(78),g=n(113).set,v=n(271)(),y=n(153),j=n(272),O=n(89),_=n(154),k=s.TypeError,w=s.process,E=w&&w.versions,x=E&&E.v8||"",C=s.Promise,S="process"==u(w),A=function(){},M=i=y.f,T=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n(19)("species")]=function(e){e(A,A)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==x.indexOf("6.6")&&-1===O.indexOf("Chrome/66")}catch(e){}}(),P=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},F=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,c=i?t.ok:t.fail,s=t.resolve,l=t.reject,u=t.domain;try{c?(i||(2==e._h&&D(e),e._h=1),!0===c?n=r:(u&&u.enter(),n=c(r),u&&(u.exit(),a=!0)),n===t.promise?l(k("Promise-chain cycle")):(o=P(n))?o.call(n,s,l):s(n)):l(r)}catch(e){u&&!a&&u.exit(),l(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){g.call(s,function(){var t,n,r,i=e._v,o=z(e);if(o&&(t=j(function(){S?w.emit("unhandledRejection",i,e):(n=s.onunhandledrejection)?n({promise:e,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||z(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},z=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){g.call(s,function(){var t;S?w.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),F(t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=P(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,l(I,r,1),l(R,r,1))}catch(e){R.call(r,e)}}):(n._v=e,n._s=1,F(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};T||(C=function(e){d(this,C,"Promise","_h"),f(e),r.call(this);try{e(l(I,this,1),l(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(70)(C.prototype,{then:function(e,t){var n=M(b(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=l(I,e,1),this.reject=l(R,e,1)},y.f=M=function(e){return e===C||e===a?new o(e):i(e)}),p(p.G+p.W+p.F*!T,{Promise:C}),n(68)(C,"Promise"),n(69)("Promise"),a=n(52).Promise,p(p.S+p.F*!T,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(c||!T),"Promise",{resolve:function(e){return _(c&&this===a?C:this,e)}}),p(p.S+p.F*!(T&&n(84)(function(e){C.all(e).catch(A)})),"Promise",{all:function(e){var t=this,n=M(t),r=n.resolve,i=n.reject,o=j(function(){var n=[],o=0,a=1;m(e,!1,function(e){var c=o++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[c]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,i=j(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){var r=n(14),i=n(113).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n(60)(a);e.exports=function(){var e,t,n,l=function(){var r,i;for(s&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var u=c.resolve(void 0);n=function(){u.then(l)}}else n=function(){i.call(r,l)};else{var p=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),n=function(){h.data=p=!p}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(6),i=n(52),o=n(14),a=n(78),c=n(154);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){var r=n(6),i=n(40),o=n(16),a=(n(14).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n(17)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=i(e),s=o(n);return a?a(r,t,s):c.call(r,t,s)}})},function(e,t,n){var r=n(6),i=n(67),o=n(40),a=n(16),c=n(15),s=n(17),l=n(276),u=(n(14).Reflect||{}).construct,p=s(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),h=!s(function(){u(function(){})});r(r.S+r.F*(p||h),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!p)return u(e,t,n);if(e==n){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])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var s=n.prototype,f=i(c(s)?s:Object.prototype),d=Function.apply.call(e,f,t);return c(d)?d:f}})},function(e,t,n){"use strict";var r=n(40),i=n(15),o=n(152),a=[].slice,c={};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?function(e,t,n){if(!(t in c)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)}(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){var r=n(23),i=n(6),o=n(16),a=n(46);i(i.S+i.F*n(17)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(6),i=n(38).f,o=n(16);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(38),i=n(48),o=n(37),a=n(6),c=n(15),s=n(16);a(a.S,"Reflect",{get:function e(t,n){var a,l,u=arguments.length<3?t:arguments[2];return s(t)===u?t[n]:(a=r.f(t,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:c(l=i(t))?e(l,n,u):void 0}})},function(e,t,n){var r=n(38),i=n(6),o=n(16);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},function(e,t,n){var r=n(6),i=n(48),o=n(16);r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){var r=n(6);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(6),i=n(16),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},function(e,t,n){var r=n(6);r(r.S,"Reflect",{ownKeys:n(149)})},function(e,t,n){var r=n(6),i=n(16),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(23),i=n(38),o=n(48),a=n(37),c=n(6),s=n(57),l=n(16),u=n(15);c(c.S,"Reflect",{set:function e(t,n,c){var p,h,f=arguments.length<4?t:arguments[3],d=i.f(l(t),n);if(!d){if(u(h=o(t)))return e(h,n,c,f);d=s(0)}if(a(d,"value")){if(!1===d.writable||!u(f))return!1;if(p=i.f(f,n)){if(p.get||p.set||!1===p.writable)return!1;p.value=c,r.f(f,n,p)}else r.f(f,n,s(0,c));return!0}return void 0!==d.set&&(d.set.call(f,c),!0)}})},function(e,t,n){var r=n(6),i=n(108);i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(14),i=n(107),o=n(23).f,a=n(63).f,c=n(114),s=n(90),l=r.RegExp,u=l,p=l.prototype,h=/a/g,f=/a/g,d=new l(h)!==h;if(n(26)&&(!d||n(17)(function(){return f[n(19)("match")]=!1,l(h)!=h||l(f)==f||"/a/i"!=l(h,"i")}))){l=function(e,t){var n=this instanceof l,r=c(e),o=void 0===t;return!n&&r&&e.constructor===l&&o?e:i(d?new u(r&&!o?e.source:e,t):u((r=e instanceof l)?e.source:e,r&&o?s.call(e):t),n?this:p,l)};for(var m=function(e){e in l||o(l,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},b=a(u),g=0;b.length>g;)m(b[g++]);p.constructor=l,l.prototype=p,n(39)(r,"RegExp",l)}n(69)("RegExp")},function(e,t,n){"use strict";var r=n(16),i=n(27),o=n(115),a=n(91);n(92)("match",1,function(e,t,n,c){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=c(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this);if(!s.global)return a(s,l);var u=s.unicode;s.lastIndex=0;for(var p,h=[],f=0;null!==(p=a(s,l));){var d=String(p[0]);h[f]=d,""===d&&(s.lastIndex=o(l,i(s.lastIndex),u)),f++}return 0===f?null:h}]})},function(e,t,n){"use strict";var r=n(117);n(6)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){"use strict";var r=n(16),i=n(32),o=n(27),a=n(54),c=n(115),s=n(91),l=Math.max,u=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n(92)("replace",2,function(e,t,n,d){return[function(r,i){var o=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var p=r(e),h=String(this),f="function"==typeof t;f||(t=String(t));var b=p.global;if(b){var g=p.unicode;p.lastIndex=0}for(var v=[];;){var y=s(p,h);if(null===y)break;if(v.push(y),!b)break;""===String(y[0])&&(p.lastIndex=c(h,o(p.lastIndex),g))}for(var j,O="",_=0,k=0;k<v.length;k++){y=v[k];for(var w=String(y[0]),E=l(u(a(y.index),h.length),0),x=[],C=1;C<y.length;C++)x.push(void 0===(j=y[C])?j:String(j));var S=y.groups;if(f){var A=[w].concat(x,E,h);void 0!==S&&A.push(S);var M=String(t.apply(void 0,A))}else M=m(w,h,E,x,S,t);E>=_&&(O+=h.slice(_,E)+M,_=E+w.length)}return O+h.slice(_)}];function m(e,t,r,o,a,c){var s=r+e.length,l=o.length,u=f;return void 0!==a&&(a=i(a),u=h),n.call(c,u,function(n,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>l){var h=p(u/10);return 0===h?n:h<=l?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}c=o[u-1]}return void 0===c?"":c})}})},function(e,t,n){"use strict";var r=n(114),i=n(16),o=n(78),a=n(115),c=n(27),s=n(91),l=n(117),u=n(17),p=Math.min,h=[].push,f=!u(function(){RegExp(4294967295,"y")});n(92)("split",2,function(e,t,n,u){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,c,s=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,f=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,u+"g");(o=l.call(d,i))&&!((a=d.lastIndex)>p&&(s.push(i.slice(p,o.index)),o.length>1&&o.index<i.length&&h.apply(s,o.slice(1)),c=o[0].length,p=a,s.length>=f));)d.lastIndex===o.index&&d.lastIndex++;return p===i.length?!c&&d.test("")||s.push(""):s.push(i.slice(p)),s.length>f?s.slice(0,f):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):d.call(String(i),n,r)},function(e,t){var r=u(d,e,this,t,d!==n);if(r.done)return r.value;var l=i(e),h=String(this),m=o(l,RegExp),b=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(f?"y":"g"),v=new m(f?l:"^(?:"+l.source+")",g),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===h.length)return null===s(v,h)?[h]:[];for(var j=0,O=0,_=[];O<h.length;){v.lastIndex=f?O:0;var k,w=s(v,f?h:h.slice(O));if(null===w||(k=p(c(v.lastIndex+(f?0:O)),h.length))===j)O=a(h,O,b);else{if(_.push(h.slice(j,O)),_.length===y)return _;for(var E=1;E<=w.length-1;E++)if(_.push(w[E]),_.length===y)return _;O=j=k}}return _.push(h.slice(j)),_}]})},function(e,t,n){"use strict";var r=n(16),i=n(151),o=n(91);n(92)("search",1,function(e,t,n,a){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var c=r(e),s=String(this),l=c.lastIndex;i(l,0)||(c.lastIndex=0);var u=o(c,s);return i(c.lastIndex,l)||(c.lastIndex=l),null===u?-1:u.index}]})},function(e,t,n){"use strict";n(155);var r=n(16),i=n(90),o=n(26),a=/./.toString,c=function(e){n(39)(RegExp.prototype,"toString",e,!0)};n(17)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?c(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=a.name&&c(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(144),i=n(62);e.exports=n(86)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(14),i=n(37),o=n(26),a=n(6),c=n(39),s=n(55).KEY,l=n(17),u=n(82),p=n(68),h=n(58),f=n(19),d=n(156),m=n(157),b=n(297),g=n(98),v=n(16),y=n(15),j=n(43),O=n(46),_=n(57),k=n(67),w=n(150),E=n(38),x=n(23),C=n(61),S=E.f,A=x.f,M=w.f,T=r.Symbol,P=r.JSON,F=P&&P.stringify,N=f("_hidden"),z=f("toPrimitive"),D={}.propertyIsEnumerable,R=u("symbol-registry"),I=u("symbols"),L=u("op-symbols"),B=Object.prototype,q="function"==typeof T,V=r.QObject,H=!V||!V.prototype||!V.prototype.findChild,U=o&&l(function(){return 7!=k(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],A(e,t,n),r&&e!==B&&A(B,t,r)}:A,G=function(e){var t=I[e]=k(T.prototype);return t._k=e,t},$=q&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},W=function(e,t,n){return e===B&&W(L,t,n),v(e),t=O(t,!0),v(n),i(I,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=k(n,{enumerable:_(0,!1)})):(i(e,N)||A(e,N,_(1,{})),e[N][t]=!0),U(e,t,n)):A(e,t,n)},K=function(e,t){v(e);for(var n,r=b(t=j(t)),i=0,o=r.length;o>i;)W(e,n=r[i++],t[n]);return e},Z=function(e){var t=D.call(this,e=O(e,!0));return!(this===B&&i(I,e)&&!i(L,e))&&(!(t||!i(this,e)||!i(I,e)||i(this,N)&&this[N][e])||t)},J=function(e,t){if(e=j(e),t=O(t,!0),e!==B||!i(I,t)||i(L,t)){var n=S(e,t);return!n||!i(I,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=M(j(e)),r=[],o=0;n.length>o;)i(I,t=n[o++])||t==N||t==s||r.push(t);return r},X=function(e){for(var t,n=e===B,r=M(n?L:j(e)),o=[],a=0;r.length>a;)!i(I,t=r[a++])||n&&!i(B,t)||o.push(I[t]);return o};q||(c((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(L,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),U(this,e,_(1,n))};return o&&H&&U(B,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),E.f=J,x.f=W,n(63).f=w.f=Y,n(77).f=Z,n(87).f=X,o&&!n(53)&&c(B,"propertyIsEnumerable",Z,!0),d.f=function(e){return G(f(e))}),a(a.G+a.W+a.F*!q,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)f(Q[ee++]);for(var te=C(f.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!q,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:W,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Y,getOwnPropertySymbols:X}),P&&a(a.S+a.F*(!q||l(function(){var e=T();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!$(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,F.apply(P,r)}}),T.prototype[z]||n(36)(T.prototype,z,T.prototype.valueOf),p(T,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(61),i=n(87),o=n(77);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,c=n(e),s=o.f,l=0;c.length>l;)s.call(e,a=c[l++])&&t.push(a);return t}},function(e,t,n){n(157)("asyncIterator")},function(e,t,n){"use strict";n(34)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(34)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(34)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(34)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(6),i=n(116)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(6),i=n(27),o=n(118),a="".endsWith;r(r.P+r.F*n(119)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),c=void 0===n?r:Math.min(i(n),r),s=String(e);return a?a.call(t,s,c):t.slice(c-s.length,c)===s}})},function(e,t,n){"use strict";n(34)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(34)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(34)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(6),i=n(65),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(6),i=n(118);r(r.P+r.F*n(119)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(34)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";var r=n(116)(!0);n(104)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";n(34)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";var r=n(6),i=n(158),o=n(89),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";var r=n(6),i=n(158),o=n(89),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){var r=n(6),i=n(43),o=n(27);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},function(e,t,n){var r=n(6);r(r.P,"String",{repeat:n(159)})},function(e,t,n){"use strict";n(34)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(6),i=n(27),o=n(118),a="".startsWith;r(r.P+r.F*n(119)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(34)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(34)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(34)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";var r=n(6),i=n(120),o=n(160),a=n(16),c=n(65),s=n(27),l=n(15),u=n(14).ArrayBuffer,p=n(78),h=o.ArrayBuffer,f=o.DataView,d=i.ABV&&u.isView,m=h.prototype.slice,b=i.VIEW;r(r.G+r.W+r.F*(u!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return d&&d(e)||l(e)&&b in e}}),r(r.P+r.U+r.F*n(17)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=c(e,n),i=c(void 0===t?n:t,n),o=new(p(this,h))(s(i-r)),l=new f(this),u=new f(o),d=0;r<i;)u.setUint8(d++,l.getUint8(r++));return o}}),n(69)("ArrayBuffer")},function(e,t,n){n(49)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(49)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r,i=n(14),o=n(76)(0),a=n(39),c=n(55),s=n(147),l=n(162),u=n(15),p=n(62),h=n(62),f=!i.ActiveXObject&&"ActiveXObject"in i,d=c.getWeak,m=Object.isExtensible,b=l.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(u(e)){var t=d(e);return!0===t?b(p(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(p(this,"WeakMap"),e,t)}},y=e.exports=n(86)("WeakMap",g,v,l,!0,!0);h&&f&&(s((r=l.getConstructor(g,"WeakMap")).prototype,v),c.NEED=!0,o(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];a(t,e,function(t,i){if(u(t)&&!m(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(162),i=n(62);n(86)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(6),i=n(335),o=n(32),a=n(27),c=n(40),s=n(139);r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return c(e),t=a(r.length),n=s(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n(59)("flatMap")},function(e,t,n){"use strict";var r=n(98),i=n(15),o=n(27),a=n(42),c=n(19)("isConcatSpreadable");e.exports=function e(t,n,s,l,u,p,h,f){for(var d,m,b=u,g=0,v=!!h&&a(h,f,3);g<l;){if(g in s){if(d=v?v(s[g],g,n):s[g],m=!1,i(d)&&(m=void 0!==(m=d[c])?!!m:r(d)),m&&p>0)b=e(t,n,d,o(d.length),b,p-1)-1;else{if(b>=9007199254740991)throw TypeError();t[b]=d}b++}g++}return b}},function(e,t,n){var r=n(14),i=n(6),o=n(89),a=[].slice,c=/MSIE .\./.test(o),s=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*c,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(e,t,n){var r=n(6),i=n(113);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(103),i=n(61),o=n(39),a=n(14),c=n(36),s=n(66),l=n(19),u=l("iterator"),p=l("toStringTag"),h=s.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(f),m=0;m<d.length;m++){var b,g=d[m],v=f[g],y=a[g],j=y&&y.prototype;if(j&&(j[u]||c(j,u,h),j[p]||c(j,p,g),s[g]=h,v))for(b in r)j[b]||o(j,b,r[b],!0)}},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",l="object"==typeof e,u=t.regeneratorRuntime;if(u)l&&(e.exports=u);else{(u=t.regeneratorRuntime=l?e.exports:{}).wrap=j;var p="suspendedStart",h="suspendedYield",f="executing",d="completed",m={},b={};b[a]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(T([])));v&&v!==r&&i.call(v,a)&&(b=v);var y=w.prototype=_.prototype=Object.create(b);k.prototype=y.constructor=w,w.constructor=k,w[s]=k.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(y),e},u.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[c]=function(){return this},u.AsyncIterator=x,u.async=function(e,t,n,r){var i=new x(j(e,t,n,r));return u.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},E(y),y[s]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.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}},u.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},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(r,i){return c.type="throw",c.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):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),m},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),A(n),m}},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 i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function j(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new M(r||[]);return o._invoke=function(e,t,n){var r=p;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var c=C(a,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=O(e,t,n);if("normal"===s.type){if(r=n.done?d:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=d,n.method="throw",n.arg=s.arg)}}}(e,n,a),o}function O(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function k(){}function w(){}function E(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function x(e){var t;this._invoke=function(n,r){function o(){return new Promise(function(t,o){!function t(n,r,o,a){var c=O(e[n],e,r);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(l).then(function(e){s.value=e,o(s)},function(e){return t("throw",e,o,a)})}a(c.arg)}(n,r,t,o)})}return t=t?t.then(o,o):o()}}function C(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,C(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=O(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function S(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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(e,t,n){},,function(e){e.exports={production:["business-hours","contact-form","contact-info","gif","mailchimp","map","markdown","publicize","related-posts","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],beta:["repeat-visitor","vr"]}},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},function(e,t,n){"use strict";e.exports=n(390)},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 i,o,a=n[r.type],c=t(r);if(a)for(i=0;i<a.length;i++)(o=a[i](r,e))&&e.dispatch(o);return c}}}).effects=n,t}},function(e,t,n){var r=n(445);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){var r=n(200),i=n(492),o=n(494),a=n(499),c=n(199),s=/\s+$/;e.exports=function(e,t,n){if((e=c(e))&&(n||void 0===t))return e.replace(s,"");if(!e||!(t=r(t)))return e;var l=a(e),u=o(l,a(t))+1;return i(l,0,u).join("")}},function(e,t){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,i,o,a=-1;for(t=0,i=e.length;t<i;t+=1){for(o=255&(a^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;a=a>>>8^o}return-1^a}function i(e,n){var r,o,a;if(void 0!==i.crc&&n&&e||(i.crc=-1,e)){for(r=i.crc,o=0,a=e.length;o<a;o+=1)r=r>>>8^t[255&(r^e[o])];return i.crc=r,-1^r}}!function(){var e,r,i;for(r=0;r<256;r+=1){for(e=r,i=0;i<8;i+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,function(e){return e.charCodeAt(0)})):e;return((t?r(e):i(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=i}()},function(e,t,n){"use strict";var r=256,i=[],o=window,a=Math.pow(r,6),c=Math.pow(2,52),s=2*c,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,o=0,a=i.i=i.j=0,c=i.S=[];for(n||(e=[n++]);o<r;)c[o]=o++;for(o=0;o<r;o++)c[o]=c[a=l&a+e[o%n]+(t=c[o])],c[a]=t;(i.g=function(e){for(var t,n=0,o=i.i,a=i.j,c=i.S;e--;)t=c[o=l&o+1],n=n*r+c[l&(c[o]=c[a=l&a+t])+(c[a]=t)];return i.i=o,i.j=a,n})(r)}function h(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return f(t)}function f(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var l=[],u=(h(function e(t,n){var r,i=[],o=(typeof t)[0];if(n&&"o"==o)for(r in t)try{i.push(e(t[r],n-1))}catch(e){}return i.length?i:"s"==o?t:t+"\0"}(n&&n.entropy||!1?[t,f(i)]:0 in arguments?t:function(e){try{return o.crypto.getRandomValues(e=new Uint8Array(r)),f(e)}catch(e){return[+new Date,o,o.navigator&&o.navigator.plugins,o.screen,f(i)]}}(),3),l),new p(l));return h(f(u.S),i),function(){for(var e=u.g(6),t=a,n=0;e<c;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=u},h(Math.random(),i)},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)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},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,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!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"],e.exports=n(507)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){e.exports=wp.tokenList},function(e,t){e.exports=wp.hooks},function(e,t,n){"use strict";n.r(t);var r=n(28),i=n.n(r),o=n(0),a=n(21),c=n(123);Object(a.setCategories)([].concat(i()(Object(a.getCategories)().filter(function(e){return"jetpack"!==e.slug})),[{slug:"jetpack",title:"Jetpack",icon:Object(o.createElement)(c.a,null)}]))},function(e,t,n){"use strict";
|
13 |
+
/** @license React v16.8.3
|
14 |
+
* react.production.min.js
|
15 |
+
*
|
16 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
17 |
+
*
|
18 |
+
* This source code is licensed under the MIT license found in the
|
19 |
+
* LICENSE file in the root directory of this source tree.
|
20 |
+
*/var r=n(357),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,u=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.concurrent_mode"):60111,f=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,o,a,c){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,o,a,c],l=0;(e=Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={};function O(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||y}function _(){}function k(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||y}O.prototype.isReactComponent={},O.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=O.prototype;var w=k.prototype=new _;w.constructor=k,r(w,O.prototype),w.isPureReactComponent=!0;var E={current:null},x={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,n){var r=void 0,i={},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)C.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:e,key:a,ref:c,props:i,_owner:x.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var T=/\/+/g,P=[];function F(e,t,n,r){if(P.length){var i=P.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function z(e,t,n){return null==e?0:function e(t,n,r,i){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var s=!1;if(null===t)s=!0;else switch(c){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return r(i,t,""===n?"."+D(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+D(c=t[l],l);s+=e(c,u,r,i)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(c=t.next()).done;)s+=e(c=c.value,u=n+D(c,l++),r,i);else"object"===c&&v("31","[object Object]"==(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return s}(e,"",t,n)}function D(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 R(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,function(e){return e}):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(T,"$&/")+"/"),z(e,I,t=F(t,o,r,i)),N(t)}function B(){var e=E.current;return null===e&&v("307"),e}var q={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;z(e,R,t=F(null,null,t,n)),N(t)},count:function(e){return z(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return M(e)||v("143"),e}},createRef:function(){return{current:null}},Component:O,PureComponent:k,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,n){return B().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,n){return B().useReducer(e,t,n)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:c,StrictMode:s,Suspense:d,createElement:A,cloneElement:function(e,t,n){null==e&&v("267",e);var i=void 0,a=r({},e.props),c=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=x.current),void 0!==t.key&&(c=""+t.key);var u=void 0;for(i in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)C.call(t,i)&&!S.hasOwnProperty(i)&&(a[i]=void 0===t[i]&&void 0!==u?u[i]:t[i])}if(1===(i=arguments.length-2))a.children=n;else if(1<i){u=Array(i);for(var p=0;p<i;p++)u[p]=arguments[p+2];a.children=u}return{$$typeof:o,type:e.type,key:c,ref:s,props:a,_owner:l}},createFactory:function(e){var t=A.bind(null,e);return t.type=e,t},isValidElement:M,version:"16.8.3",unstable_ConcurrentMode:h,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:x,assign:r}},V={default:q},H=V&&q||V;e.exports=H.default||H},function(e,t,n){"use strict";
|
21 |
+
/*
|
22 |
+
object-assign
|
23 |
+
(c) Sindre Sorhus
|
24 |
+
@license MIT
|
25 |
+
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;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(e){return!1}}()?Object.assign:function(e,t){for(var n,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var l in n=Object(arguments[s]))i.call(n,l)&&(c[l]=n[l]);if(r){a=r(n);for(var u=0;u<a.length;u++)o.call(n,a[u])&&(c[a[u]]=n[a[u]])}}return c}},function(e,t,n){"use strict";var r=n(359);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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:o,resetWarningCache:i};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){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";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(363),t.encode=t.stringify=n(364)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,h,f,d=e[l].replace(a,"%20"),m=d.indexOf(n);m>=0?(u=d.substr(0,m),p=d.substr(m+1)):(u=d,p=""),h=decodeURIComponent(u),f=decodeURIComponent(p),r(o,h)?Array.isArray(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o}},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,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(r(e))}).join(t):o+encodeURIComponent(r(e[i]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";var r=n(22),i=n(398),o=n(402),a=n(403),c=n(411),s=n(425),l=n(438),u=n(189),p=n(177),h={default:n(440),zero:n(441),commonmark:n(442)},f=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!d.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new a,this.renderer=new o,this.linkify=new l,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},function(e,t,n){"use strict";var r={};function i(e,t,n){var o,a,c,s,l,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),o=0,a=e.length;o<a;o++)if(c=e.charCodeAt(o),n&&37===c&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&o+1<a&&(s=e.charCodeAt(o+1))>=56320&&s<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,o,a,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=i<<6&1984|63&o)<128?"��":String.fromCharCode(s),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(l+=(s=i<<12&61440|o<<6&4032|63&a)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&c))?((s=i<<18&1835008|o<<12&258048|a<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,c,s,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var b=a.exec(m);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=i.exec(m);if(g&&(o=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===m.substr(0,2))||g&&f[g]||(m=m.substr(2),this.slashes=!0)),!f[g]&&(s||g&&!d[g])){var v,y,j=-1;for(n=0;n<u.length;n++)-1!==(c=m.indexOf(u[n]))&&(-1===j||c<j)&&(j=c);for(-1!==(y=-1===j?m.lastIndexOf("@"):m.lastIndexOf("@",j))&&(v=m.slice(0,y),m=m.slice(y+1),this.auth=v),j=-1,n=0;n<l.length;n++)-1!==(c=m.indexOf(l[n]))&&(-1===j||c<j)&&(j=c);-1===j&&(j=m.length),":"===m[j-1]&&j--;var O=m.slice(0,j);m=m.slice(j),this.parseHost(O),this.hostname=this.hostname||"";var _="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!_){var k=this.hostname.split(/\./);for(n=0,r=k.length;n<r;n++){var w=k[n];if(w&&!w.match(p)){for(var E="",x=0,C=w.length;x<C;x++)w.charCodeAt(x)>127?E+="x":E+=w[x];if(!E.match(p)){var S=k.slice(0,n),A=k.slice(n+1),M=w.match(h);M&&(S.push(M[1]),A.unshift(M[2])),A.length&&(m=A.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=m.indexOf("#");-1!==T&&(this.hash=m.substr(T),m=m.slice(0,T));var P=m.indexOf("?");return-1!==P&&(this.search=m.substr(P),m=m.slice(0,P)),m&&(this.pathname=m),d[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(190),t.Cc=n(191),t.Cf=n(397),t.P=n(165),t.Z=n(192)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(399),t.parseLinkDestination=n(400),t.parseLinkTitle=n(401)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(22).isSpace,i=n(22).unescapeAll;e.exports=function(e,t,n){var o,a,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return s;if(62===o)return s.pos=t+1,s.str=i(e.slice(c+1,t)),s.ok=!0,s;92===o&&t+1<n?t+=2:t++}return s}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&a++,41===o){if(0===a)break;a--}t++}return c===t?s:0!==a?s:(s.str=i(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(22).unescapeAll;e.exports=function(e,t,n){var i,o,a=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return s;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return s.pos=t+1,s.lines=a,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return s}},function(e,t,n){"use strict";var r=n(22).assign,i=n(22).unescapeAll,o=n(22).escapeHtml,a={};function c(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,i){var a=e[t];return"<code"+i.renderAttrs(a)+">"+o(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,i){var a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+o(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var c,s,l,u,p=e[t],h=p.info?i(p.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,f)||o(p.content)).indexOf("<pre")?c+"\n":h?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+f]):l[s][1]+=" "+n.langPrefix+f,u={attrs:l},"<pre><code"+a.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+c+"</code></pre>\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?o=!1:-1===r.nesting&&r.tag===a.tag&&(o=!1))),i+=o?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,c=e.length;a<c;a++)void 0!==o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},c.prototype.render=function(e,t,n){var r,i,o,a="",c=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==c[o]?a+=c[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=c},function(e,t,n){"use strict";var r=n(166),i=[["normalize",n(404)],["block",n(405)],["inline",n(406)],["linkify",n(407)],["replacements",n(408)],["smartquotes",n(409)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(410),e.exports=o},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(22).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O=e.tokens;if(e.md.options.linkify)for(n=0,o=O.length;n<o;n++)if("inline"===O[n].type&&e.md.linkify.pretest(O[n].content))for(m=0,t=(a=O[n].children).length-1;t>=0;t--)if("link_close"!==(s=a[t]).type){if("html_inline"===s.type&&(j=s.content,/^<a[>\s]/i.test(j)&&m>0&&m--,i(s.content)&&m++),!(m>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,y=e.md.linkify.match(p),l=[],d=s.level,f=0,u=0;u<y.length;u++)b=y[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=y[u].text,v=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=y[u].index)>f&&((c=new e.Token("text","",0)).content=p.slice(f,h),c.level=d,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=d++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=d,l.push(c),(c=new e.Token("link_close","a",-1)).level=--d,c.markup="linkify",c.info="auto",l.push(c),f=y[u].lastIndex);f<p.length&&((c=new e.Token("text","",0)).content=p.slice(f),c.level=d,l.push(c)),O[n].children=a=r(a,t,l)}}else for(t--;a[t].level!==s.level&&"link_open"!==a[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return a[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(o,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(22).isWhiteSpace,i=n(22).isPunctChar,o=n(22).isMdAsciiPunct,a=/['"]/,c=/['"]/g,s="’";function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,a,u,p,h,f,d,m,b,g,v,y,j,O,_,k,w,E,x,C,S;for(x=[],n=0;n<e.length;n++){for(a=e[n],d=e[n].level,w=x.length-1;w>=0&&!(x[w].level<=d);w--);if(x.length=w+1,"text"===a.type){h=0,f=(u=a.content).length;e:for(;h<f&&(c.lastIndex=h,p=c.exec(u));){if(_=k=!0,h=p.index+1,E="'"===p[0],b=32,p.index-1>=0)b=u.charCodeAt(p.index-1);else for(w=n-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){b=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,h<f)g=u.charCodeAt(h);else for(w=n+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){g=e[w].content.charCodeAt(0);break}if(v=o(b)||i(String.fromCharCode(b)),y=o(g)||i(String.fromCharCode(g)),j=r(b),(O=r(g))?_=!1:y&&(j||v||(_=!1)),j?k=!1:v&&(O||y||(k=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(k=_=!1),_&&k&&(_=!1,k=y),_||k){if(k)for(w=x.length-1;w>=0&&(m=x[w],!(x[w].level<d));w--)if(m.single===E&&x[w].level===d){m=x[w],E?(C=t.md.options.quotes[2],S=t.md.options.quotes[3]):(C=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,p.index,S),e[m.token].content=l(e[m.token].content,m.pos,C),h+=S.length-1,m.token===n&&(h+=C.length-1),f=(u=a.content).length,x.length=w;continue e}_?x.push({token:n,pos:p.index,single:E,level:d}):k&&E&&(a.content=l(a.content,p.index,s))}else E&&(a.content=l(a.content,p.index,s))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(167);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(166),i=[["table",n(412),["paragraph","reference"]],["code",n(413)],["fence",n(414),["paragraph","reference","blockquote","list"]],["blockquote",n(415),["paragraph","reference","blockquote","list"]],["hr",n(416),["paragraph","reference","blockquote","list"]],["list",n(417),["paragraph","reference","blockquote"]],["reference",n(418)],["heading",n(419),["paragraph","reference","blockquote"]],["lheading",n(420)],["html_block",n(421),["paragraph","reference","blockquote"]],["paragraph",n(423)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,c=!1,s=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(a=e.line)<n&&e.isEmpty(a)&&(c=!0,a++,e.line=a)}},o.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},o.prototype.State=n(424),e.exports=o},function(e,t,n){"use strict";var r=n(22).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,i=e.length,o=0,a=0,c=!1,s=0;for(t=e.charCodeAt(r);r<i;)96===t?c?(c=!1,s=r):o%2==0&&(c=!0,s=r):124!==t||o%2!=0||c||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,t,n,a){var c,s,l,u,p,h,f,d,m,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(h=(s=i(e,t+1)).split("|"),m=[],u=0;u<h.length;u++){if(!(b=h[u].trim())){if(0===u||u===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?m.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=(h=o(s.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((d=e.push("table_open","table",1)).map=g=[t,0],(d=e.push("thead_open","thead",1)).map=[t,t+1],(d=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<h.length;u++)(d=e.push("th_open","th",1)).map=[t,t+1],m[u]&&(d.attrs=[["style","text-align:"+m[u]]]),(d=e.push("inline","",0)).content=h[u].trim(),d.map=[t,t+1],d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),(d=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=o(s.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),u=0;u<f;u++)d=e.push("td_open","td",1),m[u]&&(d.attrs=[["style","text-align:"+m[u]]]),(d=e.push("inline","",0)).content=h[u]?h[u].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("tbody_close","tbody",-1),d=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o,a,c,s,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>f)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(s=h,(o=(h=e.skipChars(h,i))-s)<3)return!1;if(u=e.src.slice(s,h),(a=e.src.slice(h,f)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((h=s=e.bMarks[c]+e.tShift[c])<(f=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[c]-e.blkIndent>=4||(h=e.skipChars(h,i))-s<o||(h=e.skipSpaces(h))<f)){p=!0;break}return o=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=a,l.content=e.getLines(t+1,c,o,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t,n,i){var o,a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O,_,k,w,E=e.lineMax,x=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(x++))return!1;if(i)return!0;for(s=f=e.sCount[t]+x-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(x)?(x++,s++,f++,o=!1,j=!0):9===e.src.charCodeAt(x)?(j=!0,(e.bsCount[t]+f)%4==3?(x++,s++,f++,o=!1):o=!0):j=!1,d=[e.bMarks[t]],e.bMarks[t]=x;x<C&&(a=e.src.charCodeAt(x),r(a));)9===a?f+=4-(f+e.bsCount[t]+(o?1:0))%4:f++,x++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(j?1:0),u=x>=C,v=[e.sCount[t]],e.sCount[t]=f-s,y=[e.tShift[t]],e.tShift[t]=x-e.bMarks[t],_=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,h=t+1;h<n&&(e.sCount[h]<e.blkIndent&&(w=!0),!((x=e.bMarks[h]+e.tShift[h])>=(C=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(x++)||w){if(u)break;for(O=!1,c=0,l=_.length;c<l;c++)if(_[c](e,h,n,!0)){O=!0;break}if(O){e.lineMax=h,0!==e.blkIndent&&(d.push(e.bMarks[h]),m.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}d.push(e.bMarks[h]),m.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}else{for(s=f=e.sCount[h]+x-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(x)?(x++,s++,f++,o=!1,j=!0):9===e.src.charCodeAt(x)?(j=!0,(e.bsCount[h]+f)%4==3?(x++,s++,f++,o=!1):o=!0):j=!1,d.push(e.bMarks[h]),e.bMarks[h]=x;x<C&&(a=e.src.charCodeAt(x),r(a));)9===a?f+=4-(f+e.bsCount[h]+(o?1:0))%4:f++,x++;u=x>=C,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(j?1:0),v.push(e.sCount[h]),e.sCount[h]=f-s,y.push(e.tShift[h]),e.tShift[h]=x-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(k=e.push("blockquote_open","blockquote",1)).markup=">",k.map=p=[t,0],e.md.block.tokenize(e,t,h),(k=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=d[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=m[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t,n,i){var o,a,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(a=1;l<u;){if((c=e.src.charCodeAt(l++))!==o&&!r(c))return!1;c===o&&a++}return!(a<3)&&(!!i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},function(e,t,n){"use strict";var r=n(22).isSpace;function i(e,t){var n,i,o,a;return i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n?-1:i<o&&(a=e.src.charCodeAt(i),!r(a))?-1:i}function o(e,t){var n,i=e.bMarks[t]+e.tShift[t],o=i,a=e.eMarks[t];if(o+1>=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o<a&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O,_,k,w,E,x,C,S,A,M,T,P,F,N=!1,z=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=o(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(M,S-M-1)),N&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(F=e.push("ordered_list_open","ol",1),1!==v&&(F.attrs=[["start",v]])):F=e.push("bullet_list_open","ul",1),F.map=m=[t,0],F.markup=String.fromCharCode(g),j=t,A=!1,P=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";j<n;){for(C=S,y=e.eMarks[j],p=O=e.sCount[j]+S-(e.bMarks[t]+e.tShift[t]);C<y;){if(9===(a=e.src.charCodeAt(C)))O+=4-(O+e.bsCount[j])%4;else{if(32!==a)break;O++}C++}if((u=(c=C)>=y?1:O-p)>4&&(u=1),l=p+u,(F=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),F.map=f=[t,0],_=e.blkIndent,x=e.tight,E=e.tShift[t],k=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=O,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(z=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=_,e.tShift[t]=E,e.sCount[t]=k,e.tight=x,(F=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),j=t=e.line,f[1]=j,c=e.bMarks[t],j>=n)break;if(e.sCount[j]<e.blkIndent)break;for(T=!1,s=0,d=P.length;s<d;s++)if(P[s](e,j,n,!0)){T=!0;break}if(T)break;if(h){if((S=o(e,j))<0)break}else if((S=i(e,j))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(F=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),m[1]=j,e.line=j,e.parentType=w,z&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(22).normalizeReference,i=n(22).isSpace;e.exports=function(e,t,n,o){var a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O,_=0,k=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<w;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===w)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(l=e.lineMax,j=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(y=!1,p=0,h=j.length;p<h;p++)if(j[p](e,E,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,k=1;k<w;k++){if(91===(a=v.charCodeAt(k)))return!1;if(93===a){d=k;break}10===a?_++:92===a&&++k<w&&10===v.charCodeAt(k)&&_++}if(d<0||58!==v.charCodeAt(d+1))return!1;for(k=d+2;k<w;k++)if(10===(a=v.charCodeAt(k)))_++;else if(!i(a))break;if(!(b=e.md.helpers.parseLinkDestination(v,k,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=k=b.pos,s=_+=b.lines,g=k;k<w;k++)if(10===(a=v.charCodeAt(k)))_++;else if(!i(a))break;for(b=e.md.helpers.parseLinkTitle(v,k,w),k<w&&g!==k&&b.ok?(O=b.str,k=b.pos,_+=b.lines):(O="",k=c,_=s);k<w&&(a=v.charCodeAt(k),i(a));)k++;if(k<w&&10!==v.charCodeAt(k)&&O)for(O="",k=c,_=s;k<w&&(a=v.charCodeAt(k),i(a));)k++;return!(k<w&&10!==v.charCodeAt(k))&&(!!(f=r(v.slice(1,d)))&&(!!o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:O,href:u}),e.parentType=m,e.line=t+_+1,!0)))}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t,n,i){var o,a,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=u)return!1;for(a=1,o=e.src.charCodeAt(++l);35===o&&l<u&&a<=6;)a++,o=e.src.charCodeAt(++l);return!(a>6||l<u&&!r(o))&&(!!i||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,c,s,l,u,p,h,f=t+1,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";f<n&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(s=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(i=!1,o=0,a=d.length;o<a;o++)if(d[o](e,f,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}},function(e,t,n){"use strict";var r=n(422),i=n(193).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),i=0;i<o.length&&!o[i][0].test(s);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(s))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],s=e.src.slice(l,u),o[i][1].test(s)){0!==s.length&&a++;break}return e.line=a,(c=e.push("html_block","",0)).map=[t,a],c.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,o=l.length;i<o;i++)if(l[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(167),i=n(22).isSpace;function o(e,t,n,r){var o,a,c,s,l,u,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",h=!1,c=s=u=p=0,l=(a=this.src).length;s<l;s++){if(o=a.charCodeAt(s),!h){if(i(o)){u++,9===o?p+=4-p%4:p++;continue}h=!0}10!==o&&s!==l-1||(10!==o&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,c=s+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,a,c,s,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),o=0;h<t;h++,o++){for(a=0,p=s=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];s<l&&a<n;){if(c=this.src.charCodeAt(s),i(c))9===c?a+=4-(a+this.bsCount[h])%4:a++;else{if(!(s-p<this.tShift[h]))break;a++}s++}u[o]=a>n?new Array(a-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},o.prototype.Token=r,e.exports=o},function(e,t,n){"use strict";var r=n(166),i=[["text",n(426)],["newline",n(427)],["escape",n(428)],["backticks",n(429)],["strikethrough",n(194).tokenize],["emphasis",n(195).tokenize],["link",n(430)],["image",n(431)],["autolink",n(432)],["html_inline",n(433)],["entity",n(434)]],o=[["balance_pairs",n(435)],["strikethrough",n(194).postProcess],["emphasis",n(195).postProcess],["text_collapse",n(436)]];function a(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,c=new this.State(e,t,n,r);for(this.tokenize(c),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](c)},a.prototype.State=n(437),e.exports=a},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},function(e,t,n){"use strict";for(var r=n(22).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(i=e.src.slice(n,s),o=a=s;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((c=e.push("code_inline","code",0)).markup=i,c.content=e.src.slice(s,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(22).normalizeReference,i=n(22).isSpace;e.exports=function(e,t){var n,o,a,c,s,l,u,p,h,f="",d=e.pos,m=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<m&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<m&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(l>=m)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f=""),b=l;l<m&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&b!==l&&u.ok)for(h=u.str,l=u.pos;l<m&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);else h="";(l>=m||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<m&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(b,l++):l=c+1):l=c+1,a||(a=e.src.slice(s,c)),!(p=e.env.references[r(a)]))return e.pos=d,!1;f=p.href,h=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",f]],h&&n.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},function(e,t,n){"use strict";var r=n(22).normalizeReference,i=n(22).isSpace;e.exports=function(e,t){var n,o,a,c,s,l,u,p,h,f,d,m,b,g="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=y)return!1;for(b=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=""),b=u;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(h=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&b!==u&&h.ok)for(f=h.str,u=h.pos;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else f="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,f=p.title}return t||(a=e.src.slice(l,s),e.md.inline.parse(a,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],d.children=m,d.content=a,f&&n.push(["title",f])),e.pos=u,e.posMax=y,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,o,a,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(c=(o=n.match(i))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(c=(a=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(193).HTML_TAG_RE;e.exports=function(e,t){var n,i,o,a=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(a).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(188),i=n(22).has,o=n(22).isValidEntityCode,a=n(22).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=o(n)?a(n):a(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&i(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((r=o[t]).close)for(n=t-r.jump-1;n>=0;){if((i=o[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(167),i=n(22).isWhiteSpace,o=n(22).isPunctChar,a=n(22).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,h,f,d=e,m=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;d<g&&this.src.charCodeAt(d)===v;)d++;return c=d-e,r=d<g?this.src.charCodeAt(d):32,p=a(n)||o(String.fromCharCode(n)),f=a(r)||o(String.fromCharCode(r)),u=i(n),(h=i(r))?m=!1:f&&(u||p||(m=!1)),u?b=!1:p&&(h||f||(b=!1)),t?(s=m,l=b):(s=m&&(!b||p),l=b&&(!m||f)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===i(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=n(439)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(l),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(null!==n){var r,a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?o(n.validate)?a.validate=n.validate:u(t,n):a.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}),void(o(n.normalize)?a.normalize=n.normalize:n.normalize?u(t,n):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?u(t,n):s.push(t)}}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function h(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new h(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function d(e,t){if(!(this instanceof d))return new d(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||c.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},d.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(i=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},d.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(190).source,t.src_Cc=n(191).source,t.src_Z=n(192).source,t.src_P=n(165).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},,function(e,t,n){var r=n(446),i=n(483);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},function(e,t,n){var r=n(168),i=n(447),o=n(452),a=n(199);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){var r=n(168),i=n(169),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(170),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[c]=n:delete e[c]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},function(e,t,n){var r=n(454),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(455),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(456),i=n(477),o=n(479),a=n(480),c=n(481);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=c,e.exports=s},function(e,t,n){var r=n(457),i=n(469),o=n(476);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(458),i=n(465),o=n(466),a=n(467),c=n(468);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=c,e.exports=s},function(e,t,n){var r=n(129);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(460),i=n(461),o=n(198),a=n(463),c=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,u=s.toString,p=l.hasOwnProperty,h=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:c).test(a(e))}},function(e,t,n){var r=n(196),i=n(198),o="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==c||t==o||t==s}},function(e,t,n){var r,i=n(462),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(171)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(129),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(129),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(129),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(470),i=n(471),o=n(473),a=n(474),c=n(475);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=c,e.exports=s},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(130),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(130);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(130);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(130);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(197)(n(171),"Map");e.exports=r},function(e,t,n){var r=n(131);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(131);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(131);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(131);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){var r=n(169),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){var r=n(493);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-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 o=Array(i);++r<i;)o[r]=e[r+t];return o}},function(e,t,n){var r=n(495);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},function(e,t,n){var r=n(496),i=n(497),o=n(498);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},function(e,t){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(500),i=n(501),o=n(502);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[o,a,c].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),u="(?:"+[o+r+"?",r,a,c,n].join("|")+")",p=RegExp(i+"(?="+i+")|"+u+l,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var o=a,c=Number(new Date),s=c-(n||c);o.diff=s,o.prev=n,o.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var a=t[l];e=i.call(o,a),t.splice(l,1),l--}return e}),r.formatArgs.call(o,t),(o.log||r.log).apply(o,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var o=r.instances[t];o.enabled=r.enabled(o.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(508),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i,a=7*o,c=365.25*o;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\-?\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 s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&!1===isNaN(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"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,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",function(){return Dt}),n.d(r,"attributes",function(){return It}),n.d(r,"support",function(){return Lt});var i=n(29),o=n(18),a=n.n(o),c=n(3),s=n.n(c),l=n(0),u=n(21),p=n(5),h=n(2),f=n(1),d=n(28),m=n.n(d),b=n(8),g=n.n(b),v=n(12),y=n.n(v),j=n(9),O=n.n(j),_=n(10),k=n.n(_),w=n(4),E=n.n(w),x=n(11),C=n.n(x),S=n(7),A=[{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{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"})),title:Object(f.c)("Original","image style"),value:void 0},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-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"})),title:Object(f.c)("Black and White","image style"),value:"black-and-white"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{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 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(f.c)("Sepia","image style"),value:"sepia"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-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 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-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"})),title:Object(f.c)("Clarendon","image style"),value:"clarendon"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-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 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(f.c)("Gingham","image style"),value:"gingham"}],M=Object(f.a)("Pick an image filter");function T(e){var t=e.value,n=e.onChange;return Object(l.createElement)(h.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(h.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:M,tooltip:M,icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(h.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map(function(e){var i,o=e.icon,a=e.title,c=e.value;return Object(l.createElement)(h.MenuItem,{className:t===c?"is-active":void 0,icon:o,isSelected:t===c,key:c||"original",onClick:(i=c,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},a)}))}})}var P=n(79),F=n.n(P),N=n(45),z=n.n(N),D=n(350),R=n.n(D),I=n(351),L=n.n(I),B=n(352),q=n.n(B)()("photon"),V={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"};function H(e,t){var n=z.a.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var i,o,a,c,s,l={slashes:!0,protocol:"https:",query:{}};if(s=n.host,/^i[0-2]\.wp\.com$/.test(s))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=z.a.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(i=l.pathname,o=R()(i),a=L()(o),c="i"+Math.floor(3*a()),q('determined server "%s" to use with "%s"',c,i),c+".wp.com"),r&&(l.query.ssl=1)}if(t)for(var p in t)"host"!==p&&"hostname"!==p?"secure"!==p||t[p]?l.query[V[p]||p]=t[p]:l.protocol="http:":l.hostname=t[p];var h=z.a.format(l);return q("generated Photon URL: %s",h),h}var U=n(35),G=n(24),$=n(13),W=n.n($),K=n(64),Z=n(25),J=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",function(){n.props.isSelected||n.props.onSelect()}),s()(E()(n),"onImageKeyDown",function(e){n.img.current===document.activeElement&&n.props.isSelected&&[K.BACKSPACE,K.DELETE].includes(e.keyCode)&&n.props.onRemove()}),n}return C()(t,e),y()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,i=e.link,o=e.url,a=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!i&&r.link&&(c.link=r.link),!o&&r.source_url&&(c.url=r.source_url),!a&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,i=t.height,o=t.id,a=t.imageFilter,c=t.isSelected,u=t.link,p=t.linkTo,d=t.onRemove,m=t.origUrl,b=t.url,g=t.width;switch(p){case"media":e=b;break;case"attachment":e=u}var v=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":o,"data-link":u,"data-url":m,"data-width":g,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:b,tabIndex:"0"}),Object(U.isBlobURL)(m)&&Object(l.createElement)(h.Spinner,null));return Object(l.createElement)("figure",{className:W()("tiled-gallery__item",s()({"is-selected":c,"is-transient":Object(U.isBlobURL)(m)},"filter__".concat(a),!!a))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(h.IconButton,{icon:"no-alt",onClick:d,className:"tiled-gallery__item__remove",label:Object(f.a)("Remove Image")})),e?Object(l.createElement)("a",null,v):v)}}]),t}(l.Component),Y=Object(Z.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(J);function X(e){var t,n=e.alt,r=e.imageFilter,i=e.height,o=e.id,a=e.link,c=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(U.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=a}var f=Object(l.createElement)("img",{alt:n,"data-height":i,"data-id":o,"data-link":a,"data-url":u,"data-width":h,src:p});return Object(l.createElement)("figure",{className:W()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},f):f)}var Q=n(74);function ee(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function te(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function ne(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:W()("tiled-gallery__row",n)},t)}var re=n(125);function ie(e){var t=e.height,n=e.width;return t&&n?n/t:1}var oe=we([2,1,2],5),ae=Ee([xe,xe,Ce,xe,xe]),ce=Ee([xe,xe,xe,Ce,xe,xe,xe]),se=we([3,1,3],5),le=Ee([Ce,xe,xe,Ce]),ue=we([1,2,1],5),pe=Ee([Ce,xe,xe,xe]),he=we([1,3],3),fe=Ee([xe,xe,xe,Ce]),de=we([3,1],3),me=Ee([Ae(1.6),Object(p.overEvery)(Se(.9),Ae(2)),Object(p.overEvery)(Se(.9),Ae(2))]),be=we([1,2],3),ge=we([1,1,1,1,1],1),ve=we([1,1,1,1],1),ye=we([1,1,1],3),je=Ee([Object(p.overEvery)(Se(.9),Ae(2)),Object(p.overEvery)(Se(.9),Ae(2)),Ae(1.6)]),Oe=we([2,1],3),_e=Ee([function(e){return e>=2}]);function ke(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&ae(r)&&oe(n)?[2,1,2]:r.length>15&&ce(r)&&se(n)?[3,1,3]:5!==r.length&&le(r)&&ue(n)?[1,2,1]:pe(r)&&he(n)?[1,3]:fe(r)&&de(n)?[3,1]:me(r)&&be(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ge(n)&&Object(p.sum)(Object(p.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(p.sum)(Object(p.take)(t,4));return ve(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(p.sum)(Object(p.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ye(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:je(r)&&Oe(n)?[2,1]:_e(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var o=n.concat([i]),a=Object(p.sum)(i);return e(o,r.slice(a))}([],e)}function we(e,t){return function(n){return!Object(p.some)(Object(p.takeRight)(n,t),function(t){return Object(p.isEqual)(t,e)})}}function Ee(e){return function(t){return t.length>=e.length&&Object(p.every)(Object(p.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function xe(e){return e>=1&&e<2}function Ce(e){return e<1}function Se(e){return function(t){return t>=e}}function Ae(e){return function(t){return t<e}}var Me=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,o=function(){var e=i.value,t=e.contentRect,n=e.target,r=t.width;Object(re.a)(n).forEach(function(e){return Object(re.b)(e,r)})},a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)o()}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}})}),n}return C()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new Q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,o=e.renderedImages,a=function(e){return Object(p.map)(e,ie)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(p.sum)(e)/t,r=[],i=e,o=0,a=function(e){var t=Object(p.takeWhile)(i,function(t){var r=o<=(e+1)*n;return r&&(o+=t),r}).length;r.push(t),i=Object(p.drop)(i,t)},c=0;c<t-1;c++)a(c);return r.push(i.length),[r]}(a,n):ke(a,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(te,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(ne,{key:t},e.map(function(e,t){var n=o.slice(s,s+e);return s+=e,Object(l.createElement)(ee,{key:t},n)}))}))}}]),t}(l.Component),Te=n(31);function Pe(e){var t=e.columns,n=e.renderedImages,r=Math.min(Te.h,t),i=n.length%r;return Object(l.createElement)(te,null,[].concat(m()(i?[Object(p.take)(n,i)]:[]),m()(Object(p.chunk)(Object(p.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(ne,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(ee,{key:t},e)}))}))}var Fe=function(e){function t(){return g()(this,t),O()(this,k()(t).apply(this,arguments))}return C()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(U.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],o=function(e){var t=Object(N.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?ze:H;if(Ne(this.props.layoutStyle)&&n&&t){var a=Math.min(Te.i,n,t);return o(i,{resize:"".concat(a,",").concat(a)})}return o(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,i=n.images,o=n.isSave,a=n.linkTo,c=n.onRemoveImage,s=n.onSelectImage,u=n.selectedImage,p=n.setImageAttributes,h=Object(G.sprintf)(Object(f.a)("image %1$d of %2$d in gallery"),t+1,i.length),d=o?X:Y;return Object(l.createElement)(d,{alt:e.alt,"aria-label":h,height:e.height,id:e.id,imageFilter:r,isSelected:u===t,key:t,link:e.link,linkTo:a,onRemove:o?void 0:c(t),onSelect:o?void 0:s(t),origUrl:e.url,setAttributes:o?void 0:p(t),url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,o=e.images,a=e.layoutStyle,c=Ne(a)?Pe:Me,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:o,layoutStyle:a,renderedImages:s}),n)}}]),t}(l.Component);function Ne(e){return["circle","square"].includes(e)}function ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(N.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,F()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(N.format)(i)}var De=n(353),Re=n.n(De);function Ie(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var o,a=new Re.a(t).values()[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var c=o.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(p.find)(e,{name:s});if(l)return l}}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return Object(p.find)(e,"isDefault")}(e,t);return n?n.name:null}var Le=[{value:"attachment",label:Object(f.a)("Attachment Page")},{value:"media",label:Object(f.a)("Media File")},{value:"none",label:Object(f.a)("None")}];function Be(e){return Math.min(3,e.images.length)}var qe=function(e){var t=Object(p.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(p.get)(e,["sizes","large","url"])||Object(p.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Ve=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:Te.a,filesList:e,onFileChange:function(e){var r=e.map(function(e){return qe(e)});n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})}),s()(E()(n),"onRemoveImage",function(e){return function(){var t=Object(p.filter)(n.props.attributes.images,function(t,n){return e!==n}),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}}),s()(E()(n),"onSelectImage",function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}}),s()(E()(n),"onSelectImages",function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map(function(e){return qe(e)})})}),s()(E()(n),"setColumnsNumber",function(e){return n.setAttributes({columns:e})}),s()(E()(n),"setImageAttributes",function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(m()(r.slice(0,e)),[a()({},r[e],t)],m()(r.slice(e+1)))})}}),s()(E()(n),"setLinkTo",function(e){return n.setAttributes({linkTo:e})}),s()(E()(n),"uploadFromFiles",function(e){return n.addFiles(e.target.files)}),n}return C()(t,e),y()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=a()({},e,{ids:e.images.map(function(e){var t=e.id;return parseInt(t,10)})})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,i=n.isSelected,o=n.className,a=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,u=r.align,p=r.columns,d=void 0===p?Be(r):p,m=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(h.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(h.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:Te.a,multiple:!0,gallery:!0,value:b.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(l.createElement)(h.IconButton,{className:"components-toolbar__control",label:Object(f.a)("Edit Gallery"),icon:"edit",onClick:t})}})),Object(l.createElement)(T,{value:m,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)("div",{className:"tiled-gallery__media-placeholder-icon"},Ht),className:o,labels:{title:Object(f.a)("Tiled Gallery"),name:Object(f.a)("images")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Te.a,multiple:!0,notices:c,onError:a.createErrorNotice}));var j=Ie(Te.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(h.PanelBody,{title:Object(f.a)("Tiled Gallery settings")},["columns","circle","square"].includes(j)&&b.length>1&&Object(l.createElement)(h.RangeControl,{label:Object(f.a)("Columns"),value:d,onChange:this.setColumnsNumber,min:1,max:Math.min(Te.h,b.length)}),Object(l.createElement)(h.SelectControl,{label:Object(f.a)("Link To"),value:g,onChange:this.setLinkTo,options:Le}))),c,Object(l.createElement)(Fe,{align:u,className:o,columns:d,imageFilter:m,images:b,layoutStyle:j,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:i?t:null,setImageAttributes:this.setImageAttributes},v,i&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(h.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(f.a)("Upload an image")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),He=Object(h.withNotices)(Ve);n(509);function Ue(e){var t,n=e["aria-label"],r=e.alt,i=e.height,o=e.id,a=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(U.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=a}var h=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":o,"data-link":a,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Ge(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function $e(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function We(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:W()("tiled-gallery__row",n)},t)}var Ke=n(33),Ze=n.n(Ke),Je=4,Ye=20,Xe=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function Qe(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function et(e,t){!function(e,t,n){var r=Ze()(t,2),i=r[0],o=r[1],a=1/i*(n-Je*(e.childElementCount-1)-o);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=tt(e),o=i.map(function(e){return(n-Je*(e.childElementCount-1))*rt(e)[0]}),a=Qe(o,r);i.forEach(function(e,t){var r=o[t],i=a[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,o=Qe(nt(e).map(function(e){return i/it(e)}),n);Array.from(e.children).forEach(function(e,t){var n=o[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-Je*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:a,rowWidth:n-Je*(e.childElementCount-1)})}(e,function(e){return tt(e).map(rt).reduce(function(e,t){var n=Ze()(e,2),r=n[0],i=n[1],o=Ze()(t,2),a=o[0],c=o[1];return[r+a,i+c]},[0,0])}(e),t)}function tt(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function nt(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function rt(e){var t=nt(e),n=t.length,r=1/t.map(it).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function it(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function ot(e){var t=e.height,n=e.width;return t&&n?n/t:1}var at=Et([2,1,2],5),ct=xt([Ct,Ct,St,Ct,Ct]),st=xt([Ct,Ct,Ct,St,Ct,Ct,Ct]),lt=Et([3,1,3],5),ut=xt([St,Ct,Ct,St]),pt=Et([1,2,1],5),ht=xt([St,Ct,Ct,Ct]),ft=Et([1,3],3),dt=xt([Ct,Ct,Ct,St]),mt=Et([3,1],3),bt=xt([Mt(1.6),Object(p.overEvery)(At(.9),Mt(2)),Object(p.overEvery)(At(.9),Mt(2))]),gt=Et([1,2],3),vt=Et([1,1,1,1,1],1),yt=Et([1,1,1,1],1),jt=Et([1,1,1],3),Ot=xt([Object(p.overEvery)(At(.9),Mt(2)),Object(p.overEvery)(At(.9),Mt(2)),Mt(1.6)]),_t=Et([2,1],3),kt=xt([function(e){return e>=2}]);function wt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&ct(r)&&at(n)?[2,1,2]:r.length>15&&st(r)&<(n)?[3,1,3]:5!==r.length&&ut(r)&&pt(n)?[1,2,1]:ht(r)&&ft(n)?[1,3]:dt(r)&&mt(n)?[3,1]:bt(r)&>(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&vt(n)&&Object(p.sum)(Object(p.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(p.sum)(Object(p.take)(t,4));return yt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(p.sum)(Object(p.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&jt(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:Ot(r)&&_t(n)?[2,1]:kt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var o=n.concat([i]),a=Object(p.sum)(i);return e(o,r.slice(a))}([],e)}function Et(e,t){return function(n){return!Object(p.some)(Object(p.takeRight)(n,t),function(t){return Object(p.isEqual)(t,e)})}}function xt(e){return function(t){return t.length>=e.length&&Object(p.every)(Object(p.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function Ct(e){return e>=1&&e<2}function St(e){return e<1}function At(e){return function(t){return t>=e}}function Mt(e){return function(t){return t<e}}var Tt=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,o=function(){var e,t=i.value,n=t.contentRect,r=t.target,o=n.width;(e=r,Array.from(e.querySelectorAll(".tiled-gallery__row"))).forEach(function(e){return et(e,o)})},a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)o()}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}})}),n}return C()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new Q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,o=e.renderedImages,a=function(e){return Object(p.map)(e,ot)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(p.sum)(e)/t,r=[],i=e,o=0,a=function(e){var t=Object(p.takeWhile)(i,function(t){var r=o<=(e+1)*n;return r&&(o+=t),r}).length;r.push(t),i=Object(p.drop)(i,t)},c=0;c<t-1;c++)a(c);return r.push(i.length),[r]}(a,n):wt(a,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)($e,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(We,{key:t},e.map(function(e,t){var n=o.slice(s,s+e);return s+=e,Object(l.createElement)(Ge,{key:t},n)}))}))}}]),t}(l.Component);function Pt(e){var t=e.columns,n=e.renderedImages,r=Math.min(Ye,t),i=n.length%r;return Object(l.createElement)($e,null,[].concat(m()(i?[Object(p.take)(n,i)]:[]),m()(Object(p.chunk)(Object(p.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(We,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(Ge,{key:t},e)}))}))}var Ft=function(e){function t(){return g()(this,t),O()(this,k()(t).apply(this,arguments))}return C()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(U.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],o=function(e){var t=Object(N.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?zt:H;if(Nt(this.props.layoutStyle)&&n&&t){var a=Math.min(2e3,n,t);return o(i,{resize:"".concat(a,",").concat(a)})}return o(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,i=n.linkTo,o=n.selectedImage,a=Object(G.sprintf)(Object(f.a)("image %1$d of %2$d in gallery"),t+1,r.length);return Object(l.createElement)(Ue,{alt:e.alt,"aria-label":a,height:e.height,id:e.id,origUrl:e.url,isSelected:o===t,key:t,link:e.link,linkTo:i,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,o=e.images,a=e.layoutStyle,c=Nt(a)?Pt:Tt,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:o,layoutStyle:a,renderedImages:s}),n)}}]),t}(l.Component);function Nt(e){return["circle","square"].includes(e)}function zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(N.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,F()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(N.format)(i)}function Dt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,i=t.className,o=t.columns,a=void 0===o?function(e){return Math.min(3,e.images.length)}(t):o,c=t.linkTo;return Object(l.createElement)(Ft,{align:r,className:i,columns:a,images:n,layoutStyle:Ie(Xe,i),linkTo:c})}var Rt,It={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Lt={align:["center","wide","full"],customClassName:!1,html:!1},Bt=(Rt={},s()(Rt,Te.e,Object(f.c)("Tiled mosaic","Tiled gallery layout")),s()(Rt,Te.c,Object(f.c)("Circles","Tiled gallery layout")),s()(Rt,Te.d,Object(f.c)("Tiled columns","Tiled gallery layout")),s()(Rt,Te.f,Object(f.c)("Square tiles","Tiled gallery layout")),Rt),qt=Te.g.map(function(e){return a()({},e,{label:Bt[e.name]})}),Vt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(Te.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Ht=Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(h.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Ut={attributes:Vt,category:"jetpack",description:Object(f.a)("Display multiple images in an elegantly organized tiled layout."),icon:Ht,keywords:[Object(f.c)("images","block search term"),Object(f.c)("photos","block search term"),Object(f.c)("masonry","block search term")],styles:qt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(f.a)("Tiled Gallery"),transforms:{from:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=Object(p.filter)(e.images,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(u.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):Object(u.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.columns,r=e.linkTo;return Object(u.createBlock)("core/gallery",{images:t,columns:n,imageCrop:!0,linkTo:r})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(u.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(u.createBlock)("core/image")}}]},edit:He,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var i=t.align,o=t.className,a=t.columns,c=void 0===a?Be(t):a,s=t.linkTo;return Object(l.createElement)(Fe,{align:i,className:o,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Ie(Te.g,o),linkTo:s})},deprecated:[r]};Object(i.a)("tiled-gallery",Ut)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",function(){return u}),n.d(r,"refreshConnectionTestResults",function(){return p}),n.d(r,"fetchFromAPI",function(){return h});var i={};n.r(i),n.d(i,"getFailedConnections",function(){return f}),n.d(i,"getMustReauthConnections",function(){return d});var o=n(0),a=n(2),c=n(124),s=n(7),l=(n(443),n(25));function u(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function p(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function h(e){return{type:"FETCH_FROM_API",path:e}}function f(e){return e.filter(function(e){return!1===e.test_success})}function d(e){return e.filter(function(e){return"must_reauth"===e.test_success}).map(function(e){return e.service_name})}var m=n(28),b=n.n(m),g=n(345),v=n.n(g),y=n(5),j=n(72),O=n.n(j),_=n(50),k=n.n(_);function w(){return(w=O()(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.dispatch,e.prev=1,e.next=4,k()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(u(i)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}},e,this,[[1,8]])}))).apply(this,arguments)}var E={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return w.apply(this,arguments)}};var x,C,S,A,M,T={FETCH_FROM_API:function(e){var t=e.path;return k()({path:t})}},P=Object(l.registerStore)("jetpack/publicize",{actions:r,controls:T,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_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:i});x=P,S=[v()(E)],A=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},M={getState:x.getState,dispatch:function(){return A.apply(void 0,arguments)}},C=S.map(function(e){return e(M)}),A=y.flowRight.apply(void 0,b()(C))(x.dispatch),x.dispatch=A;var F=n(121),N=n(20),z=n(8),D=n.n(z),R=n(12),I=n.n(R),L=n(9),B=n.n(L),q=n(10),V=n.n(q),H=n(4),U=n.n(H),G=n(11),$=n.n(G),W=n(3),K=n.n(W),Z=n(1),J=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"refreshConnectionClick",function(e){var t=e.target,r=t.href,i=t.title;e.preventDefault();var o=window.open(r,i,""),a=window.setInterval(function(){!1!==o.closed&&(window.clearInterval(a),n.props.refreshConnections())},500)}),n}return $()(t,e),I()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter(function(e){return e.can_refresh});return t.length?Object(o.createElement)(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(o.createElement)("p",null,Object(Z.a)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:")),t.map(function(t){return Object(o.createElement)(a.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)})):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter(function(e){return!e.can_refresh});return e.length?e.map(function(e){return Object(o.createElement)(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(o.createElement)("p",null,e.test_message))}):null}},{key:"render",value:function(){return Object(o.createElement)(o.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(o.Component),Y=Object(N.compose)([Object(l.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}}),Object(l.withDispatch)(function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}})])(J),X=n(18),Q=n.n(X),ee=n(346),te=n.n(ee),ne=n(13),re=n.n(ne),ie=n(24),oe=n(56),ae=n.n(oe),ce=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),se=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),le=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ue=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{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-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),pe=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.92 14.05c-2.235 0-4.05-1.814-4.05-4.05s1.815-4.05 4.05-4.05c1.095 0 2.01.4 2.71 1.057l-1.15 1.118c-.292-.275-.802-.6-1.56-.6-1.34 0-2.433 1.115-2.433 2.48s1.094 2.48 2.434 2.48c1.552 0 2.123-1.074 2.228-1.71h-2.232v-1.51h3.79c.058.255.102.494.102.83 0 2.312-1.55 3.956-3.887 3.956zm8.92-3.3h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"}))),he=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(o.createElement)(a.Icon,ae()({icon:ce},n));case"twitter":return Object(o.createElement)(a.Icon,ae()({icon:se},n));case"linkedin":return Object(o.createElement)(a.Icon,ae()({icon:le},n));case"tumblr":return Object(o.createElement)(a.Icon,ae()({icon:ue},n));case"google-plus":return Object(o.createElement)(a.Icon,ae()({icon:pe},n))}return null},fe=n(122),de=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"state",{showGooglePlusNotice:!0}),K()(U()(n),"onRemoveGooglePlusNotice",function(){n.setState({showGooglePlusNotice:!1})}),K()(U()(n),"maybeDisplayGooglePlusNotice",function(e){return"google-plus"===e&&n.state.showGooglePlusNotice&&Object(o.createElement)(a.Notice,{status:"error",onRemove:n.onRemoveGooglePlusNotice},Object(Z.a)("Google+ will shut down in April 2019. You can keep posting with your existing Google+ connection through March."),Object(o.createElement)(a.ExternalLink,{target:"_blank",href:"https://www.blog.google/technology/safety-security/expediting-changes-google-plus/"},Object(Z.a)(" Learn more"),"."))}),K()(U()(n),"maybeDisplayLinkedInNotice",function(){return n.connectionNeedsReauth()&&Object(o.createElement)(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(o.createElement)("p",null,Object(Z.a)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.")),Object(o.createElement)(a.ExternalLink,{href:"https://wordpress.com/sharing/".concat(Object(fe.default)())},Object(Z.a)("Go to Sharing settings")))}),K()(U()(n),"connectionNeedsReauth",function(){return Object(y.includes)(n.props.mustReauthConnections,n.props.name)}),K()(U()(n),"onConnectionChange",function(){var e=n.props.id;n.props.toggleConnection(e)}),n}return $()(t,e),I()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some(function(e){return e.service_name===n})}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,i=e.label,c=e.name,s="connection-"+c+"-"+r,l=c.replace("_","-"),u=Object(o.createElement)(a.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(o.createElement)(a.Disabled,null,u)),Object(o.createElement)("li",null,this.maybeDisplayGooglePlusNotice(l),this.maybeDisplayLinkedInNotice(),Object(o.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(o.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(o.createElement)(he,{serviceName:l}),Object(o.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(o.Component),me=Object(l.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}})(de),be=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"settingsClick",function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var i=window.open(t,"",""),o=window.setInterval(function(){!1!==i.closed&&(window.clearInterval(o),r())},500)}),n}return $()(t,e),I()(t,[{key:"getButtonLink",value:function(){var e=Object(fe.default)();return e?"https://wordpress.com/sharing/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=re()("jetpack-publicize-add-connection-container",this.props.className);return Object(o.createElement)("div",{className:e},Object(o.createElement)(a.ExternalLink,{onClick:this.settingsClick},Object(Z.a)("Connect an account")))}}]),t}(o.Component),ge=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"state",{hasEditedShareMessage:!1}),K()(U()(n),"fieldId",Object(y.uniqueId)("jetpack-publicize-message-field-")),K()(U()(n),"onMessageChange",function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)}),n}return $()(t,e),I()(t,[{key:"isDisabled",value:function(){return this.props.connections.every(function(e){return!e.toggleable})}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,i=this.getShareMessage(),a=256-i.length,c=re()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":a<=0});return Object(o.createElement)("div",{id:"publicize-form"},Object(o.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map(function(e){var t=e.display_name,r=e.enabled,i=e.id,a=e.service_name,c=e.toggleable;return Object(o.createElement)(me,{disabled:!c,enabled:r,key:i,id:i,label:t,name:a,toggleConnection:n})})),Object(o.createElement)(be,{refreshCallback:r}),t.some(function(e){return e.enabled})&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(Z.a)("Customize your message")),Object(o.createElement)("div",{className:"jetpack-publicize-message-box"},Object(o.createElement)("textarea",{id:this.fieldId,value:i,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(Z.a)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message."),rows:4}),Object(o.createElement)("div",{className:c},Object(ie.sprintf)(Object(Z.b)("%d character remaining","%d characters remaining",a),a)))))}}]),t}(o.Component),ve=Object(N.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=te()(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}}),Object(l.withDispatch)(function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map(function(e){return Q()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(ge),ye=Object(N.compose)([Object(l.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(l.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,n=e.refreshConnections;return Object(o.createElement)(o.Fragment,null,t&&t.some(function(e){return e.enabled})&&Object(o.createElement)(Y,null),Object(o.createElement)("div",null,Object(Z.a)("Connect and select the accounts where you'd like to share your post.")),t&&t.length>0&&Object(o.createElement)(ve,{refreshCallback:n}),t&&0===t.length&&Object(o.createElement)(be,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))}),je={render:function(){return Object(o.createElement)(s.PostTypeSupportCheck,{supportKeys:"publicize"},Object(o.createElement)(F.default,null,Object(o.createElement)(a.PanelBody,{title:Object(Z.a)("Share this post")},Object(o.createElement)(ye,null))),Object(o.createElement)(c.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(o.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(Z.a)("Share this post"))},Object(o.createElement)(ye,null)))}},Oe=n(136);Object(Oe.a)("publicize",je)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(7),a=n(2),c=n(343),s=n.n(c),l=n(13),u=n.n(l),p=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],h=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],f=function(e){s()(e.attributes);var t=e.isSelected;return Object(i.createElement)("div",{className:u()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(o.InnerBlocks,{allowedBlocks:p,templateLock:!1,template:h}))},d=n(30),m=n(1),b=(n(374),n(180),n(8)),g=n.n(b),v=n(12),y=n.n(v),j=n(9),O=n.n(j),_=n(10),k=n.n(_),w=n(4),E=n.n(w),x=n(11),C=n.n(x),S=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,o=t.addressLine3,a=t.city,c=t.region,s=t.postal,l=t.country;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),o&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},o),a&&!(c||s)&&Object(i.createElement)("div",{className:"jetpack-address__city"},a),a&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},a),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),!a&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(i.createElement)("div",{className:"jetpack-address__country"},l))},A=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,o=t.city,a=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=o?"+".concat(o,","):"",f=a?"+".concat(a,","):"";f=c?"".concat(f,"+").concat(c):f;var d=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(h).concat(f).concat(d).replace(" ","+")},M=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some(function(e){return""!==e})&&Object(i.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(i.createElement)("a",{href:A(e),target:"_blank",rel:"noopener noreferrer",title:Object(m.a)("Open address in Google Maps")},Object(i.createElement)(S,e)),!e.attributes.linkToGoogleMaps&&Object(i.createElement)(S,e));var t},T=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(E()(n)),n}return C()(t,e),y()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,c=t.addressLine3,s=t.city,l=t.region,p=t.postal,h=t.country,f=t.linkToGoogleMaps,d=e.isSelected,b=e.setAttributes,g=[n,r,c,s,l,p,h].some(function(e){return""!==e}),v=u()({"jetpack-address-block":!0,"is-selected":d}),y=Object(i.createElement)(a.ToggleControl,{label:Object(m.a)("Link address to Google Maps"),checked:f,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(i.createElement)("div",{className:v},!d&&g&&M(this.props),(d||!g)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.PlainText,{value:n,placeholder:Object(m.a)("Street Address"),"aria-label":Object(m.a)("Street Address"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:r,placeholder:Object(m.a)("Address Line 2"),"aria-label":Object(m.a)("Address Line 2"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:c,placeholder:Object(m.a)("Address Line 3"),"aria-label":Object(m.a)("Address Line 3"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:s,placeholder:Object(m.a)("City"),"aria-label":Object(m.a)("City"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:l,placeholder:Object(m.a)("State/Province/Region"),"aria-label":Object(m.a)("State/Province/Region"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:p,placeholder:Object(m.a)("Postal/Zip Code"),"aria-label":Object(m.a)("Postal/Zip Code"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:h,placeholder:Object(m.a)("Country"),"aria-label":Object(m.a)("Country"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),P={title:Object(m.a)("Address"),description:Object(m.a)("Lets you add a physical address with Schema markup."),keywords:[Object(m.c)("location","block search term"),Object(m.c)("direction","block search term"),Object(m.c)("place","block search term")],icon:Object(d.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(i.createElement)(a.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:T,save:M},F=n(80),N=n.n(F),z=function(e){var t=e.attributes.email,n=e.className;return t&&Object(i.createElement)("div",{className:n},t.split(/(\s+)/).map(function(e,t){var n=e.replace(/([.,\/#!$%\^&\*;:{}=\-_`~()\]\[])+$/g,"");return e.indexOf("@")&&N.a.validate(n)?e===n?Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(i.createElement)(i.Fragment,null,e.slice(-(e.length-n.length)))):Object(i.createElement)(i.Fragment,{key:t},e)}))},D=function(e,t,n,r,a){var c=t.isSelected,s=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(i.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:a}))},R=function(e){var t=e.setAttributes;return D("email",e,Object(m.a)("Email"),z,function(e){return t({email:e})})},I={title:Object(m.a)("Email Address"),description:Object(m.a)("Lets you add an email address with an automatically generated click-to-email link."),keywords:["e-mail","email",Object(m.c)("message","block search term")],icon:Object(d.a)(Object(i.createElement)(a.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:R,save:z,parent:["jetpack/contact-info"]};var L=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(i.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,o=n?e.substring(0,n):"",a=r.replace(/\D/g,"");return/[0-9\/+\/(]/.test(r[0])?(o=o.slice(0,-1),"+"===r[0]&&(a="+"+a)):r=r.substring(1),[o.trim()?Object(i.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,Object(i.createElement)("a",{key:"phoneNumber",href:"tel:".concat(a)},r)]}(t))},B=function(e){var t=e.setAttributes;return D("phone",e,Object(m.a)("Phone number"),L,function(e){return t({phone:e})})},q={title:Object(m.a)("Phone Number"),description:Object(m.a)("Lets you add a phone number with an automatically generated click-to-call link."),keywords:[Object(m.c)("mobile","block search term"),Object(m.c)("telephone","block search term"),Object(m.c)("cell","block search term")],icon:Object(d.a)(Object(i.createElement)(a.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:B,save:L},V={title:Object(m.a)("Contact Info"),description:Object(m.a)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results."),keywords:[Object(m.c)("email","block search term"),Object(m.c)("phone","block search term"),Object(m.c)("address","block search term")],icon:Object(d.a)(Object(i.createElement)(a.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:f,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(o.InnerBlocks.Content,null))}},H=[{name:"address",settings:P},{name:"email",settings:I},{name:"phone",settings:q}];Object(r.a)("contact-info",V,H)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(72),c=n.n(a),s=n(8),l=n.n(s),u=n(12),p=n.n(u),h=n(9),f=n.n(h),d=n(10),m=n.n(d),b=n(4),g=n.n(b),v=n(11),y=n.n(v),j=n(3),O=n.n(j),_=n(13),k=n.n(_),w=n(80),E=n.n(w),x=n(20),C=n(25),S=n(5),A=n(24),M=n(56),T=n.n(M),P=n(79),F=n.n(P),N=n(133),z=n.n(N),D=(n(488),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,o=void 0!==r&&r,a=F()(e,["children","isError"]),c=k()("simple-payments__help-message",{"simple-payments__help-message-is-error":o});return n&&Object(i.createElement)("div",T()({className:c},a),o&&Object(i.createElement)(z.a,{size:"24"}),Object(i.createElement)("span",null,n))}),R=n(1),I=(n(490),n(347)),L=n.n(I),B=n(348),q=n.n(B),V=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,a=e.formattedPrice,c=void 0===a?"":a,s=e.multiple,l=void 0!==s&&s,u=e.featuredMediaUrl,p=void 0===u?null:u,h=e.featuredMediaTitle,f=void 0===h?null:h;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},p&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:p,alt:f}))),Object(i.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(i.createElement)("div",{className:"jetpack-simple-payments-title"},Object(i.createElement)("p",null,n)),o&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,o)),c&&Object(i.createElement)("div",{className:"jetpack-simple-payments-price"},Object(i.createElement)("p",null,c)),Object(i.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},l&&Object(i.createElement)("div",{className:"jetpack-simple-payments-items"},Object(i.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(i.createElement)("div",{className:"jetpack-simple-payments-button"},Object(i.createElement)("img",{alt:Object(R.a)("Pay with PayPal"),src:L.a,srcSet:"".concat(q.a," 2x")}))))))},H=n(7),U=function(e){return function(t){return e({featuredMediaId:Object(S.get)(t,"id",0),featuredMediaUrl:Object(S.get)(t,"url",null),featuredMediaTitle:Object(S.get)(t,"title",null)})}},G=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,a=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(H.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(H.MediaUpload,{onSelect:U(a),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(R.a)("Edit Image"),icon:"edit",onClick:t})}}),Object(i.createElement)(o.ToolbarButton,{icon:"trash",title:Object(R.a)("Remove Image"),onClick:function(){return a({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(H.MediaPlaceholder,{icon:"format-image",labels:{title:Object(R.a)("Product Image")},accept:"image/*",allowedTypes:["image"],onSelect:U(a)})},$=n(349),W=n.n($),K={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function Z(e){return K[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}var J=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],Y=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},X=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Z(t),i=r.precision,o=r.symbol,a=e.toFixed(i);return n?"".concat(a," ").concat(W()(o,".")):a},Q=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=f()(this,(e=m()(t)).call.apply(e,[this].concat(i))),O()(g()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),O()(g()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),O()(g()(n),"validateAttributes",function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i}),O()(g()(n),"validateCurrency",function(){var e=n.props.attributes.currency;return J.includes(e)}),O()(g()(n),"validatePrice",function(){var e=n.props.attributes,t=e.currency,r=e.price,i=Z(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(R.a)("Invalid price")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(R.a)("Your price is negative — enter a positive number so people can pay the right amount.")}),!1):Y(r)>i?0===i?(n.setState({fieldPriceError:Object(R.a)("We know every penny counts, but prices in this currency can’t contain decimal values.")}),!1):(n.setState({fieldPriceError:Object(A.sprintf)(Object(R.b)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(R.a)("If you’re selling something, you need a price tag. Add yours here.")}),!1)}),O()(g()(n),"validateEmail",function(){var e=n.props.attributes.email;return e?E.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(A.sprintf)(Object(R.a)("%s is not a valid email address."),e)}),!1):(n.setState({fieldEmailError:Object(R.a)("We want to make sure payments reach you, so please add an email address.")}),!1)}),O()(g()(n),"validateTitle",function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(R.a)("Please add a brief title so that people know what they’re paying for.")}),!1)}),O()(g()(n),"handleEmailChange",function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})}),O()(g()(n),"handleFeaturedMediaSelect",function(e){n.props.setAttributes({featuredMediaId:Object(S.get)(e,"id",0)})}),O()(g()(n),"handleContentChange",function(e){n.props.setAttributes({content:e})}),O()(g()(n),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})}),O()(g()(n),"handleCurrencyChange",function(e){n.props.setAttributes({currency:e})}),O()(g()(n),"handleMultipleChange",function(e){n.props.setAttributes({multiple:!!e})}),O()(g()(n),"handleTitleChange",function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})}),O()(g()(n),"getCurrencyList",J.map(function(e){var t=Z(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(S.trimEnd)(t,"."))}})),n}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(S.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){if(this.shouldInjectPaymentAttributes){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.simplePayment,i=t.content,o=t.currency,a=t.email,c=t.featuredMediaId,s=t.multiple,l=t.price,u=t.productId,p=t.title;u&&r&&(n({content:Object(S.get)(r,["content","raw"],i),currency:Object(S.get)(r,["meta","spay_currency"],o),email:Object(S.get)(r,["meta","spay_email"],a),featuredMediaId:Object(S.get)(r,["featured_media"],c),multiple:Boolean(Object(S.get)(r,["meta","spay_multiple"],Boolean(s))),price:Object(S.get)(r,["meta","spay_price"],l||void 0),title:Object(S.get)(r,["title","raw"],p)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes)}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,i=e.featuredMediaId,o=e.multiple,a=e.price,c=e.productId;return{id:c,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:a},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.email,o=Object(C.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},c()(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:o("postType","jp_pay_product",e.toApi()).then(function(e){return e&&r({productId:e.id}),e}).catch(function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(A.sprintf)(Object(R.a)("%s is not a valid email address."),i):null,fieldPriceError:"spay_price"===n?Object(R.a)("Invalid price."):null})}}).finally(function(){e.setState({isSavingProduct:!1})});case 1:case"end":return t.stop()}},t,this)})))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,a=this.props,c=a.attributes,s=a.featuredMedia,l=a.instanceId,u=a.isSelected,p=a.setAttributes,h=a.simplePayment,f=c.content,d=c.currency,m=c.email,b=c.featuredMediaId,g=c.featuredMediaUrl,v=c.featuredMediaTitle,y=c.multiple,j=c.price,O=c.productId,_=c.title,w=g||s&&s.source_url,E=v||s&&s.alt_text,x=O&&!h;if(!u&&x)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(V,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!u&&m&&j&&_&&!t&&!n&&!r)return Object(i.createElement)(V,{"aria-busy":"false",content:f,featuredMediaUrl:w,featuredMediaTitle:E,formattedPrice:X(j,d),multiple:y,title:_});var C=x?o.Disabled:"div";return Object(i.createElement)(C,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(G,{featuredMediaId:b,featuredMediaUrl:w,featuredMediaTitle:E,setAttributes:p}),Object(i.createElement)("div",null,Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(l,"-title-error"),className:k()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(R.a)("Item name"),onChange:this.handleTitleChange,placeholder:Object(R.a)("Item name"),required:!0,type:"text",value:_}),Object(i.createElement)(D,{id:"".concat(l,"-title-error"),isError:!0},r),Object(i.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(R.a)("Describe your item in a few words"),onChange:this.handleContentChange,placeholder:Object(R.a)("Describe your item in a few words"),value:f}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(R.a)("Currency"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(l,"-price-error"),className:k()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(R.a)("Price"),onChange:this.handlePriceChange,placeholder:X(0,d,!1),required:!0,step:"1",type:"number",value:j||""}),Object(i.createElement)(D,{id:"".concat(l,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(o.ToggleControl,{checked:Boolean(y),label:Object(R.a)("Allow people to buy more than one item at a time"),onChange:this.handleMultipleChange})),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(l,"-email-").concat(t?"error":"help"),className:k()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(R.a)("Email"),onChange:this.handleEmailChange,placeholder:Object(R.a)("Email"),required:!0,type:"email",value:m}),Object(i.createElement)(D,{id:"".concat(l,"-email-error"),isError:!0},t),Object(i.createElement)(D,{id:"".concat(l,"-email-help")},Object(R.a)("Enter the email address associated with your PayPal account. Don’t have an account?")+" ",Object(i.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(R.a)("Create one on PayPal")))))}}]),t}(i.Component),ee=Object(C.withSelect)(function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,o=e("core/editor"),a=o.isSavingPost,c=o.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(S.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(S.get)(c(),["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:p,featuredMedia:u?i(u):null}}),te=Object(x.compose)(ee,x.withInstanceId)(Q);n(503);var ne={title:Object(R.a)("Simple Payments button"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(R.a)("Lets you create and embed credit and debit card payment buttons with minimal setup.")),Object(i.createElement)(o.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(R.a)("Support reference"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(R.c)("shop","block search term"),Object(R.c)("sell","block search term"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:te,save:function(e){var t=e.attributes.productId;return t?Object(i.createElement)(i.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",ne)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(18),o=n.n(i),a=n(0),c=n(21),s=n(2),l=n(7),u=(n(372),n(8)),p=n.n(u),h=n(12),f=n.n(h),d=n(9),m=n.n(d),b=n(10),g=n.n(b),v=n(4),y=n.n(v),j=n(11),O=n.n(j),_=n(13),k=n.n(_),w=n(24),E=n(80),x=n.n(E),C=n(20),S=n(1),A=n(30),M=n(81),T=n(132),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],F=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(y()(n)),n.onBlurTo=n.onBlurTo.bind(y()(n)),n.onChangeTo=n.onChangeTo.bind(y()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(y()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(y()(n)),n.getToValidationError=n.getToValidationError.bind(y()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(y()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(y()(n)),n.hasEmailError=n.hasEmailError.bind(y()(n));var a=(i[0].attributes.to?i[0].attributes.to:"").split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:a&&a.length?a:null},n}return O()(t,e),f()(t,[{key:"getIntroMessage",value:function(){return Object(S.a)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?")}},{key:"getEmailHelpMessage",value:function(){return Object(S.a)("You can enter multiple email addresses separated by commas.")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!x.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(w.sprintf)(Object(S.a)("%s is not a valid email address."),e[0].email):e[0];if(2===e.length)return Object(w.sprintf)(Object(S.a)("%s and %s are not a valid email address."),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(w.sprintf)(Object(S.a)("%s are not a valid email address."),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,i=r.subject,o=r.to;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(S.a)("Email address"),placeholder:Object(S.a)("name@example.com"),onKeyDown:this.preventEnterSubmittion,value:o,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(a.createElement)(T.default,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(a.createElement)(T.default,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(a.createElement)(s.TextControl,{label:Object(S.a)("Email subject line"),value:i,placeholder:Object(S.a)("Let's work together"),onChange:this.onChangeSubject}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=k()(t,"jetpack-contact-form",{"has-intro":!n});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Email feedback settings")},this.renderToAndSubjectFields())),Object(a.createElement)("div",{className:r},!n&&Object(a.createElement)(s.Placeholder,{label:Object(S.a)("Form"),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},Object(a.createElement)("form",{onSubmit:this.onFormSettingsSet},Object(a.createElement)("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),Object(a.createElement)("p",{className:"jetpack-contact-form__intro-message"},Object(S.a)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)")),Object(a.createElement)("div",{className:"jetpack-contact-form__create"},Object(a.createElement)(s.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(S.a)("Add form"))))),n&&Object(a.createElement)(l.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(a.createElement)(M.a,this.props)))}}]),t}(a.Component),N=Object(C.compose)([C.withInstanceId])(F),z=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,i=e.isSelected,o=e.required;return Object(a.createElement)("div",{className:"jetpack-field-label"},Object(a.createElement)(l.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(S.a)("Write label…")}),i&&Object(a.createElement)(s.ToggleControl,{label:Object(S.a)("Required"),className:"jetpack-field-label__required",checked:o,onChange:function(e){return t({required:e})}}),!i&&o&&Object(a.createElement)("span",{className:"required"},Object(S.a)("(required)")))};var D=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,o=e.setAttributes,c=e.defaultValue,u=e.placeholder,p=e.id;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:k()("jetpack-field",{"is-selected":t})},Object(a.createElement)(s.TextControl,{type:n,label:Object(a.createElement)(z,{required:r,label:i,setAttributes:o,isSelected:t}),placeholder:u,value:u,onChange:function(e){return o({placeholder:e})},title:Object(S.a)("Set the placeholder text")})),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.TextControl,{label:Object(S.a)("Default Value"),value:c,onChange:function(e){return o({defaultValue:e})}}),Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:p,onChange:function(e){return o({id:e})}}))))};var R=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,o=e.defaultValue,c=e.placeholder,u=e.id;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"jetpack-field"},Object(a.createElement)(s.TextareaControl,{label:Object(a.createElement)(z,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:c,value:c,onChange:function(e){return r({placeholder:e})},title:Object(S.a)("Set the placeholder text")})),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.TextControl,{label:Object(S.a)("Default Value"),value:o,onChange:function(e){return r({defaultValue:e})}}),Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:u,onChange:function(e){return r({id:e})}}))))},I=Object(C.withInstanceId)(function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,o=e.isSelected,c=e.defaultValue,u=e.id;return Object(a.createElement)(s.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:c}),Object(a.createElement)(z,{required:n,label:r,setAttributes:i,isSelected:o}),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.ToggleControl,{label:Object(S.a)("Default Checked State"),checked:c,onChange:function(e){return i({defaultValue:e})}}),Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:u,onChange:function(e){return i({id:e})}}))))})}),L=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.onKeyPress=n.onKeyPress.bind(y()(n)),n.onDeleteOption=n.onDeleteOption.bind(y()(n)),n.textInput=Object(a.createRef)(),n}return O()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(a.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(a.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(a.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(S.a)("Write option…"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(a.createElement)(s.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(S.a)("Remove option"),onClick:this.onDeleteOption}))}}]),t}(a.Component),B=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.addNewOption=n.addNewOption.bind(y()(n)),n.state={inFocus:null},n}return O()(t,e),f()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,i=t.required,o=t.label,c=t.setAttributes,u=t.isSelected,p=t.id,h=this.props.options,f=this.state.inFocus;return h.length||(h=[""],f=0),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(a.createElement)(z,{required:i,label:o,setAttributes:c,isSelected:u,resetFocus:function(){return e.setState({inFocus:null})}})},Object(a.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},h.map(function(t,r){return Object(a.createElement)(L,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===f&&u,isSelected:u})})),u&&Object(a.createElement)(s.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(S.a)("Insert option"),onClick:this.addNewOption},Object(S.a)("Add option"))),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:p,onChange:function(e){return c({id:e})}}))))}}]),t}(a.Component),q=Object(C.withInstanceId)(B),V={title:Object(S.a)("Form"),description:Object(S.a)("A simple way to get feedback from folks visiting your site."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(S.a)("email"),Object(S.a)("feedback"),Object(S.a)("contact")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(S.a)("Submit")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(S.a)("Submit")}},edit:N,save:l.InnerBlocks.Content,deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(S.a)("Submit")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!(!e.has_form_settings_set&&"Submit"===e.submit_button_text)},save:l.InnerBlocks.Content}]},H={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},U=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(c.getBlockType)(n).title:t.label},G=function(e){return function(t){return Object(a.createElement)(D,{type:e,label:U(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},$=function(e){return function(t){return Object(a.createElement)(q,{label:U(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},W=[{name:"field-text",settings:o()({},H,{title:Object(S.a)("Text"),description:Object(S.a)("When you need just a small amount of text, add a text input."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:G("text")})},{name:"field-name",settings:o()({},H,{title:Object(S.a)("Name"),description:Object(S.a)("Introductions are important. Add an input for folks to add their name."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:G("text")})},{name:"field-email",settings:o()({},H,{title:Object(S.a)("Email"),keywords:[Object(S.a)("e-mail"),Object(S.a)("mail"),"email"],description:Object(S.a)("Want to reply to folks? Add an email address input."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:G("email")})},{name:"field-url",settings:o()({},H,{title:Object(S.a)("Website"),keywords:["url",Object(S.a)("internet page"),"link"],description:Object(S.a)("Add an address input for a website."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:G("url")})},{name:"field-date",settings:o()({},H,{title:Object(S.a)("Date Picker"),keywords:[Object(S.a)("Calendar"),Object(S.a)("day month year","block search term")],description:Object(S.a)("The best way to set a date. Add a date picker."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:G("text")})},{name:"field-telephone",settings:o()({},H,{title:Object(S.a)("Telephone"),keywords:[Object(S.a)("Phone"),Object(S.a)("Cellular phone"),Object(S.a)("Mobile")],description:Object(S.a)("Add a phone number input."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:G("tel")})},{name:"field-textarea",settings:o()({},H,{title:Object(S.a)("Message"),keywords:[Object(S.a)("Textarea"),"textarea",Object(S.a)("Multiline text")],description:Object(S.a)("Let folks speak their mind. This text box is great for longer responses."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(a.createElement)(R,{label:U(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:o()({},H,{title:Object(S.a)("Checkbox"),keywords:[Object(S.a)("Confirm"),Object(S.a)("Accept")],description:Object(S.a)("Add a single checkbox."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(a.createElement)(I,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:o()({},H.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:o()({},H,{title:Object(S.a)("Checkbox Group"),keywords:[Object(S.a)("Choose Multiple"),Object(S.a)("Option")],description:Object(S.a)("People love options. Add several checkbox items."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:$("checkbox"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:o()({},H,{title:Object(S.a)("Radio"),keywords:[Object(S.a)("Choose"),Object(S.a)("Select"),Object(S.a)("Option")],description:Object(S.a)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items."),icon:Object(A.a)(Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(a.createElement)(s.Circle,{cx:"12",cy:"12",r:"5"}))),edit:$("radio"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:o()({},H,{title:Object(S.a)("Select"),keywords:[Object(S.a)("Choose"),Object(S.a)("Dropdown"),Object(S.a)("Option")],description:Object(S.a)("Compact, but powerful. Add a select box with several items."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:$("select"),attributes:o()({},H.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",V,W)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(41),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(0),j=n(50),O=n.n(j),_=n(1),k=n(2),w=n(7),E=n(28),x=n.n(E),C=n(13),S=n.n(C),A=n(5),M=n(64),T=n(24),P=n(20);function F(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var i=e[r],o=i.keywords,a=void 0===o?[]:o;if("string"==typeof i.label&&(a=[].concat(x()(a),[i.label])),n.push(i),n.length===t)break}return n}var N=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(d()(e),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(d()(e),"onChange",function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var i=n?F(r):[];n&&e.setState({selectedIndex:0,filteredOptions:i,query:t})}else e.reset()}),v()(d()(e),"onKeyDown",function(t){var n=e.state,r=n.isOpen,i=n.selectedIndex,o=n.filteredOptions;if(r){var a;switch(t.keyCode){case M.UP:a=(0===i?o.length:i)-1,e.setState({selectedIndex:a});break;case M.DOWN:a=(i+1)%o.length,e.setState({selectedIndex:a});break;case M.ENTER:e.select(o[i]);break;case M.LEFT:case M.RIGHT:case M.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,i=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then(function(t){var r;if(i===n.activePromise){var o=t.map(function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),a=F(o),c=a.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",o),v()(r,"filteredOptions",a),v()(r,"selectedIndex",c),v()(r,"isOpen",a.length>0),r)),n.announce(a)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(T.sprintf)(Object(_.b)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack"),e.length),"assertive"):t(Object(_.a)("No results."),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,i=r.children,o=r.instanceId,a=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,h=a.className,f=l.length>0,d=f?"components-autocomplete-listbox-".concat(o):null,m=f?"components-autocomplete-item-".concat(o,"-").concat(p):null;return Object(y.createElement)("div",{className:"components-autocomplete"},i({isExpanded:f,listBoxId:d,activeId:m,onChange:t,onKeyDown:n}),f&&Object(y.createElement)(k.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(y.createElement)("div",{id:d,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,function(t,n){return Object(y.createElement)(k.Button,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(y.Component),z=Object(P.compose)([k.withSpokenMessages,P.withInstanceId,k.withFocusOutside])(N),D=Object(_.a)("Add a marker…"),R=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"getOptionCompletion",function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text}),v()(d()(e),"search",function(t){var n=e.props,r=n.apiKey,i=n.onError,o="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise(function(e,t){var n=new XMLHttpRequest;n.open("GET",o),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var o=JSON.parse(n.responseText);i(o.statusText,o.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()})}),v()(d()(e),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(y.createRef)(),e.containerRef=Object(y.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(y.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.containerRef.current.querySelector("input").focus()},50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(y.createElement)("div",{ref:this.containerRef},Object(y.createElement)(k.BaseControl,{label:t,className:"components-location-search"},Object(y.createElement)(z,{completer:this.autocompleter,onReset:this.onReset},function(t){var n=t.isExpanded,r=t.listBoxId,i=t.activeId,o=t.onChange,a=t.onKeyDown;return Object(y.createElement)(k.TextControl,{placeholder:D,ref:e.textRef,onChange:o,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":i,onKeyDown:a})})))}}]),t}(y.Component);R.defaultProps={onError:function(){}};var I=R,L=(n(380),function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,i=e.apiKey;return Object(y.createElement)(k.Button,{className:"component__add-point"},Object(_.a)("Add marker"),Object(y.createElement)(k.Popover,{className:"component__add-point__popover"},Object(y.createElement)(k.Button,{className:"component__add-point__close",onClick:t},Object(y.createElement)(k.Dashicon,{icon:"no"})),Object(y.createElement)(I,{onAddPoint:n,label:Object(_.a)("Add a location"),apiKey:i,onError:r})))}}]),t}(y.Component));L.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var B=L,q=(n(382),function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"onDeletePoint",function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,i=r.points,o=r.onChange,a=i.slice(0);a.splice(n,1),o(a)}),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,i=r.points,o=r.onChange,a=i.slice(0);a[n][e]=t,o(a)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,n){return Object(y.createElement)(k.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(y.createElement)(k.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(y.createElement)(k.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(y.createElement)(k.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(y.createElement)(k.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return Object(y.createElement)("div",{className:"component__locations"},Object(y.createElement)(k.Panel,{className:"component__locations__panel"},t))}}]),t}(y.Component));q.defaultProps={points:Object.freeze([]),onChange:function(){}};var V=q,H=n(164),U=(n(384),function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,i=e.label,o=t.map(function(e,t){var i=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(y.createElement)(k.Button,{className:i,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)});return Object(y.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(y.createElement)("label",{className:"components-base-control__label"},i),Object(y.createElement)(k.ButtonGroup,null,o))}}]),t}(y.Component));U.defaultProps={label:"",options:[],value:null,onChange:function(){}};var G=U,$=0,W=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"addPoint",function(t){var n=e.props,r=n.attributes,i=n.setAttributes,o=r.points,a=o.slice(0),c=!1;o.map(function(e){e.id===t.id&&(c=!0)}),c||(a.push(t),i({points:a}),e.setState({addPointVisibility:!1}))}),v()(d()(e),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(d()(e),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(d()(e),"updateAPIKey",function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")}),v()(d()(e),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(d()(e),"onError",function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)}),e.state={addPointVisibility:!1,apiState:$},e.mapRef=Object(y.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,i=this.state.apiKey,o="/wpcom/v2/service-api-keys/mapbox",a=t?{path:o,method:n,data:{service_api_key:t}}:{path:o,method:n};this.setState({apiRequestOutstanding:!0},function(){O()(a).then(function(t){r.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})},function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:i})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,o=t.attributes,a=t.noticeUI,c=t.notices,s=o.mapStyle,l=o.mapDetails,u=o.points,p=o.zoom,h=o.mapCenter,f=o.markerColor,d=o.align,m=this.state,b=m.addPointVisibility,g=m.apiKey,v=m.apiKeyControl,j=m.apiState,O=m.apiRequestOutstanding,E=Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.BlockControls,null,Object(y.createElement)(w.BlockAlignmentToolbar,{value:d,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(y.createElement)(k.Toolbar,null,Object(y.createElement)(k.IconButton,{icon:i.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(y.createElement)(w.InspectorControls,null,Object(y.createElement)(k.PanelBody,{title:Object(_.a)("Map Theme")},Object(y.createElement)(G,{value:s,onChange:function(e){return r({mapStyle:e})},options:i.a.mapStyleOptions}),Object(y.createElement)(k.ToggleControl,{label:Object(_.a)("Show street names"),checked:l,onChange:function(e){return r({mapDetails:e})}})),Object(y.createElement)(w.PanelColorSettings,{title:Object(_.a)("Colors"),initialOpen:!0,colorSettings:[{value:f,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),u.length?Object(y.createElement)(k.PanelBody,{title:Object(_.a)("Markers"),initialOpen:!1},Object(y.createElement)(V,{points:u,onChange:function(e){r({points:e})}})):null,Object(y.createElement)(k.PanelBody,{title:Object(_.a)("Mapbox Access Token"),initialOpen:!1},Object(y.createElement)(k.TextControl,{label:Object(_.a)("Mapbox Access Token"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(y.createElement)(k.ButtonGroup,null,Object(y.createElement)(k.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(_.a)("Update Token")),Object(y.createElement)(k.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(_.a)("Remove Token")))))),x=Object(y.createElement)(k.Placeholder,{icon:i.a.icon},Object(y.createElement)(k.Spinner,null)),C=Object(y.createElement)(k.Placeholder,{icon:i.a.icon,label:Object(_.a)("Map"),notices:c},Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"components-placeholder__instructions"},Object(_.a)("To use the map block, you need an Access Token."),Object(y.createElement)("br",null),Object(y.createElement)(k.ExternalLink,{href:"https://www.mapbox.com"},Object(_.a)("Create an account or log in to Mapbox.")),Object(y.createElement)("br",null),Object(_.a)("Locate and copy the default access token. Then, paste it into the field below.")),Object(y.createElement)(k.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:O,placeholder:Object(_.a)("Paste Token Here"),value:v,onChange:this.updateAPIKeyControl}),Object(y.createElement)(k.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:O||!v||v.length<1,onClick:this.updateAPIKey},Object(_.a)("Set Token")))),S=Object(y.createElement)(y.Fragment,null,E,Object(y.createElement)("div",{className:n},Object(y.createElement)(H.a,{ref:this.mapRef,mapStyle:s,mapDetails:l,points:u,zoom:p,mapCenter:h,markerColor:f,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:g,onSetPoints:function(e){return r({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},b&&Object(y.createElement)(B,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:g,onError:this.onError,tagName:"AddPoint"}))));return Object(y.createElement)(y.Fragment,null,a,j===$&&x,1===j&&C,2===j&&S)}}]),t}(y.Component),K=Object(k.withNotices)(W),Z=function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,i=e.points,o=e.zoom,a=e.mapCenter,c=e.markerColor,s=i.map(function(e,t){var n=e.coordinates,r=n.longitude,i="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(y.createElement)("li",{key:t},Object(y.createElement)("a",{href:i},e.title))}),l=t?"align".concat(t):null;return Object(y.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(i),"data-zoom":o,"data-map-center":JSON.stringify(a),"data-marker-color":c},i.length>0&&Object(y.createElement)("ul",null,s))}}]),t}(y.Component),J=(n(186),n(386),i.a.name),Y={title:i.a.title,icon:i.a.icon,category:i.a.category,keywords:i.a.keywords,description:i.a.description,attributes:i.a.attributes,supports:i.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==i.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z};Object(r.a)(J,Y)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(28),s=n.n(c),l=n(8),u=n.n(l),p=n(12),h=n.n(p),f=n(9),d=n.n(f),m=n(10),b=n.n(m),g=n(4),v=n.n(g),y=n(11),j=n.n(y),O=n(3),_=n.n(O),k=n(35),w=n(20),E=n(25),x=n(7),C=n(5),S=n(74),A=n(13),M=n.n(A),T=n(163),P=n(73),F=function(e){function t(e){var n;return u()(this,t),n=d()(this,b()(t).call(this,e)),_()(v()(n),"pendingRequestAnimationFrame",null),_()(v()(n),"resizeObserver",null),_()(v()(n),"initializeResizeObserver",function(e){n.clearResizeObserver(),n.resizeObserver=new S.a(function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame(function(){Object(P.d)(e),e.update()})}),n.resizeObserver.observe(e.el)}),_()(v()(n),"clearPendingRequestAnimationFrame",function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)}),_()(v()(n),"clearResizeObserver",function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)}),_()(v()(n),"prefersReducedMotion",function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}),_()(v()(n),"buildSwiper",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(T.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:P.b,imagesReady:P.d,paginationRender:P.c,transitionEnd:P.a})}),n.slideshowRef=Object(i.createRef)(),n.btnNextRef=Object(i.createRef)(),n.btnPrevRef=Object(i.createRef)(),n.paginationRef=Object(i.createRef)(),n}return j()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.buildSwiper().then(function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.align,i=n.autoplay,o=n.delay,a=n.effect,c=n.images;if(r===e.align&&Object(C.isEqual)(c,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||i!==e.autoplay||o!==e.delay||c!==e.images){var s=c.length===e.images.length?this.swiperInstance.realIndex:e.images.length;this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(s).then(function(e){t.swiperInstance=e,t.initializeResizeObserver(e)})}}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,a=e.effect,c=e.images;return Object(i.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":a},Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(i.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrappper swiper-wrapper"},c.map(function(e){var t=e.alt,n=e.caption,r=e.id,a=e.url;return Object(i.createElement)("li",{className:M()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(k.isBlobURL)(a)&&"is-transient"),key:r},Object(i.createElement)("figure",null,Object(i.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:a}),Object(k.isBlobURL)(a)&&Object(i.createElement)(o.Spinner,null),n&&Object(i.createElement)(x.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))})),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(i.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(i.Component);_()(F,"defaultProps",{effect:"slide"});var N=F,z=(n(505),["image"]),D=[{label:Object(a.c)("Slide","Slideshow transition effect"),value:"slide"},{label:Object(a.c)("Fade","Slideshow transition effect"),value:"fade"}],R=function(e){return Object(C.pick)(e,["alt","id","link","url","caption"])},I=function(e){function t(){var e;return u()(this,t),e=d()(this,b()(t).apply(this,arguments)),_()(v()(e),"onSelectImages",function(t){(0,e.props.setAttributes)({images:t.map(function(e){return R(e)})})}),_()(v()(e),"onRemoveImage",function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,function(e,n){return t!==n});e.setState({selectedImage:null}),e.props.setAttributes({images:n})}}),_()(v()(e),"addFiles",function(t){var n=e.props.attributes.images||[],r=e.props,i=r.lockPostSaving,o=r.unlockPostSaving,a=r.noticeOperations,c=r.setAttributes;i("slideshowBlockLock"),Object(x.mediaUpload)({allowedTypes:z,filesList:t,onFileChange:function(e){var t=e.map(function(e){return R(e)});c({images:[].concat(s()(n),s()(t))}),t.every(function(e){return Object(k.isBlobURL)(e.url)})||o("slideshowBlockLock")},onError:a.createErrorNotice})}),_()(v()(e),"uploadFromFiles",function(t){return e.addFiles(t.target.files)}),e.state={selectedImage:null},e}return j()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,c=e.noticeOperations,s=e.noticeUI,l=e.setAttributes,u=t.align,p=t.autoplay,h=t.delay,f=t.effect,d=t.images,m="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(x.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Autoplay")},Object(i.createElement)(o.ToggleControl,{label:Object(a.a)("Autoplay"),help:Object(a.a)("Autoplay between slides"),checked:p,onChange:function(e){l({autoplay:e})}}),p&&Object(i.createElement)(o.RangeControl,{label:Object(a.a)("Delay between transitions (in seconds)"),value:h,onChange:function(e){l({delay:e})},min:1,max:5}),p&&m&&Object(i.createElement)("span",null,Object(a.a)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser."))),Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Effects")},Object(i.createElement)(o.SelectControl,{label:Object(a.a)("Transition effect"),value:f,onChange:function(e){l({effect:e})},options:D}))),Object(i.createElement)(x.BlockControls,null,!!d.length&&Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(x.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:z,multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.a)("Edit Slideshow"),icon:"edit",onClick:t})}}))));return 0===d.length?Object(i.createElement)(i.Fragment,null,b,Object(i.createElement)(x.MediaPlaceholder,{icon:"format-gallery",className:n,labels:{title:Object(a.a)("Slideshow"),instructions:Object(a.a)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:z,multiple:!0,notices:s,onError:c.createErrorNotice})):Object(i.createElement)(i.Fragment,null,b,s,Object(i.createElement)(N,{align:u,autoplay:p,className:n,delay:h,effect:f,images:d}),Object(i.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),r&&Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(i.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(a.a)("Upload an image"))))}}]),t}(i.Component),L=Object(w.compose)(Object(E.withDispatch)(function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}}),o.withNotices)(I),B=n(21),q={from:[{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=Object(C.filter)(e.images,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(B.createBlock)("jetpack/slideshow",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):Object(B.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images;return Object(B.createBlock)("core/gallery",{images:t})}},{type:"block",blocks:["jetpack/tiled-gallery"],transform:function(e){var t=e.images;return Object(B.createBlock)("jetpack/tiled-gallery",{images:t},[])}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(B.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(B.createBlock)("core/image")}}]},V=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(i.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),H={title:Object(a.a)("Slideshow"),category:"jetpack",keywords:[Object(a.a)("image"),Object(a.a)("gallery"),Object(a.a)("slider")],description:Object(a.a)("Add an interactive slideshow."),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"}},supports:{align:["center","wide","full"],html:!1},icon:V,edit:L,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,o=t.delay,a=t.effect,c=t.images,s=e.className;return Object(i.createElement)(N,{align:n,autoplay:r,className:s,delay:o,effect:a,images:c})},transforms:q};Object(r.a)("slideshow",H)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(8),s=n.n(c),l=n(12),u=n.n(l),p=n(9),h=n.n(p),f=n(10),d=n.n(f),m=n(11),b=n.n(m),g=n(7),v=[{height:250,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(a.a)("Rectangle 300x250"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(a.a)("Leaderboard 728x90"),tag:"leaderboard",width:728,editorPadding:40},{height:50,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(a.a)("Mobile Leaderboard 320x50"),tag:"mobile_leaderboard",width:320,editorPadding:60},{height:600,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(i.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(a.a)("Wide Skyscraper 160x600"),tag:"wideskyscraper",width:160,editorPadding:30}],y=Object(a.a)("Pick an ad format");function j(e){var t=e.value,n=e.onChange;return Object(i.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(o.Toolbar,{controls:[{icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:y,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(i.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},v.map(function(e){var a=e.tag,c=e.name,s=e.icon;return Object(i.createElement)(o.MenuItem,{className:a===t?"is-active":void 0,icon:s,isSelected:a===t,key:a,onClick:function(){n(a),r()},role:"menuitemcheckbox"},c)}))}})}n(511);var O=function(e){function t(){return s()(this,t),h()(this,d()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.format,c=v.filter(function(e){return e.tag===r})[0];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(g.BlockControls,null,Object(i.createElement)(j,{value:r,onChange:function(e){return n({format:e})}})),Object(i.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(r)},Object(i.createElement)("div",{className:"jetpack-wordads__ad",style:{width:c.width,height:c.height+c.editorPadding}},Object(i.createElement)("div",{className:"jetpack-wordads__header"},Object(a.a)("Advertisements")),Object(i.createElement)(o.Placeholder,{icon:k,label:_}),Object(i.createElement)("div",{className:"jetpack-wordads__footer"},Object(a.a)("Report this Ad")))))}}]),t}(i.Component),_=Object(a.a)("Ad"),k=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),w={title:_,description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.a)("Earn income by adding high quality ads to your post")),Object(i.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(a.a)("Learn all about WordAds"))),icon:k,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"}},category:"jetpack",keywords:[Object(a.a)("ads"),"WordAds",Object(a.a)("Advertisement")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:O,save:function(){return null}};Object(r.a)("wordads",w)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(30),s=(n(370),n(56)),l=n.n(s),u=n(8),p=n.n(u),h=n(12),f=n.n(h),d=n(9),m=n.n(d),b=n(10),g=n.n(b),v=n(4),y=n.n(v),j=n(11),O=n.n(j),_=n(3),k=n.n(_),w=n(7),E=n(50),x=n.n(E),C=n(13),S=n.n(C),A=n(135),M=n(18),T=n.n(M),P=n(5),F="09:00",N="17:00",z=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=g()(t)).call.apply(e,[this].concat(c))),k()(y()(n),"renderInterval",function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("div",{className:"business-hours__row"},Object(i.createElement)("div",{className:S()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(i.createElement)("div",{className:S()(r.name,"business-hours__hours")},Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.a)("Opening"),value:c,className:"business-hours__open",placeHolder:F,onChange:function(e){n.setHour(e,"opening",t)}}),Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.a)("Closing"),value:s,className:"business-hours__close",placeHolder:N,onChange:function(e){n.setHour(e,"closing",t)}})),Object(i.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(i.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(i.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(i.createElement)("div",{className:S()(r.name,"business-hours__day")}," "),Object(i.createElement)("div",{className:S()(r.name,"business-hours__hours")},Object(i.createElement)(o.IconButton,{isLink:!0,label:Object(a.a)("Add Hours"),onClick:n.addInterval},Object(a.a)("Add Hours"))),Object(i.createElement)("div",{className:"business-hours__remove"}," ")))}),k()(y()(n),"setHour",function(e,t,r){var i=n.props,o=i.day,a=i.attributes;(0,i.setAttributes)({days:a.days.map(function(n){return n.name===o.name?T()({},n,{hours:n.hours.map(function(n,i){return i===r?T()({},n,k()({},t,e)):n})}):n})})}),k()(y()(n),"toggleClosed",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){if(t.name===r.name){var n=e?[{opening:F,closing:N}]:[];return T()({},t,{hours:n})}return t})})}),k()(y()(n),"addInterval",function(){var e=n.props,t=e.day,r=e.attributes,i=e.setAttributes,o=r.days;t.hours.push({opening:"",closing:""}),i({days:o.map(function(e){return e.name===t.name?T()({},e,{hours:t.hours}):e})})}),k()(y()(n),"removeInterval",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){return r.name===t.name?T()({},t,{hours:t.hours.filter(function(t,n){return e!==n})}):t})})}),n}return O()(t,e),f()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(i.createElement)(o.ToggleControl,{label:this.isClosed()?Object(a.a)("Closed"):Object(a.a)("Open"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(i.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(i.createElement)("div",{className:S()(e.name,"business-hours__day")},this.renderDayToggle()),Object(i.createElement)("div",{className:S()(e.name,"closed","business-hours__hours")}," "),Object(i.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(i.Component),D=n(33),R=n.n(D),I=n(24),L=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=g()(t)).call.apply(e,[this].concat(o))),k()(y()(n),"renderInterval",function(e,t){return Object(i.createElement)("dd",{key:t},Object(I.sprintf)(Object(a.c)("From %s to %s","from business opening hour to closing hour"),n.formatTime(e.opening),n.formatTime(e.closing)))}),n}return O()(t,e),f()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=R()(n,2),i=r[0],o=r[1],a=new Date;return!(!i||!o)&&(a.setHours(i),a.setMinutes(o),Object(A.date)(t,a))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter(function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("dt",{className:n.name},r.days[n.name]),Object(P.isEmpty)(o)?Object(i.createElement)("dd",null,Object(a.c)("Closed","business is closed on a full day")):o.map(this.renderInterval))}}]),t}(i.Component),B={days:{Sun:Object(a.a)("Sunday"),Mon:Object(a.a)("Monday"),Tue:Object(a.a)("Tuesday"),Wed:Object(a.a)("Wednesday"),Thu:Object(a.a)("Thursday"),Fri:Object(a.a)("Friday"),Sat:Object(a.a)("Saturday")},startOfWeek:0},q=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i))),k()(y()(n),"state",{localization:B,hasFetched:!1}),n}return O()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:B},function(){x()({path:"/wpcom/v2/business-hours/localized-week"}).then(function(t){e.setState({localization:t,hasFetched:!0})},function(){e.setState({localization:B,hasFetched:!0})})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=n.days,u=this.state,p=u.localization,h=u.hasFetched,f=p.startOfWeek,d=s.concat(s.slice(0,f)).slice(f);if(!h)return Object(i.createElement)(o.Placeholder,{icon:Object(i.createElement)(w.BlockIcon,{icon:V}),label:Object(a.a)("Loading business hours")});if(!c){var m=Object(A.__experimentalGetSettings)().formats.time;return Object(i.createElement)("dl",{className:S()(r,"jetpack-business-hours")},d.map(function(e,t){return Object(i.createElement)(L,{key:t,day:e,localization:p,timeFormat:m})}))}return Object(i.createElement)("div",{className:S()(r,"is-edit")},d.map(function(t,n){return Object(i.createElement)(z,l()({key:n,day:t,localization:p},e.props))}))}}]),t}(i.Component),V=Object(c.a)(Object(i.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),H={title:Object(a.a)("Business Hours"),description:Object(a.a)("Display opening hours for your business."),icon:V,category:"jetpack",supports:{html:!0},keywords:[Object(a.c)("opening hours","block search term"),Object(a.c)("closing time","block search term"),Object(a.c)("schedule","block search term")],attributes:{days:{type:"array",default:[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}]}},edit:function(e){return Object(i.createElement)(q,e)},save:function(){return null}};Object(r.a)("business-hours",H)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=(n(388),n(8)),c=n.n(a),s=n(12),l=n.n(s),u=n(9),p=n.n(u),h=n(10),f=n.n(h),d=n(4),m=n.n(d),b=n(11),g=n.n(b),v=n(3),y=n.n(v),j=n(7),O=n(20),_=n(25),k=n(344),w=n.n(k),E=n(1),x=new w.a,C=function(e){"A"===e.target.nodeName&&(window.confirm(Object(E.a)("Are you sure you wish to leave this page?"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(i.createElement)(i.RawHTML,{className:t,onClick:C},r.length?x.render(r):"")},A="editor",M=function(e){function t(){var e,n;c()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=p()(this,(e=f()(t)).call.apply(e,[this].concat(i))),y()(m()(n),"input",null),y()(m()(n),"state",{activePanel:A}),y()(m()(n),"bindInput",function(e){n.input=e}),y()(m()(n),"updateSource",function(e){return n.props.setAttributes({source:e})}),y()(m()(n),"handleKeyDown",function(e){var t=n.props,r=t.attributes,i=t.removeBlock,o=r.source;8===e.keyCode&&""===o&&(i(),e.preventDefault())}),y()(m()(n),"toggleMode",function(e){return function(){return n.setState({activePanel:e})}}),n}return g()(t,e),l()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(A)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===A&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(i.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(i.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,a=this.state.activePanel;return!r&&this.isEmpty()?Object(i.createElement)("p",{className:"".concat(n,"__placeholder")},Object(E.a)("Write your _Markdown_ **here**...")):Object(i.createElement)("div",{className:n},Object(i.createElement)(j.BlockControls,null,Object(i.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(A,Object(E.a)("Markdown")),this.renderToolbarButton("preview",Object(E.a)("Preview")))),"preview"!==a&&r?Object(i.createElement)(j.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(E.a)("Markdown"),innerRef:this.bindInput,value:o}):Object(i.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(i.Component),T=Object(O.compose)([Object(_.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(_.withDispatch)(function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(n)}}})])(M),P={title:Object(E.a)("Markdown"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(E.a)("Use regular characters and punctuation to style text, links, and lists.")),Object(i.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(E.a)("Support reference"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(i.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(i.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(E.a)("formatting"),Object(E.a)("syntax"),Object(E.a)("markup")],attributes:{source:{type:"string"}},supports:{html:!1},edit:T,save:function(e){var t=e.attributes,n=e.className;return Object(i.createElement)(S,{className:n,source:t.source})}};Object(r.a)("markdown",P)},function(e,t,n){"use strict";n.r(t);var r=n(33),i=n.n(r),o=n(18),a=n.n(o),c=n(35),s=n(21),l=n(7),u=n(354),p=n(5),h=n(72),f=n.n(h),d=n(8),m=n.n(d),b=n(12),g=n.n(b),v=n(9),y=n.n(v),j=n(10),O=n.n(j),_=n(4),k=n.n(_),w=n(11),E=n.n(w),x=n(3),C=n.n(x),S=n(0),A=n(50),M=n.n(A),T=n(20),P=n(25),F=n(2),N=n(13),z=n.n(N),D=n(1),R=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(F.Spinner,null),Object(S.createElement)("p",null,t))},I=Object(T.createHigherOrderComponent)(Object(T.compose)([Object(P.withSelect)(function(e,t){var n=t.attributes,r=n.guid,i=n.src,o=e("core"),a=o.getEmbedPreview,s=o.isRequestingEmbedPreview,l=!!r&&"https://videopress.com/v/".concat(r),u=!!l&&a(l);return{isFetchingPreview:!!l&&s(l),isUploading:Object(c.isBlobURL)(i),preview:u}}),function(e){return function(t){function n(){var e;return m()(this,n),e=y()(this,O()(n).apply(this,arguments)),C()(k()(e),"fallbackToCore",function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})}),C()(k()(e),"setGuid",f()(regeneratorRuntime.mark(function t(){var n,r,i,o,a,c,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props,r=n.attributes,i=n.setAttributes,o=r.id){t.next=5;break}return i({guid:void 0}),t.abrupt("return");case 5:return t.prev=5,e.setState({isFetchingMedia:!0}),t.next=9,M()({path:"/wp/v2/media/".concat(o)});case 9:if(a=t.sent,e.setState({isFetchingMedia:!1}),c=e.props.attributes.id,o===c){t.next=14;break}return t.abrupt("return");case 14:e.setState({media:a}),(s=Object(p.get)(a,"jetpack_videopress_guid"))?i({guid:s}):e.fallbackToCore(),t.next=23;break;case 19:t.prev=19,t.t0=t.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return t.stop()}},t,this,[[5,19]])}))),C()(k()(e),"switchToEditing",function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})}),C()(k()(e),"onRemovePoster",function(){e.props.setAttributes({poster:""}),e.posterImageButton.current.focus()}),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){this.props.attributes.id!==e.attributes.id&&this.setGuid()}},{key:"render",value:function(){var t=this.props,n=t.attributes,r=t.className,i=t.isFetchingPreview,o=t.isSelected,a=t.isUploading,c=t.preview,s=t.setAttributes,u=this.state,p=u.fallback,h=u.isFetchingMedia;if(a)return Object(S.createElement)(R,{text:Object(D.a)("Uploading…")});if(h||i)return Object(S.createElement)(R,{text:Object(D.a)("Embedding…")});if(p||!c)return Object(S.createElement)(e,this.props);var f=c.html,d=c.scripts,m=n.caption;return Object(S.createElement)(S.Fragment,null,Object(S.createElement)(l.BlockControls,null,Object(S.createElement)(F.Toolbar,null,Object(S.createElement)(F.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(D.a)("Edit video"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)("figure",{className:z()(r,"wp-block-embed","is-type-video")},Object(S.createElement)(F.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(F.SandBox,{html:f,scripts:d}))),(!l.RichText.isEmpty(m)||o)&&Object(S.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(D.a)("Write caption…"),value:m,onChange:function(e){return s({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),L=Object(T.createHigherOrderComponent)(function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).caption,i=n.guid;if(!i)return e(t);var o="https://videopress.com/v/".concat(i);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(o,"\n")),!l.RichText.isEmpty(r)&&Object(S.createElement)(l.RichText.Content,{tagName:"figcaption",value:r}))}},"withVideoPressSave"),B=n(93);Object(u.addFilter)("blocks.registerBlockType","gutenberg/extensions/videopress",function(e,t){if("core/video"!==t)return e;var n=Object(B.a)("videopress"),r=n.available,o=n.unavailableReason;return r||["missing_plan","missing_module"].includes(o)?a()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:a()({},e.transforms,{from:[{type:"files",isMatch:function(e){return Object(p.every)(e,function(e){return 0===e.type.indexOf("video/")})},priority:9,transform:function(e,t){var n=[];return e.forEach(function(e){var r=Object(s.createBlock)("core/video",{src:Object(c.createBlobURL)(e)});Object(l.mediaUpload)({filesList:[e],onFileChange:function(e){var n=i()(e,1)[0],o=n.id,a=n.url;t(r.clientId,{id:o,src:a})},allowedTypes:["video"]}),n.push(r)}),n}}]}),supports:a()({},e.supports,{reusable:!1}),edit:I(e.edit),save:L(e.save),deprecated:[{attributes:e.attributes,save:e.save,isEligible:function(e){return!e.guid}}]}):e})},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(2),j=n(1),O=n(81),_=n(50),k=n.n(_),w=n(24),E=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(d()(n),"state",{subscriberCountString:""}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,a=t.subscribePlaceholder,c=t.showSubscribersTotal;return r?Object(i.createElement)("div",{className:n,role:"form"},Object(i.createElement)(y.ToggleControl,{label:Object(j.a)("Show total subscribers"),checked:c,onChange:function(){o({showSubscribersTotal:!c})}}),Object(i.createElement)(y.TextControl,{placeholder:a,disabled:!0,onChange:function(){}}),Object(i.createElement)(O.a,this.props)):Object(i.createElement)("div",{className:n,role:"form"},c&&Object(i.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(i.createElement)(y.TextControl,{placeholder:a}),Object(i.createElement)(O.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;k()({path:"/wpcom/v2/subscribers/count"}).then(function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(w.sprintf)(Object(w._n)("Join %s other subscriber","Join %s other subscribers",t.count),t.count)}):e.setState({subscriberCountString:Object(j.a)("Subscriber count unavailable")})})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(i.Component);var x=n(30),C=n(5),S={title:Object(j.a)("Subscription Form"),description:Object(i.createElement)("p",null,Object(j.a)("A form enabling readers to get notifications when new posts are published from this site.")),icon:Object(x.a)(Object(i.createElement)(y.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(j.a)("subscribe"),Object(j.a)("join"),Object(j.a)("follow")],attributes:{subscribePlaceholder:{type:"string",default:Object(j.a)("Email Address")},subscribeButton:{type:"string",default:Object(j.a)("Subscribe")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(j.a)("Subscribe")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,o=t.customBackgroundButtonColor,a=t.customTextButtonColor,c=t.submitButtonText;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(o,'" custom_text_button_color="').concat(a,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(j.a)("Subscribe")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(C.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",S)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=(n(484),n(8)),c=n.n(a),s=n(12),l=n.n(s),u=n(9),p=n.n(u),h=n(10),f=n.n(h),d=n(11),m=n.n(d),b=n(7),g=n(5),v=n(25),y=n(20),j=n(1);function O(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(j.a)("Preview unavailable: you haven't published enough posts with similar content.")),e.displayThumbnails&&Object(i.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(j.a)("Placeholder image")},Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(i.createElement)("title",null,Object(j.a)("Grey square")),Object(i.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)("title",null,Object(j.a)("Icon for image")),Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(j.a)("August 3, 2018")),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(j.a)("In “Uncategorized”")))}function _(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(i.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(i.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function k(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return c()(this,t),p()(this,f()(t).apply(this,arguments))}return m()(t,e),l()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,a=e.setAttributes,c=e.instanceId,s=t.displayContext,l=t.displayDate,u=t.displayThumbnails,p=t.postLayout,h=t.postsToShow,f=[{icon:"grid-view",title:Object(j.a)("Grid View"),onClick:function(){return a({postLayout:"grid"})},isActive:"grid"===p},{icon:"list-view",title:Object(j.a)("List View"),onClick:function(){return a({postLayout:"list"})},isActive:"list"===p}],d=[],m=0;m<h;m++)r[m]?d.push(Object(i.createElement)(_,{id:"related-posts-".concat(c,"-post-").concat(m),key:"jp-relatedposts-i2-"+m,post:r[m],displayThumbnails:u,displayDate:l,displayContext:s})):d.push(Object(i.createElement)(O,{id:"related-posts-".concat(c,"-post-").concat(m),key:"related-post-placeholder-"+m,displayThumbnails:u,displayDate:l,displayContext:s}));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(b.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(j.a)("Related Posts Settings")},Object(i.createElement)(o.ToggleControl,{label:Object(j.a)("Display thumbnails"),checked:u,onChange:function(e){return a({displayThumbnails:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(j.a)("Display date"),checked:l,onChange:function(e){return a({displayDate:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(j.a)("Display context (category or tag)"),checked:s,onChange:function(e){return a({displayContext:e})}}),Object(i.createElement)(o.RangeControl,{label:Object(j.a)("Number of posts"),value:h,onChange:function(e){return a({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(i.createElement)(b.BlockControls,null,Object(i.createElement)(o.Toolbar,{controls:f})),Object(i.createElement)("div",{className:n,id:"related-posts-".concat(c)},Object(i.createElement)("div",{className:"jp-relatedposts-i2","data-layout":p},Object(i.createElement)(k,{posts:d}))))}}]),t}(i.Component),E=Object(y.compose)(y.withInstanceId,Object(v.withSelect)(function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(g.get)(t(),"jetpack-related-posts",[])}}))(w),x={title:Object(j.a)("Related Posts"),icon:Object(i.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(i.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(j.c)("Similar content","block search term"),Object(j.c)("Linked","block search term"),Object(j.c)("Connected","block search term")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:function(){return null}};Object(r.a)("related-posts",x)},function(e,t,n){"use strict";n.r(t);var r=n(8),i=n.n(r),o=n(12),a=n.n(o),c=n(9),s=n.n(c),l=n(10),u=n.n(l),p=n(11),h=n.n(p),f=n(0),d=n(5),m=n(2),b=n(25),g=n(4),v=n.n(g),y=n(3),j=n.n(y),O=n(1),_=(n(486),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(o))),j()(v()(n),"state",{hasCopied:!1}),j()(v()(n),"onCopy",function(){return n.setState({hasCopied:!0})}),j()(v()(n),"onFinishCopy",function(){return n.setState({hasCopied:!1})}),j()(v()(n),"onFocus",function(e){return e.target.select()}),n}return h()(t,e),a()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(f.createElement)("div",{className:"jetpack-clipboard-input"},Object(f.createElement)(m.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(f.createElement)(m.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(O.a)("Copied!"):Object(O.c)("Copy","verb"))):null}}]),t}(f.Component)),k=n(121),w={render:function(){return Object(f.createElement)(x,null)}},E=function(e){function t(){return i()(this,t),s()(this,u()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(f.createElement)(k.default,null,Object(f.createElement)(m.PanelBody,{title:Object(O.a)("Shortlink"),className:"jetpack-shortlinks__panel"},Object(f.createElement)(_,{link:e}))):null}}]),t}(f.Component),x=Object(b.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(d.get)(t,"jetpack_shortlink","")}})(E),C=n(136);Object(C.a)("shortlinks",w)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(50),j=n.n(y),O=n(13),_=n.n(O),k=n(81),w=n(7),E=0,x=1,C=2,S="processing",A="success",M="error",T=function(e){function t(){var e;return s()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"componentDidMount",function(){e.apiCall()}),v()(d()(e),"onError",function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}),v()(d()(e),"apiCall",function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};j()(t).then(function(t){var n=t.connect_url,r="connected"===t.code?x:C;e.setState({connected:r,connectURL:n})},function(t){var n=C;e.setState({connected:n,connectURL:null}),e.onError(t.message)})}),v()(d()(e),"auditionNotification",function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)}),v()(d()(e),"clearAudition",function(){e.setState({audition:null})}),v()(d()(e),"updateProcessingText",function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification(S)}),v()(d()(e),"updateSuccessText",function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification(A)}),v()(d()(e),"updateErrorText",function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification(M)}),v()(d()(e),"updateEmailPlaceholder",function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()}),v()(d()(e),"labelForAuditionType",function(t){var n=e.props.attributes,r=n.processingLabel,i=n.successLabel,o=n.errorLabel;return t===S?r:t===A?i:t===M?o:null}),v()(d()(e),"roleForAuditionType",function(e){return e===M?"alert":"status"}),v()(d()(e),"render",function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=t.noticeUI,l=t.setAttributes,u=e.state,p=u.audition,h=u.connected,f=u.connectURL,d=n.emailPlaceholder,m=n.consentText,b=n.processingLabel,g=n.successLabel,y=n.errorLabel,j="wp-block-jetpack-mailchimp_",O=Object(i.createElement)(o.Placeholder,{icon:F,notices:c},Object(i.createElement)(o.Spinner,null)),S=Object(i.createElement)(o.Placeholder,{icon:F,label:Object(a.a)("Mailchimp"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(a.a)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers."),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:f,target:"_blank"},Object(a.a)("Set up Mailchimp form")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(a.a)("Re-check Connection")))),A=Object(i.createElement)(w.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Text Elements")},Object(i.createElement)(o.TextControl,{label:Object(a.a)("Email Placeholder"),value:d,onChange:e.updateEmailPlaceholder})),Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Notifications")},Object(i.createElement)(o.TextControl,{label:Object(a.a)("Processing text"),value:b,onChange:e.updateProcessingText}),Object(i.createElement)(o.TextControl,{label:Object(a.a)("Success text"),value:g,onChange:e.updateSuccessText}),Object(i.createElement)(o.TextControl,{label:Object(a.a)("Error text"),value:y,onChange:e.updateErrorText})),Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Mailchimp Connection")},Object(i.createElement)(o.ExternalLink,{href:f},Object(a.a)("Manage Connection")))),M=_()(r,v()({},"".concat(j,"notication-audition"),p)),T=Object(i.createElement)("div",{className:M},Object(i.createElement)(o.TextControl,{"aria-label":d,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:d,title:Object(a.a)("You can edit the email placeholder in the sidebar."),type:"email"}),Object(i.createElement)(k.a,e.props),Object(i.createElement)(w.RichText,{tagName:"p",placeholder:Object(a.a)("Write consent text"),value:m,onChange:function(e){return l({consentText:e})},inlineToolbar:!0}),p&&Object(i.createElement)("div",{className:"".concat(j,"notification ").concat(j).concat(p),role:e.roleForAuditionType(p)},e.labelForAuditionType(p)));return Object(i.createElement)(i.Fragment,null,s,h===E&&O,h===C&&S,h===x&&A,h===x&&T)}),e.state={audition:null,connected:E,connectURL:null},e.timeout=null,e}return b()(t,e),t}(i.Component),P=Object(o.withNotices)(T),F=(n(378),Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),N={title:Object(a.a)("Mailchimp"),icon:F,description:Object(a.a)("A form enabling readers to join a Mailchimp list."),category:"jetpack",keywords:[Object(a.c)("email","block search term"),Object(a.c)("subscription","block search term"),Object(a.c)("newsletter","block search term")],attributes:{emailPlaceholder:{type:"string",default:Object(a.a)("Enter your email")},submitButtonText:{type:"string",default:Object(a.a)("Join my email list")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(a.a)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.")},processingLabel:{type:"string",default:Object(a.a)("Processing…")},successLabel:{type:"string",default:Object(a.a)("Success! You're on the list.")},errorLabel:{type:"string",default:Object(a.a)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.")}},edit:P,save:function(){return null}};Object(r.a)("mailchimp",N)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(1),a=n(2),c=n(8),s=n.n(c),l=n(12),u=n.n(l),p=n(9),h=n.n(p),f=n(10),d=n.n(f),m=n(4),b=n.n(m),g=n(11),v=n.n(g),y=n(3),j=n.n(y),O=n(13),_=n.n(O),k=n(7),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",E=Object(o.a)("Search for a term or paste a Giphy URL"),x=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=h()(this,(e=d()(t)).call.apply(e,[this].concat(o))),j()(b()(n),"textControlRef",Object(i.createRef)()),j()(b()(n),"state",{captionFocus:!1,results:null}),j()(b()(n),"onFormSubmit",function(e){e.preventDefault(),n.onSubmit()}),j()(b()(n),"onSubmit",function(){var e=n.props.attributes.searchText;n.parseSearch(e)}),j()(b()(n),"parseSearch",function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-\.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))}),j()(b()(n),"urlForSearch",function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")}),j()(b()(n),"urlForId",function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))}),j()(b()(n),"splitAndLast",function(e,t){var n=e.split(t);return n[n.length-1]}),j()(b()(n),"fetch",function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,i=r[0];if(!i.images)return;n.setState({results:r},function(){n.selectGiphy(i)})}},t.send()}),j()(b()(n),"selectGiphy",function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),i="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:i})}),j()(b()(n),"setFocus",function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})}),j()(b()(n),"hasSearchText",function(){var e=n.props.attributes.searchText;return e&&e.length>0}),j()(b()(n),"thumbnailClicked",function(e){n.selectGiphy(e)}),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,h=n.searchText,f=n.paddingTop,d=this.state,m=d.captionFocus,b=d.results,g={paddingTop:f},v=_()(r,"align".concat(l)),y=Object(i.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(i.createElement)(a.TextControl,{className:"wp-block-jetpack-gif_input",label:E,placeholder:E,onChange:function(e){return s({searchText:e})},value:h}),Object(i.createElement)(a.Button,{isLarge:!0,onClick:this.onSubmit},Object(o.a)("Search")));return Object(i.createElement)("div",{className:v},Object(i.createElement)(k.InspectorControls,null,Object(i.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(i.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(i.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(i.createElement)("figure",null,c&&y,c&&b&&b.length>1&&Object(i.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map(function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(i.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})})),Object(i.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(i.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(i.createElement)("iframe",{src:p,title:h})),(!k.RichText.isEmpty(u)||c)&&!!p&&Object(i.createElement)(k.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:m,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(o.a)("Write caption…"),tagName:"figcaption",value:u})):Object(i.createElement)(a.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:C},y))}}]),t}(i.Component),C=(n(182),n(376),Object(o.a)("GIF")),S=Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(a.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:C,icon:S,category:"jetpack",keywords:[Object(o.a)("animated"),Object(o.a)("giphy"),Object(o.a)("image")],description:Object(o.a)("Search for and insert an animated image."),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:x,save:function(){return null}};Object(r.a)("gif",A)},,,,function(e,t){e.exports=wp.url},,function(e,t,n){n(75),n(355),n(122),n(132),n(121),n(521),n(517),n(515),n(528),n(527),n(518),n(522),n(514),n(525),n(526),n(516),n(519),n(524),n(513),n(523),n(520),n(557),e.exports=n(556)},function(e,t,n){},,function(e,t,n){},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(29),i=(n(537),n(8)),o=n.n(i),a=n(12),c=n.n(a),s=n(9),l=n.n(s),u=n(10),p=n.n(u),h=n(4),f=n.n(h),d=n(11),m=n.n(d),b=n(3),g=n.n(b),v=n(0),y=n(2),j=n(532),O=n(1),_=function(e){var t=e.attributes,n=t.url,r=t.view,i=e.className;return Object(v.createElement)("div",{className:i},Object(v.createElement)("iframe",{title:Object(O.a)("VR Image"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:Object(j.addQueryArgs)("https://vr.me.sh/view/",{url:n,view:r})}))},k=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=p()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"onChangeUrl",function(e){n.props.setAttributes({url:e.trim()})}),g()(f()(n),"onChangeView",function(e){n.props.setAttributes({view:e})}),n}return m()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className;return t.url&&t.view?Object(v.createElement)(_,{attributes:t,className:n}):Object(v.createElement)(y.Placeholder,{key:"placeholder",icon:"format-image",label:Object(O.a)("VR Image"),className:n},Object(v.createElement)(y.TextControl,{type:"url",label:Object(O.a)("Enter URL to VR image"),value:t.url,onChange:this.onChangeUrl}),Object(v.createElement)(y.SelectControl,{label:Object(O.a)("View Type"),disabled:!t.url,value:t.view,onChange:this.onChangeView,options:[{label:"",value:""},{label:Object(O.a)("360°"),value:"360"},{label:Object(O.a)("Cinema"),value:"cinema"}]}))}}]),t}(v.Component),w={title:Object(O.a)("VR Image"),description:Object(O.a)("Embed 360° photos and Virtual Reality (VR) content"),icon:"embed-photo",category:"jetpack",keywords:[Object(O.a)("vr"),Object(O.a)("panorama"),Object(O.a)("360")],supports:{html:!1},attributes:{url:{type:"string"},view:{type:"string"}},edit:k,save:_};Object(r.a)("vr",w)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(30),s=n(8),l=n.n(s),u=n(12),p=n.n(u),h=n(9),f=n.n(h),d=n(10),m=n.n(d),b=n(4),g=n.n(b),v=n(11),y=n.n(v),j=n(3),O=n.n(j),_=n(7),k=n(25),w=n(13),E=n.n(w),x=n(24),C=n(94),S=[{value:C.b,label:Object(a.a)("Show after threshold")},{value:C.c,label:Object(a.a)("Show before threshold")}],A=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=f()(this,(e=m()(t)).call.apply(e,[this].concat(i))),O()(g()(n),"setCriteria",function(e){return n.props.setAttributes({criteria:e})}),O()(g()(n),"setThreshold",function(e){e.length&&Number.isFinite(+e)&&+e>0&&n.props.setAttributes({threshold:e})}),n}return y()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===C.b?Object(x.sprintf)(Object(a.b)("This block will only appear to people who have visited this page at least once.","This block will only appear to people who have visited this page at least %d times.",+this.props.attributes.threshold),this.props.attributes.threshold):Object(x.sprintf)(Object(a.b)("This block will only appear to people who have never visited this page before.","This block will only appear to people who have visited this page less than %d times.",+this.props.attributes.threshold),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(i.createElement)("div",{className:E()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(i.createElement)(o.Placeholder,{icon:T,label:Object(a.a)("Repeat Visitor"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",label:Object(a.a)("Visit count threshold"),defaultValue:this.props.attributes.threshold,min:"1",onChange:this.setThreshold,type:"number"}),Object(i.createElement)(o.RadioControl,{label:Object(a.a)("Visibility"),selected:this.props.attributes.criteria,options:S,onChange:this.setCriteria})),Object(i.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(i.createElement)(_.InnerBlocks,null))}}]),t}(i.Component),M=Object(k.withSelect)(function(e,t){var n=e("core/editor"),r=n.isBlockSelected,i=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||i(t.clientId)}})(A),T=(n(535),Object(c.a)(Object(i.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:C.b},threshold:{type:"number",default:C.d}},category:"jetpack",description:Object(a.a)("Control block visibility based on how often a visitor has viewed the page."),icon:T,keywords:[Object(a.c)("traffic","block search term"),Object(a.c)("visitors","block search term"),Object(a.c)("visibility","block search term")],supports:{html:!1},title:Object(a.a)("Repeat Visitor"),edit:M,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(_.InnerBlocks.Content,null))}};Object(r.a)("repeat-visitor",P)}]));
|
_inc/blocks/editor-beta.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.help-message{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours .business-hours__row{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button{text-decoration:none}.wp-block-jetpack-business-hours .business-hours-row__add button svg{pointer-events:none}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;-webkit-box-shadow:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 0 0 8px}.jetpack-field-label .required{color:#dc3232}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;-webkit-box-shadow:none;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;-webkit-box-shadow:none;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field-checkbox .components-base-control__label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;-webkit-box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;-webkit-animation:grow .2s ease-in-out;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@-webkit-keyframes grow{0%{-webkit-transform:scale(.3);transform:scale(.3)}60%{-webkit-transform:scale(1.15);transform:scale(1.15)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes grow{0%{-webkit-transform:scale(.3);transform:scale(.3)}60%{-webkit-transform:scale(1.15);transform:scale(1.15)}to{-webkit-transform:scale(1);transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-info-block{padding:10px 18px}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-info-block .editor-plain-text{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:unset;padding:0;-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif figure{-webkit-transition:padding-top 125ms ease-in-out;transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:-webkit-box;display:-ms-flexbox;display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{-webkit-box-shadow:0 0 0 1px #555d66;box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{-webkit-box-shadow:0 0 0 2px #00a0d2;box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#ccc}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{-webkit-box-shadow:none;box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;-webkit-box-shadow:none;box-shadow:none;float:left}.component__add-point__close path{color:#aaa}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-gutenberg-social-icon.is-google-plus{fill:#df4a32}.jetpack-publicize-connection-label{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jp-related-posts-i2__row{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.jetpack-clipboard-input{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-left:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#eb0001}.simple-payments__loading{-webkit-animation:simple-payments-loading 1.6s ease-in-out infinite;animation:simple-payments-loading 1.6s ease-in-out infinite}@-webkit-keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-product-image{-webkit-box-flex:0;-ms-flex:0 0 30%;flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{-webkit-box-sizing:border-box;box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrappper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;width:24px;height:24px;-webkit-box-sizing:content-box;box-sizing:content-box;padding:12px;border-radius:4px;margin-top:-24px;-webkit-transition:background-color .25s;transition:background-color .25s}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);-webkit-box-sizing:border-box;box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;-webkit-transform:scale(.75);transform:scale(.75);-webkit-transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,transform .25s;transition:opacity .25s,transform .25s,-webkit-transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active{background-color:currentColor;opacity:1;-webkit-transform:scale(1);transform:scale(1)}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:-webkit-box;display:-ms-flexbox;display:flex}.tiled-gallery__gallery{padding:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.tiled-gallery__gallery,.tiled-gallery__row{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.tiled-gallery__row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{-webkit-filter:sepia(100%);filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;-webkit-filter:contrast(1.1) brightness(1.1) saturate(1.3);filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;-webkit-filter:contrast(1.2) saturate(1.35);filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;-webkit-filter:brightness(1.05) hue-rotate(-10deg);filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@-webkit-keyframes tiled-gallery-img-placeholder{0%{background-color:#e7e8e9}50%{background-color:rgba(231,232,233,.5)}to{background-color:#e7e8e9}}@keyframes tiled-gallery-img-placeholder{0%{background-color:#e7e8e9}50%{background-color:rgba(231,232,233,.5)}to{background-color:#e7e8e9}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{-webkit-animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite;animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;-webkit-filter:none;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__media-placeholder-icon{height:20px;margin-left:1ch;width:20px}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;-webkit-box-shadow:0 0 0 2px #555d66!important;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-wordads{background:#fff}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__footer,.jetpack-wordads__header{font-size:10px;font-family:sans-serif}.jetpack-wordads__header{text-align:right}.jetpack-wordads__footer{text-transform:uppercase;text-align:left}.jetpack-wordads__ad{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.jetpack-wordads-leaderboard .components-placeholder{min-height:90px}.jetpack-wordads-mobile_leaderboard .components-placeholder{min-height:72px}.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;-webkit-box-shadow:0 0 0 2px #555d66!important;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:.8em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{-ms-flex-preferred-size:100%;flex-basis:100%}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-right:auto;margin-left:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around}
|
_inc/blocks/editor.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.help-message{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours .business-hours__row{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button{text-decoration:none}.wp-block-jetpack-business-hours .business-hours-row__add button svg{pointer-events:none}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;-webkit-box-shadow:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .required{color:#dc3232}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;-webkit-box-shadow:none;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;-webkit-box-shadow:none;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;-webkit-box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;-webkit-animation:grow .2s ease-in-out;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@-webkit-keyframes grow{0%{-webkit-transform:scale(.3);transform:scale(.3)}60%{-webkit-transform:scale(1.15);transform:scale(1.15)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes grow{0%{-webkit-transform:scale(.3);transform:scale(.3)}60%{-webkit-transform:scale(1.15);transform:scale(1.15)}to{-webkit-transform:scale(1);transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;-webkit-box-shadow:0 0 0 2px #78dcfa;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-info-block{padding:10px 18px}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{-webkit-box-shadow:none;box-shadow:none}.jetpack-contact-info-block .editor-plain-text{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:unset;padding:0;-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif figure{-webkit-transition:padding-top 125ms ease-in-out;transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:-webkit-box;display:-ms-flexbox;display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{-webkit-box-shadow:0 0 0 1px #555d66;box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{-webkit-box-shadow:0 0 0 2px #00a0d2;box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#ccc}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{-webkit-box-shadow:none;box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;-webkit-box-shadow:none;box-shadow:none;float:right}.component__add-point__close path{color:#aaa}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-gutenberg-social-icon.is-google-plus{fill:#df4a32}.jetpack-publicize-connection-label{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jp-related-posts-i2__row{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.jetpack-clipboard-input{display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-right:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#eb0001}.simple-payments__loading{-webkit-animation:simple-payments-loading 1.6s ease-in-out infinite;animation:simple-payments-loading 1.6s ease-in-out infinite}@-webkit-keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-product-image{-webkit-box-flex:0;-ms-flex:0 0 30%;flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{-webkit-box-sizing:border-box;box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrappper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;width:24px;height:24px;-webkit-box-sizing:content-box;box-sizing:content-box;padding:12px;border-radius:4px;margin-top:-24px;-webkit-transition:background-color .25s;transition:background-color .25s}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);-webkit-box-sizing:border-box;box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;-webkit-transform:scale(.75);transform:scale(.75);-webkit-transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,transform .25s;transition:opacity .25s,transform .25s,-webkit-transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active{background-color:currentColor;opacity:1;-webkit-transform:scale(1);transform:scale(1)}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:-webkit-box;display:-ms-flexbox;display:flex}.tiled-gallery__gallery{padding:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.tiled-gallery__gallery,.tiled-gallery__row{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.tiled-gallery__row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{-webkit-filter:sepia(100%);filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;-webkit-filter:contrast(1.1) brightness(1.1) saturate(1.3);filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;-webkit-filter:contrast(1.2) saturate(1.35);filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;-webkit-filter:brightness(1.05) hue-rotate(-10deg);filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@-webkit-keyframes tiled-gallery-img-placeholder{0%{background-color:#e7e8e9}50%{background-color:rgba(231,232,233,.5)}to{background-color:#e7e8e9}}@keyframes tiled-gallery-img-placeholder{0%{background-color:#e7e8e9}50%{background-color:rgba(231,232,233,.5)}to{background-color:#e7e8e9}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{-webkit-animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite;animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;-webkit-filter:none;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__media-placeholder-icon{height:20px;margin-right:1ch;width:20px}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;-webkit-box-shadow:0 0 0 2px #555d66!important;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-wordads{background:#fff}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__footer,.jetpack-wordads__header{font-size:10px;font-family:sans-serif}.jetpack-wordads__header{text-align:left}.jetpack-wordads__footer{text-transform:uppercase;text-align:right}.jetpack-wordads__ad{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.jetpack-wordads-leaderboard .components-placeholder{min-height:90px}.jetpack-wordads-mobile_leaderboard .components-placeholder{min-height:72px}.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;-webkit-box-shadow:0 0 0 2px #555d66!important;box-shadow:0 0 0 2px #555d66!important}
|
_inc/blocks/editor.js
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,o=t[0],a=t[1],c=0,s=[];c<o.length;c++)r=o[c],i[r]&&s.push(i[r][0]),i[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={1:0},i={1:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{5:1,9:1}[e]&&t.push(r[e]=new Promise(function(t,n){for(var r="rtl"===document.dir?({5:"map/mapbox-gl",9:"swiper"}[e]||e)+".rtl.css":({5:"map/mapbox-gl",9:"swiper"}[e]||e)+".css",i=o.p+r,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var s=(u=a[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===r||s===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var u;if((s=(u=l[c]).getAttribute("data-href"))===r||s===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.request=r,n(o)},p.href=i,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){r[e]=0}));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=a);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+""+({5:"map/mapbox-gl",9:"swiper"}[e]||e)+".js"}(e),c=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+r+": "+o+")");a.type=r,a.request=o,n[1](a)}i[e]=void 0}};var l=setTimeout(function(){c({type:"timeout",target:s})},12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var l=c;return o(o.s=533)}([function(e,t){e.exports=wp.element},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return l});var r=n(28),i=n.n(r),o=n(24),a=function(e){var t=i()(e);return t.push("jetpack"),t};function c(){return o.__.apply(void 0,i()(a(arguments)))}function s(){return o._n.apply(void 0,i()(a(arguments)))}function l(){return o._x.apply(void 0,i()(a(arguments)))}},function(e,t){e.exports=wp.components},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){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){e.exports=window.lodash},function(e,t,n){var r=n(14),i=n(52),o=n(36),a=n(39),c=n(42),s=function(e,t,n){var l,u,p,h,f=e&s.F,d=e&s.G,m=e&s.S,b=e&s.P,g=e&s.B,v=d?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=d?i:i[t]||(i[t]={}),j=y.prototype||(y.prototype={});for(l in d&&(n=t),n)p=((u=!f&&v&&void 0!==v[l])?v:n)[l],h=g&&u?c(p,r):b&&"function"==typeof p?c(Function.call,p):p,v&&a(v,l,p,e&s.U),y[l]!=p&&o(y,l,h),b&&j[l]!=p&&(j[l]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=wp.editor},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(178),i=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(179);e.exports=function(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&&r(e,t)}},function(e,t){function n(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)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;
|
2 |
+
/*!
|
3 |
+
Copyright (c) 2017 Jed Watson.
|
4 |
+
Licensed under the MIT License (MIT), see
|
5 |
+
http://jedwatson.github.io/classnames
|
6 |
+
*/
|
7 |
+
/*!
|
8 |
+
Copyright (c) 2017 Jed Watson.
|
9 |
+
Licensed under the MIT License (MIT), see
|
10 |
+
http://jedwatson.github.io/classnames
|
11 |
+
*/
|
12 |
+
!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}},function(e,t,n){var r=n(82)("wks"),i=n(58),o=n(14).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.blocks},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(188);var p=/[&<>"]/,h=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function d(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var b=n(165);t.lib={},t.lib.mdurl=n(189),t.lib.ucmicro=n(396),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(h,d):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){var r=n(16),i=n(137),o=n(46),a=Object.defineProperty;t.f=n(26)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.data},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(54),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(174),i=n(175),o=n(176);e.exports=function(e){return r(e)||i(e)||o()}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(21),i=n(93);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=Object(i.a)(e),a=o.available;o.unavailableReason;if(!a)return!1;var c=Object(r.registerBlockType)("jetpack/".concat(e),t);return n.forEach(function(e){return Object(r.registerBlockType)("jetpack/".concat(e.name),e.settings)}),c}},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){return Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"h",function(){return o}),n.d(t,"i",function(){return a}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return p});var r=["image"],i=4,o=20,a=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t,n){var r=n(47);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(126),i=n(127),o=n(128);e.exports=function(e,t){return r(e)||i(e,t)||o()}},function(e,t,n){var r=n(6),i=n(17),o=n(47),a=/"/g,c=function(e,t,n,r){var i=String(o(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+String(r).replace(a,""")+'"'),c+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(c),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){e.exports=wp.blob},function(e,t,n){var r=n(23),i=n(57);e.exports=n(26)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(77),i=n(57),o=n(43),a=n(46),c=n(37),s=n(137),l=Object.getOwnPropertyDescriptor;t.f=n(26)?l:function(e,t){if(e=o(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(c(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(14),i=n(36),o=n(37),a=n(58)("src"),c=n(202),s=(""+c).split("toString");n(52).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||i(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),i=n(1),o={name:"map",prefix:"jetpack",title:Object(i.a)("Map"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(i.a)("map"),Object(i.a)("location")],description:Object(i.a)("Add an interactive map showing one or more locations."),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(i.a)("Basic")},{value:"black_and_white",label:Object(i.a)("Black and white")},{value:"satellite",label:Object(i.a)("Satellite")},{value:"terrain",label:Object(i.a)("Terrain")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"}))))}},function(e,t,n){var r=n(40);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(97),i=n(47);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(6),i=n(52),o=n(17);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";var r=n(177),i=n(361);function o(){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){i.isString(e)&&(e=y(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(362);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),c=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var j=s.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var O=a.exec(y);if(O){var _=(O=O[0]).toLowerCase();this.protocol=_,y=y.substr(O.length)}if(n||O||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===y.substr(0,2);!k||O&&b[O]||(y=y.substr(2),this.slashes=!0)}if(!b[O]&&(k||O&&!g[O])){for(var w,E,x=-1,C=0;C<h.length;C++){-1!==(S=y.indexOf(h[C]))&&(-1===x||S<x)&&(x=S)}-1!==(E=-1===x?y.lastIndexOf("@"):y.lastIndexOf("@",x))&&(w=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(w)),x=-1;for(C=0;C<p.length;C++){var S;-1!==(S=y.indexOf(p[C]))&&(-1===x||S<x)&&(x=S)}-1===x&&(x=y.length),this.host=y.slice(0,x),y=y.slice(x),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var M=this.hostname.split(/\./),T=(C=0,M.length);C<T;C++){var P=M[C];if(P&&!P.match(f)){for(var F="",N=0,z=P.length;N<z;N++)P.charCodeAt(N)>127?F+="x":F+=P[N];if(!F.match(f)){var D=M.slice(0,C),R=M.slice(C+1),I=P.match(d);I&&(D.push(I[1]),R.unshift(I[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[_])for(C=0,T=u.length;C<T;C++){var q=u[C];if(-1!==y.indexOf(q)){var V=encodeURIComponent(q);V===q&&(V=escape(q)),y=y.split(q).join(V)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},o.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||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var c=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(c=c.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,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 s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),h=0;h<p.length;h++){var f=p[h];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.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||"",v=n.search||"";n.path=m+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),O=j||y||n.host&&e.pathname,_=O,k=n.pathname&&n.pathname.split("/")||[],w=(d=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),O=O&&(""===d[0]||""===k[0])),j)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,k=d;else if(d.length)k||(k=[]),k.pop(),k=k.concat(d),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=k.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=k.slice(-1)[0],x=(n.host||e.host||k.length>1)&&("."===E||".."===E)||""===E,C=0,S=k.length;S>=0;S--)"."===(E=k[S])?k.splice(S,1):".."===E?(k.splice(S,1),C++):C&&(k.splice(S,1),C--);if(!O&&!_)for(;C--;C)k.unshift("..");!O||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),x&&"/"!==k.join("/").substr(-1)&&k.push("");var A,M=""===k[0]||k[0]&&"/"===k[0].charAt(0);w&&(n.hostname=n.host=M?"":k.length?k.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(O=O||n.host&&k.length)&&!M&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.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},o.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,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(37),i=n(32),o=n(105)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";if(n(26)){var r=n(53),i=n(14),o=n(17),a=n(6),c=n(120),s=n(160),l=n(42),u=n(71),p=n(57),h=n(36),f=n(70),d=n(54),m=n(27),b=n(161),g=n(65),v=n(46),y=n(37),j=n(83),O=n(15),_=n(32),k=n(99),w=n(67),E=n(48),x=n(63).f,C=n(101),S=n(58),A=n(19),M=n(76),T=n(102),P=n(78),F=n(103),N=n(66),z=n(84),D=n(69),R=n(96),I=n(138),L=n(23),B=n(38),q=L.f,V=B.f,H=i.RangeError,U=i.TypeError,G=i.Uint8Array,$=Array.prototype,W=s.ArrayBuffer,K=s.DataView,Z=M(0),J=M(2),Y=M(3),X=M(4),Q=M(5),ee=M(6),te=T(!0),ne=T(!1),re=F.values,ie=F.keys,oe=F.entries,ae=$.lastIndexOf,ce=$.reduce,se=$.reduceRight,le=$.join,ue=$.sort,pe=$.slice,he=$.toString,fe=$.toLocaleString,de=A("iterator"),me=A("toStringTag"),be=S("typed_constructor"),ge=S("def_constructor"),ve=c.CONSTR,ye=c.TYPED,je=c.VIEW,Oe=M(1,function(e,t){return xe(P(e,e[ge]),t)}),_e=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),ke=!!G&&!!G.prototype.set&&o(function(){new G(1).set({})}),we=function(e,t){var n=d(e);if(n<0||n%t)throw H("Wrong offset!");return n},Ee=function(e){if(O(e)&&ye in e)return e;throw U(e+" is not a typed array!")},xe=function(e,t){if(!(O(e)&&be in e))throw U("It is not a typed array constructor!");return new e(t)},Ce=function(e,t){return Se(P(e,e[ge]),t)},Se=function(e,t){for(var n=0,r=t.length,i=xe(e,r);r>n;)i[n]=t[n++];return i},Ae=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Me=function(e){var t,n,r,i,o,a,c=_(e),s=arguments.length,u=s>1?arguments[1]:void 0,p=void 0!==u,h=C(c);if(null!=h&&!k(h)){for(a=h.call(c),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);c=r}for(p&&s>2&&(u=l(u,arguments[2],2)),t=0,n=m(c.length),i=xe(this,n);n>t;t++)i[t]=p?u(c[t],t):c[t];return i},Te=function(){for(var e=0,t=arguments.length,n=xe(this,t);t>e;)n[e]=arguments[e++];return n},Pe=!!G&&o(function(){fe.call(new G(1))}),Fe=function(){return fe.apply(Pe?pe.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function(e,t){return I.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return X(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Ee(this),arguments)},filter:function(e){return Ce(this,J(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return le.apply(Ee(this),arguments)},lastIndexOf:function(e){return ae.apply(Ee(this),arguments)},map:function(e){return Oe(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ce.apply(Ee(this),arguments)},reduceRight:function(e){return se.apply(Ee(this),arguments)},reverse:function(){for(var e,t=Ee(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return Y(Ee(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ue.call(Ee(this),e)},subarray:function(e,t){var n=Ee(this),r=n.length,i=g(e,r);return new(P(n,n[ge]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:g(t,r))-i))}},ze=function(e,t){return Ce(this,pe.call(Ee(this),e,t))},De=function(e){Ee(this);var t=we(arguments[1],1),n=this.length,r=_(e),i=m(r.length),o=0;if(i+t>n)throw H("Wrong length!");for(;o<i;)this[t+o]=r[o++]},Re={entries:function(){return oe.call(Ee(this))},keys:function(){return ie.call(Ee(this))},values:function(){return re.call(Ee(this))}},Ie=function(e,t){return O(e)&&e[ye]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Le=function(e,t){return Ie(e,t=v(t,!0))?p(2,e[t]):V(e,t)},Be=function(e,t,n){return!(Ie(e,t=v(t,!0))&&O(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?q(e,t,n):(e[t]=n.value,e)};ve||(B.f=Le,L.f=Be),a(a.S+a.F*!ve,"Object",{getOwnPropertyDescriptor:Le,defineProperty:Be}),o(function(){he.call({})})&&(he=fe=function(){return le.call(this)});var qe=f({},Ne);f(qe,Re),h(qe,de,Re.values),f(qe,{slice:ze,set:De,constructor:function(){},toString:he,toLocaleString:Fe}),Ae(qe,"buffer","b"),Ae(qe,"byteOffset","o"),Ae(qe,"byteLength","l"),Ae(qe,"length","e"),q(qe,me,{get:function(){return this[ye]}}),e.exports=function(e,t,n,s){var l=e+((s=!!s)?"Clamped":"")+"Array",p="get"+e,f="set"+e,d=i[l],g=d||{},v=d&&E(d),y=!d||!c.ABV,_={},k=d&&d.prototype,C=function(e,n){q(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[p](n*t+r.o,_e)}(this,n)},set:function(e){return function(e,n,r){var i=e._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[f](n*t+i.o,r,_e)}(this,n,e)},enumerable:!0})};y?(d=n(function(e,n,r,i){u(e,d,l,"_d");var o,a,c,s,p=0,f=0;if(O(n)){if(!(n instanceof W||"ArrayBuffer"==(s=j(n))||"SharedArrayBuffer"==s))return ye in n?Se(d,n):Me.call(d,n);o=n,f=we(r,t);var g=n.byteLength;if(void 0===i){if(g%t)throw H("Wrong length!");if((a=g-f)<0)throw H("Wrong length!")}else if((a=m(i)*t)+f>g)throw H("Wrong length!");c=a/t}else c=b(n),o=new W(a=c*t);for(h(e,"_d",{b:o,o:f,l:a,e:c,v:new K(o)});p<c;)C(e,p++)}),k=d.prototype=w(qe),h(k,"constructor",d)):o(function(){d(1)})&&o(function(){new d(-1)})&&z(function(e){new d,new d(null),new d(1.5),new d(e)},!0)||(d=n(function(e,n,r,i){var o;return u(e,d,l),O(n)?n instanceof W||"ArrayBuffer"==(o=j(n))||"SharedArrayBuffer"==o?void 0!==i?new g(n,we(r,t),i):void 0!==r?new g(n,we(r,t)):new g(n):ye in n?Se(d,n):Me.call(d,n):new g(b(n))}),Z(v!==Function.prototype?x(g).concat(x(v)):x(g),function(e){e in d||h(d,e,g[e])}),d.prototype=k,r||(k.constructor=d));var S=k[de],A=!!S&&("values"==S.name||null==S.name),M=Re.values;h(d,be,!0),h(k,ye,l),h(k,je,!0),h(k,ge,d),(s?new d(1)[me]==l:me in k)||q(k,me,{get:function(){return l}}),_[l]=d,a(a.G+a.W+a.F*(d!=g),_),a(a.S,l,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o(function(){g.of.call(d,1)}),l,{from:Me,of:Te}),"BYTES_PER_ELEMENT"in k||h(k,"BYTES_PER_ELEMENT",t),a(a.P,l,Ne),D(l),a(a.P+a.F*ke,l,{set:De}),a(a.P+a.F*!A,l,Re),r||k.toString==he||(k.toString=he),a(a.P+a.F*o(function(){new d(1).slice()}),l,{slice:ze}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!o(function(){k.toLocaleString.call([1,2])})),l,{toLocaleString:Fe}),N[l]=A?S:M,r||A||h(k,de,M)}}else e.exports=function(){}},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";e.exports=n(356)},function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=!1},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(58)("meta"),i=n(15),o=n(37),a=n(23).f,c=0,s=Object.isExtensible||function(){return!0},l=!n(17)(function(){return s(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!s(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!s(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return l&&p.NEED&&s(e)&&!o(e,r)&&u(e),e}}},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){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(19)("unscopables"),i=Array.prototype;null==i[r]&&n(36)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(142),i=n(106);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(142),i=n(106).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){e.exports=wp.keycodes},function(e,t,n){var r=n(54),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t){e.exports={}},function(e,t,n){var r=n(16),i=n(210),o=n(106),a=n(105)("IE_PROTO"),c=function(){},s=function(){var e,t=n(95)("iframe"),r=o.length;for(t.style.display="none",n(143).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[o[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=s(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(23).f,i=n(37),o=n(19)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(14),i=n(23),o=n(26),a=n(19)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(39);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){function n(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function c(e){n(a,i,o,c,s,"next",e)}function s(e){n(a,i,o,c,s,"throw",e)}c(void 0)})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return l});var r=n(5),i=16/9,o=.8,a=600,c="wp-block-jetpack-slideshow_autoplay-paused";function s(e){l(e),u(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",function(){e.el&&(e.el.classList.contains(c)?(e.el.classList.remove(c),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(c),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))})}function l(e){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,i),1),c="undefined"!=typeof window?window.innerHeight*o:a,s=Math.min(e.width/r,c),l="".concat(Math.floor(s),"px"),u="".concat(Math.floor(s/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=l,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=u,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=u}}function u(e){Object(r.forEach)(e.slides,function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")}),function(e){var t=e.slides[e.activeIndex],n=t.getElementsByTagName("FIGCAPTION")[0],r=t.getElementsByTagName("IMG")[0],i=n?n.innerText:r.alt;e.a11y.notify(i)}(e)}function p(e){Object(r.forEach)(e.pagination.bullets,function(t){t.addEventListener("click",function(){var t=e.slides[e.realIndex];setTimeout(function(){t.focus()},500)})})}},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},c=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function s(){a(o)}function l(){var e=Date.now();if(n){if(e-i<c)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=j(0,0,0,0);function m(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+m(e["border-"+n+"-width"])},0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=m(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,c=m(r.width),s=m(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==t&&(c-=b(r,"left","right")+o),Math.round(s+a)!==n&&(s-=b(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var l=Math.round(c+o)-t,u=Math.round(s+a)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return j(i.left,i.top,c,s)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?v(e)?function(e){var t=e.getBBox();return j(0,0,t.width,t.height)}(e):g(e):d}function j(e,t,n,r){return{x:e,y:t,width:n,height:r}}var O=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=j(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(){return function(e,t){var n,r,i,o,a,c,s,l=(r=(n=t).x,i=n.y,o=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),h(s,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),s);h(this,{target:e,contentRect:l})}}(),k=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new O(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new _(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,E=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new k(t,n,this);w.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var x=void 0!==o.ResizeObserver?o.ResizeObserver:E;t.a=x},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,n){var r=n(42),i=n(97),o=n(32),a=n(27),c=n(139);e.exports=function(e,t){var n=1==e,s=2==e,l=3==e,u=4==e,p=6==e,h=5==e||p,f=t||c;return function(t,c,d){for(var m,b,g=o(t),v=i(g),y=r(c,d,3),j=a(v.length),O=0,_=n?f(t,j):s?f(t,0):void 0;j>O;O++)if((h||O in v)&&(b=y(m=v[O],O,g),e))if(n)_[O]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return O;case 2:_.push(m)}else if(u)return!1;return p?-1:l||u?u:_}}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(16),i=n(40),o=n(19)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r=n(365);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(11),d=n.n(f),m=n(0),b=n(13),g=n.n(b),v=n(20),y=n(2),j=n(7),O=n(5),_=n(1),k=window.getComputedStyle,w=Object(y.withFallbackStyles)(function(e,t){var n,r,i,o,a=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=a&&a.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(i=k(r).backgroundColor),n&&(o=k(n).color),{fallbackBackgroundColor:s||i,fallbackTextColor:l||o}}),E=function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return d()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(O.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(O.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,o=Object(O.get)(n,"class"),a=Object(O.get)(r,"class");return g()("wp-block-button__link",(e={"has-text-color":n},i()(e,o,o),i()(e,"has-background",r),i()(e,a,a),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,i=e.setAttributes,o=e.setBackgroundButtonColor,a=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(m.createElement)(j.RichText,{placeholder:Object(_.a)("Add text…"),value:t.submitButtonText,onChange:function(e){return i({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,formattingControls:[]})),Object(m.createElement)(j.InspectorControls,null,Object(m.createElement)(j.PanelColorSettings,{title:Object(_.a)("Button Color Settings"),colorSettings:[{value:c,onChange:function(e){o(e),i({customBackgroundButtonColor:e})},label:Object(_.a)("Background Color")},{value:s,onChange:function(e){a(e),i({customTextButtonColor:e})},label:Object(_.a)("Text Color")}]}),Object(m.createElement)(j.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(m.Component);t.a=Object(v.compose)([Object(j.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){var r=n(52),i=n(14),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(53)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(60),i=n(19)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(19)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){var r=n(42),i=n(140),o=n(99),a=n(16),c=n(27),s=n(101),l={},u={};(t=e.exports=function(e,t,n,p,h){var f,d,m,b,g=h?function(){return e}:s(e),v=r(n,p,t?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=c(e.length);f>y;y++)if((b=t?v(a(d=e[y])[0],d[1]):v(e[y]))===l||b===u)return b}else for(m=g.call(e);!(d=m.next()).done;)if((b=i(m,v,d.value,t))===l||b===u)return b}).BREAK=l,t.RETURN=u},function(e,t,n){"use strict";var r=n(14),i=n(6),o=n(39),a=n(70),c=n(55),s=n(85),l=n(71),u=n(15),p=n(17),h=n(84),f=n(68),d=n(107);e.exports=function(e,t,n,m,b,g){var v=r[e],y=v,j=b?"set":"add",O=y&&y.prototype,_={},k=function(e){var t=O[e];o(O,e,"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(g||O.forEach&&!p(function(){(new y).entries().next()}))){var w=new y,E=w[j](g?{}:-0,1)!=w,x=p(function(){w.has(1)}),C=h(function(e){new y(e)}),S=!g&&p(function(){for(var e=new y,t=5;t--;)e[j](t,t);return!e.has(-0)});C||((y=t(function(t,n){l(t,y,e);var r=d(new v,t,y);return null!=n&&s(n,b,r[j],r),r})).prototype=O,O.constructor=y),(x||S)&&(k("delete"),k("has"),b&&k("get")),(S||E)&&k(j),g&&O.clear&&delete O.clear}else y=m.getConstructor(t,e,b,j),a(y.prototype,n),c.NEED=!0;return f(y,e),_[e]=y,i(i.G+i.W+i.F*(y!=v),_),g||m.setStrong(y,e,b),y}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";e.exports=n(53)||!n(17)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(14)[e]})},function(e,t,n){var r=n(14).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(16);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(83),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(290);var r=n(39),i=n(36),o=n(17),a=n(47),c=n(19),s=n(117),l=c("species"),u=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=c(e),f=!o(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),d=f?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[l]=function(){return n}),n[h](""),!t}):void 0;if(!f||!d||"replace"===e&&!u||"split"===e&&!p){var m=/./[h],b=n(a,h,""[e],function(e,t,n,r,i){return t.exec===s?f&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),g=b[0],v=b[1];r(String.prototype,e,g),i(RegExp.prototype,h,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(5),a=n(342),c="Jetpack_Editor_Initial_State";function s(e){var t=Object(o.get)("object"==typeof window?window:null,[c],null),n=Object(o.includes)(a.beta,e),r=Object(o.get)(t,["available_blocks",e,"available"],n),s=Object(o.get)(t,["available_blocks",e,"unavailable_reason"],"unknown");return i()({available:r},!r&&{unavailableReason:s})}n.d(t,"a",function(){return s})},,function(e,t,n){var r=n(15),i=n(14).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){"use strict";var r=n(32),i=n(65),o=n(27);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,c=i(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,l=void 0===s?n:i(s,n);l>c;)t[c++]=e;return t}},function(e,t,n){var r=n(60);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(60);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(66),i=n(19)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(23),i=n(57);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(83),i=n(19)("iterator"),o=n(66);e.exports=n(52).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(43),i=n(27),o=n(65);e.exports=function(e){return function(t,n,a){var c,s=r(t),l=i(s.length),u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){"use strict";var r=n(59),i=n(141),o=n(66),a=n(43);e.exports=n(104)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(53),i=n(6),o=n(39),a=n(36),c=n(66),s=n(209),l=n(68),u=n(48),p=n(19)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,d,m,b,g){s(n,t,d);var v,y,j,O=function(e){if(!h&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==m,w=!1,E=e.prototype,x=E[p]||E["@@iterator"]||m&&E[m],C=x||O(m),S=m?k?O("entries"):C:void 0,A="Array"==t&&E.entries||x;if(A&&(j=u(A.call(new e)))!==Object.prototype&&j.next&&(l(j,_,!0),r||"function"==typeof j[p]||a(j,p,f)),k&&x&&"values"!==x.name&&(w=!0,C=function(){return x.call(this)}),r&&!g||!h&&!w&&E[p]||a(E,p,C),c[t]=C,c[_]=f,m)if(v={values:k?C:O("values"),keys:b?C:O("keys"),entries:S},g)for(y in v)y in E||o(E,y,v[y]);else i(i.P+i.F*(h||w),t,v);return v}},function(e,t,n){var r=n(82)("keys"),i=n(58);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15),i=n(108).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},function(e,t,n){var r=n(15),i=n(16),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(42)(Function.call,n(38).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(6),i=n(47),o=n(17),a=n(112),c="["+a+"]",s=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),u=function(e,t,n){var i={},c=o(function(){return!!a[e]()||"
"!="
"[e]()}),s=i[e]=c?t(p):a[e];n&&(i[n]=s),r(r.P+r.F*c,"String",i)},p=u.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(l,"")),e};e.exports=u},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r,i,o,a=n(42),c=n(152),s=n(143),l=n(95),u=n(14),p=u.process,h=u.setImmediate,f=u.clearImmediate,d=u.MessageChannel,m=u.Dispatch,b=0,g={},v=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){v.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++b]=function(){c("function"==typeof e?e:Function(e),t)},r(b),b},f=function(e){delete g[e]},"process"==n(60)(p)?r=function(e){p.nextTick(a(v,e,1))}:m&&m.now?r=function(e){m.now(a(v,e,1))}:d?(o=(i=new d).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,n){var r=n(15),i=n(60),o=n(19)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){"use strict";var r=n(116)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(54),i=n(47);e.exports=function(e){return function(t,n){var o,a,c=String(i(t)),s=r(n),l=c.length;return s<0||s>=l?e?"":void 0:(o=c.charCodeAt(s))<55296||o>56319||s+1===l||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):o:e?c.slice(s,s+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){"use strict";var r,i,o=n(90),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),u=void 0!==/()??/.exec("")[1];(l||u)&&(s=function(e){var t,n,r,i,s=this;return u&&(n=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),l&&(t=s.lastIndex),r=a.call(s,e),l&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),u&&r&&r.length>1&&c.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),e.exports=s},function(e,t,n){var r=n(114),i=n(47);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(19)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){for(var r,i=n(14),o=n(36),a=n(58),c=a("typed_array"),s=a("view"),l=!(!i.ArrayBuffer||!i.DataView),u=l,p=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[h[p++]])?(o(r.prototype,c,!0),o(r.prototype,s,!0)):u=!1;e.exports={ABV:l,CONSTR:u,TYPED:c,VIEW:s}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(2),o=n(124),a=n(134),c=(n(368),n(123)),s=Object(i.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot,p=function(e){var t=e.children;return Object(r.createElement)(l,null,t)};p.Slot=function(){return Object(r.createElement)(u,null,function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null})},Object(a.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(p.Slot,null)}}),t.default=p},function(e,t,n){"use strict";n.r(t);var r=n(5);n(173),n(45);function i(e){var t=e.split("?")[0],n=t.split("/");if(0===t.indexOf("/checkout/thank-you/no-site/"))return!1;if(0===t.indexOf("/me/purchases/")||0===t.indexOf("/checkout/thank-you/")){var r=n[3];if(r&&-1!==r.indexOf("."))return r;var i=parseInt(r,10);if(Number.isSafeInteger(i))return i}for(var o=2;o>0;o--){var a=n[n.length-o];if(a&&-1!==a.indexOf("."))return a}for(var c=2;c>0;c--){var s=parseInt(n[n.length-c],10);if(Number.isSafeInteger(s))return s}return!1}function o(){if(window&&window._currentSiteId)return window._currentSiteId;var e=i(window.location.pathname);return Object(r.includes)(["post.php","post-new.php"],e)?window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null:e||null}n.d(t,"default",function(){return o})},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(172),a=n.n(o),c=n(13),s=n.n(c),l=i.a.createElement(i.a.Fragment,null,i.a.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),i.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),i.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),u=function(e){var t=e.full,n=void 0!==t&&t,r=e.size,o=void 0===r?32:r,a=e.className,c=s()("jetpack-logo",a);return!0===n?i.a.createElement("svg",{height:o,className:c,viewBox:"0 0 118 32"},i.a.createElement("title",null,"Jetpack"),l,i.a.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===o?i.a.createElement("svg",{className:c,height:"24",width:"24",viewBox:"0 0 24 24"},i.a.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):i.a.createElement("svg",{className:c,height:o,width:o,viewBox:"0 0 32 32"},l)};u.propTypes={full:a.a.bool,size:a.a.number},t.a=u},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return s});var r=n(33),i=n.n(r),o=n(31);function a(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function c(e,t){!function(e,t,n){var r=i()(t,2),c=r[0],s=r[1],f=1/c*(n-o.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),c=i.map(function(e){return(n-o.b*(e.childElementCount-1))*p(e)[0]}),s=a(c,r);i.forEach(function(e,t){var r=c[t],i=s[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,o=a(u(e).map(function(e){return i/h(e)}),n);Array.from(e.children).forEach(function(e,t){var n=o[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-o.b*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:f,rowWidth:n-o.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce(function(e,t){var n=i()(e,2),r=n[0],o=n[1],a=i()(t,2),c=a[0],s=a[1];return[r+c,o+s]},[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(h).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function h(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(197)(Object,"create");e.exports=r},function(e,t,n){var r=n(472);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(478);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){"use strict";n.r(t);var r=n(56),i=n.n(r),o=n(79),a=n.n(o),c=n(0),s=n(13),l=n.n(s),u=n(133),p=n.n(u);n(366);t.default=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,o=void 0!==r&&r,s=a()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":o});return n&&Object(c.createElement)("div",i()({className:u},s),o&&Object(c.createElement)(p.a,{size:"24"}),Object(c.createElement)("span",null,n))}},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,i=void 0===n?24:n,o=e.onClick,c=(e.icon,e.className),s=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"]),l=["gridicon","gridicons-notice-outline",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,height:i,width:i,onClick:o},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,o=n(51),a=(i=o)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t){e.exports=wp.plugins},function(e,t){e.exports=wp.date},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(134),i=n(93);function o(e,t){var n=Object(i.a)(e),o=n.available;n.unavailableReason;return!!o&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){e.exports=!n(26)&&!n(17)(function(){return 7!=Object.defineProperty(n(95)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(32),i=n(65),o=n(27);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),c=i(e,a),s=i(t,a),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?a:i(l,a))-s,a-c),p=1;for(s<c&&c<s+u&&(p=-1,s+=u-1,c+=u-1);u-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},function(e,t,n){var r=n(205);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(16);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(37),i=n(43),o=n(102)(!1),a=n(105)("IE_PROTO");e.exports=function(e,t){var n,c=i(e),s=0,l=[];for(n in c)n!=a&&r(c,n)&&l.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(23).f,i=n(67),o=n(70),a=n(42),c=n(71),s=n(85),l=n(104),u=n(141),p=n(69),h=n(26),f=n(55).fastKey,d=n(62),m=h?"_s":"size",b=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var u=e(function(e,r){c(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&s(r,n,e[l],e)});return o(u.prototype,{clear:function(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=d(this,t),r=b(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(e){d(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!b(d(this,t),e)}}),h&&r(u.prototype,"size",{get:function(){return d(this,t)[m]}}),u},def:function(e,t,n){var r,i,o=b(e,t);return o?o.v=n:(e._l=o={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:b,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=d(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),p(t)}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(15),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){"use strict";var r=n(61),i=n(87),o=n(77),a=n(32),c=n(97),s=Object.assign;e.exports=!s||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=a(e),s=arguments.length,l=1,u=i.f,p=o.f;s>l;)for(var h,f=c(arguments[l++]),d=u?r(f).concat(u(f)):r(f),m=d.length,b=0;m>b;)p.call(f,h=d[b++])&&(n[h]=f[h]);return n}:s},function(e,t,n){var r=n(61),i=n(43),o=n(77).f;e.exports=function(e){return function(t){for(var n,a=i(t),c=r(a),s=c.length,l=0,u=[];s>l;)o.call(a,n=c[l++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t,n){var r=n(63),i=n(87),o=n(16),a=n(14).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(43),i=n(63).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(40);function i(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},function(e,t,n){var r=n(16),i=n(15),o=n(153);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){n(26)&&"g"!=/./g.flags&&n(23).f(RegExp.prototype,"flags",{configurable:!0,get:n(90)})},function(e,t,n){t.f=n(19)},function(e,t,n){var r=n(14),i=n(52),o=n(53),a=n(156),c=n(23).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(27),i=n(159),o=n(47);e.exports=function(e,t,n,a){var c=String(o(e)),s=c.length,l=void 0===n?" ":String(n),u=r(t);if(u<=s||""==l)return c;var p=u-s,h=i.call(l,Math.ceil(p/l.length));return h.length>p&&(h=h.slice(0,p)),a?h+c:c+h}},function(e,t,n){"use strict";var r=n(54),i=n(47);e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t,n){"use strict";var r=n(14),i=n(26),o=n(53),a=n(120),c=n(36),s=n(70),l=n(17),u=n(71),p=n(54),h=n(27),f=n(161),d=n(63).f,m=n(23).f,b=n(96),g=n(68),v="prototype",y="Wrong index!",j=r.ArrayBuffer,O=r.DataView,_=r.Math,k=r.RangeError,w=r.Infinity,E=j,x=_.abs,C=_.pow,S=_.floor,A=_.log,M=_.LN2,T=i?"_b":"buffer",P=i?"_l":"byteLength",F=i?"_o":"byteOffset";function N(e,t,n){var r,i,o,a=new Array(n),c=8*n-t-1,s=(1<<c)-1,l=s>>1,u=23===t?C(2,-24)-C(2,-77):0,p=0,h=e<0||0===e&&1/e<0?1:0;for((e=x(e))!=e||e===w?(i=e!=e?1:0,r=s):(r=S(A(e)/M),e*(o=C(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?u/o:u*C(2,1-l))*o>=2&&(r++,o/=2),r+l>=s?(i=0,r=s):r+l>=1?(i=(e*o-1)*C(2,t),r+=l):(i=e*C(2,l-1)*C(2,t),r=0));t>=8;a[p++]=255&i,i/=256,t-=8);for(r=r<<t|i,c+=t;c>0;a[p++]=255&r,r/=256,c-=8);return a[--p]|=128*h,a}function z(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,c=i-7,s=n-1,l=e[s--],u=127&l;for(l>>=7;c>0;u=256*u+e[s],s--,c-=8);for(r=u&(1<<-c)-1,u>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:l?-w:w;r+=C(2,t),u-=a}return(l?-1:1)*r*C(2,u-t)}function D(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function R(e){return[255&e]}function I(e){return[255&e,e>>8&255]}function L(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function B(e){return N(e,52,8)}function q(e){return N(e,23,4)}function V(e,t,n){m(e[v],t,{get:function(){return this[n]}})}function H(e,t,n,r){var i=f(+n);if(i+t>e[P])throw k(y);var o=e[T]._b,a=i+e[F],c=o.slice(a,a+t);return r?c:c.reverse()}function U(e,t,n,r,i,o){var a=f(+n);if(a+t>e[P])throw k(y);for(var c=e[T]._b,s=a+e[F],l=r(+i),u=0;u<t;u++)c[s+u]=l[o?u:t-u-1]}if(a.ABV){if(!l(function(){j(1)})||!l(function(){new j(-1)})||l(function(){return new j,new j(1.5),new j(NaN),"ArrayBuffer"!=j.name})){for(var G,$=(j=function(e){return u(this,j),new E(f(e))})[v]=E[v],W=d(E),K=0;W.length>K;)(G=W[K++])in j||c(j,G,E[G]);o||($.constructor=j)}var Z=new O(new j(2)),J=O[v].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||s(O[v],{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else j=function(e){u(this,j,"ArrayBuffer");var t=f(e);this._b=b.call(new Array(t),0),this[P]=t},O=function(e,t,n){u(this,O,"DataView"),u(e,j,"DataView");var r=e[P],i=p(t);if(i<0||i>r)throw k("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw k("Wrong length!");this[T]=e,this[F]=i,this[P]=n},i&&(V(j,"byteLength","_l"),V(O,"buffer","_b"),V(O,"byteLength","_l"),V(O,"byteOffset","_o")),s(O[v],{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(H(this,4,e,arguments[1]))},getUint32:function(e){return D(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return z(H(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return z(H(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){U(this,1,e,R,t)},setUint8:function(e,t){U(this,1,e,R,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments[2])},setUint16:function(e,t){U(this,2,e,I,t,arguments[2])},setInt32:function(e,t){U(this,4,e,L,t,arguments[2])},setUint32:function(e,t){U(this,4,e,L,t,arguments[2])},setFloat32:function(e,t){U(this,4,e,q,t,arguments[2])},setFloat64:function(e,t){U(this,8,e,B,t,arguments[2])}});g(j,"ArrayBuffer"),g(O,"DataView"),c(O[v],a.VIEW,!0),t.ArrayBuffer=j,t.DataView=O},function(e,t,n){var r=n(54),i=n(27);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){"use strict";var r=n(70),i=n(55).getWeak,o=n(16),a=n(15),c=n(71),s=n(85),l=n(76),u=n(37),p=n(62),h=l(5),f=l(6),d=0,m=function(e){return e._l||(e._l=new b)},b=function(){this.a=[]},g=function(e,t){return h(e.a,function(e){return e[0]===t})};b.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var l=e(function(e,r){c(e,l,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&s(r,n,e[o],e)});return r(l.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(p(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(p(this,t)).has(e):n&&u(n,this._i)}}),l},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(33),i=n.n(r),o=n(72),a=n.n(o),c=(n(201),n(203),n(204),n(206),n(207),n(208),n(103),n(211),n(212),n(214),n(215),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(248),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(273),n(274),n(275),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(155),n(289),n(291),n(292),n(293),n(294),n(295),n(296),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(336),n(337),n(338),n(339),n(5));n(340);function s(){return l.apply(this,arguments)}function l(){return(l=a()(regeneratorRuntime.mark(function e(){var t,r,o,a,s,l,u,p=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=p.length>0&&void 0!==p[0]?p[0]:".swiper-container",r=p.length>1&&void 0!==p[1]?p[1]:{},o=p.length>2&&void 0!==p[2]?p[2]:{},a={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(c.mapValues)(o,function(e){return function(){e(this)}})},e.next=6,Promise.all([n.e(9).then(n.t.bind(null,530,7)),n.e(9).then(n.t.bind(null,531,7))]);case 6:return s=e.sent,l=i()(s,1),u=l[0].default,e.abrupt("return",new u(t,Object(c.merge)({},a,r)));case 10:case"end":return e.stop()}},e,this)}))).apply(this,arguments)}},function(e,t,n){"use strict";var r=n(33),i=n.n(r),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(0),j=n(1),O=n(5),_=n(2),k=(n(184),function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(d()(n),"handleClick",function(){(0,n.props.onClick)(d()(n))}),v()(d()(n),"getPoint",function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,i=e.markerColor,o=this.handleClick,a=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(a):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(a).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+i+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(y.Component));k.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=k,E=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(d()(n),"closeClick",function(){n.props.unsetActiveMarker()}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(y.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(y.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var x=E;var C=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"onMarkerClick",function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()}),v()(d()(e),"onMapClick",function(){e.setState({activeMarker:null})}),v()(d()(e),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(d()(e),"updateActiveMarker",function(t){var n=e.props.points,r=e.state.activeMarker.props.index,i=n.slice(0);Object(O.assign)(i[r],t),e.props.onSetPoints(i)}),v()(d()(e),"deleteActiveMarker",function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})}),v()(d()(e),"sizeMap",function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,i=.8*window.innerHeight,o=Math.min(.75*r,i);n.style.height=o+"px",t.resize(),e.setBoundsByMarkers()}),v()(d()(e),"setBoundsByMarkers",function(){var t=e.props,n=t.zoom,r=t.points,i=t.onSetZoom,o=e.state,a=o.map,c=o.activeMarker,s=o.mapboxgl,l=o.zoomControl,u=o.boundsSetProgrammatically;if(a&&r.length&&!c){var p=new s.LngLatBounds;if(r.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),r.length>1)return a.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void a.removeControl(l);if(a.setCenter(p.getCenter()),u){a.setZoom(12),i(12)}else a.setZoom(parseInt(n,10));a.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(d()(e),"scriptsLoaded",function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(y.createRef)(),e.debouncedSizeMap=Object(O.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,i=t.children,o=t.markerColor,a=this.state,c=a.map,s=a.activeMarker,l=a.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,f=Object(O.get)(s,"props.point")||{},d=f.title,m=f.caption,b=y.Children.map(i,function(e){if("AddPoint"===Object(O.get)(e,"props.tagName"))return e}),g=c&&l&&n.map(function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:o,onClick:u})}),v=l&&Object(y.createElement)(x,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(_.TextControl,{label:Object(j.a)("Marker Title"),value:d,onChange:function(e){return h({title:e})}}),Object(y.createElement)(_.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(j.a)("Marker Caption"),value:m,rows:"2",tag:"textarea",onChange:function(e){return h({caption:e})}}),Object(y.createElement)(_.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(y.createElement)(_.Dashicon,{icon:"trash",size:"15"})," ",Object(j.a)("Delete Marker"))),s&&!r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)("h3",null,d),Object(y.createElement)("p",null,m)));return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,i=t.points,o=t.mapStyle,a=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),i!==e.points&&this.setBoundsByMarkers(),i.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&a===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(5).then(n.t.bind(null,561,7)),n.e(5).then(n.t.bind(null,562,7))]).then(function(n){var r=i()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,i=r.zoom,o=r.onMapLoaded,a=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(i,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}s.on("error",function(e){a("mapbox_error",e.error.message)});var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",function(){t.props.onSetZoom(s.getZoom())}),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),o(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)})}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(y.Component);C.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=C},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(196),i=n(451),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(171).Symbol;e.exports=r},function(e,t,n){var r=n(448),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){e.exports=n(358)()},function(e,t,n){e.exports=function(){"use strict";var e=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},t=d,n=c,r=function(e){return s(c(e))},i=s,o=f,a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function c(e){for(var t,n=[],r=0,i=0,o="";null!=(t=a.exec(e));){var c=t[0],s=t[1],l=t.index;if(o+=e.slice(i,l),i=l+c.length,s)o+=s[1];else{o&&(n.push(o),o="");var p=t[2],h=t[3],f=t[4],d=t[5],m=t[6],b=t[7],g="+"===m||"*"===m,v="?"===m||"*"===m,y=p||"/",j=f||d||(b?".*":"[^"+y+"]+?");n.push({name:h||r++,prefix:p||"",delimiter:y,optional:v,repeat:g,pattern:u(j)})}}return i<e.length&&(o+=e.substr(i)),o&&n.push(o),n}function s(t){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^"+t[r].pattern+"$"));return function(r){for(var i="",o=r||{},a=0;a<t.length;a++){var c=t[a];if("string"!=typeof c){var s,l=o[c.name];if(null==l){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to be defined')}if(e(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received "'+l+'"');if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var u=0;u<l.length;u++){if(s=encodeURIComponent(l[u]),!n[a].test(s))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');i+=(0===u?c.prefix:c.delimiter)+s}}else{if(s=encodeURIComponent(l),!n[a].test(s))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');i+=c.prefix+s}}else i+=c}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function p(e,t){return e.keys=t,e}function h(e){return e.sensitive?"":"i"}function f(e,t){for(var n=(t=t||{}).strict,r=!1!==t.end,i="",o=e[e.length-1],a="string"==typeof o&&/\/$/.test(o),c=0;c<e.length;c++){var s=e[c];if("string"==typeof s)i+=l(s);else{var u=l(s.prefix),p=s.pattern;s.repeat&&(p+="(?:"+u+p+")*"),p=s.optional?u?"(?:"+u+"("+p+"))?":"("+p+")?":u+"("+p+")",i+=p}}return n||(i=(a?i.slice(0,-2):i)+"(?:\\/(?=$))?"),i+=r?"$":n&&a?"":"(?=\\/|$)",new RegExp("^"+i,h(t))}function d(t,n,r){return e(n=n||[])?r||(r={}):(r=n,n=[]),t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return p(e,t)}(t,n):e(t)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(d(e[i],t,n).source);return p(new RegExp("(?:"+r.join("|")+")",h(n)),t)}(t,n,r):function(e,t,n){for(var r=c(e),i=f(r,n),o=0;o<r.length;o++)"string"!=typeof r[o]&&t.push(r[o]);return p(i,t)}(t,n,r)}t.parse=n,t.compile=r,t.tokensToFunction=i,t.tokensToRegExp=o;var m,b="undefined"!=typeof document,g="undefined"!=typeof window,v="undefined"!=typeof history,y="undefined"!=typeof process,j=b&&document.ontouchstart?"touchstart":"click",O=g&&!(!window.history.location&&!window.location);function _(){this.callbacks=[],this.exits=[],this.current="",this.len=0,this._decodeURLComponents=!0,this._base="",this._strict=!1,this._running=!1,this._hashbang=!1,this.clickHandler=this.clickHandler.bind(this),this._onpopstate=this._onpopstate.bind(this)}function k(e,t){if("function"==typeof e)return k.call(this,"*",e);if("function"==typeof t)for(var n=new E(e,null,this),r=1;r<arguments.length;++r)this.callbacks.push(n.middleware(arguments[r]));else"string"==typeof e?this["string"==typeof t?"redirect":"show"](e,t):this.start(e)}function w(e,t,n){var r=this.page=n||k,i=r._window,o=r._hashbang,a=r._getBase();"/"===e[0]&&0!==e.indexOf(a)&&(e=a+(o?"#!":"")+e);var c=e.indexOf("?");this.canonicalPath=e;var s=new RegExp("^"+a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1"));if(this.path=e.replace(s,"")||"/",o&&(this.path=this.path.replace("#!","")||"/"),this.title=b&&i.document.title,this.state=t||{},this.state.path=e,this.querystring=~c?r._decodeURLEncodedURIComponent(e.slice(c+1)):"",this.pathname=r._decodeURLEncodedURIComponent(~c?e.slice(0,c):e),this.params={},this.hash="",!o){if(!~this.path.indexOf("#"))return;var l=this.path.split("#");this.path=this.pathname=l[0],this.hash=r._decodeURLEncodedURIComponent(l[1])||"",this.querystring=this.querystring.split("#")[0]}}function E(e,n,r){this.page=r||x;var i=n||{};i.strict=i.strict||r._strict,this.path="*"===e?"(.*)":e,this.method="GET",this.regexp=t(this.path,this.keys=[],i)}_.prototype.configure=function(e){var t=e||{};this._window=t.window||g&&window,this._decodeURLComponents=!1!==t.decodeURLComponents,this._popstate=!1!==t.popstate&&g,this._click=!1!==t.click&&b,this._hashbang=!!t.hashbang;var n=this._window;this._popstate?n.addEventListener("popstate",this._onpopstate,!1):g&&n.removeEventListener("popstate",this._onpopstate,!1),this._click?n.document.addEventListener(j,this.clickHandler,!1):b&&n.document.removeEventListener(j,this.clickHandler,!1),this._hashbang&&g&&!v?n.addEventListener("hashchange",this._onpopstate,!1):g&&n.removeEventListener("hashchange",this._onpopstate,!1)},_.prototype.base=function(e){if(0===arguments.length)return this._base;this._base=e},_.prototype._getBase=function(){var e=this._base;if(e)return e;var t=g&&this._window&&this._window.location;return g&&this._hashbang&&t&&"file:"===t.protocol&&(e=t.pathname),e},_.prototype.strict=function(e){if(0===arguments.length)return this._strict;this._strict=e},_.prototype.start=function(e){var t=e||{};if(this.configure(t),!1!==t.dispatch){var n;if(this._running=!0,O){var r=this._window,i=r.location;n=this._hashbang&&~i.hash.indexOf("#!")?i.hash.substr(2)+i.search:this._hashbang?i.search+i.hash:i.pathname+i.search+i.hash}this.replace(n,null,!0,t.dispatch)}},_.prototype.stop=function(){if(this._running){this.current="",this.len=0,this._running=!1;var e=this._window;this._click&&e.document.removeEventListener(j,this.clickHandler,!1),g&&e.removeEventListener("popstate",this._onpopstate,!1),g&&e.removeEventListener("hashchange",this._onpopstate,!1)}},_.prototype.show=function(e,t,n,r){var i=new w(e,t,this),o=this.prevContext;return this.prevContext=i,this.current=i.path,!1!==n&&this.dispatch(i,o),!1!==i.handled&&!1!==r&&i.pushState(),i},_.prototype.back=function(e,t){var n=this;if(this.len>0){var r=this._window;v&&r.history.back(),this.len--}else e?setTimeout(function(){n.show(e,t)}):setTimeout(function(){n.show(n._getBase(),t)})},_.prototype.redirect=function(e,t){var n=this;"string"==typeof e&&"string"==typeof t&&k.call(this,e,function(e){setTimeout(function(){n.replace(t)},0)}),"string"==typeof e&&void 0===t&&setTimeout(function(){n.replace(e)},0)},_.prototype.replace=function(e,t,n,r){var i=new w(e,t,this),o=this.prevContext;return this.prevContext=i,this.current=i.path,i.init=n,i.save(),!1!==r&&this.dispatch(i,o),i},_.prototype.dispatch=function(e,t){var n=0,r=0,i=this;function o(){var t=i.callbacks[n++];if(e.path===i.current)return t?void t(e,o):function(e){if(!e.handled){var t=this._window;(this._hashbang?O&&this._getBase()+t.location.hash.replace("#!",""):O&&t.location.pathname+t.location.search)!==e.canonicalPath&&(this.stop(),e.handled=!1,O&&(t.location.href=e.canonicalPath))}}.call(i,e);e.handled=!1}t?function e(){var n=i.exits[r++];if(!n)return o();n(t,e)}():o()},_.prototype.exit=function(e,t){if("function"==typeof e)return this.exit("*",e);for(var n=new E(e,null,this),r=1;r<arguments.length;++r)this.exits.push(n.middleware(arguments[r]))},_.prototype.clickHandler=function(e){if(1===this._which(e)&&!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented)){var t=e.target,n=e.path||(e.composedPath?e.composedPath():null);if(n)for(var r=0;r<n.length;r++)if(n[r].nodeName&&"A"===n[r].nodeName.toUpperCase()&&n[r].href){t=n[r];break}for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;if(t&&"A"===t.nodeName.toUpperCase()){var i="object"==typeof t.href&&"SVGAnimatedString"===t.href.constructor.name;if(!t.hasAttribute("download")&&"external"!==t.getAttribute("rel")){var o=t.getAttribute("href");if((this._hashbang||!this._samePath(t)||!t.hash&&"#"!==o)&&!(o&&o.indexOf("mailto:")>-1)&&(i?!t.target.baseVal:!t.target)&&(i||this.sameOrigin(t.href))){var a=i?t.href.baseVal:t.pathname+t.search+(t.hash||"");a="/"!==a[0]?"/"+a:a,y&&a.match(/^\/[a-zA-Z]:\//)&&(a=a.replace(/^\/[a-zA-Z]:\//,"/"));var c=a,s=this._getBase();0===a.indexOf(s)&&(a=a.substr(s.length)),this._hashbang&&(a=a.replace("#!","")),(!s||c!==a||O&&"file:"===this._window.location.protocol)&&(e.preventDefault(),this.show(c))}}}}},_.prototype._onpopstate=(m=!1,g?(b&&"complete"===document.readyState?m=!0:window.addEventListener("load",function(){setTimeout(function(){m=!0},0)}),function(e){if(m)if(e.state){var t=e.state.path;this.replace(t,e.state)}else if(O){var n=this._window.location;this.show(n.pathname+n.search+n.hash,void 0,void 0,!1)}}):function(){}),_.prototype._which=function(e){return null==(e=e||g&&this._window.event).which?e.button:e.which},_.prototype._toURL=function(e){var t=this._window;if("function"==typeof URL&&O)return new URL(e,t.location.toString());if(b){var n=t.document.createElement("a");return n.href=e,n}},_.prototype.sameOrigin=function(e){if(!e||!O)return!1;var t=this._toURL(e),n=this._window,r=n.location;return r.protocol===t.protocol&&r.hostname===t.hostname&&r.port===t.port},_.prototype._samePath=function(e){if(!O)return!1;var t=this._window,n=t.location;return e.pathname===n.pathname&&e.search===n.search},_.prototype._decodeURLEncodedURIComponent=function(e){return"string"!=typeof e?e:this._decodeURLComponents?decodeURIComponent(e.replace(/\+/g," ")):e},w.prototype.pushState=function(){var e=this.page,t=e._window,n=e._hashbang;e.len++,v&&t.history.pushState(this.state,this.title,n&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},w.prototype.save=function(){var e=this.page;v&&e._window.history.replaceState(this.state,this.title,e._hashbang&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},E.prototype.middleware=function(e){var t=this;return function(n,r){if(t.match(n.path,n.params))return e(n,r);r()}},E.prototype.match=function(e,t){var n=this.keys,r=e.indexOf("?"),i=~r?e.slice(0,r):e,o=this.regexp.exec(decodeURIComponent(i));if(!o)return!1;for(var a=1,c=o.length;a<c;++a){var s=n[a-1],l=this.page._decodeURLEncodedURIComponent(o[a]);void 0===l&&hasOwnProperty.call(t,s.name)||(t[s.name]=l)}return!0};var x=function e(){var t=new _;function n(){return k.apply(t,arguments)}return n.callbacks=t.callbacks,n.exits=t.exits,n.base=t.base.bind(t),n.strict=t.strict.bind(t),n.start=t.start.bind(t),n.stop=t.stop.bind(t),n.show=t.show.bind(t),n.back=t.back.bind(t),n.redirect=t.redirect.bind(t),n.replace=t.replace.bind(t),n.dispatch=t.dispatch.bind(t),n.exit=t.exit.bind(t),n.configure=t.configure.bind(t),n.sameOrigin=t.sameOrigin.bind(t),n.clickHandler=t.clickHandler.bind(t),n.create=e,Object.defineProperty(n,"len",{get:function(){return t.len},set:function(e){t.len=e}}),Object.defineProperty(n,"current",{get:function(){return t.current},set:function(e){t.current=e}}),n.Context=w,n.Route=E,n}(),C=x,S=x;return C.default=S,C}()},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof window&&window;o.global!==o&&o.window!==o&&o.self;var a,c=2147483647,s=36,l=1,u=26,p=38,h=700,f=72,d=128,m="-",b=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-l,O=Math.floor,_=String.fromCharCode;function k(e){throw RangeError(y[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function C(e){return w(e,function(e){var t="";return e>65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)}).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?O(e/h):e>>1,e+=O(e/t);e>j*u>>1;r+=s)e=O(e/j);return O(r+(j+1)*e/(e+p))}function M(e){var t,n,r,i,o,a,p,h,b,g,v,y=[],j=e.length,_=0,w=d,E=f;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&k("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<j;){for(o=_,a=1,p=s;i>=j&&k("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||h>O((c-_)/a))&&k("overflow"),_+=h*a,!(h<(b=p<=E?l:p>=E+u?u:p-E));p+=s)a>O(c/(g=s-b))&&k("overflow"),a*=g;E=A(_-o,t=y.length+1,0==o),O(_/t)>c-w&&k("overflow"),w+=O(_/t),_%=t,y.splice(_++,0,w)}return C(y)}function T(e){var t,n,r,i,o,a,p,h,b,g,v,y,j,w,E,C=[];for(y=(e=x(e)).length,t=d,n=0,o=f,a=0;a<y;++a)(v=e[a])<128&&C.push(_(v));for(r=i=C.length,i&&C.push(m);r<y;){for(p=c,a=0;a<y;++a)(v=e[a])>=t&&v<p&&(p=v);for(p-t>O((c-n)/(j=r+1))&&k("overflow"),n+=(p-t)*j,t=p,a=0;a<y;++a)if((v=e[a])<t&&++n>c&&k("overflow"),v==t){for(h=n,b=s;!(h<(g=b<=o?l:b>=o+u?u:b-o));b+=s)E=h-g,w=s-g,C.push(_(S(g+E%w,0))),h=O(E/w);C.push(_(S(h,0))),o=A(n,j,r==i),n=0,++r}++n,++t}return C.join("")}a={version:"1.3.2",ucs2:{decode:x,encode:C},decode:M,encode:T,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return E(e,function(e){return b.test(e)?M(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(360)(e))},function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";e.exports=n(391)},function(e,t,n){"use strict";e.exports.encode=n(392),e.exports.decode=n(393),e.exports.format=n(394),e.exports.parse=n(395)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,c=e.src.charCodeAt(a);if(t)return!1;if(126!==c)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(c),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),n=0;n<i;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,o,a=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(i=c[r.end],(o=e.tokens[r.token]).type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",(o=e.tokens[i.token]).type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(n=(t=a.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,o,a,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],a=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,o=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",(i=e.tokens[r.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){var r=n(170),i=n(449),o=n(450),a="[object Null]",c="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:a:s&&s in Object(e)?i(e):o(e)}},function(e,t,n){var r=n(459),i=n(464);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(200);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(170),i=n(482),o=n(168),a=n(169),c=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-c?"-0":n}},function(e,t,n){var r=n(6);r(r.P,"Array",{copyWithin:n(138)}),n(59)("copyWithin")},function(e,t,n){e.exports=n(82)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(6);r(r.P,"Array",{fill:n(96)}),n(59)("fill")},function(e,t,n){"use strict";var r=n(6),i=n(76)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(59)("find")},function(e,t,n){var r=n(15),i=n(98),o=n(19)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(6),i=n(76)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(59)(o)},function(e,t,n){"use strict";var r=n(42),i=n(6),o=n(32),a=n(140),c=n(99),s=n(27),l=n(100),u=n(101);i(i.S+i.F*!n(84)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,p,h=o(e),f="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,b=void 0!==m,g=0,v=u(h);if(b&&(m=r(m,d>2?arguments[2]:void 0,2)),null==v||f==Array&&c(v))for(n=new f(t=s(h.length));t>g;g++)l(n,g,b?m(h[g],g):h[g]);else for(p=v.call(h),n=new f;!(i=p.next()).done;g++)l(n,g,b?a(p,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(6),i=n(102)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(59)("includes")},function(e,t,n){"use strict";var r=n(67),i=n(57),o=n(68),a={};n(36)(a,n(19)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(23),i=n(16),o=n(61);e.exports=n(26)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),c=a.length,s=0;c>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){"use strict";var r=n(6),i=n(100);r(r.S+r.F*n(17)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(6),i=n(40),o=n(32),a=n(17),c=[].sort,s=[1,2,3];r(r.P+r.F*(a(function(){s.sort(void 0)})||!a(function(){s.sort(null)})||!n(213)(c)),"Array",{sort:function(e){return void 0===e?c.call(o(this)):c.call(o(this),i(e))}})},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){n(69)("Array")},function(e,t,n){var r=n(19)("toPrimitive"),i=Date.prototype;r in i||n(36)(i,r,n(216))},function(e,t,n){"use strict";var r=n(16),i=n(46);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){"use strict";var r=n(15),i=n(48),o=n(19)("hasInstance"),a=Function.prototype;o in a||n(23).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(23).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(26)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(144),i=n(62);e.exports=n(86)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(6),i=n(145),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var r=n(6),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(6),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(6),i=n(109);r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(6);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(6),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(6),i=n(110);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(6);r(r.S,"Math",{fround:n(228)})},function(e,t,n){var r=n(109),i=Math.pow,o=i(2,-52),a=i(2,-23),c=i(2,127)*(2-a),s=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),l=r(e);return i<s?l*(i/s/a+1/o-1/o)*s*a:(n=(t=(1+a/o)*i)-(t-i))>c||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(6),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,c=arguments.length,s=0;a<c;)s<(n=i(arguments[a++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(o)}})},function(e,t,n){var r=n(6),i=Math.imul;r(r.S+r.F*n(17)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(6);r(r.S,"Math",{log1p:n(145)})},function(e,t,n){var r=n(6);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(6);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(6);r(r.S,"Math",{sign:n(109)})},function(e,t,n){var r=n(6),i=n(110),o=Math.exp;r(r.S+r.F*n(17)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(6),i=n(110),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var r=n(6);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(14),i=n(37),o=n(60),a=n(107),c=n(46),s=n(17),l=n(63).f,u=n(38).f,p=n(23).f,h=n(111).trim,f=r.Number,d=f,m=f.prototype,b="Number"==o(n(67)(m)),g="trim"in String.prototype,v=function(e){var t=c(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=g?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,s=t.slice(2),l=0,u=s.length;l<u;l++)if((a=s.charCodeAt(l))<48||a>i)return NaN;return parseInt(s,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(b?s(function(){m.valueOf.call(n)}):"Number"!=o(n))?a(new d(v(t)),n,f):v(t)};for(var y,j=n(26)?l(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;j.length>O;O++)i(d,y=j[O])&&!i(f,y)&&p(f,y,u(d,y));f.prototype=m,m.constructor=f,n(39)(r,"Number",f)}},function(e,t,n){var r=n(6);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(6),i=n(14).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(6);r(r.S,"Number",{isInteger:n(146)})},function(e,t,n){var r=n(6);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(6),i=n(146),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},function(e,t,n){var r=n(6);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(6);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(6),i=n(247);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(14).parseFloat,i=n(111).trim;e.exports=1/r(n(112)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(6),i=n(249);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(14).parseInt,i=n(111).trim,o=n(112),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(147)})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(40),a=n(23);n(26)&&r(r.P+n(88),"Object",{__defineGetter__:function(e,t){a.f(i(this),e,{get:o(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(40),a=n(23);n(26)&&r(r.P+n(88),"Object",{__defineSetter__:function(e,t){a.f(i(this),e,{set:o(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(6),i=n(148)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){var r=n(15),i=n(55).onFreeze;n(44)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(43),i=n(38).f;n(44)("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(6),i=n(149),o=n(43),a=n(38),c=n(100);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),s=a.f,l=i(r),u={},p=0;l.length>p;)void 0!==(n=s(r,t=l[p++]))&&c(u,t,n);return u}})},function(e,t,n){n(44)("getOwnPropertyNames",function(){return n(150).f})},function(e,t,n){var r=n(32),i=n(48);n(44)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(46),a=n(48),c=n(38).f;n(26)&&r(r.P+n(88),"Object",{__lookupGetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=c(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(6),i=n(32),o=n(46),a=n(48),c=n(38).f;n(26)&&r(r.P+n(88),"Object",{__lookupSetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=c(n,r))return t.set}while(n=a(n))}})},function(e,t,n){var r=n(15),i=n(55).onFreeze;n(44)("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(6);r(r.S,"Object",{is:n(151)})},function(e,t,n){var r=n(15);n(44)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(15);n(44)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(15);n(44)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(32),i=n(61);n(44)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(15),i=n(55).onFreeze;n(44)("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(108).set})},function(e,t,n){var r=n(6),i=n(148)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){"use strict";var r,i,o,a,c=n(53),s=n(14),l=n(42),u=n(83),p=n(6),h=n(15),f=n(40),d=n(71),m=n(85),b=n(78),g=n(113).set,v=n(271)(),y=n(153),j=n(272),O=n(89),_=n(154),k=s.TypeError,w=s.process,E=w&&w.versions,x=E&&E.v8||"",C=s.Promise,S="process"==u(w),A=function(){},M=i=y.f,T=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n(19)("species")]=function(e){e(A,A)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==x.indexOf("6.6")&&-1===O.indexOf("Chrome/66")}catch(e){}}(),P=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},F=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,c=i?t.ok:t.fail,s=t.resolve,l=t.reject,u=t.domain;try{c?(i||(2==e._h&&D(e),e._h=1),!0===c?n=r:(u&&u.enter(),n=c(r),u&&(u.exit(),a=!0)),n===t.promise?l(k("Promise-chain cycle")):(o=P(n))?o.call(n,s,l):s(n)):l(r)}catch(e){u&&!a&&u.exit(),l(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){g.call(s,function(){var t,n,r,i=e._v,o=z(e);if(o&&(t=j(function(){S?w.emit("unhandledRejection",i,e):(n=s.onunhandledrejection)?n({promise:e,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||z(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},z=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){g.call(s,function(){var t;S?w.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),F(t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=P(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,l(I,r,1),l(R,r,1))}catch(e){R.call(r,e)}}):(n._v=e,n._s=1,F(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};T||(C=function(e){d(this,C,"Promise","_h"),f(e),r.call(this);try{e(l(I,this,1),l(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(70)(C.prototype,{then:function(e,t){var n=M(b(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=l(I,e,1),this.reject=l(R,e,1)},y.f=M=function(e){return e===C||e===a?new o(e):i(e)}),p(p.G+p.W+p.F*!T,{Promise:C}),n(68)(C,"Promise"),n(69)("Promise"),a=n(52).Promise,p(p.S+p.F*!T,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(c||!T),"Promise",{resolve:function(e){return _(c&&this===a?C:this,e)}}),p(p.S+p.F*!(T&&n(84)(function(e){C.all(e).catch(A)})),"Promise",{all:function(e){var t=this,n=M(t),r=n.resolve,i=n.reject,o=j(function(){var n=[],o=0,a=1;m(e,!1,function(e){var c=o++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[c]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,i=j(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){var r=n(14),i=n(113).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n(60)(a);e.exports=function(){var e,t,n,l=function(){var r,i;for(s&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var u=c.resolve(void 0);n=function(){u.then(l)}}else n=function(){i.call(r,l)};else{var p=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),n=function(){h.data=p=!p}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(6),i=n(52),o=n(14),a=n(78),c=n(154);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){var r=n(6),i=n(40),o=n(16),a=(n(14).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n(17)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=i(e),s=o(n);return a?a(r,t,s):c.call(r,t,s)}})},function(e,t,n){var r=n(6),i=n(67),o=n(40),a=n(16),c=n(15),s=n(17),l=n(276),u=(n(14).Reflect||{}).construct,p=s(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),h=!s(function(){u(function(){})});r(r.S+r.F*(p||h),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!p)return u(e,t,n);if(e==n){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])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var s=n.prototype,f=i(c(s)?s:Object.prototype),d=Function.apply.call(e,f,t);return c(d)?d:f}})},function(e,t,n){"use strict";var r=n(40),i=n(15),o=n(152),a=[].slice,c={};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?function(e,t,n){if(!(t in c)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)}(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){var r=n(23),i=n(6),o=n(16),a=n(46);i(i.S+i.F*n(17)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(6),i=n(38).f,o=n(16);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(38),i=n(48),o=n(37),a=n(6),c=n(15),s=n(16);a(a.S,"Reflect",{get:function e(t,n){var a,l,u=arguments.length<3?t:arguments[2];return s(t)===u?t[n]:(a=r.f(t,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:c(l=i(t))?e(l,n,u):void 0}})},function(e,t,n){var r=n(38),i=n(6),o=n(16);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},function(e,t,n){var r=n(6),i=n(48),o=n(16);r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){var r=n(6);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(6),i=n(16),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},function(e,t,n){var r=n(6);r(r.S,"Reflect",{ownKeys:n(149)})},function(e,t,n){var r=n(6),i=n(16),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(23),i=n(38),o=n(48),a=n(37),c=n(6),s=n(57),l=n(16),u=n(15);c(c.S,"Reflect",{set:function e(t,n,c){var p,h,f=arguments.length<4?t:arguments[3],d=i.f(l(t),n);if(!d){if(u(h=o(t)))return e(h,n,c,f);d=s(0)}if(a(d,"value")){if(!1===d.writable||!u(f))return!1;if(p=i.f(f,n)){if(p.get||p.set||!1===p.writable)return!1;p.value=c,r.f(f,n,p)}else r.f(f,n,s(0,c));return!0}return void 0!==d.set&&(d.set.call(f,c),!0)}})},function(e,t,n){var r=n(6),i=n(108);i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(14),i=n(107),o=n(23).f,a=n(63).f,c=n(114),s=n(90),l=r.RegExp,u=l,p=l.prototype,h=/a/g,f=/a/g,d=new l(h)!==h;if(n(26)&&(!d||n(17)(function(){return f[n(19)("match")]=!1,l(h)!=h||l(f)==f||"/a/i"!=l(h,"i")}))){l=function(e,t){var n=this instanceof l,r=c(e),o=void 0===t;return!n&&r&&e.constructor===l&&o?e:i(d?new u(r&&!o?e.source:e,t):u((r=e instanceof l)?e.source:e,r&&o?s.call(e):t),n?this:p,l)};for(var m=function(e){e in l||o(l,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},b=a(u),g=0;b.length>g;)m(b[g++]);p.constructor=l,l.prototype=p,n(39)(r,"RegExp",l)}n(69)("RegExp")},function(e,t,n){"use strict";var r=n(16),i=n(27),o=n(115),a=n(91);n(92)("match",1,function(e,t,n,c){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=c(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this);if(!s.global)return a(s,l);var u=s.unicode;s.lastIndex=0;for(var p,h=[],f=0;null!==(p=a(s,l));){var d=String(p[0]);h[f]=d,""===d&&(s.lastIndex=o(l,i(s.lastIndex),u)),f++}return 0===f?null:h}]})},function(e,t,n){"use strict";var r=n(117);n(6)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){"use strict";var r=n(16),i=n(32),o=n(27),a=n(54),c=n(115),s=n(91),l=Math.max,u=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n(92)("replace",2,function(e,t,n,d){return[function(r,i){var o=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var p=r(e),h=String(this),f="function"==typeof t;f||(t=String(t));var b=p.global;if(b){var g=p.unicode;p.lastIndex=0}for(var v=[];;){var y=s(p,h);if(null===y)break;if(v.push(y),!b)break;""===String(y[0])&&(p.lastIndex=c(h,o(p.lastIndex),g))}for(var j,O="",_=0,k=0;k<v.length;k++){y=v[k];for(var w=String(y[0]),E=l(u(a(y.index),h.length),0),x=[],C=1;C<y.length;C++)x.push(void 0===(j=y[C])?j:String(j));var S=y.groups;if(f){var A=[w].concat(x,E,h);void 0!==S&&A.push(S);var M=String(t.apply(void 0,A))}else M=m(w,h,E,x,S,t);E>=_&&(O+=h.slice(_,E)+M,_=E+w.length)}return O+h.slice(_)}];function m(e,t,r,o,a,c){var s=r+e.length,l=o.length,u=f;return void 0!==a&&(a=i(a),u=h),n.call(c,u,function(n,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>l){var h=p(u/10);return 0===h?n:h<=l?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}c=o[u-1]}return void 0===c?"":c})}})},function(e,t,n){"use strict";var r=n(114),i=n(16),o=n(78),a=n(115),c=n(27),s=n(91),l=n(117),u=n(17),p=Math.min,h=[].push,f=!u(function(){RegExp(4294967295,"y")});n(92)("split",2,function(e,t,n,u){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,c,s=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,f=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,u+"g");(o=l.call(d,i))&&!((a=d.lastIndex)>p&&(s.push(i.slice(p,o.index)),o.length>1&&o.index<i.length&&h.apply(s,o.slice(1)),c=o[0].length,p=a,s.length>=f));)d.lastIndex===o.index&&d.lastIndex++;return p===i.length?!c&&d.test("")||s.push(""):s.push(i.slice(p)),s.length>f?s.slice(0,f):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):d.call(String(i),n,r)},function(e,t){var r=u(d,e,this,t,d!==n);if(r.done)return r.value;var l=i(e),h=String(this),m=o(l,RegExp),b=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(f?"y":"g"),v=new m(f?l:"^(?:"+l.source+")",g),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===h.length)return null===s(v,h)?[h]:[];for(var j=0,O=0,_=[];O<h.length;){v.lastIndex=f?O:0;var k,w=s(v,f?h:h.slice(O));if(null===w||(k=p(c(v.lastIndex+(f?0:O)),h.length))===j)O=a(h,O,b);else{if(_.push(h.slice(j,O)),_.length===y)return _;for(var E=1;E<=w.length-1;E++)if(_.push(w[E]),_.length===y)return _;O=j=k}}return _.push(h.slice(j)),_}]})},function(e,t,n){"use strict";var r=n(16),i=n(151),o=n(91);n(92)("search",1,function(e,t,n,a){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var c=r(e),s=String(this),l=c.lastIndex;i(l,0)||(c.lastIndex=0);var u=o(c,s);return i(c.lastIndex,l)||(c.lastIndex=l),null===u?-1:u.index}]})},function(e,t,n){"use strict";n(155);var r=n(16),i=n(90),o=n(26),a=/./.toString,c=function(e){n(39)(RegExp.prototype,"toString",e,!0)};n(17)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?c(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=a.name&&c(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(144),i=n(62);e.exports=n(86)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(14),i=n(37),o=n(26),a=n(6),c=n(39),s=n(55).KEY,l=n(17),u=n(82),p=n(68),h=n(58),f=n(19),d=n(156),m=n(157),b=n(297),g=n(98),v=n(16),y=n(15),j=n(43),O=n(46),_=n(57),k=n(67),w=n(150),E=n(38),x=n(23),C=n(61),S=E.f,A=x.f,M=w.f,T=r.Symbol,P=r.JSON,F=P&&P.stringify,N=f("_hidden"),z=f("toPrimitive"),D={}.propertyIsEnumerable,R=u("symbol-registry"),I=u("symbols"),L=u("op-symbols"),B=Object.prototype,q="function"==typeof T,V=r.QObject,H=!V||!V.prototype||!V.prototype.findChild,U=o&&l(function(){return 7!=k(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],A(e,t,n),r&&e!==B&&A(B,t,r)}:A,G=function(e){var t=I[e]=k(T.prototype);return t._k=e,t},$=q&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},W=function(e,t,n){return e===B&&W(L,t,n),v(e),t=O(t,!0),v(n),i(I,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=k(n,{enumerable:_(0,!1)})):(i(e,N)||A(e,N,_(1,{})),e[N][t]=!0),U(e,t,n)):A(e,t,n)},K=function(e,t){v(e);for(var n,r=b(t=j(t)),i=0,o=r.length;o>i;)W(e,n=r[i++],t[n]);return e},Z=function(e){var t=D.call(this,e=O(e,!0));return!(this===B&&i(I,e)&&!i(L,e))&&(!(t||!i(this,e)||!i(I,e)||i(this,N)&&this[N][e])||t)},J=function(e,t){if(e=j(e),t=O(t,!0),e!==B||!i(I,t)||i(L,t)){var n=S(e,t);return!n||!i(I,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=M(j(e)),r=[],o=0;n.length>o;)i(I,t=n[o++])||t==N||t==s||r.push(t);return r},X=function(e){for(var t,n=e===B,r=M(n?L:j(e)),o=[],a=0;r.length>a;)!i(I,t=r[a++])||n&&!i(B,t)||o.push(I[t]);return o};q||(c((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(L,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),U(this,e,_(1,n))};return o&&H&&U(B,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),E.f=J,x.f=W,n(63).f=w.f=Y,n(77).f=Z,n(87).f=X,o&&!n(53)&&c(B,"propertyIsEnumerable",Z,!0),d.f=function(e){return G(f(e))}),a(a.G+a.W+a.F*!q,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)f(Q[ee++]);for(var te=C(f.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!q,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:W,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Y,getOwnPropertySymbols:X}),P&&a(a.S+a.F*(!q||l(function(){var e=T();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!$(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,F.apply(P,r)}}),T.prototype[z]||n(36)(T.prototype,z,T.prototype.valueOf),p(T,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(61),i=n(87),o=n(77);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,c=n(e),s=o.f,l=0;c.length>l;)s.call(e,a=c[l++])&&t.push(a);return t}},function(e,t,n){n(157)("asyncIterator")},function(e,t,n){"use strict";n(34)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(34)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(34)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(34)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(6),i=n(116)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(6),i=n(27),o=n(118),a="".endsWith;r(r.P+r.F*n(119)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),c=void 0===n?r:Math.min(i(n),r),s=String(e);return a?a.call(t,s,c):t.slice(c-s.length,c)===s}})},function(e,t,n){"use strict";n(34)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(34)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(34)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(6),i=n(65),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(6),i=n(118);r(r.P+r.F*n(119)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(34)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";var r=n(116)(!0);n(104)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";n(34)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";var r=n(6),i=n(158),o=n(89),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";var r=n(6),i=n(158),o=n(89),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){var r=n(6),i=n(43),o=n(27);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},function(e,t,n){var r=n(6);r(r.P,"String",{repeat:n(159)})},function(e,t,n){"use strict";n(34)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(6),i=n(27),o=n(118),a="".startsWith;r(r.P+r.F*n(119)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(34)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(34)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(34)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";var r=n(6),i=n(120),o=n(160),a=n(16),c=n(65),s=n(27),l=n(15),u=n(14).ArrayBuffer,p=n(78),h=o.ArrayBuffer,f=o.DataView,d=i.ABV&&u.isView,m=h.prototype.slice,b=i.VIEW;r(r.G+r.W+r.F*(u!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return d&&d(e)||l(e)&&b in e}}),r(r.P+r.U+r.F*n(17)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=c(e,n),i=c(void 0===t?n:t,n),o=new(p(this,h))(s(i-r)),l=new f(this),u=new f(o),d=0;r<i;)u.setUint8(d++,l.getUint8(r++));return o}}),n(69)("ArrayBuffer")},function(e,t,n){n(49)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(49)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(49)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r,i=n(14),o=n(76)(0),a=n(39),c=n(55),s=n(147),l=n(162),u=n(15),p=n(62),h=n(62),f=!i.ActiveXObject&&"ActiveXObject"in i,d=c.getWeak,m=Object.isExtensible,b=l.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(u(e)){var t=d(e);return!0===t?b(p(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(p(this,"WeakMap"),e,t)}},y=e.exports=n(86)("WeakMap",g,v,l,!0,!0);h&&f&&(s((r=l.getConstructor(g,"WeakMap")).prototype,v),c.NEED=!0,o(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];a(t,e,function(t,i){if(u(t)&&!m(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(162),i=n(62);n(86)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(6),i=n(335),o=n(32),a=n(27),c=n(40),s=n(139);r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return c(e),t=a(r.length),n=s(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n(59)("flatMap")},function(e,t,n){"use strict";var r=n(98),i=n(15),o=n(27),a=n(42),c=n(19)("isConcatSpreadable");e.exports=function e(t,n,s,l,u,p,h,f){for(var d,m,b=u,g=0,v=!!h&&a(h,f,3);g<l;){if(g in s){if(d=v?v(s[g],g,n):s[g],m=!1,i(d)&&(m=void 0!==(m=d[c])?!!m:r(d)),m&&p>0)b=e(t,n,d,o(d.length),b,p-1)-1;else{if(b>=9007199254740991)throw TypeError();t[b]=d}b++}g++}return b}},function(e,t,n){var r=n(14),i=n(6),o=n(89),a=[].slice,c=/MSIE .\./.test(o),s=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*c,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(e,t,n){var r=n(6),i=n(113);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(103),i=n(61),o=n(39),a=n(14),c=n(36),s=n(66),l=n(19),u=l("iterator"),p=l("toStringTag"),h=s.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(f),m=0;m<d.length;m++){var b,g=d[m],v=f[g],y=a[g],j=y&&y.prototype;if(j&&(j[u]||c(j,u,h),j[p]||c(j,p,g),s[g]=h,v))for(b in r)j[b]||o(j,b,r[b],!0)}},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",l="object"==typeof e,u=t.regeneratorRuntime;if(u)l&&(e.exports=u);else{(u=t.regeneratorRuntime=l?e.exports:{}).wrap=j;var p="suspendedStart",h="suspendedYield",f="executing",d="completed",m={},b={};b[a]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(T([])));v&&v!==r&&i.call(v,a)&&(b=v);var y=w.prototype=_.prototype=Object.create(b);k.prototype=y.constructor=w,w.constructor=k,w[s]=k.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(y),e},u.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[c]=function(){return this},u.AsyncIterator=x,u.async=function(e,t,n,r){var i=new x(j(e,t,n,r));return u.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},E(y),y[s]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.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}},u.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},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(r,i){return c.type="throw",c.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):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),m},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),A(n),m}},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 i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function j(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new M(r||[]);return o._invoke=function(e,t,n){var r=p;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var c=C(a,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=O(e,t,n);if("normal"===s.type){if(r=n.done?d:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=d,n.method="throw",n.arg=s.arg)}}}(e,n,a),o}function O(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function k(){}function w(){}function E(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function x(e){var t;this._invoke=function(n,r){function o(){return new Promise(function(t,o){!function t(n,r,o,a){var c=O(e[n],e,r);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(l).then(function(e){s.value=e,o(s)},function(e){return t("throw",e,o,a)})}a(c.arg)}(n,r,t,o)})}return t=t?t.then(o,o):o()}}function C(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,C(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=O(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function S(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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(e,t,n){},,function(e){e.exports={production:["business-hours","contact-form","contact-info","gif","mailchimp","map","markdown","publicize","related-posts","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],beta:["repeat-visitor","vr"]}},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},function(e,t,n){"use strict";e.exports=n(390)},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 i,o,a=n[r.type],c=t(r);if(a)for(i=0;i<a.length;i++)(o=a[i](r,e))&&e.dispatch(o);return c}}}).effects=n,t}},function(e,t,n){var r=n(445);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){var r=n(200),i=n(492),o=n(494),a=n(499),c=n(199),s=/\s+$/;e.exports=function(e,t,n){if((e=c(e))&&(n||void 0===t))return e.replace(s,"");if(!e||!(t=r(t)))return e;var l=a(e),u=o(l,a(t))+1;return i(l,0,u).join("")}},function(e,t){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,i,o,a=-1;for(t=0,i=e.length;t<i;t+=1){for(o=255&(a^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;a=a>>>8^o}return-1^a}function i(e,n){var r,o,a;if(void 0!==i.crc&&n&&e||(i.crc=-1,e)){for(r=i.crc,o=0,a=e.length;o<a;o+=1)r=r>>>8^t[255&(r^e[o])];return i.crc=r,-1^r}}!function(){var e,r,i;for(r=0;r<256;r+=1){for(e=r,i=0;i<8;i+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,function(e){return e.charCodeAt(0)})):e;return((t?r(e):i(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=i}()},function(e,t,n){"use strict";var r=256,i=[],o=window,a=Math.pow(r,6),c=Math.pow(2,52),s=2*c,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,o=0,a=i.i=i.j=0,c=i.S=[];for(n||(e=[n++]);o<r;)c[o]=o++;for(o=0;o<r;o++)c[o]=c[a=l&a+e[o%n]+(t=c[o])],c[a]=t;(i.g=function(e){for(var t,n=0,o=i.i,a=i.j,c=i.S;e--;)t=c[o=l&o+1],n=n*r+c[l&(c[o]=c[a=l&a+t])+(c[a]=t)];return i.i=o,i.j=a,n})(r)}function h(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return f(t)}function f(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var l=[],u=(h(function e(t,n){var r,i=[],o=(typeof t)[0];if(n&&"o"==o)for(r in t)try{i.push(e(t[r],n-1))}catch(e){}return i.length?i:"s"==o?t:t+"\0"}(n&&n.entropy||!1?[t,f(i)]:0 in arguments?t:function(e){try{return o.crypto.getRandomValues(e=new Uint8Array(r)),f(e)}catch(e){return[+new Date,o,o.navigator&&o.navigator.plugins,o.screen,f(i)]}}(),3),l),new p(l));return h(f(u.S),i),function(){for(var e=u.g(6),t=a,n=0;e<c;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=u},h(Math.random(),i)},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)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},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,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!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"],e.exports=n(507)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){e.exports=wp.tokenList},function(e,t){e.exports=wp.hooks},function(e,t,n){"use strict";n.r(t);var r=n(28),i=n.n(r),o=n(0),a=n(21),c=n(123);Object(a.setCategories)([].concat(i()(Object(a.getCategories)().filter(function(e){return"jetpack"!==e.slug})),[{slug:"jetpack",title:"Jetpack",icon:Object(o.createElement)(c.a,null)}]))},function(e,t,n){"use strict";
|
13 |
+
/** @license React v16.8.3
|
14 |
+
* react.production.min.js
|
15 |
+
*
|
16 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
17 |
+
*
|
18 |
+
* This source code is licensed under the MIT license found in the
|
19 |
+
* LICENSE file in the root directory of this source tree.
|
20 |
+
*/var r=n(357),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,u=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.concurrent_mode"):60111,f=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,o,a,c){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,o,a,c],l=0;(e=Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={};function O(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||y}function _(){}function k(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||y}O.prototype.isReactComponent={},O.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=O.prototype;var w=k.prototype=new _;w.constructor=k,r(w,O.prototype),w.isPureReactComponent=!0;var E={current:null},x={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,n){var r=void 0,i={},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)C.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:e,key:a,ref:c,props:i,_owner:x.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var T=/\/+/g,P=[];function F(e,t,n,r){if(P.length){var i=P.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function z(e,t,n){return null==e?0:function e(t,n,r,i){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var s=!1;if(null===t)s=!0;else switch(c){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return r(i,t,""===n?"."+D(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+D(c=t[l],l);s+=e(c,u,r,i)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(c=t.next()).done;)s+=e(c=c.value,u=n+D(c,l++),r,i);else"object"===c&&v("31","[object Object]"==(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return s}(e,"",t,n)}function D(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 R(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,function(e){return e}):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(T,"$&/")+"/"),z(e,I,t=F(t,o,r,i)),N(t)}function B(){var e=E.current;return null===e&&v("307"),e}var q={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;z(e,R,t=F(null,null,t,n)),N(t)},count:function(e){return z(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return M(e)||v("143"),e}},createRef:function(){return{current:null}},Component:O,PureComponent:k,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,n){return B().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,n){return B().useReducer(e,t,n)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:c,StrictMode:s,Suspense:d,createElement:A,cloneElement:function(e,t,n){null==e&&v("267",e);var i=void 0,a=r({},e.props),c=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=x.current),void 0!==t.key&&(c=""+t.key);var u=void 0;for(i in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)C.call(t,i)&&!S.hasOwnProperty(i)&&(a[i]=void 0===t[i]&&void 0!==u?u[i]:t[i])}if(1===(i=arguments.length-2))a.children=n;else if(1<i){u=Array(i);for(var p=0;p<i;p++)u[p]=arguments[p+2];a.children=u}return{$$typeof:o,type:e.type,key:c,ref:s,props:a,_owner:l}},createFactory:function(e){var t=A.bind(null,e);return t.type=e,t},isValidElement:M,version:"16.8.3",unstable_ConcurrentMode:h,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:x,assign:r}},V={default:q},H=V&&q||V;e.exports=H.default||H},function(e,t,n){"use strict";
|
21 |
+
/*
|
22 |
+
object-assign
|
23 |
+
(c) Sindre Sorhus
|
24 |
+
@license MIT
|
25 |
+
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;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(e){return!1}}()?Object.assign:function(e,t){for(var n,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var l in n=Object(arguments[s]))i.call(n,l)&&(c[l]=n[l]);if(r){a=r(n);for(var u=0;u<a.length;u++)o.call(n,a[u])&&(c[a[u]]=n[a[u]])}}return c}},function(e,t,n){"use strict";var r=n(359);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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:o,resetWarningCache:i};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){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";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(363),t.encode=t.stringify=n(364)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,h,f,d=e[l].replace(a,"%20"),m=d.indexOf(n);m>=0?(u=d.substr(0,m),p=d.substr(m+1)):(u=d,p=""),h=decodeURIComponent(u),f=decodeURIComponent(p),r(o,h)?Array.isArray(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o}},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,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(r(e))}).join(t):o+encodeURIComponent(r(e[i]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";var r=n(22),i=n(398),o=n(402),a=n(403),c=n(411),s=n(425),l=n(438),u=n(189),p=n(177),h={default:n(440),zero:n(441),commonmark:n(442)},f=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!d.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new a,this.renderer=new o,this.linkify=new l,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},function(e,t,n){"use strict";var r={};function i(e,t,n){var o,a,c,s,l,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),o=0,a=e.length;o<a;o++)if(c=e.charCodeAt(o),n&&37===c&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&o+1<a&&(s=e.charCodeAt(o+1))>=56320&&s<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,o,a,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=i<<6&1984|63&o)<128?"��":String.fromCharCode(s),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(l+=(s=i<<12&61440|o<<6&4032|63&a)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&c))?((s=i<<18&1835008|o<<12&258048|a<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,c,s,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var b=a.exec(m);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=i.exec(m);if(g&&(o=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===m.substr(0,2))||g&&f[g]||(m=m.substr(2),this.slashes=!0)),!f[g]&&(s||g&&!d[g])){var v,y,j=-1;for(n=0;n<u.length;n++)-1!==(c=m.indexOf(u[n]))&&(-1===j||c<j)&&(j=c);for(-1!==(y=-1===j?m.lastIndexOf("@"):m.lastIndexOf("@",j))&&(v=m.slice(0,y),m=m.slice(y+1),this.auth=v),j=-1,n=0;n<l.length;n++)-1!==(c=m.indexOf(l[n]))&&(-1===j||c<j)&&(j=c);-1===j&&(j=m.length),":"===m[j-1]&&j--;var O=m.slice(0,j);m=m.slice(j),this.parseHost(O),this.hostname=this.hostname||"";var _="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!_){var k=this.hostname.split(/\./);for(n=0,r=k.length;n<r;n++){var w=k[n];if(w&&!w.match(p)){for(var E="",x=0,C=w.length;x<C;x++)w.charCodeAt(x)>127?E+="x":E+=w[x];if(!E.match(p)){var S=k.slice(0,n),A=k.slice(n+1),M=w.match(h);M&&(S.push(M[1]),A.unshift(M[2])),A.length&&(m=A.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=m.indexOf("#");-1!==T&&(this.hash=m.substr(T),m=m.slice(0,T));var P=m.indexOf("?");return-1!==P&&(this.search=m.substr(P),m=m.slice(0,P)),m&&(this.pathname=m),d[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(190),t.Cc=n(191),t.Cf=n(397),t.P=n(165),t.Z=n(192)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(399),t.parseLinkDestination=n(400),t.parseLinkTitle=n(401)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(22).isSpace,i=n(22).unescapeAll;e.exports=function(e,t,n){var o,a,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return s;if(62===o)return s.pos=t+1,s.str=i(e.slice(c+1,t)),s.ok=!0,s;92===o&&t+1<n?t+=2:t++}return s}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&a++,41===o){if(0===a)break;a--}t++}return c===t?s:0!==a?s:(s.str=i(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(22).unescapeAll;e.exports=function(e,t,n){var i,o,a=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return s;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return s.pos=t+1,s.lines=a,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return s}},function(e,t,n){"use strict";var r=n(22).assign,i=n(22).unescapeAll,o=n(22).escapeHtml,a={};function c(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,i){var a=e[t];return"<code"+i.renderAttrs(a)+">"+o(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,i){var a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+o(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var c,s,l,u,p=e[t],h=p.info?i(p.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,f)||o(p.content)).indexOf("<pre")?c+"\n":h?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+f]):l[s][1]+=" "+n.langPrefix+f,u={attrs:l},"<pre><code"+a.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+c+"</code></pre>\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?o=!1:-1===r.nesting&&r.tag===a.tag&&(o=!1))),i+=o?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,c=e.length;a<c;a++)void 0!==o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},c.prototype.render=function(e,t,n){var r,i,o,a="",c=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==c[o]?a+=c[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=c},function(e,t,n){"use strict";var r=n(166),i=[["normalize",n(404)],["block",n(405)],["inline",n(406)],["linkify",n(407)],["replacements",n(408)],["smartquotes",n(409)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(410),e.exports=o},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(22).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O=e.tokens;if(e.md.options.linkify)for(n=0,o=O.length;n<o;n++)if("inline"===O[n].type&&e.md.linkify.pretest(O[n].content))for(m=0,t=(a=O[n].children).length-1;t>=0;t--)if("link_close"!==(s=a[t]).type){if("html_inline"===s.type&&(j=s.content,/^<a[>\s]/i.test(j)&&m>0&&m--,i(s.content)&&m++),!(m>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,y=e.md.linkify.match(p),l=[],d=s.level,f=0,u=0;u<y.length;u++)b=y[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=y[u].text,v=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=y[u].index)>f&&((c=new e.Token("text","",0)).content=p.slice(f,h),c.level=d,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=d++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=d,l.push(c),(c=new e.Token("link_close","a",-1)).level=--d,c.markup="linkify",c.info="auto",l.push(c),f=y[u].lastIndex);f<p.length&&((c=new e.Token("text","",0)).content=p.slice(f),c.level=d,l.push(c)),O[n].children=a=r(a,t,l)}}else for(t--;a[t].level!==s.level&&"link_open"!==a[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return a[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(o,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(22).isWhiteSpace,i=n(22).isPunctChar,o=n(22).isMdAsciiPunct,a=/['"]/,c=/['"]/g,s="’";function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,a,u,p,h,f,d,m,b,g,v,y,j,O,_,k,w,E,x,C,S;for(x=[],n=0;n<e.length;n++){for(a=e[n],d=e[n].level,w=x.length-1;w>=0&&!(x[w].level<=d);w--);if(x.length=w+1,"text"===a.type){h=0,f=(u=a.content).length;e:for(;h<f&&(c.lastIndex=h,p=c.exec(u));){if(_=k=!0,h=p.index+1,E="'"===p[0],b=32,p.index-1>=0)b=u.charCodeAt(p.index-1);else for(w=n-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){b=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,h<f)g=u.charCodeAt(h);else for(w=n+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){g=e[w].content.charCodeAt(0);break}if(v=o(b)||i(String.fromCharCode(b)),y=o(g)||i(String.fromCharCode(g)),j=r(b),(O=r(g))?_=!1:y&&(j||v||(_=!1)),j?k=!1:v&&(O||y||(k=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(k=_=!1),_&&k&&(_=!1,k=y),_||k){if(k)for(w=x.length-1;w>=0&&(m=x[w],!(x[w].level<d));w--)if(m.single===E&&x[w].level===d){m=x[w],E?(C=t.md.options.quotes[2],S=t.md.options.quotes[3]):(C=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,p.index,S),e[m.token].content=l(e[m.token].content,m.pos,C),h+=S.length-1,m.token===n&&(h+=C.length-1),f=(u=a.content).length,x.length=w;continue e}_?x.push({token:n,pos:p.index,single:E,level:d}):k&&E&&(a.content=l(a.content,p.index,s))}else E&&(a.content=l(a.content,p.index,s))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(167);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(166),i=[["table",n(412),["paragraph","reference"]],["code",n(413)],["fence",n(414),["paragraph","reference","blockquote","list"]],["blockquote",n(415),["paragraph","reference","blockquote","list"]],["hr",n(416),["paragraph","reference","blockquote","list"]],["list",n(417),["paragraph","reference","blockquote"]],["reference",n(418)],["heading",n(419),["paragraph","reference","blockquote"]],["lheading",n(420)],["html_block",n(421),["paragraph","reference","blockquote"]],["paragraph",n(423)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,c=!1,s=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(a=e.line)<n&&e.isEmpty(a)&&(c=!0,a++,e.line=a)}},o.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},o.prototype.State=n(424),e.exports=o},function(e,t,n){"use strict";var r=n(22).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,i=e.length,o=0,a=0,c=!1,s=0;for(t=e.charCodeAt(r);r<i;)96===t?c?(c=!1,s=r):o%2==0&&(c=!0,s=r):124!==t||o%2!=0||c||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,t,n,a){var c,s,l,u,p,h,f,d,m,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(h=(s=i(e,t+1)).split("|"),m=[],u=0;u<h.length;u++){if(!(b=h[u].trim())){if(0===u||u===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?m.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=(h=o(s.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((d=e.push("table_open","table",1)).map=g=[t,0],(d=e.push("thead_open","thead",1)).map=[t,t+1],(d=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<h.length;u++)(d=e.push("th_open","th",1)).map=[t,t+1],m[u]&&(d.attrs=[["style","text-align:"+m[u]]]),(d=e.push("inline","",0)).content=h[u].trim(),d.map=[t,t+1],d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),(d=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=o(s.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),u=0;u<f;u++)d=e.push("td_open","td",1),m[u]&&(d.attrs=[["style","text-align:"+m[u]]]),(d=e.push("inline","",0)).content=h[u]?h[u].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("tbody_close","tbody",-1),d=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o,a,c,s,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>f)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(s=h,(o=(h=e.skipChars(h,i))-s)<3)return!1;if(u=e.src.slice(s,h),(a=e.src.slice(h,f)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((h=s=e.bMarks[c]+e.tShift[c])<(f=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[c]-e.blkIndent>=4||(h=e.skipChars(h,i))-s<o||(h=e.skipSpaces(h))<f)){p=!0;break}return o=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=a,l.content=e.getLines(t+1,c,o,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t,n,i){var o,a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O,_,k,w,E=e.lineMax,x=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(x++))return!1;if(i)return!0;for(s=f=e.sCount[t]+x-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(x)?(x++,s++,f++,o=!1,j=!0):9===e.src.charCodeAt(x)?(j=!0,(e.bsCount[t]+f)%4==3?(x++,s++,f++,o=!1):o=!0):j=!1,d=[e.bMarks[t]],e.bMarks[t]=x;x<C&&(a=e.src.charCodeAt(x),r(a));)9===a?f+=4-(f+e.bsCount[t]+(o?1:0))%4:f++,x++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(j?1:0),u=x>=C,v=[e.sCount[t]],e.sCount[t]=f-s,y=[e.tShift[t]],e.tShift[t]=x-e.bMarks[t],_=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,h=t+1;h<n&&(e.sCount[h]<e.blkIndent&&(w=!0),!((x=e.bMarks[h]+e.tShift[h])>=(C=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(x++)||w){if(u)break;for(O=!1,c=0,l=_.length;c<l;c++)if(_[c](e,h,n,!0)){O=!0;break}if(O){e.lineMax=h,0!==e.blkIndent&&(d.push(e.bMarks[h]),m.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}d.push(e.bMarks[h]),m.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}else{for(s=f=e.sCount[h]+x-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(x)?(x++,s++,f++,o=!1,j=!0):9===e.src.charCodeAt(x)?(j=!0,(e.bsCount[h]+f)%4==3?(x++,s++,f++,o=!1):o=!0):j=!1,d.push(e.bMarks[h]),e.bMarks[h]=x;x<C&&(a=e.src.charCodeAt(x),r(a));)9===a?f+=4-(f+e.bsCount[h]+(o?1:0))%4:f++,x++;u=x>=C,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(j?1:0),v.push(e.sCount[h]),e.sCount[h]=f-s,y.push(e.tShift[h]),e.tShift[h]=x-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(k=e.push("blockquote_open","blockquote",1)).markup=">",k.map=p=[t,0],e.md.block.tokenize(e,t,h),(k=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=d[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=m[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t,n,i){var o,a,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(a=1;l<u;){if((c=e.src.charCodeAt(l++))!==o&&!r(c))return!1;c===o&&a++}return!(a<3)&&(!!i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},function(e,t,n){"use strict";var r=n(22).isSpace;function i(e,t){var n,i,o,a;return i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n?-1:i<o&&(a=e.src.charCodeAt(i),!r(a))?-1:i}function o(e,t){var n,i=e.bMarks[t]+e.tShift[t],o=i,a=e.eMarks[t];if(o+1>=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o<a&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O,_,k,w,E,x,C,S,A,M,T,P,F,N=!1,z=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=o(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(M,S-M-1)),N&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(F=e.push("ordered_list_open","ol",1),1!==v&&(F.attrs=[["start",v]])):F=e.push("bullet_list_open","ul",1),F.map=m=[t,0],F.markup=String.fromCharCode(g),j=t,A=!1,P=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";j<n;){for(C=S,y=e.eMarks[j],p=O=e.sCount[j]+S-(e.bMarks[t]+e.tShift[t]);C<y;){if(9===(a=e.src.charCodeAt(C)))O+=4-(O+e.bsCount[j])%4;else{if(32!==a)break;O++}C++}if((u=(c=C)>=y?1:O-p)>4&&(u=1),l=p+u,(F=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),F.map=f=[t,0],_=e.blkIndent,x=e.tight,E=e.tShift[t],k=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=O,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(z=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=_,e.tShift[t]=E,e.sCount[t]=k,e.tight=x,(F=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),j=t=e.line,f[1]=j,c=e.bMarks[t],j>=n)break;if(e.sCount[j]<e.blkIndent)break;for(T=!1,s=0,d=P.length;s<d;s++)if(P[s](e,j,n,!0)){T=!0;break}if(T)break;if(h){if((S=o(e,j))<0)break}else if((S=i(e,j))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(F=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),m[1]=j,e.line=j,e.parentType=w,z&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(22).normalizeReference,i=n(22).isSpace;e.exports=function(e,t,n,o){var a,c,s,l,u,p,h,f,d,m,b,g,v,y,j,O,_=0,k=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<w;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===w)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(l=e.lineMax,j=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(y=!1,p=0,h=j.length;p<h;p++)if(j[p](e,E,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,k=1;k<w;k++){if(91===(a=v.charCodeAt(k)))return!1;if(93===a){d=k;break}10===a?_++:92===a&&++k<w&&10===v.charCodeAt(k)&&_++}if(d<0||58!==v.charCodeAt(d+1))return!1;for(k=d+2;k<w;k++)if(10===(a=v.charCodeAt(k)))_++;else if(!i(a))break;if(!(b=e.md.helpers.parseLinkDestination(v,k,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=k=b.pos,s=_+=b.lines,g=k;k<w;k++)if(10===(a=v.charCodeAt(k)))_++;else if(!i(a))break;for(b=e.md.helpers.parseLinkTitle(v,k,w),k<w&&g!==k&&b.ok?(O=b.str,k=b.pos,_+=b.lines):(O="",k=c,_=s);k<w&&(a=v.charCodeAt(k),i(a));)k++;if(k<w&&10!==v.charCodeAt(k)&&O)for(O="",k=c,_=s;k<w&&(a=v.charCodeAt(k),i(a));)k++;return!(k<w&&10!==v.charCodeAt(k))&&(!!(f=r(v.slice(1,d)))&&(!!o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:O,href:u}),e.parentType=m,e.line=t+_+1,!0)))}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t,n,i){var o,a,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=u)return!1;for(a=1,o=e.src.charCodeAt(++l);35===o&&l<u&&a<=6;)a++,o=e.src.charCodeAt(++l);return!(a>6||l<u&&!r(o))&&(!!i||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,c,s,l,u,p,h,f=t+1,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";f<n&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(s=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(i=!1,o=0,a=d.length;o<a;o++)if(d[o](e,f,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}},function(e,t,n){"use strict";var r=n(422),i=n(193).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),i=0;i<o.length&&!o[i][0].test(s);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(s))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],s=e.src.slice(l,u),o[i][1].test(s)){0!==s.length&&a++;break}return e.line=a,(c=e.push("html_block","",0)).map=[t,a],c.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,o=l.length;i<o;i++)if(l[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(167),i=n(22).isSpace;function o(e,t,n,r){var o,a,c,s,l,u,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",h=!1,c=s=u=p=0,l=(a=this.src).length;s<l;s++){if(o=a.charCodeAt(s),!h){if(i(o)){u++,9===o?p+=4-p%4:p++;continue}h=!0}10!==o&&s!==l-1||(10!==o&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,c=s+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,a,c,s,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),o=0;h<t;h++,o++){for(a=0,p=s=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];s<l&&a<n;){if(c=this.src.charCodeAt(s),i(c))9===c?a+=4-(a+this.bsCount[h])%4:a++;else{if(!(s-p<this.tShift[h]))break;a++}s++}u[o]=a>n?new Array(a-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},o.prototype.Token=r,e.exports=o},function(e,t,n){"use strict";var r=n(166),i=[["text",n(426)],["newline",n(427)],["escape",n(428)],["backticks",n(429)],["strikethrough",n(194).tokenize],["emphasis",n(195).tokenize],["link",n(430)],["image",n(431)],["autolink",n(432)],["html_inline",n(433)],["entity",n(434)]],o=[["balance_pairs",n(435)],["strikethrough",n(194).postProcess],["emphasis",n(195).postProcess],["text_collapse",n(436)]];function a(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,c=new this.State(e,t,n,r);for(this.tokenize(c),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](c)},a.prototype.State=n(437),e.exports=a},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(22).isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},function(e,t,n){"use strict";for(var r=n(22).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(i=e.src.slice(n,s),o=a=s;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((c=e.push("code_inline","code",0)).markup=i,c.content=e.src.slice(s,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(22).normalizeReference,i=n(22).isSpace;e.exports=function(e,t){var n,o,a,c,s,l,u,p,h,f="",d=e.pos,m=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<m&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<m&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(l>=m)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f=""),b=l;l<m&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&b!==l&&u.ok)for(h=u.str,l=u.pos;l<m&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);else h="";(l>=m||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<m&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(b,l++):l=c+1):l=c+1,a||(a=e.src.slice(s,c)),!(p=e.env.references[r(a)]))return e.pos=d,!1;f=p.href,h=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",f]],h&&n.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},function(e,t,n){"use strict";var r=n(22).normalizeReference,i=n(22).isSpace;e.exports=function(e,t){var n,o,a,c,s,l,u,p,h,f,d,m,b,g="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=y)return!1;for(b=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=""),b=u;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(h=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&b!==u&&h.ok)for(f=h.str,u=h.pos;u<y&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else f="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,f=p.title}return t||(a=e.src.slice(l,s),e.md.inline.parse(a,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],d.children=m,d.content=a,f&&n.push(["title",f])),e.pos=u,e.posMax=y,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,o,a,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(c=(o=n.match(i))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(c=(a=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(193).HTML_TAG_RE;e.exports=function(e,t){var n,i,o,a=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(a).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(188),i=n(22).has,o=n(22).isValidEntityCode,a=n(22).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=o(n)?a(n):a(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&i(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((r=o[t]).close)for(n=t-r.jump-1;n>=0;){if((i=o[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(167),i=n(22).isWhiteSpace,o=n(22).isPunctChar,a=n(22).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,h,f,d=e,m=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;d<g&&this.src.charCodeAt(d)===v;)d++;return c=d-e,r=d<g?this.src.charCodeAt(d):32,p=a(n)||o(String.fromCharCode(n)),f=a(r)||o(String.fromCharCode(r)),u=i(n),(h=i(r))?m=!1:f&&(u||p||(m=!1)),u?b=!1:p&&(h||f||(b=!1)),t?(s=m,l=b):(s=m&&(!b||p),l=b&&(!m||f)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===i(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=n(439)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(l),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(null!==n){var r,a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?o(n.validate)?a.validate=n.validate:u(t,n):a.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}),void(o(n.normalize)?a.normalize=n.normalize:n.normalize?u(t,n):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?u(t,n):s.push(t)}}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function h(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new h(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function d(e,t){if(!(this instanceof d))return new d(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||c.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},d.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(i=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},d.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(190).source,t.src_Cc=n(191).source,t.src_Z=n(192).source,t.src_P=n(165).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},,function(e,t,n){var r=n(446),i=n(483);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},function(e,t,n){var r=n(168),i=n(447),o=n(452),a=n(199);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){var r=n(168),i=n(169),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(170),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[c]=n:delete e[c]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},function(e,t,n){var r=n(454),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(455),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(456),i=n(477),o=n(479),a=n(480),c=n(481);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=c,e.exports=s},function(e,t,n){var r=n(457),i=n(469),o=n(476);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(458),i=n(465),o=n(466),a=n(467),c=n(468);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=c,e.exports=s},function(e,t,n){var r=n(129);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(460),i=n(461),o=n(198),a=n(463),c=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,u=s.toString,p=l.hasOwnProperty,h=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:c).test(a(e))}},function(e,t,n){var r=n(196),i=n(198),o="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==c||t==o||t==s}},function(e,t,n){var r,i=n(462),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(171)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(129),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(129),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(129),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(470),i=n(471),o=n(473),a=n(474),c=n(475);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=c,e.exports=s},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(130),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(130);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(130);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(130);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(197)(n(171),"Map");e.exports=r},function(e,t,n){var r=n(131);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(131);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(131);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(131);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){var r=n(169),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){var r=n(493);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-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 o=Array(i);++r<i;)o[r]=e[r+t];return o}},function(e,t,n){var r=n(495);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},function(e,t,n){var r=n(496),i=n(497),o=n(498);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},function(e,t){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(500),i=n(501),o=n(502);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[o,a,c].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),u="(?:"+[o+r+"?",r,a,c,n].join("|")+")",p=RegExp(i+"(?="+i+")|"+u+l,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var o=a,c=Number(new Date),s=c-(n||c);o.diff=s,o.prev=n,o.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var a=t[l];e=i.call(o,a),t.splice(l,1),l--}return e}),r.formatArgs.call(o,t),(o.log||r.log).apply(o,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var o=r.instances[t];o.enabled=r.enabled(o.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(508),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i,a=7*o,c=365.25*o;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\-?\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 s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&!1===isNaN(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"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,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",function(){return Dt}),n.d(r,"attributes",function(){return It}),n.d(r,"support",function(){return Lt});var i=n(29),o=n(18),a=n.n(o),c=n(3),s=n.n(c),l=n(0),u=n(21),p=n(5),h=n(2),f=n(1),d=n(28),m=n.n(d),b=n(8),g=n.n(b),v=n(12),y=n.n(v),j=n(9),O=n.n(j),_=n(10),k=n.n(_),w=n(4),E=n.n(w),x=n(11),C=n.n(x),S=n(7),A=[{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{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"})),title:Object(f.c)("Original","image style"),value:void 0},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-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"})),title:Object(f.c)("Black and White","image style"),value:"black-and-white"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{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 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(f.c)("Sepia","image style"),value:"sepia"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-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 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-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"})),title:Object(f.c)("Clarendon","image style"),value:"clarendon"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-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 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(f.c)("Gingham","image style"),value:"gingham"}],M=Object(f.a)("Pick an image filter");function T(e){var t=e.value,n=e.onChange;return Object(l.createElement)(h.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(h.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:M,tooltip:M,icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(h.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map(function(e){var i,o=e.icon,a=e.title,c=e.value;return Object(l.createElement)(h.MenuItem,{className:t===c?"is-active":void 0,icon:o,isSelected:t===c,key:c||"original",onClick:(i=c,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},a)}))}})}var P=n(79),F=n.n(P),N=n(45),z=n.n(N),D=n(350),R=n.n(D),I=n(351),L=n.n(I),B=n(352),q=n.n(B)()("photon"),V={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"};function H(e,t){var n=z.a.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var i,o,a,c,s,l={slashes:!0,protocol:"https:",query:{}};if(s=n.host,/^i[0-2]\.wp\.com$/.test(s))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=z.a.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(i=l.pathname,o=R()(i),a=L()(o),c="i"+Math.floor(3*a()),q('determined server "%s" to use with "%s"',c,i),c+".wp.com"),r&&(l.query.ssl=1)}if(t)for(var p in t)"host"!==p&&"hostname"!==p?"secure"!==p||t[p]?l.query[V[p]||p]=t[p]:l.protocol="http:":l.hostname=t[p];var h=z.a.format(l);return q("generated Photon URL: %s",h),h}var U=n(35),G=n(24),$=n(13),W=n.n($),K=n(64),Z=n(25),J=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",function(){n.props.isSelected||n.props.onSelect()}),s()(E()(n),"onImageKeyDown",function(e){n.img.current===document.activeElement&&n.props.isSelected&&[K.BACKSPACE,K.DELETE].includes(e.keyCode)&&n.props.onRemove()}),n}return C()(t,e),y()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,i=e.link,o=e.url,a=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!i&&r.link&&(c.link=r.link),!o&&r.source_url&&(c.url=r.source_url),!a&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,i=t.height,o=t.id,a=t.imageFilter,c=t.isSelected,u=t.link,p=t.linkTo,d=t.onRemove,m=t.origUrl,b=t.url,g=t.width;switch(p){case"media":e=b;break;case"attachment":e=u}var v=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":o,"data-link":u,"data-url":m,"data-width":g,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:b,tabIndex:"0"}),Object(U.isBlobURL)(m)&&Object(l.createElement)(h.Spinner,null));return Object(l.createElement)("figure",{className:W()("tiled-gallery__item",s()({"is-selected":c,"is-transient":Object(U.isBlobURL)(m)},"filter__".concat(a),!!a))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(h.IconButton,{icon:"no-alt",onClick:d,className:"tiled-gallery__item__remove",label:Object(f.a)("Remove Image")})),e?Object(l.createElement)("a",null,v):v)}}]),t}(l.Component),Y=Object(Z.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(J);function X(e){var t,n=e.alt,r=e.imageFilter,i=e.height,o=e.id,a=e.link,c=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(U.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=a}var f=Object(l.createElement)("img",{alt:n,"data-height":i,"data-id":o,"data-link":a,"data-url":u,"data-width":h,src:p});return Object(l.createElement)("figure",{className:W()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},f):f)}var Q=n(74);function ee(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function te(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function ne(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:W()("tiled-gallery__row",n)},t)}var re=n(125);function ie(e){var t=e.height,n=e.width;return t&&n?n/t:1}var oe=we([2,1,2],5),ae=Ee([xe,xe,Ce,xe,xe]),ce=Ee([xe,xe,xe,Ce,xe,xe,xe]),se=we([3,1,3],5),le=Ee([Ce,xe,xe,Ce]),ue=we([1,2,1],5),pe=Ee([Ce,xe,xe,xe]),he=we([1,3],3),fe=Ee([xe,xe,xe,Ce]),de=we([3,1],3),me=Ee([Ae(1.6),Object(p.overEvery)(Se(.9),Ae(2)),Object(p.overEvery)(Se(.9),Ae(2))]),be=we([1,2],3),ge=we([1,1,1,1,1],1),ve=we([1,1,1,1],1),ye=we([1,1,1],3),je=Ee([Object(p.overEvery)(Se(.9),Ae(2)),Object(p.overEvery)(Se(.9),Ae(2)),Ae(1.6)]),Oe=we([2,1],3),_e=Ee([function(e){return e>=2}]);function ke(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&ae(r)&&oe(n)?[2,1,2]:r.length>15&&ce(r)&&se(n)?[3,1,3]:5!==r.length&&le(r)&&ue(n)?[1,2,1]:pe(r)&&he(n)?[1,3]:fe(r)&&de(n)?[3,1]:me(r)&&be(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ge(n)&&Object(p.sum)(Object(p.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(p.sum)(Object(p.take)(t,4));return ve(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(p.sum)(Object(p.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ye(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:je(r)&&Oe(n)?[2,1]:_e(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var o=n.concat([i]),a=Object(p.sum)(i);return e(o,r.slice(a))}([],e)}function we(e,t){return function(n){return!Object(p.some)(Object(p.takeRight)(n,t),function(t){return Object(p.isEqual)(t,e)})}}function Ee(e){return function(t){return t.length>=e.length&&Object(p.every)(Object(p.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function xe(e){return e>=1&&e<2}function Ce(e){return e<1}function Se(e){return function(t){return t>=e}}function Ae(e){return function(t){return t<e}}var Me=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,o=function(){var e=i.value,t=e.contentRect,n=e.target,r=t.width;Object(re.a)(n).forEach(function(e){return Object(re.b)(e,r)})},a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)o()}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}})}),n}return C()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new Q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,o=e.renderedImages,a=function(e){return Object(p.map)(e,ie)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(p.sum)(e)/t,r=[],i=e,o=0,a=function(e){var t=Object(p.takeWhile)(i,function(t){var r=o<=(e+1)*n;return r&&(o+=t),r}).length;r.push(t),i=Object(p.drop)(i,t)},c=0;c<t-1;c++)a(c);return r.push(i.length),[r]}(a,n):ke(a,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(te,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(ne,{key:t},e.map(function(e,t){var n=o.slice(s,s+e);return s+=e,Object(l.createElement)(ee,{key:t},n)}))}))}}]),t}(l.Component),Te=n(31);function Pe(e){var t=e.columns,n=e.renderedImages,r=Math.min(Te.h,t),i=n.length%r;return Object(l.createElement)(te,null,[].concat(m()(i?[Object(p.take)(n,i)]:[]),m()(Object(p.chunk)(Object(p.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(ne,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(ee,{key:t},e)}))}))}var Fe=function(e){function t(){return g()(this,t),O()(this,k()(t).apply(this,arguments))}return C()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(U.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],o=function(e){var t=Object(N.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?ze:H;if(Ne(this.props.layoutStyle)&&n&&t){var a=Math.min(Te.i,n,t);return o(i,{resize:"".concat(a,",").concat(a)})}return o(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,i=n.images,o=n.isSave,a=n.linkTo,c=n.onRemoveImage,s=n.onSelectImage,u=n.selectedImage,p=n.setImageAttributes,h=Object(G.sprintf)(Object(f.a)("image %1$d of %2$d in gallery"),t+1,i.length),d=o?X:Y;return Object(l.createElement)(d,{alt:e.alt,"aria-label":h,height:e.height,id:e.id,imageFilter:r,isSelected:u===t,key:t,link:e.link,linkTo:a,onRemove:o?void 0:c(t),onSelect:o?void 0:s(t),origUrl:e.url,setAttributes:o?void 0:p(t),url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,o=e.images,a=e.layoutStyle,c=Ne(a)?Pe:Me,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:o,layoutStyle:a,renderedImages:s}),n)}}]),t}(l.Component);function Ne(e){return["circle","square"].includes(e)}function ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(N.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,F()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(N.format)(i)}var De=n(353),Re=n.n(De);function Ie(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var o,a=new Re.a(t).values()[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var c=o.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(p.find)(e,{name:s});if(l)return l}}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return Object(p.find)(e,"isDefault")}(e,t);return n?n.name:null}var Le=[{value:"attachment",label:Object(f.a)("Attachment Page")},{value:"media",label:Object(f.a)("Media File")},{value:"none",label:Object(f.a)("None")}];function Be(e){return Math.min(3,e.images.length)}var qe=function(e){var t=Object(p.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(p.get)(e,["sizes","large","url"])||Object(p.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Ve=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:Te.a,filesList:e,onFileChange:function(e){var r=e.map(function(e){return qe(e)});n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})}),s()(E()(n),"onRemoveImage",function(e){return function(){var t=Object(p.filter)(n.props.attributes.images,function(t,n){return e!==n}),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}}),s()(E()(n),"onSelectImage",function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}}),s()(E()(n),"onSelectImages",function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map(function(e){return qe(e)})})}),s()(E()(n),"setColumnsNumber",function(e){return n.setAttributes({columns:e})}),s()(E()(n),"setImageAttributes",function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(m()(r.slice(0,e)),[a()({},r[e],t)],m()(r.slice(e+1)))})}}),s()(E()(n),"setLinkTo",function(e){return n.setAttributes({linkTo:e})}),s()(E()(n),"uploadFromFiles",function(e){return n.addFiles(e.target.files)}),n}return C()(t,e),y()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=a()({},e,{ids:e.images.map(function(e){var t=e.id;return parseInt(t,10)})})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,i=n.isSelected,o=n.className,a=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,u=r.align,p=r.columns,d=void 0===p?Be(r):p,m=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(h.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(h.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:Te.a,multiple:!0,gallery:!0,value:b.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(l.createElement)(h.IconButton,{className:"components-toolbar__control",label:Object(f.a)("Edit Gallery"),icon:"edit",onClick:t})}})),Object(l.createElement)(T,{value:m,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)("div",{className:"tiled-gallery__media-placeholder-icon"},Ht),className:o,labels:{title:Object(f.a)("Tiled Gallery"),name:Object(f.a)("images")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Te.a,multiple:!0,notices:c,onError:a.createErrorNotice}));var j=Ie(Te.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(h.PanelBody,{title:Object(f.a)("Tiled Gallery settings")},["columns","circle","square"].includes(j)&&b.length>1&&Object(l.createElement)(h.RangeControl,{label:Object(f.a)("Columns"),value:d,onChange:this.setColumnsNumber,min:1,max:Math.min(Te.h,b.length)}),Object(l.createElement)(h.SelectControl,{label:Object(f.a)("Link To"),value:g,onChange:this.setLinkTo,options:Le}))),c,Object(l.createElement)(Fe,{align:u,className:o,columns:d,imageFilter:m,images:b,layoutStyle:j,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:i?t:null,setImageAttributes:this.setImageAttributes},v,i&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(h.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(f.a)("Upload an image")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),He=Object(h.withNotices)(Ve);n(509);function Ue(e){var t,n=e["aria-label"],r=e.alt,i=e.height,o=e.id,a=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(U.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=a}var h=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":o,"data-link":a,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Ge(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function $e(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function We(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:W()("tiled-gallery__row",n)},t)}var Ke=n(33),Ze=n.n(Ke),Je=4,Ye=20,Xe=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function Qe(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function et(e,t){!function(e,t,n){var r=Ze()(t,2),i=r[0],o=r[1],a=1/i*(n-Je*(e.childElementCount-1)-o);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=tt(e),o=i.map(function(e){return(n-Je*(e.childElementCount-1))*rt(e)[0]}),a=Qe(o,r);i.forEach(function(e,t){var r=o[t],i=a[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,o=Qe(nt(e).map(function(e){return i/it(e)}),n);Array.from(e.children).forEach(function(e,t){var n=o[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-Je*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:a,rowWidth:n-Je*(e.childElementCount-1)})}(e,function(e){return tt(e).map(rt).reduce(function(e,t){var n=Ze()(e,2),r=n[0],i=n[1],o=Ze()(t,2),a=o[0],c=o[1];return[r+a,i+c]},[0,0])}(e),t)}function tt(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function nt(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function rt(e){var t=nt(e),n=t.length,r=1/t.map(it).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function it(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function ot(e){var t=e.height,n=e.width;return t&&n?n/t:1}var at=Et([2,1,2],5),ct=xt([Ct,Ct,St,Ct,Ct]),st=xt([Ct,Ct,Ct,St,Ct,Ct,Ct]),lt=Et([3,1,3],5),ut=xt([St,Ct,Ct,St]),pt=Et([1,2,1],5),ht=xt([St,Ct,Ct,Ct]),ft=Et([1,3],3),dt=xt([Ct,Ct,Ct,St]),mt=Et([3,1],3),bt=xt([Mt(1.6),Object(p.overEvery)(At(.9),Mt(2)),Object(p.overEvery)(At(.9),Mt(2))]),gt=Et([1,2],3),vt=Et([1,1,1,1,1],1),yt=Et([1,1,1,1],1),jt=Et([1,1,1],3),Ot=xt([Object(p.overEvery)(At(.9),Mt(2)),Object(p.overEvery)(At(.9),Mt(2)),Mt(1.6)]),_t=Et([2,1],3),kt=xt([function(e){return e>=2}]);function wt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&ct(r)&&at(n)?[2,1,2]:r.length>15&&st(r)&<(n)?[3,1,3]:5!==r.length&&ut(r)&&pt(n)?[1,2,1]:ht(r)&&ft(n)?[1,3]:dt(r)&&mt(n)?[3,1]:bt(r)&>(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&vt(n)&&Object(p.sum)(Object(p.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(p.sum)(Object(p.take)(t,4));return yt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(p.sum)(Object(p.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&jt(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:Ot(r)&&_t(n)?[2,1]:kt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var o=n.concat([i]),a=Object(p.sum)(i);return e(o,r.slice(a))}([],e)}function Et(e,t){return function(n){return!Object(p.some)(Object(p.takeRight)(n,t),function(t){return Object(p.isEqual)(t,e)})}}function xt(e){return function(t){return t.length>=e.length&&Object(p.every)(Object(p.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function Ct(e){return e>=1&&e<2}function St(e){return e<1}function At(e){return function(t){return t>=e}}function Mt(e){return function(t){return t<e}}var Tt=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,o=function(){var e,t=i.value,n=t.contentRect,r=t.target,o=n.width;(e=r,Array.from(e.querySelectorAll(".tiled-gallery__row"))).forEach(function(e){return et(e,o)})},a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)o()}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}})}),n}return C()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new Q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,o=e.renderedImages,a=function(e){return Object(p.map)(e,ot)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(p.sum)(e)/t,r=[],i=e,o=0,a=function(e){var t=Object(p.takeWhile)(i,function(t){var r=o<=(e+1)*n;return r&&(o+=t),r}).length;r.push(t),i=Object(p.drop)(i,t)},c=0;c<t-1;c++)a(c);return r.push(i.length),[r]}(a,n):wt(a,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)($e,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(We,{key:t},e.map(function(e,t){var n=o.slice(s,s+e);return s+=e,Object(l.createElement)(Ge,{key:t},n)}))}))}}]),t}(l.Component);function Pt(e){var t=e.columns,n=e.renderedImages,r=Math.min(Ye,t),i=n.length%r;return Object(l.createElement)($e,null,[].concat(m()(i?[Object(p.take)(n,i)]:[]),m()(Object(p.chunk)(Object(p.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(We,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(Ge,{key:t},e)}))}))}var Ft=function(e){function t(){return g()(this,t),O()(this,k()(t).apply(this,arguments))}return C()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(U.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],o=function(e){var t=Object(N.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?zt:H;if(Nt(this.props.layoutStyle)&&n&&t){var a=Math.min(2e3,n,t);return o(i,{resize:"".concat(a,",").concat(a)})}return o(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,i=n.linkTo,o=n.selectedImage,a=Object(G.sprintf)(Object(f.a)("image %1$d of %2$d in gallery"),t+1,r.length);return Object(l.createElement)(Ue,{alt:e.alt,"aria-label":a,height:e.height,id:e.id,origUrl:e.url,isSelected:o===t,key:t,link:e.link,linkTo:i,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,o=e.images,a=e.layoutStyle,c=Nt(a)?Pt:Tt,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:o,layoutStyle:a,renderedImages:s}),n)}}]),t}(l.Component);function Nt(e){return["circle","square"].includes(e)}function zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(N.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,F()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(N.format)(i)}function Dt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,i=t.className,o=t.columns,a=void 0===o?function(e){return Math.min(3,e.images.length)}(t):o,c=t.linkTo;return Object(l.createElement)(Ft,{align:r,className:i,columns:a,images:n,layoutStyle:Ie(Xe,i),linkTo:c})}var Rt,It={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Lt={align:["center","wide","full"],customClassName:!1,html:!1},Bt=(Rt={},s()(Rt,Te.e,Object(f.c)("Tiled mosaic","Tiled gallery layout")),s()(Rt,Te.c,Object(f.c)("Circles","Tiled gallery layout")),s()(Rt,Te.d,Object(f.c)("Tiled columns","Tiled gallery layout")),s()(Rt,Te.f,Object(f.c)("Square tiles","Tiled gallery layout")),Rt),qt=Te.g.map(function(e){return a()({},e,{label:Bt[e.name]})}),Vt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(Te.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Ht=Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(h.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Ut={attributes:Vt,category:"jetpack",description:Object(f.a)("Display multiple images in an elegantly organized tiled layout."),icon:Ht,keywords:[Object(f.c)("images","block search term"),Object(f.c)("photos","block search term"),Object(f.c)("masonry","block search term")],styles:qt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(f.a)("Tiled Gallery"),transforms:{from:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=Object(p.filter)(e.images,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(u.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):Object(u.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.columns,r=e.linkTo;return Object(u.createBlock)("core/gallery",{images:t,columns:n,imageCrop:!0,linkTo:r})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(u.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(u.createBlock)("core/image")}}]},edit:He,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var i=t.align,o=t.className,a=t.columns,c=void 0===a?Be(t):a,s=t.linkTo;return Object(l.createElement)(Fe,{align:i,className:o,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Ie(Te.g,o),linkTo:s})},deprecated:[r]};Object(i.a)("tiled-gallery",Ut)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",function(){return u}),n.d(r,"refreshConnectionTestResults",function(){return p}),n.d(r,"fetchFromAPI",function(){return h});var i={};n.r(i),n.d(i,"getFailedConnections",function(){return f}),n.d(i,"getMustReauthConnections",function(){return d});var o=n(0),a=n(2),c=n(124),s=n(7),l=(n(443),n(25));function u(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function p(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function h(e){return{type:"FETCH_FROM_API",path:e}}function f(e){return e.filter(function(e){return!1===e.test_success})}function d(e){return e.filter(function(e){return"must_reauth"===e.test_success}).map(function(e){return e.service_name})}var m=n(28),b=n.n(m),g=n(345),v=n.n(g),y=n(5),j=n(72),O=n.n(j),_=n(50),k=n.n(_);function w(){return(w=O()(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.dispatch,e.prev=1,e.next=4,k()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(u(i)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}},e,this,[[1,8]])}))).apply(this,arguments)}var E={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return w.apply(this,arguments)}};var x,C,S,A,M,T={FETCH_FROM_API:function(e){var t=e.path;return k()({path:t})}},P=Object(l.registerStore)("jetpack/publicize",{actions:r,controls:T,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_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:i});x=P,S=[v()(E)],A=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},M={getState:x.getState,dispatch:function(){return A.apply(void 0,arguments)}},C=S.map(function(e){return e(M)}),A=y.flowRight.apply(void 0,b()(C))(x.dispatch),x.dispatch=A;var F=n(121),N=n(20),z=n(8),D=n.n(z),R=n(12),I=n.n(R),L=n(9),B=n.n(L),q=n(10),V=n.n(q),H=n(4),U=n.n(H),G=n(11),$=n.n(G),W=n(3),K=n.n(W),Z=n(1),J=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"refreshConnectionClick",function(e){var t=e.target,r=t.href,i=t.title;e.preventDefault();var o=window.open(r,i,""),a=window.setInterval(function(){!1!==o.closed&&(window.clearInterval(a),n.props.refreshConnections())},500)}),n}return $()(t,e),I()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter(function(e){return e.can_refresh});return t.length?Object(o.createElement)(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(o.createElement)("p",null,Object(Z.a)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:")),t.map(function(t){return Object(o.createElement)(a.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)})):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter(function(e){return!e.can_refresh});return e.length?e.map(function(e){return Object(o.createElement)(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(o.createElement)("p",null,e.test_message))}):null}},{key:"render",value:function(){return Object(o.createElement)(o.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(o.Component),Y=Object(N.compose)([Object(l.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}}),Object(l.withDispatch)(function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}})])(J),X=n(18),Q=n.n(X),ee=n(346),te=n.n(ee),ne=n(13),re=n.n(ne),ie=n(24),oe=n(56),ae=n.n(oe),ce=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),se=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),le=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ue=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{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-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),pe=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(o.createElement)(a.G,null,Object(o.createElement)(a.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.92 14.05c-2.235 0-4.05-1.814-4.05-4.05s1.815-4.05 4.05-4.05c1.095 0 2.01.4 2.71 1.057l-1.15 1.118c-.292-.275-.802-.6-1.56-.6-1.34 0-2.433 1.115-2.433 2.48s1.094 2.48 2.434 2.48c1.552 0 2.123-1.074 2.228-1.71h-2.232v-1.51h3.79c.058.255.102.494.102.83 0 2.312-1.55 3.956-3.887 3.956zm8.92-3.3h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"}))),he=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(o.createElement)(a.Icon,ae()({icon:ce},n));case"twitter":return Object(o.createElement)(a.Icon,ae()({icon:se},n));case"linkedin":return Object(o.createElement)(a.Icon,ae()({icon:le},n));case"tumblr":return Object(o.createElement)(a.Icon,ae()({icon:ue},n));case"google-plus":return Object(o.createElement)(a.Icon,ae()({icon:pe},n))}return null},fe=n(122),de=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"state",{showGooglePlusNotice:!0}),K()(U()(n),"onRemoveGooglePlusNotice",function(){n.setState({showGooglePlusNotice:!1})}),K()(U()(n),"maybeDisplayGooglePlusNotice",function(e){return"google-plus"===e&&n.state.showGooglePlusNotice&&Object(o.createElement)(a.Notice,{status:"error",onRemove:n.onRemoveGooglePlusNotice},Object(Z.a)("Google+ will shut down in April 2019. You can keep posting with your existing Google+ connection through March."),Object(o.createElement)(a.ExternalLink,{target:"_blank",href:"https://www.blog.google/technology/safety-security/expediting-changes-google-plus/"},Object(Z.a)(" Learn more"),"."))}),K()(U()(n),"maybeDisplayLinkedInNotice",function(){return n.connectionNeedsReauth()&&Object(o.createElement)(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(o.createElement)("p",null,Object(Z.a)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.")),Object(o.createElement)(a.ExternalLink,{href:"https://wordpress.com/sharing/".concat(Object(fe.default)())},Object(Z.a)("Go to Sharing settings")))}),K()(U()(n),"connectionNeedsReauth",function(){return Object(y.includes)(n.props.mustReauthConnections,n.props.name)}),K()(U()(n),"onConnectionChange",function(){var e=n.props.id;n.props.toggleConnection(e)}),n}return $()(t,e),I()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some(function(e){return e.service_name===n})}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,i=e.label,c=e.name,s="connection-"+c+"-"+r,l=c.replace("_","-"),u=Object(o.createElement)(a.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(o.createElement)(a.Disabled,null,u)),Object(o.createElement)("li",null,this.maybeDisplayGooglePlusNotice(l),this.maybeDisplayLinkedInNotice(),Object(o.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(o.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(o.createElement)(he,{serviceName:l}),Object(o.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(o.Component),me=Object(l.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}})(de),be=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"settingsClick",function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var i=window.open(t,"",""),o=window.setInterval(function(){!1!==i.closed&&(window.clearInterval(o),r())},500)}),n}return $()(t,e),I()(t,[{key:"getButtonLink",value:function(){var e=Object(fe.default)();return e?"https://wordpress.com/sharing/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=re()("jetpack-publicize-add-connection-container",this.props.className);return Object(o.createElement)("div",{className:e},Object(o.createElement)(a.ExternalLink,{onClick:this.settingsClick},Object(Z.a)("Connect an account")))}}]),t}(o.Component),ge=function(e){function t(){var e,n;D()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),K()(U()(n),"state",{hasEditedShareMessage:!1}),K()(U()(n),"fieldId",Object(y.uniqueId)("jetpack-publicize-message-field-")),K()(U()(n),"onMessageChange",function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)}),n}return $()(t,e),I()(t,[{key:"isDisabled",value:function(){return this.props.connections.every(function(e){return!e.toggleable})}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,i=this.getShareMessage(),a=256-i.length,c=re()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":a<=0});return Object(o.createElement)("div",{id:"publicize-form"},Object(o.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map(function(e){var t=e.display_name,r=e.enabled,i=e.id,a=e.service_name,c=e.toggleable;return Object(o.createElement)(me,{disabled:!c,enabled:r,key:i,id:i,label:t,name:a,toggleConnection:n})})),Object(o.createElement)(be,{refreshCallback:r}),t.some(function(e){return e.enabled})&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(Z.a)("Customize your message")),Object(o.createElement)("div",{className:"jetpack-publicize-message-box"},Object(o.createElement)("textarea",{id:this.fieldId,value:i,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(Z.a)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message."),rows:4}),Object(o.createElement)("div",{className:c},Object(ie.sprintf)(Object(Z.b)("%d character remaining","%d characters remaining",a),a)))))}}]),t}(o.Component),ve=Object(N.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=te()(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}}),Object(l.withDispatch)(function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map(function(e){return Q()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(ge),ye=Object(N.compose)([Object(l.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(l.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,n=e.refreshConnections;return Object(o.createElement)(o.Fragment,null,t&&t.some(function(e){return e.enabled})&&Object(o.createElement)(Y,null),Object(o.createElement)("div",null,Object(Z.a)("Connect and select the accounts where you'd like to share your post.")),t&&t.length>0&&Object(o.createElement)(ve,{refreshCallback:n}),t&&0===t.length&&Object(o.createElement)(be,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))}),je={render:function(){return Object(o.createElement)(s.PostTypeSupportCheck,{supportKeys:"publicize"},Object(o.createElement)(F.default,null,Object(o.createElement)(a.PanelBody,{title:Object(Z.a)("Share this post")},Object(o.createElement)(ye,null))),Object(o.createElement)(c.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(o.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(Z.a)("Share this post"))},Object(o.createElement)(ye,null)))}},Oe=n(136);Object(Oe.a)("publicize",je)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(7),a=n(2),c=n(343),s=n.n(c),l=n(13),u=n.n(l),p=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],h=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],f=function(e){s()(e.attributes);var t=e.isSelected;return Object(i.createElement)("div",{className:u()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(o.InnerBlocks,{allowedBlocks:p,templateLock:!1,template:h}))},d=n(30),m=n(1),b=(n(374),n(180),n(8)),g=n.n(b),v=n(12),y=n.n(v),j=n(9),O=n.n(j),_=n(10),k=n.n(_),w=n(4),E=n.n(w),x=n(11),C=n.n(x),S=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,o=t.addressLine3,a=t.city,c=t.region,s=t.postal,l=t.country;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),o&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},o),a&&!(c||s)&&Object(i.createElement)("div",{className:"jetpack-address__city"},a),a&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},a),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),!a&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(i.createElement)("div",{className:"jetpack-address__country"},l))},A=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,o=t.city,a=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=o?"+".concat(o,","):"",f=a?"+".concat(a,","):"";f=c?"".concat(f,"+").concat(c):f;var d=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(h).concat(f).concat(d).replace(" ","+")},M=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some(function(e){return""!==e})&&Object(i.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(i.createElement)("a",{href:A(e),target:"_blank",rel:"noopener noreferrer",title:Object(m.a)("Open address in Google Maps")},Object(i.createElement)(S,e)),!e.attributes.linkToGoogleMaps&&Object(i.createElement)(S,e));var t},T=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=O()(this,(e=k()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(E()(n)),n}return C()(t,e),y()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,c=t.addressLine3,s=t.city,l=t.region,p=t.postal,h=t.country,f=t.linkToGoogleMaps,d=e.isSelected,b=e.setAttributes,g=[n,r,c,s,l,p,h].some(function(e){return""!==e}),v=u()({"jetpack-address-block":!0,"is-selected":d}),y=Object(i.createElement)(a.ToggleControl,{label:Object(m.a)("Link address to Google Maps"),checked:f,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(i.createElement)("div",{className:v},!d&&g&&M(this.props),(d||!g)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.PlainText,{value:n,placeholder:Object(m.a)("Street Address"),"aria-label":Object(m.a)("Street Address"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:r,placeholder:Object(m.a)("Address Line 2"),"aria-label":Object(m.a)("Address Line 2"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:c,placeholder:Object(m.a)("Address Line 3"),"aria-label":Object(m.a)("Address Line 3"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:s,placeholder:Object(m.a)("City"),"aria-label":Object(m.a)("City"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:l,placeholder:Object(m.a)("State/Province/Region"),"aria-label":Object(m.a)("State/Province/Region"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:p,placeholder:Object(m.a)("Postal/Zip Code"),"aria-label":Object(m.a)("Postal/Zip Code"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:h,placeholder:Object(m.a)("Country"),"aria-label":Object(m.a)("Country"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),P={title:Object(m.a)("Address"),description:Object(m.a)("Lets you add a physical address with Schema markup."),keywords:[Object(m.c)("location","block search term"),Object(m.c)("direction","block search term"),Object(m.c)("place","block search term")],icon:Object(d.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(i.createElement)(a.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:T,save:M},F=n(80),N=n.n(F),z=function(e){var t=e.attributes.email,n=e.className;return t&&Object(i.createElement)("div",{className:n},t.split(/(\s+)/).map(function(e,t){var n=e.replace(/([.,\/#!$%\^&\*;:{}=\-_`~()\]\[])+$/g,"");return e.indexOf("@")&&N.a.validate(n)?e===n?Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(i.createElement)(i.Fragment,null,e.slice(-(e.length-n.length)))):Object(i.createElement)(i.Fragment,{key:t},e)}))},D=function(e,t,n,r,a){var c=t.isSelected,s=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(i.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:a}))},R=function(e){var t=e.setAttributes;return D("email",e,Object(m.a)("Email"),z,function(e){return t({email:e})})},I={title:Object(m.a)("Email Address"),description:Object(m.a)("Lets you add an email address with an automatically generated click-to-email link."),keywords:["e-mail","email",Object(m.c)("message","block search term")],icon:Object(d.a)(Object(i.createElement)(a.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:R,save:z,parent:["jetpack/contact-info"]};var L=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(i.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,o=n?e.substring(0,n):"",a=r.replace(/\D/g,"");return/[0-9\/+\/(]/.test(r[0])?(o=o.slice(0,-1),"+"===r[0]&&(a="+"+a)):r=r.substring(1),[o.trim()?Object(i.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,Object(i.createElement)("a",{key:"phoneNumber",href:"tel:".concat(a)},r)]}(t))},B=function(e){var t=e.setAttributes;return D("phone",e,Object(m.a)("Phone number"),L,function(e){return t({phone:e})})},q={title:Object(m.a)("Phone Number"),description:Object(m.a)("Lets you add a phone number with an automatically generated click-to-call link."),keywords:[Object(m.c)("mobile","block search term"),Object(m.c)("telephone","block search term"),Object(m.c)("cell","block search term")],icon:Object(d.a)(Object(i.createElement)(a.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:B,save:L},V={title:Object(m.a)("Contact Info"),description:Object(m.a)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results."),keywords:[Object(m.c)("email","block search term"),Object(m.c)("phone","block search term"),Object(m.c)("address","block search term")],icon:Object(d.a)(Object(i.createElement)(a.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:f,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(o.InnerBlocks.Content,null))}},H=[{name:"address",settings:P},{name:"email",settings:I},{name:"phone",settings:q}];Object(r.a)("contact-info",V,H)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(72),c=n.n(a),s=n(8),l=n.n(s),u=n(12),p=n.n(u),h=n(9),f=n.n(h),d=n(10),m=n.n(d),b=n(4),g=n.n(b),v=n(11),y=n.n(v),j=n(3),O=n.n(j),_=n(13),k=n.n(_),w=n(80),E=n.n(w),x=n(20),C=n(25),S=n(5),A=n(24),M=n(56),T=n.n(M),P=n(79),F=n.n(P),N=n(133),z=n.n(N),D=(n(488),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,o=void 0!==r&&r,a=F()(e,["children","isError"]),c=k()("simple-payments__help-message",{"simple-payments__help-message-is-error":o});return n&&Object(i.createElement)("div",T()({className:c},a),o&&Object(i.createElement)(z.a,{size:"24"}),Object(i.createElement)("span",null,n))}),R=n(1),I=(n(490),n(347)),L=n.n(I),B=n(348),q=n.n(B),V=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,a=e.formattedPrice,c=void 0===a?"":a,s=e.multiple,l=void 0!==s&&s,u=e.featuredMediaUrl,p=void 0===u?null:u,h=e.featuredMediaTitle,f=void 0===h?null:h;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},p&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:p,alt:f}))),Object(i.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(i.createElement)("div",{className:"jetpack-simple-payments-title"},Object(i.createElement)("p",null,n)),o&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,o)),c&&Object(i.createElement)("div",{className:"jetpack-simple-payments-price"},Object(i.createElement)("p",null,c)),Object(i.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},l&&Object(i.createElement)("div",{className:"jetpack-simple-payments-items"},Object(i.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(i.createElement)("div",{className:"jetpack-simple-payments-button"},Object(i.createElement)("img",{alt:Object(R.a)("Pay with PayPal"),src:L.a,srcSet:"".concat(q.a," 2x")}))))))},H=n(7),U=function(e){return function(t){return e({featuredMediaId:Object(S.get)(t,"id",0),featuredMediaUrl:Object(S.get)(t,"url",null),featuredMediaTitle:Object(S.get)(t,"title",null)})}},G=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,a=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(H.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(H.MediaUpload,{onSelect:U(a),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(R.a)("Edit Image"),icon:"edit",onClick:t})}}),Object(i.createElement)(o.ToolbarButton,{icon:"trash",title:Object(R.a)("Remove Image"),onClick:function(){return a({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(H.MediaPlaceholder,{icon:"format-image",labels:{title:Object(R.a)("Product Image")},accept:"image/*",allowedTypes:["image"],onSelect:U(a)})},$=n(349),W=n.n($),K={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function Z(e){return K[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}var J=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],Y=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},X=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Z(t),i=r.precision,o=r.symbol,a=e.toFixed(i);return n?"".concat(a," ").concat(W()(o,".")):a},Q=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=f()(this,(e=m()(t)).call.apply(e,[this].concat(i))),O()(g()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),O()(g()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),O()(g()(n),"validateAttributes",function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i}),O()(g()(n),"validateCurrency",function(){var e=n.props.attributes.currency;return J.includes(e)}),O()(g()(n),"validatePrice",function(){var e=n.props.attributes,t=e.currency,r=e.price,i=Z(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(R.a)("Invalid price")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(R.a)("Your price is negative — enter a positive number so people can pay the right amount.")}),!1):Y(r)>i?0===i?(n.setState({fieldPriceError:Object(R.a)("We know every penny counts, but prices in this currency can’t contain decimal values.")}),!1):(n.setState({fieldPriceError:Object(A.sprintf)(Object(R.b)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(R.a)("If you’re selling something, you need a price tag. Add yours here.")}),!1)}),O()(g()(n),"validateEmail",function(){var e=n.props.attributes.email;return e?E.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(A.sprintf)(Object(R.a)("%s is not a valid email address."),e)}),!1):(n.setState({fieldEmailError:Object(R.a)("We want to make sure payments reach you, so please add an email address.")}),!1)}),O()(g()(n),"validateTitle",function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(R.a)("Please add a brief title so that people know what they’re paying for.")}),!1)}),O()(g()(n),"handleEmailChange",function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})}),O()(g()(n),"handleFeaturedMediaSelect",function(e){n.props.setAttributes({featuredMediaId:Object(S.get)(e,"id",0)})}),O()(g()(n),"handleContentChange",function(e){n.props.setAttributes({content:e})}),O()(g()(n),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})}),O()(g()(n),"handleCurrencyChange",function(e){n.props.setAttributes({currency:e})}),O()(g()(n),"handleMultipleChange",function(e){n.props.setAttributes({multiple:!!e})}),O()(g()(n),"handleTitleChange",function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})}),O()(g()(n),"getCurrencyList",J.map(function(e){var t=Z(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(S.trimEnd)(t,"."))}})),n}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(S.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){if(this.shouldInjectPaymentAttributes){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.simplePayment,i=t.content,o=t.currency,a=t.email,c=t.featuredMediaId,s=t.multiple,l=t.price,u=t.productId,p=t.title;u&&r&&(n({content:Object(S.get)(r,["content","raw"],i),currency:Object(S.get)(r,["meta","spay_currency"],o),email:Object(S.get)(r,["meta","spay_email"],a),featuredMediaId:Object(S.get)(r,["featured_media"],c),multiple:Boolean(Object(S.get)(r,["meta","spay_multiple"],Boolean(s))),price:Object(S.get)(r,["meta","spay_price"],l||void 0),title:Object(S.get)(r,["title","raw"],p)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes)}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,i=e.featuredMediaId,o=e.multiple,a=e.price,c=e.productId;return{id:c,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:a},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.email,o=Object(C.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},c()(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:o("postType","jp_pay_product",e.toApi()).then(function(e){return e&&r({productId:e.id}),e}).catch(function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(A.sprintf)(Object(R.a)("%s is not a valid email address."),i):null,fieldPriceError:"spay_price"===n?Object(R.a)("Invalid price."):null})}}).finally(function(){e.setState({isSavingProduct:!1})});case 1:case"end":return t.stop()}},t,this)})))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,a=this.props,c=a.attributes,s=a.featuredMedia,l=a.instanceId,u=a.isSelected,p=a.setAttributes,h=a.simplePayment,f=c.content,d=c.currency,m=c.email,b=c.featuredMediaId,g=c.featuredMediaUrl,v=c.featuredMediaTitle,y=c.multiple,j=c.price,O=c.productId,_=c.title,w=g||s&&s.source_url,E=v||s&&s.alt_text,x=O&&!h;if(!u&&x)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(V,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!u&&m&&j&&_&&!t&&!n&&!r)return Object(i.createElement)(V,{"aria-busy":"false",content:f,featuredMediaUrl:w,featuredMediaTitle:E,formattedPrice:X(j,d),multiple:y,title:_});var C=x?o.Disabled:"div";return Object(i.createElement)(C,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(G,{featuredMediaId:b,featuredMediaUrl:w,featuredMediaTitle:E,setAttributes:p}),Object(i.createElement)("div",null,Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(l,"-title-error"),className:k()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(R.a)("Item name"),onChange:this.handleTitleChange,placeholder:Object(R.a)("Item name"),required:!0,type:"text",value:_}),Object(i.createElement)(D,{id:"".concat(l,"-title-error"),isError:!0},r),Object(i.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(R.a)("Describe your item in a few words"),onChange:this.handleContentChange,placeholder:Object(R.a)("Describe your item in a few words"),value:f}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(R.a)("Currency"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(l,"-price-error"),className:k()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(R.a)("Price"),onChange:this.handlePriceChange,placeholder:X(0,d,!1),required:!0,step:"1",type:"number",value:j||""}),Object(i.createElement)(D,{id:"".concat(l,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(o.ToggleControl,{checked:Boolean(y),label:Object(R.a)("Allow people to buy more than one item at a time"),onChange:this.handleMultipleChange})),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(l,"-email-").concat(t?"error":"help"),className:k()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(R.a)("Email"),onChange:this.handleEmailChange,placeholder:Object(R.a)("Email"),required:!0,type:"email",value:m}),Object(i.createElement)(D,{id:"".concat(l,"-email-error"),isError:!0},t),Object(i.createElement)(D,{id:"".concat(l,"-email-help")},Object(R.a)("Enter the email address associated with your PayPal account. Don’t have an account?")+" ",Object(i.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(R.a)("Create one on PayPal")))))}}]),t}(i.Component),ee=Object(C.withSelect)(function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,o=e("core/editor"),a=o.isSavingPost,c=o.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(S.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(S.get)(c(),["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:p,featuredMedia:u?i(u):null}}),te=Object(x.compose)(ee,x.withInstanceId)(Q);n(503);var ne={title:Object(R.a)("Simple Payments button"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(R.a)("Lets you create and embed credit and debit card payment buttons with minimal setup.")),Object(i.createElement)(o.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(R.a)("Support reference"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(R.c)("shop","block search term"),Object(R.c)("sell","block search term"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:te,save:function(e){var t=e.attributes.productId;return t?Object(i.createElement)(i.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",ne)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(18),o=n.n(i),a=n(0),c=n(21),s=n(2),l=n(7),u=(n(372),n(8)),p=n.n(u),h=n(12),f=n.n(h),d=n(9),m=n.n(d),b=n(10),g=n.n(b),v=n(4),y=n.n(v),j=n(11),O=n.n(j),_=n(13),k=n.n(_),w=n(24),E=n(80),x=n.n(E),C=n(20),S=n(1),A=n(30),M=n(81),T=n(132),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],F=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(y()(n)),n.onBlurTo=n.onBlurTo.bind(y()(n)),n.onChangeTo=n.onChangeTo.bind(y()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(y()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(y()(n)),n.getToValidationError=n.getToValidationError.bind(y()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(y()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(y()(n)),n.hasEmailError=n.hasEmailError.bind(y()(n));var a=(i[0].attributes.to?i[0].attributes.to:"").split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:a&&a.length?a:null},n}return O()(t,e),f()(t,[{key:"getIntroMessage",value:function(){return Object(S.a)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?")}},{key:"getEmailHelpMessage",value:function(){return Object(S.a)("You can enter multiple email addresses separated by commas.")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!x.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(w.sprintf)(Object(S.a)("%s is not a valid email address."),e[0].email):e[0];if(2===e.length)return Object(w.sprintf)(Object(S.a)("%s and %s are not a valid email address."),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(w.sprintf)(Object(S.a)("%s are not a valid email address."),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,i=r.subject,o=r.to;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(S.a)("Email address"),placeholder:Object(S.a)("name@example.com"),onKeyDown:this.preventEnterSubmittion,value:o,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(a.createElement)(T.default,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(a.createElement)(T.default,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(a.createElement)(s.TextControl,{label:Object(S.a)("Email subject line"),value:i,placeholder:Object(S.a)("Let's work together"),onChange:this.onChangeSubject}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=k()(t,"jetpack-contact-form",{"has-intro":!n});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Email feedback settings")},this.renderToAndSubjectFields())),Object(a.createElement)("div",{className:r},!n&&Object(a.createElement)(s.Placeholder,{label:Object(S.a)("Form"),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},Object(a.createElement)("form",{onSubmit:this.onFormSettingsSet},Object(a.createElement)("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),Object(a.createElement)("p",{className:"jetpack-contact-form__intro-message"},Object(S.a)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)")),Object(a.createElement)("div",{className:"jetpack-contact-form__create"},Object(a.createElement)(s.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(S.a)("Add form"))))),n&&Object(a.createElement)(l.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(a.createElement)(M.a,this.props)))}}]),t}(a.Component),N=Object(C.compose)([C.withInstanceId])(F),z=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,i=e.isSelected,o=e.required;return Object(a.createElement)("div",{className:"jetpack-field-label"},Object(a.createElement)(l.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(S.a)("Write label…")}),i&&Object(a.createElement)(s.ToggleControl,{label:Object(S.a)("Required"),className:"jetpack-field-label__required",checked:o,onChange:function(e){return t({required:e})}}),!i&&o&&Object(a.createElement)("span",{className:"required"},Object(S.a)("(required)")))};var D=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,o=e.setAttributes,c=e.defaultValue,u=e.placeholder,p=e.id;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:k()("jetpack-field",{"is-selected":t})},Object(a.createElement)(s.TextControl,{type:n,label:Object(a.createElement)(z,{required:r,label:i,setAttributes:o,isSelected:t}),placeholder:u,value:u,onChange:function(e){return o({placeholder:e})},title:Object(S.a)("Set the placeholder text")})),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.TextControl,{label:Object(S.a)("Default Value"),value:c,onChange:function(e){return o({defaultValue:e})}}),Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:p,onChange:function(e){return o({id:e})}}))))};var R=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,o=e.defaultValue,c=e.placeholder,u=e.id;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"jetpack-field"},Object(a.createElement)(s.TextareaControl,{label:Object(a.createElement)(z,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:c,value:c,onChange:function(e){return r({placeholder:e})},title:Object(S.a)("Set the placeholder text")})),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.TextControl,{label:Object(S.a)("Default Value"),value:o,onChange:function(e){return r({defaultValue:e})}}),Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:u,onChange:function(e){return r({id:e})}}))))},I=Object(C.withInstanceId)(function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,o=e.isSelected,c=e.defaultValue,u=e.id;return Object(a.createElement)(s.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:c}),Object(a.createElement)(z,{required:n,label:r,setAttributes:i,isSelected:o}),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.ToggleControl,{label:Object(S.a)("Default Checked State"),checked:c,onChange:function(e){return i({defaultValue:e})}}),Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:u,onChange:function(e){return i({id:e})}}))))})}),L=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.onKeyPress=n.onKeyPress.bind(y()(n)),n.onDeleteOption=n.onDeleteOption.bind(y()(n)),n.textInput=Object(a.createRef)(),n}return O()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(a.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(a.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(a.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(S.a)("Write option…"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(a.createElement)(s.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(S.a)("Remove option"),onClick:this.onDeleteOption}))}}]),t}(a.Component),B=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.addNewOption=n.addNewOption.bind(y()(n)),n.state={inFocus:null},n}return O()(t,e),f()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,i=t.required,o=t.label,c=t.setAttributes,u=t.isSelected,p=t.id,h=this.props.options,f=this.state.inFocus;return h.length||(h=[""],f=0),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(a.createElement)(z,{required:i,label:o,setAttributes:c,isSelected:u,resetFocus:function(){return e.setState({inFocus:null})}})},Object(a.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},h.map(function(t,r){return Object(a.createElement)(L,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===f&&u,isSelected:u})})),u&&Object(a.createElement)(s.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(S.a)("Insert option"),onClick:this.addNewOption},Object(S.a)("Add option"))),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(S.a)("Field Settings")},Object(a.createElement)(s.TextControl,{label:Object(S.a)("ID"),value:p,onChange:function(e){return c({id:e})}}))))}}]),t}(a.Component),q=Object(C.withInstanceId)(B),V={title:Object(S.a)("Form"),description:Object(S.a)("A simple way to get feedback from folks visiting your site."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(S.a)("email"),Object(S.a)("feedback"),Object(S.a)("contact")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(S.a)("Submit")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(S.a)("Submit")}},edit:N,save:l.InnerBlocks.Content,deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(S.a)("Submit")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!(!e.has_form_settings_set&&"Submit"===e.submit_button_text)},save:l.InnerBlocks.Content}]},H={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(c.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},U=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(c.getBlockType)(n).title:t.label},G=function(e){return function(t){return Object(a.createElement)(D,{type:e,label:U(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},$=function(e){return function(t){return Object(a.createElement)(q,{label:U(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},W=[{name:"field-text",settings:o()({},H,{title:Object(S.a)("Text"),description:Object(S.a)("When you need just a small amount of text, add a text input."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:G("text")})},{name:"field-name",settings:o()({},H,{title:Object(S.a)("Name"),description:Object(S.a)("Introductions are important. Add an input for folks to add their name."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:G("text")})},{name:"field-email",settings:o()({},H,{title:Object(S.a)("Email"),keywords:[Object(S.a)("e-mail"),Object(S.a)("mail"),"email"],description:Object(S.a)("Want to reply to folks? Add an email address input."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:G("email")})},{name:"field-url",settings:o()({},H,{title:Object(S.a)("Website"),keywords:["url",Object(S.a)("internet page"),"link"],description:Object(S.a)("Add an address input for a website."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:G("url")})},{name:"field-date",settings:o()({},H,{title:Object(S.a)("Date Picker"),keywords:[Object(S.a)("Calendar"),Object(S.a)("day month year","block search term")],description:Object(S.a)("The best way to set a date. Add a date picker."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:G("text")})},{name:"field-telephone",settings:o()({},H,{title:Object(S.a)("Telephone"),keywords:[Object(S.a)("Phone"),Object(S.a)("Cellular phone"),Object(S.a)("Mobile")],description:Object(S.a)("Add a phone number input."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:G("tel")})},{name:"field-textarea",settings:o()({},H,{title:Object(S.a)("Message"),keywords:[Object(S.a)("Textarea"),"textarea",Object(S.a)("Multiline text")],description:Object(S.a)("Let folks speak their mind. This text box is great for longer responses."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(a.createElement)(R,{label:U(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:o()({},H,{title:Object(S.a)("Checkbox"),keywords:[Object(S.a)("Confirm"),Object(S.a)("Accept")],description:Object(S.a)("Add a single checkbox."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(a.createElement)(I,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:o()({},H.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:o()({},H,{title:Object(S.a)("Checkbox Group"),keywords:[Object(S.a)("Choose Multiple"),Object(S.a)("Option")],description:Object(S.a)("People love options. Add several checkbox items."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:$("checkbox"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:o()({},H,{title:Object(S.a)("Radio"),keywords:[Object(S.a)("Choose"),Object(S.a)("Select"),Object(S.a)("Option")],description:Object(S.a)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items."),icon:Object(A.a)(Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(a.createElement)(s.Circle,{cx:"12",cy:"12",r:"5"}))),edit:$("radio"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:o()({},H,{title:Object(S.a)("Select"),keywords:[Object(S.a)("Choose"),Object(S.a)("Dropdown"),Object(S.a)("Option")],description:Object(S.a)("Compact, but powerful. Add a select box with several items."),icon:Object(A.a)(Object(a.createElement)(s.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:$("select"),attributes:o()({},H.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",V,W)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(41),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(0),j=n(50),O=n.n(j),_=n(1),k=n(2),w=n(7),E=n(28),x=n.n(E),C=n(13),S=n.n(C),A=n(5),M=n(64),T=n(24),P=n(20);function F(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var i=e[r],o=i.keywords,a=void 0===o?[]:o;if("string"==typeof i.label&&(a=[].concat(x()(a),[i.label])),n.push(i),n.length===t)break}return n}var N=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(d()(e),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(d()(e),"onChange",function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var i=n?F(r):[];n&&e.setState({selectedIndex:0,filteredOptions:i,query:t})}else e.reset()}),v()(d()(e),"onKeyDown",function(t){var n=e.state,r=n.isOpen,i=n.selectedIndex,o=n.filteredOptions;if(r){var a;switch(t.keyCode){case M.UP:a=(0===i?o.length:i)-1,e.setState({selectedIndex:a});break;case M.DOWN:a=(i+1)%o.length,e.setState({selectedIndex:a});break;case M.ENTER:e.select(o[i]);break;case M.LEFT:case M.RIGHT:case M.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,i=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then(function(t){var r;if(i===n.activePromise){var o=t.map(function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),a=F(o),c=a.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",o),v()(r,"filteredOptions",a),v()(r,"selectedIndex",c),v()(r,"isOpen",a.length>0),r)),n.announce(a)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(T.sprintf)(Object(_.b)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack"),e.length),"assertive"):t(Object(_.a)("No results."),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,i=r.children,o=r.instanceId,a=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,h=a.className,f=l.length>0,d=f?"components-autocomplete-listbox-".concat(o):null,m=f?"components-autocomplete-item-".concat(o,"-").concat(p):null;return Object(y.createElement)("div",{className:"components-autocomplete"},i({isExpanded:f,listBoxId:d,activeId:m,onChange:t,onKeyDown:n}),f&&Object(y.createElement)(k.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(y.createElement)("div",{id:d,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,function(t,n){return Object(y.createElement)(k.Button,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(y.Component),z=Object(P.compose)([k.withSpokenMessages,P.withInstanceId,k.withFocusOutside])(N),D=Object(_.a)("Add a marker…"),R=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"getOptionCompletion",function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text}),v()(d()(e),"search",function(t){var n=e.props,r=n.apiKey,i=n.onError,o="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise(function(e,t){var n=new XMLHttpRequest;n.open("GET",o),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var o=JSON.parse(n.responseText);i(o.statusText,o.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()})}),v()(d()(e),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(y.createRef)(),e.containerRef=Object(y.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(y.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.containerRef.current.querySelector("input").focus()},50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(y.createElement)("div",{ref:this.containerRef},Object(y.createElement)(k.BaseControl,{label:t,className:"components-location-search"},Object(y.createElement)(z,{completer:this.autocompleter,onReset:this.onReset},function(t){var n=t.isExpanded,r=t.listBoxId,i=t.activeId,o=t.onChange,a=t.onKeyDown;return Object(y.createElement)(k.TextControl,{placeholder:D,ref:e.textRef,onChange:o,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":i,onKeyDown:a})})))}}]),t}(y.Component);R.defaultProps={onError:function(){}};var I=R,L=(n(380),function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,i=e.apiKey;return Object(y.createElement)(k.Button,{className:"component__add-point"},Object(_.a)("Add marker"),Object(y.createElement)(k.Popover,{className:"component__add-point__popover"},Object(y.createElement)(k.Button,{className:"component__add-point__close",onClick:t},Object(y.createElement)(k.Dashicon,{icon:"no"})),Object(y.createElement)(I,{onAddPoint:n,label:Object(_.a)("Add a location"),apiKey:i,onError:r})))}}]),t}(y.Component));L.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var B=L,q=(n(382),function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"onDeletePoint",function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,i=r.points,o=r.onChange,a=i.slice(0);a.splice(n,1),o(a)}),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,i=r.points,o=r.onChange,a=i.slice(0);a[n][e]=t,o(a)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,n){return Object(y.createElement)(k.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(y.createElement)(k.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(y.createElement)(k.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(y.createElement)(k.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(y.createElement)(k.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return Object(y.createElement)("div",{className:"component__locations"},Object(y.createElement)(k.Panel,{className:"component__locations__panel"},t))}}]),t}(y.Component));q.defaultProps={points:Object.freeze([]),onChange:function(){}};var V=q,H=n(164),U=(n(384),function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,i=e.label,o=t.map(function(e,t){var i=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(y.createElement)(k.Button,{className:i,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)});return Object(y.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(y.createElement)("label",{className:"components-base-control__label"},i),Object(y.createElement)(k.ButtonGroup,null,o))}}]),t}(y.Component));U.defaultProps={label:"",options:[],value:null,onChange:function(){}};var G=U,$=0,W=function(e){function t(){var e;return a()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(d()(e),"addPoint",function(t){var n=e.props,r=n.attributes,i=n.setAttributes,o=r.points,a=o.slice(0),c=!1;o.map(function(e){e.id===t.id&&(c=!0)}),c||(a.push(t),i({points:a}),e.setState({addPointVisibility:!1}))}),v()(d()(e),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(d()(e),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(d()(e),"updateAPIKey",function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")}),v()(d()(e),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(d()(e),"onError",function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)}),e.state={addPointVisibility:!1,apiState:$},e.mapRef=Object(y.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,i=this.state.apiKey,o="/wpcom/v2/service-api-keys/mapbox",a=t?{path:o,method:n,data:{service_api_key:t}}:{path:o,method:n};this.setState({apiRequestOutstanding:!0},function(){O()(a).then(function(t){r.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})},function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:i})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,o=t.attributes,a=t.noticeUI,c=t.notices,s=o.mapStyle,l=o.mapDetails,u=o.points,p=o.zoom,h=o.mapCenter,f=o.markerColor,d=o.align,m=this.state,b=m.addPointVisibility,g=m.apiKey,v=m.apiKeyControl,j=m.apiState,O=m.apiRequestOutstanding,E=Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.BlockControls,null,Object(y.createElement)(w.BlockAlignmentToolbar,{value:d,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(y.createElement)(k.Toolbar,null,Object(y.createElement)(k.IconButton,{icon:i.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(y.createElement)(w.InspectorControls,null,Object(y.createElement)(k.PanelBody,{title:Object(_.a)("Map Theme")},Object(y.createElement)(G,{value:s,onChange:function(e){return r({mapStyle:e})},options:i.a.mapStyleOptions}),Object(y.createElement)(k.ToggleControl,{label:Object(_.a)("Show street names"),checked:l,onChange:function(e){return r({mapDetails:e})}})),Object(y.createElement)(w.PanelColorSettings,{title:Object(_.a)("Colors"),initialOpen:!0,colorSettings:[{value:f,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),u.length?Object(y.createElement)(k.PanelBody,{title:Object(_.a)("Markers"),initialOpen:!1},Object(y.createElement)(V,{points:u,onChange:function(e){r({points:e})}})):null,Object(y.createElement)(k.PanelBody,{title:Object(_.a)("Mapbox Access Token"),initialOpen:!1},Object(y.createElement)(k.TextControl,{label:Object(_.a)("Mapbox Access Token"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(y.createElement)(k.ButtonGroup,null,Object(y.createElement)(k.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(_.a)("Update Token")),Object(y.createElement)(k.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(_.a)("Remove Token")))))),x=Object(y.createElement)(k.Placeholder,{icon:i.a.icon},Object(y.createElement)(k.Spinner,null)),C=Object(y.createElement)(k.Placeholder,{icon:i.a.icon,label:Object(_.a)("Map"),notices:c},Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"components-placeholder__instructions"},Object(_.a)("To use the map block, you need an Access Token."),Object(y.createElement)("br",null),Object(y.createElement)(k.ExternalLink,{href:"https://www.mapbox.com"},Object(_.a)("Create an account or log in to Mapbox.")),Object(y.createElement)("br",null),Object(_.a)("Locate and copy the default access token. Then, paste it into the field below.")),Object(y.createElement)(k.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:O,placeholder:Object(_.a)("Paste Token Here"),value:v,onChange:this.updateAPIKeyControl}),Object(y.createElement)(k.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:O||!v||v.length<1,onClick:this.updateAPIKey},Object(_.a)("Set Token")))),S=Object(y.createElement)(y.Fragment,null,E,Object(y.createElement)("div",{className:n},Object(y.createElement)(H.a,{ref:this.mapRef,mapStyle:s,mapDetails:l,points:u,zoom:p,mapCenter:h,markerColor:f,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:g,onSetPoints:function(e){return r({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},b&&Object(y.createElement)(B,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:g,onError:this.onError,tagName:"AddPoint"}))));return Object(y.createElement)(y.Fragment,null,a,j===$&&x,1===j&&C,2===j&&S)}}]),t}(y.Component),K=Object(k.withNotices)(W),Z=function(e){function t(){return a()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,i=e.points,o=e.zoom,a=e.mapCenter,c=e.markerColor,s=i.map(function(e,t){var n=e.coordinates,r=n.longitude,i="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(y.createElement)("li",{key:t},Object(y.createElement)("a",{href:i},e.title))}),l=t?"align".concat(t):null;return Object(y.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(i),"data-zoom":o,"data-map-center":JSON.stringify(a),"data-marker-color":c},i.length>0&&Object(y.createElement)("ul",null,s))}}]),t}(y.Component),J=(n(186),n(386),i.a.name),Y={title:i.a.title,icon:i.a.icon,category:i.a.category,keywords:i.a.keywords,description:i.a.description,attributes:i.a.attributes,supports:i.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==i.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z};Object(r.a)(J,Y)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(28),s=n.n(c),l=n(8),u=n.n(l),p=n(12),h=n.n(p),f=n(9),d=n.n(f),m=n(10),b=n.n(m),g=n(4),v=n.n(g),y=n(11),j=n.n(y),O=n(3),_=n.n(O),k=n(35),w=n(20),E=n(25),x=n(7),C=n(5),S=n(74),A=n(13),M=n.n(A),T=n(163),P=n(73),F=function(e){function t(e){var n;return u()(this,t),n=d()(this,b()(t).call(this,e)),_()(v()(n),"pendingRequestAnimationFrame",null),_()(v()(n),"resizeObserver",null),_()(v()(n),"initializeResizeObserver",function(e){n.clearResizeObserver(),n.resizeObserver=new S.a(function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame(function(){Object(P.d)(e),e.update()})}),n.resizeObserver.observe(e.el)}),_()(v()(n),"clearPendingRequestAnimationFrame",function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)}),_()(v()(n),"clearResizeObserver",function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)}),_()(v()(n),"prefersReducedMotion",function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}),_()(v()(n),"buildSwiper",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(T.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:P.b,imagesReady:P.d,paginationRender:P.c,transitionEnd:P.a})}),n.slideshowRef=Object(i.createRef)(),n.btnNextRef=Object(i.createRef)(),n.btnPrevRef=Object(i.createRef)(),n.paginationRef=Object(i.createRef)(),n}return j()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.buildSwiper().then(function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.align,i=n.autoplay,o=n.delay,a=n.effect,c=n.images;if(r===e.align&&Object(C.isEqual)(c,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||i!==e.autoplay||o!==e.delay||c!==e.images){var s=c.length===e.images.length?this.swiperInstance.realIndex:e.images.length;this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(s).then(function(e){t.swiperInstance=e,t.initializeResizeObserver(e)})}}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,a=e.effect,c=e.images;return Object(i.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":a},Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(i.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrappper swiper-wrapper"},c.map(function(e){var t=e.alt,n=e.caption,r=e.id,a=e.url;return Object(i.createElement)("li",{className:M()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(k.isBlobURL)(a)&&"is-transient"),key:r},Object(i.createElement)("figure",null,Object(i.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:a}),Object(k.isBlobURL)(a)&&Object(i.createElement)(o.Spinner,null),n&&Object(i.createElement)(x.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))})),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(i.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(i.Component);_()(F,"defaultProps",{effect:"slide"});var N=F,z=(n(505),["image"]),D=[{label:Object(a.c)("Slide","Slideshow transition effect"),value:"slide"},{label:Object(a.c)("Fade","Slideshow transition effect"),value:"fade"}],R=function(e){return Object(C.pick)(e,["alt","id","link","url","caption"])},I=function(e){function t(){var e;return u()(this,t),e=d()(this,b()(t).apply(this,arguments)),_()(v()(e),"onSelectImages",function(t){(0,e.props.setAttributes)({images:t.map(function(e){return R(e)})})}),_()(v()(e),"onRemoveImage",function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,function(e,n){return t!==n});e.setState({selectedImage:null}),e.props.setAttributes({images:n})}}),_()(v()(e),"addFiles",function(t){var n=e.props.attributes.images||[],r=e.props,i=r.lockPostSaving,o=r.unlockPostSaving,a=r.noticeOperations,c=r.setAttributes;i("slideshowBlockLock"),Object(x.mediaUpload)({allowedTypes:z,filesList:t,onFileChange:function(e){var t=e.map(function(e){return R(e)});c({images:[].concat(s()(n),s()(t))}),t.every(function(e){return Object(k.isBlobURL)(e.url)})||o("slideshowBlockLock")},onError:a.createErrorNotice})}),_()(v()(e),"uploadFromFiles",function(t){return e.addFiles(t.target.files)}),e.state={selectedImage:null},e}return j()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,c=e.noticeOperations,s=e.noticeUI,l=e.setAttributes,u=t.align,p=t.autoplay,h=t.delay,f=t.effect,d=t.images,m="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(x.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Autoplay")},Object(i.createElement)(o.ToggleControl,{label:Object(a.a)("Autoplay"),help:Object(a.a)("Autoplay between slides"),checked:p,onChange:function(e){l({autoplay:e})}}),p&&Object(i.createElement)(o.RangeControl,{label:Object(a.a)("Delay between transitions (in seconds)"),value:h,onChange:function(e){l({delay:e})},min:1,max:5}),p&&m&&Object(i.createElement)("span",null,Object(a.a)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser."))),Object(i.createElement)(o.PanelBody,{title:Object(a.a)("Effects")},Object(i.createElement)(o.SelectControl,{label:Object(a.a)("Transition effect"),value:f,onChange:function(e){l({effect:e})},options:D}))),Object(i.createElement)(x.BlockControls,null,!!d.length&&Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(x.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:z,multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.a)("Edit Slideshow"),icon:"edit",onClick:t})}}))));return 0===d.length?Object(i.createElement)(i.Fragment,null,b,Object(i.createElement)(x.MediaPlaceholder,{icon:"format-gallery",className:n,labels:{title:Object(a.a)("Slideshow"),instructions:Object(a.a)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:z,multiple:!0,notices:s,onError:c.createErrorNotice})):Object(i.createElement)(i.Fragment,null,b,s,Object(i.createElement)(N,{align:u,autoplay:p,className:n,delay:h,effect:f,images:d}),Object(i.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),r&&Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(i.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(a.a)("Upload an image"))))}}]),t}(i.Component),L=Object(w.compose)(Object(E.withDispatch)(function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}}),o.withNotices)(I),B=n(21),q={from:[{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=Object(C.filter)(e.images,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(B.createBlock)("jetpack/slideshow",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):Object(B.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images;return Object(B.createBlock)("core/gallery",{images:t})}},{type:"block",blocks:["jetpack/tiled-gallery"],transform:function(e){var t=e.images;return Object(B.createBlock)("jetpack/tiled-gallery",{images:t},[])}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(B.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(B.createBlock)("core/image")}}]},V=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(i.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),H={title:Object(a.a)("Slideshow"),category:"jetpack",keywords:[Object(a.a)("image"),Object(a.a)("gallery"),Object(a.a)("slider")],description:Object(a.a)("Add an interactive slideshow."),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"}},supports:{align:["center","wide","full"],html:!1},icon:V,edit:L,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,o=t.delay,a=t.effect,c=t.images,s=e.className;return Object(i.createElement)(N,{align:n,autoplay:r,className:s,delay:o,effect:a,images:c})},transforms:q};Object(r.a)("slideshow",H)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(8),s=n.n(c),l=n(12),u=n.n(l),p=n(9),h=n.n(p),f=n(10),d=n.n(f),m=n(11),b=n.n(m),g=n(7),v=[{height:250,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(a.a)("Rectangle 300x250"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(a.a)("Leaderboard 728x90"),tag:"leaderboard",width:728,editorPadding:40},{height:50,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(a.a)("Mobile Leaderboard 320x50"),tag:"mobile_leaderboard",width:320,editorPadding:60},{height:600,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(i.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(a.a)("Wide Skyscraper 160x600"),tag:"wideskyscraper",width:160,editorPadding:30}],y=Object(a.a)("Pick an ad format");function j(e){var t=e.value,n=e.onChange;return Object(i.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(o.Toolbar,{controls:[{icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:y,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(i.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},v.map(function(e){var a=e.tag,c=e.name,s=e.icon;return Object(i.createElement)(o.MenuItem,{className:a===t?"is-active":void 0,icon:s,isSelected:a===t,key:a,onClick:function(){n(a),r()},role:"menuitemcheckbox"},c)}))}})}n(511);var O=function(e){function t(){return s()(this,t),h()(this,d()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.format,c=v.filter(function(e){return e.tag===r})[0];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(g.BlockControls,null,Object(i.createElement)(j,{value:r,onChange:function(e){return n({format:e})}})),Object(i.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(r)},Object(i.createElement)("div",{className:"jetpack-wordads__ad",style:{width:c.width,height:c.height+c.editorPadding}},Object(i.createElement)("div",{className:"jetpack-wordads__header"},Object(a.a)("Advertisements")),Object(i.createElement)(o.Placeholder,{icon:k,label:_}),Object(i.createElement)("div",{className:"jetpack-wordads__footer"},Object(a.a)("Report this Ad")))))}}]),t}(i.Component),_=Object(a.a)("Ad"),k=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),w={title:_,description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.a)("Earn income by adding high quality ads to your post")),Object(i.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(a.a)("Learn all about WordAds"))),icon:k,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"}},category:"jetpack",keywords:[Object(a.a)("ads"),"WordAds",Object(a.a)("Advertisement")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:O,save:function(){return null}};Object(r.a)("wordads",w)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=n(1),c=n(30),s=(n(370),n(56)),l=n.n(s),u=n(8),p=n.n(u),h=n(12),f=n.n(h),d=n(9),m=n.n(d),b=n(10),g=n.n(b),v=n(4),y=n.n(v),j=n(11),O=n.n(j),_=n(3),k=n.n(_),w=n(7),E=n(50),x=n.n(E),C=n(13),S=n.n(C),A=n(135),M=n(18),T=n.n(M),P=n(5),F="09:00",N="17:00",z=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=g()(t)).call.apply(e,[this].concat(c))),k()(y()(n),"renderInterval",function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("div",{className:"business-hours__row"},Object(i.createElement)("div",{className:S()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(i.createElement)("div",{className:S()(r.name,"business-hours__hours")},Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.a)("Opening"),value:c,className:"business-hours__open",placeHolder:F,onChange:function(e){n.setHour(e,"opening",t)}}),Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.a)("Closing"),value:s,className:"business-hours__close",placeHolder:N,onChange:function(e){n.setHour(e,"closing",t)}})),Object(i.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(i.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(i.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(i.createElement)("div",{className:S()(r.name,"business-hours__day")}," "),Object(i.createElement)("div",{className:S()(r.name,"business-hours__hours")},Object(i.createElement)(o.IconButton,{isLink:!0,label:Object(a.a)("Add Hours"),onClick:n.addInterval},Object(a.a)("Add Hours"))),Object(i.createElement)("div",{className:"business-hours__remove"}," ")))}),k()(y()(n),"setHour",function(e,t,r){var i=n.props,o=i.day,a=i.attributes;(0,i.setAttributes)({days:a.days.map(function(n){return n.name===o.name?T()({},n,{hours:n.hours.map(function(n,i){return i===r?T()({},n,k()({},t,e)):n})}):n})})}),k()(y()(n),"toggleClosed",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){if(t.name===r.name){var n=e?[{opening:F,closing:N}]:[];return T()({},t,{hours:n})}return t})})}),k()(y()(n),"addInterval",function(){var e=n.props,t=e.day,r=e.attributes,i=e.setAttributes,o=r.days;t.hours.push({opening:"",closing:""}),i({days:o.map(function(e){return e.name===t.name?T()({},e,{hours:t.hours}):e})})}),k()(y()(n),"removeInterval",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){return r.name===t.name?T()({},t,{hours:t.hours.filter(function(t,n){return e!==n})}):t})})}),n}return O()(t,e),f()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(i.createElement)(o.ToggleControl,{label:this.isClosed()?Object(a.a)("Closed"):Object(a.a)("Open"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(i.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(i.createElement)("div",{className:S()(e.name,"business-hours__day")},this.renderDayToggle()),Object(i.createElement)("div",{className:S()(e.name,"closed","business-hours__hours")}," "),Object(i.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(i.Component),D=n(33),R=n.n(D),I=n(24),L=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=g()(t)).call.apply(e,[this].concat(o))),k()(y()(n),"renderInterval",function(e,t){return Object(i.createElement)("dd",{key:t},Object(I.sprintf)(Object(a.c)("From %s to %s","from business opening hour to closing hour"),n.formatTime(e.opening),n.formatTime(e.closing)))}),n}return O()(t,e),f()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=R()(n,2),i=r[0],o=r[1],a=new Date;return!(!i||!o)&&(a.setHours(i),a.setMinutes(o),Object(A.date)(t,a))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter(function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("dt",{className:n.name},r.days[n.name]),Object(P.isEmpty)(o)?Object(i.createElement)("dd",null,Object(a.c)("Closed","business is closed on a full day")):o.map(this.renderInterval))}}]),t}(i.Component),B={days:{Sun:Object(a.a)("Sunday"),Mon:Object(a.a)("Monday"),Tue:Object(a.a)("Tuesday"),Wed:Object(a.a)("Wednesday"),Thu:Object(a.a)("Thursday"),Fri:Object(a.a)("Friday"),Sat:Object(a.a)("Saturday")},startOfWeek:0},q=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=m()(this,(e=g()(t)).call.apply(e,[this].concat(i))),k()(y()(n),"state",{localization:B,hasFetched:!1}),n}return O()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:B},function(){x()({path:"/wpcom/v2/business-hours/localized-week"}).then(function(t){e.setState({localization:t,hasFetched:!0})},function(){e.setState({localization:B,hasFetched:!0})})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=n.days,u=this.state,p=u.localization,h=u.hasFetched,f=p.startOfWeek,d=s.concat(s.slice(0,f)).slice(f);if(!h)return Object(i.createElement)(o.Placeholder,{icon:Object(i.createElement)(w.BlockIcon,{icon:V}),label:Object(a.a)("Loading business hours")});if(!c){var m=Object(A.__experimentalGetSettings)().formats.time;return Object(i.createElement)("dl",{className:S()(r,"jetpack-business-hours")},d.map(function(e,t){return Object(i.createElement)(L,{key:t,day:e,localization:p,timeFormat:m})}))}return Object(i.createElement)("div",{className:S()(r,"is-edit")},d.map(function(t,n){return Object(i.createElement)(z,l()({key:n,day:t,localization:p},e.props))}))}}]),t}(i.Component),V=Object(c.a)(Object(i.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),H={title:Object(a.a)("Business Hours"),description:Object(a.a)("Display opening hours for your business."),icon:V,category:"jetpack",supports:{html:!0},keywords:[Object(a.c)("opening hours","block search term"),Object(a.c)("closing time","block search term"),Object(a.c)("schedule","block search term")],attributes:{days:{type:"array",default:[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}]}},edit:function(e){return Object(i.createElement)(q,e)},save:function(){return null}};Object(r.a)("business-hours",H)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=(n(388),n(8)),c=n.n(a),s=n(12),l=n.n(s),u=n(9),p=n.n(u),h=n(10),f=n.n(h),d=n(4),m=n.n(d),b=n(11),g=n.n(b),v=n(3),y=n.n(v),j=n(7),O=n(20),_=n(25),k=n(344),w=n.n(k),E=n(1),x=new w.a,C=function(e){"A"===e.target.nodeName&&(window.confirm(Object(E.a)("Are you sure you wish to leave this page?"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(i.createElement)(i.RawHTML,{className:t,onClick:C},r.length?x.render(r):"")},A="editor",M=function(e){function t(){var e,n;c()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=p()(this,(e=f()(t)).call.apply(e,[this].concat(i))),y()(m()(n),"input",null),y()(m()(n),"state",{activePanel:A}),y()(m()(n),"bindInput",function(e){n.input=e}),y()(m()(n),"updateSource",function(e){return n.props.setAttributes({source:e})}),y()(m()(n),"handleKeyDown",function(e){var t=n.props,r=t.attributes,i=t.removeBlock,o=r.source;8===e.keyCode&&""===o&&(i(),e.preventDefault())}),y()(m()(n),"toggleMode",function(e){return function(){return n.setState({activePanel:e})}}),n}return g()(t,e),l()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(A)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===A&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(i.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(i.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,a=this.state.activePanel;return!r&&this.isEmpty()?Object(i.createElement)("p",{className:"".concat(n,"__placeholder")},Object(E.a)("Write your _Markdown_ **here**...")):Object(i.createElement)("div",{className:n},Object(i.createElement)(j.BlockControls,null,Object(i.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(A,Object(E.a)("Markdown")),this.renderToolbarButton("preview",Object(E.a)("Preview")))),"preview"!==a&&r?Object(i.createElement)(j.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(E.a)("Markdown"),innerRef:this.bindInput,value:o}):Object(i.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(i.Component),T=Object(O.compose)([Object(_.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(_.withDispatch)(function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(n)}}})])(M),P={title:Object(E.a)("Markdown"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(E.a)("Use regular characters and punctuation to style text, links, and lists.")),Object(i.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(E.a)("Support reference"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(i.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(i.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(E.a)("formatting"),Object(E.a)("syntax"),Object(E.a)("markup")],attributes:{source:{type:"string"}},supports:{html:!1},edit:T,save:function(e){var t=e.attributes,n=e.className;return Object(i.createElement)(S,{className:n,source:t.source})}};Object(r.a)("markdown",P)},function(e,t,n){"use strict";n.r(t);var r=n(33),i=n.n(r),o=n(18),a=n.n(o),c=n(35),s=n(21),l=n(7),u=n(354),p=n(5),h=n(72),f=n.n(h),d=n(8),m=n.n(d),b=n(12),g=n.n(b),v=n(9),y=n.n(v),j=n(10),O=n.n(j),_=n(4),k=n.n(_),w=n(11),E=n.n(w),x=n(3),C=n.n(x),S=n(0),A=n(50),M=n.n(A),T=n(20),P=n(25),F=n(2),N=n(13),z=n.n(N),D=n(1),R=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(F.Spinner,null),Object(S.createElement)("p",null,t))},I=Object(T.createHigherOrderComponent)(Object(T.compose)([Object(P.withSelect)(function(e,t){var n=t.attributes,r=n.guid,i=n.src,o=e("core"),a=o.getEmbedPreview,s=o.isRequestingEmbedPreview,l=!!r&&"https://videopress.com/v/".concat(r),u=!!l&&a(l);return{isFetchingPreview:!!l&&s(l),isUploading:Object(c.isBlobURL)(i),preview:u}}),function(e){return function(t){function n(){var e;return m()(this,n),e=y()(this,O()(n).apply(this,arguments)),C()(k()(e),"fallbackToCore",function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})}),C()(k()(e),"setGuid",f()(regeneratorRuntime.mark(function t(){var n,r,i,o,a,c,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props,r=n.attributes,i=n.setAttributes,o=r.id){t.next=5;break}return i({guid:void 0}),t.abrupt("return");case 5:return t.prev=5,e.setState({isFetchingMedia:!0}),t.next=9,M()({path:"/wp/v2/media/".concat(o)});case 9:if(a=t.sent,e.setState({isFetchingMedia:!1}),c=e.props.attributes.id,o===c){t.next=14;break}return t.abrupt("return");case 14:e.setState({media:a}),(s=Object(p.get)(a,"jetpack_videopress_guid"))?i({guid:s}):e.fallbackToCore(),t.next=23;break;case 19:t.prev=19,t.t0=t.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return t.stop()}},t,this,[[5,19]])}))),C()(k()(e),"switchToEditing",function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})}),C()(k()(e),"onRemovePoster",function(){e.props.setAttributes({poster:""}),e.posterImageButton.current.focus()}),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){this.props.attributes.id!==e.attributes.id&&this.setGuid()}},{key:"render",value:function(){var t=this.props,n=t.attributes,r=t.className,i=t.isFetchingPreview,o=t.isSelected,a=t.isUploading,c=t.preview,s=t.setAttributes,u=this.state,p=u.fallback,h=u.isFetchingMedia;if(a)return Object(S.createElement)(R,{text:Object(D.a)("Uploading…")});if(h||i)return Object(S.createElement)(R,{text:Object(D.a)("Embedding…")});if(p||!c)return Object(S.createElement)(e,this.props);var f=c.html,d=c.scripts,m=n.caption;return Object(S.createElement)(S.Fragment,null,Object(S.createElement)(l.BlockControls,null,Object(S.createElement)(F.Toolbar,null,Object(S.createElement)(F.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(D.a)("Edit video"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)("figure",{className:z()(r,"wp-block-embed","is-type-video")},Object(S.createElement)(F.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(F.SandBox,{html:f,scripts:d}))),(!l.RichText.isEmpty(m)||o)&&Object(S.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(D.a)("Write caption…"),value:m,onChange:function(e){return s({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),L=Object(T.createHigherOrderComponent)(function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).caption,i=n.guid;if(!i)return e(t);var o="https://videopress.com/v/".concat(i);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(o,"\n")),!l.RichText.isEmpty(r)&&Object(S.createElement)(l.RichText.Content,{tagName:"figcaption",value:r}))}},"withVideoPressSave"),B=n(93);Object(u.addFilter)("blocks.registerBlockType","gutenberg/extensions/videopress",function(e,t){if("core/video"!==t)return e;var n=Object(B.a)("videopress"),r=n.available,o=n.unavailableReason;return r||["missing_plan","missing_module"].includes(o)?a()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:a()({},e.transforms,{from:[{type:"files",isMatch:function(e){return Object(p.every)(e,function(e){return 0===e.type.indexOf("video/")})},priority:9,transform:function(e,t){var n=[];return e.forEach(function(e){var r=Object(s.createBlock)("core/video",{src:Object(c.createBlobURL)(e)});Object(l.mediaUpload)({filesList:[e],onFileChange:function(e){var n=i()(e,1)[0],o=n.id,a=n.url;t(r.clientId,{id:o,src:a})},allowedTypes:["video"]}),n.push(r)}),n}}]}),supports:a()({},e.supports,{reusable:!1}),edit:I(e.edit),save:L(e.save),deprecated:[{attributes:e.attributes,save:e.save,isEligible:function(e){return!e.guid}}]}):e})},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(8),a=n.n(o),c=n(12),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),f=n(4),d=n.n(f),m=n(11),b=n.n(m),g=n(3),v=n.n(g),y=n(2),j=n(1),O=n(81),_=n(50),k=n.n(_),w=n(24),E=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(d()(n),"state",{subscriberCountString:""}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,a=t.subscribePlaceholder,c=t.showSubscribersTotal;return r?Object(i.createElement)("div",{className:n,role:"form"},Object(i.createElement)(y.ToggleControl,{label:Object(j.a)("Show total subscribers"),checked:c,onChange:function(){o({showSubscribersTotal:!c})}}),Object(i.createElement)(y.TextControl,{placeholder:a,disabled:!0,onChange:function(){}}),Object(i.createElement)(O.a,this.props)):Object(i.createElement)("div",{className:n,role:"form"},c&&Object(i.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(i.createElement)(y.TextControl,{placeholder:a}),Object(i.createElement)(O.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;k()({path:"/wpcom/v2/subscribers/count"}).then(function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(w.sprintf)(Object(w._n)("Join %s other subscriber","Join %s other subscribers",t.count),t.count)}):e.setState({subscriberCountString:Object(j.a)("Subscriber count unavailable")})})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(i.Component);var x=n(30),C=n(5),S={title:Object(j.a)("Subscription Form"),description:Object(i.createElement)("p",null,Object(j.a)("A form enabling readers to get notifications when new posts are published from this site.")),icon:Object(x.a)(Object(i.createElement)(y.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(j.a)("subscribe"),Object(j.a)("join"),Object(j.a)("follow")],attributes:{subscribePlaceholder:{type:"string",default:Object(j.a)("Email Address")},subscribeButton:{type:"string",default:Object(j.a)("Subscribe")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(j.a)("Subscribe")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,o=t.customBackgroundButtonColor,a=t.customTextButtonColor,c=t.submitButtonText;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(o,'" custom_text_button_color="').concat(a,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(j.a)("Subscribe")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(C.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",S)},function(e,t,n){"use strict";n.r(t);var r=n(29),i=n(0),o=n(2),a=(n(484),n(8)),c=n.n(a),s=n(12),l=n.n(s),u=n(9),p=n.n(u),h=n(10),f=n.n(h),d=n(11),m=n.n(d),b=n(7),g=n(5),v=n(25),y=n(20),j=n(1);function O(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(j.a)("Preview unavailable: you haven't published enough posts with similar content.")),e.displayThumbnails&&Object(i.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(j.a)("Placeholder image")},Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(i.createElement)("title",null,Object(j.a)("Grey square")),Object(i.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)("title",null,Object(j.a)("Icon for image")),Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(j.a)("August 3, 2018")),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(j.a)("In “Uncategorized”")))}function _(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(i.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(i.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function k(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return c()(this,t),p()(this,f()(t).apply(this,arguments))}return m()(t,e),l()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,a=e.setAttributes,c=e.instanceId,s=t.displayContext,l=t.displayDate,u=t.displayThumbnails,p=t.postLayout,h=t.postsToShow,f=[{icon:"grid-view",title:Object(j.a)("Grid View"),onClick:function(){return a({postLayout:"grid"})},isActive:"grid"===p},{icon:"list-view",title:Object(j.a)("List View"),onClick:function(){return a({postLayout:"list"})},isActive:"list"===p}],d=[],m=0;m<h;m++)r[m]?d.push(Object(i.createElement)(_,{id:"related-posts-".concat(c,"-post-").concat(m),key:"jp-relatedposts-i2-"+m,post:r[m],displayThumbnails:u,displayDate:l,displayContext:s})):d.push(Object(i.createElement)(O,{id:"related-posts-".concat(c,"-post-").concat(m),key:"related-post-placeholder-"+m,displayThumbnails:u,displayDate:l,displayContext:s}));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(b.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(j.a)("Related Posts Settings")},Object(i.createElement)(o.ToggleControl,{label:Object(j.a)("Display thumbnails"),checked:u,onChange:function(e){return a({displayThumbnails:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(j.a)("Display date"),checked:l,onChange:function(e){return a({displayDate:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(j.a)("Display context (category or tag)"),checked:s,onChange:function(e){return a({displayContext:e})}}),Object(i.createElement)(o.RangeControl,{label:Object(j.a)("Number of posts"),value:h,onChange:function(e){return a({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(i.createElement)(b.BlockControls,null,Object(i.createElement)(o.Toolbar,{controls:f})),Object(i.createElement)("div",{className:n,id:"related-posts-".concat(c)},Object(i.createElement)("div",{className:"jp-relatedposts-i2","data-layout":p},Object(i.createElement)(k,{posts:d}))))}}]),t}(i.Component),E=Object(y.compose)(y.withInstanceId,Object(v.withSelect)(function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(g.get)(t(),"jetpack-related-posts",[])}}))(w),x={title:Object(j.a)("Related Posts"),icon:Object(i.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(i.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(j.c)("Similar content","block search term"),Object(j.c)("Linked","block search term"),Object(j.c)("Connected","block search term")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:functi
|