Version Description
- PRO: Advanced image size control.
- NEW: Multiple selection rel attributes for text links.
- IMPROVE: JQuery is completely removed from frontend.
- IMPROVE: Tweaks to increase frontend performance.
- IMPROVE: Tweaks to increase builder performance.
- IMPROVE: HTML indicators for tables to support more operations via extra/general styling controls.
- IMPROVE: Alignment control improvements for certain table elements.
- FIX: A bug affecting pro scripts not being loaded on frontend on some WordPress installations.
Download this release
Release Info
Developer | imtiazrayhan |
Plugin | WP Table Builder – WordPress Table Plugin |
Version | 1.3.11 |
Comparing to | |
See all releases |
Code changes from version 1.3.10 to 1.3.11
- assets/images/what-is-new/advanced_image_size_controls.png +0 -0
- assets/images/what-is-new/disable_theme_styles_for_all_tables.png +0 -0
- assets/images/what-is-new/export_menu_search.png +0 -0
- assets/images/what-is-new/jquery_removal.png +0 -0
- assets/images/what-is-new/new_prebuilts.png +0 -0
- assets/images/what-is-new/table_listing_sortable_columns.png +0 -0
- assets/images/what-is-new/text_element_link_rel_control.png +0 -0
- inc/admin/base/element-base-object.php +4 -3
- inc/admin/class-tables.php +5 -2
- inc/admin/controls/control-alignment2.php +74 -0
- inc/admin/controls/control-image-size.php +51 -0
- inc/admin/controls/control-local-dev-file.php +2 -2
- inc/admin/controls/control-multi-checkbox.php +60 -0
- inc/admin/controls/control-range.php +20 -17
- inc/admin/controls/control-sides.php +1 -1
- inc/admin/controls/control-size.php +1 -1
- inc/admin/controls/control-size2.php +70 -0
- inc/admin/css/admin.css +1 -1
- inc/admin/css/src/admin.css +111 -4
- inc/admin/data/what-is-new.json +7 -11
- inc/admin/element-classes/element-scripts/image-element.js +130 -89
- inc/admin/element-classes/element-scripts/text-element.js +32 -7
- inc/admin/element-classes/elements/image-element.php +60 -54
- inc/admin/element-classes/elements/text-element.php +22 -2
- inc/admin/js/WPTB_Admin_Settings.js +54 -30
- inc/admin/js/WPTB_Admin_Settings.js.map +0 -1
assets/images/what-is-new/advanced_image_size_controls.png
ADDED
Binary file
|
assets/images/what-is-new/disable_theme_styles_for_all_tables.png
DELETED
Binary file
|
assets/images/what-is-new/export_menu_search.png
DELETED
Binary file
|
assets/images/what-is-new/jquery_removal.png
ADDED
Binary file
|
assets/images/what-is-new/new_prebuilts.png
DELETED
Binary file
|
assets/images/what-is-new/table_listing_sortable_columns.png
DELETED
Binary file
|
assets/images/what-is-new/text_element_link_rel_control.png
ADDED
Binary file
|
inc/admin/base/element-base-object.php
CHANGED
@@ -42,7 +42,8 @@ abstract class Element_Base_Object extends Controls_Stack {
|
|
42 |
* Output a js line including script data as a variable to be used within the context of element's script.
|
43 |
* Included data will be in JSON format and will follow the naming convention of 'wptb${camelCasedElementName}Data'.
|
44 |
*
|
45 |
-
|
|
|
46 |
* @param bool $echoToOut whether to echo to output buffer or return the value
|
47 |
*
|
48 |
* @return string script data if $echoToOut is false
|
@@ -81,7 +82,7 @@ abstract class Element_Base_Object extends Controls_Stack {
|
|
81 |
if ( $directory_script && file_exists( $directory_script ) ) {
|
82 |
?>
|
83 |
<script type="text/javascript">
|
84 |
-
WPTB_ElementsScriptsLauncher['<?php echo $this->get_name(); ?>'] = function (element) {
|
85 |
<?php $this->output_script_data(); ?>
|
86 |
<?php include $directory_script; ?>
|
87 |
<?php
|
@@ -95,4 +96,4 @@ abstract class Element_Base_Object extends Controls_Stack {
|
|
95 |
<?php
|
96 |
}
|
97 |
}
|
98 |
-
}
|
42 |
* Output a js line including script data as a variable to be used within the context of element's script.
|
43 |
* Included data will be in JSON format and will follow the naming convention of 'wptb${camelCasedElementName}Data'.
|
44 |
*
|
45 |
+
* @private
|
46 |
+
*
|
47 |
* @param bool $echoToOut whether to echo to output buffer or return the value
|
48 |
*
|
49 |
* @return string script data if $echoToOut is false
|
82 |
if ( $directory_script && file_exists( $directory_script ) ) {
|
83 |
?>
|
84 |
<script type="text/javascript">
|
85 |
+
WPTB_ElementsScriptsLauncher['<?php echo $this->get_name(); ?>'] = function (element, elementId) {
|
86 |
<?php $this->output_script_data(); ?>
|
87 |
<?php include $directory_script; ?>
|
88 |
<?php
|
96 |
<?php
|
97 |
}
|
98 |
}
|
99 |
+
}
|
inc/admin/class-tables.php
CHANGED
@@ -2,8 +2,12 @@
|
|
2 |
|
3 |
namespace WP_Table_Builder\Inc\Admin;
|
4 |
|
|
|
5 |
use WP_Table_Builder\Inc\Core\Init;
|
|
|
6 |
use function apply_filters;
|
|
|
|
|
7 |
|
8 |
/**
|
9 |
* All the table stuffs.
|
@@ -202,11 +206,10 @@ class Tables {
|
|
202 |
$after_table = '<div class="wptb-frontend-table-after">' . $post_edit_link . $post_give_credit . '</div>';
|
203 |
}
|
204 |
|
205 |
-
$html = '<div class="wptb-table-container wptb-table
|
206 |
|
207 |
$html = apply_filters( 'wp-table-builder/filter/table_html_shortcode', $html );
|
208 |
|
209 |
return ( $html );
|
210 |
}
|
211 |
-
|
212 |
}
|
2 |
|
3 |
namespace WP_Table_Builder\Inc\Admin;
|
4 |
|
5 |
+
use WP_Table_Builder\Inc\Admin\Managers\Addon_Manager;
|
6 |
use WP_Table_Builder\Inc\Core\Init;
|
7 |
+
use WP_Table_Builder as NS;
|
8 |
use function apply_filters;
|
9 |
+
use function esc_attr;
|
10 |
+
use function get_plugin_data;
|
11 |
|
12 |
/**
|
13 |
* All the table stuffs.
|
206 |
$after_table = '<div class="wptb-frontend-table-after">' . $post_edit_link . $post_give_credit . '</div>';
|
207 |
}
|
208 |
|
209 |
+
$html = sprintf( '<div class="wptb-table-container wptb-table-%1$d"><div class="wptb-table-container-matrix" id="wptb-table-id-%1$d" data-wptb-version="%4$s" data-wptb-pro-status="%5$s">%2$s</div></div>%3$s', esc_attr( $args['id'] ), $html, $after_table, esc_attr( get_plugin_data( NS\PLUGIN__FILE__ )['Version'] ), esc_attr( Addon_Manager::check_pro_status() ? 'true' : 'false' ) );
|
210 |
|
211 |
$html = apply_filters( 'wp-table-builder/filter/table_html_shortcode', $html );
|
212 |
|
213 |
return ( $html );
|
214 |
}
|
|
|
215 |
}
|
inc/admin/controls/control-alignment2.php
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WP_Table_Builder\Inc\Admin\Controls;
|
4 |
+
|
5 |
+
use WP_Table_Builder as NS;
|
6 |
+
use function wp_kses_stripslashes;
|
7 |
+
|
8 |
+
// if called directly, abort process
|
9 |
+
if ( ! defined( 'WPINC' ) ) {
|
10 |
+
die();
|
11 |
+
}
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Class Control_Alignment2
|
15 |
+
*
|
16 |
+
* Toggle controls with alignment options as visuals.
|
17 |
+
*
|
18 |
+
* Supported alignment options are left, center and right.
|
19 |
+
*
|
20 |
+
* Accepted options
|
21 |
+
* label => label for control element
|
22 |
+
* selectors => selector array to get/set certain values to html elements
|
23 |
+
* defaultValue => a default value of the control
|
24 |
+
*/
|
25 |
+
class Control_Alignment2 extends Base_Control {
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Get control type.
|
29 |
+
*
|
30 |
+
* Return the control type.
|
31 |
+
*
|
32 |
+
* @since 1.1.2
|
33 |
+
* @access public
|
34 |
+
*/
|
35 |
+
public function get_type() {
|
36 |
+
return 'alignment2';
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Control content template.
|
41 |
+
*
|
42 |
+
* Used to generate the control HTML in the editor using wp js template
|
43 |
+
*
|
44 |
+
* @since 1.1.2
|
45 |
+
* @access public
|
46 |
+
*/
|
47 |
+
public function content_template() {
|
48 |
+
$icon_manager = NS\Inc\Core\Init::instance()->get_icon_manager();
|
49 |
+
|
50 |
+
$alignOptions = [
|
51 |
+
'left' => $icon_manager->get_icon( 'align-left', false, 'svg', '<span class="wptb-flex wptb-flex-justify-center wptb-flex-align-center wptb-svg-14px wptb-svg-inherit-color"></span>' ),
|
52 |
+
'center' => $icon_manager->get_icon( 'align-center', false, 'svg', '<span class="wptb-flex wptb-flex-justify-center wptb-flex-align-center wptb-svg-14px wptb-svg-inherit-color"></span>' ),
|
53 |
+
'right' => $icon_manager->get_icon( 'align-right', false, 'svg', '<span class="wptb-flex wptb-flex-justify-center wptb-flex-align-center wptb-svg-14px wptb-svg-inherit-color"></span>' )
|
54 |
+
];
|
55 |
+
|
56 |
+
$encoded_align_options = str_replace('\u0022', "\'", json_encode($alignOptions, JSON_HEX_QUOT));
|
57 |
+
?>
|
58 |
+
<#
|
59 |
+
const uniqueItemClass = data.elementControlTargetUnicClass;
|
60 |
+
WPTB_ControlsManager.setControlData(uniqueItemClass, data);
|
61 |
+
const elemContainer = data.elemContainer;
|
62 |
+
data.items = JSON.parse('<?php echo $encoded_align_options; ?>');
|
63 |
+
#>
|
64 |
+
<div id="{{{uniqueItemClass}}}">
|
65 |
+
<named-toggle-control :label="label" :items="items" :selectors="selectors" :default-value="defaultValue"
|
66 |
+
elem-container="{{{elemContainer}}}"
|
67 |
+
unique-id="{{{uniqueItemClass}}}"></named-toggle-control>
|
68 |
+
</div>
|
69 |
+
<wptb-template-script>
|
70 |
+
WPTB_ControlsManager.callControlScript('ControlNamedToggle', '{{{uniqueItemClass}}}');
|
71 |
+
</wptb-template-script>
|
72 |
+
<?php
|
73 |
+
}
|
74 |
+
}
|
inc/admin/controls/control-image-size.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WP_Table_Builder\Inc\Admin\Controls;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Class Control_Image_Size
|
7 |
+
* @package WP_Table_Builder\Inc\Admin\Controls
|
8 |
+
*/
|
9 |
+
class Control_Image_Size extends Base_Control {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Get control type.
|
13 |
+
*
|
14 |
+
* Return the control type.
|
15 |
+
*
|
16 |
+
* @since 1.1.2
|
17 |
+
* @access public
|
18 |
+
*/
|
19 |
+
public function get_type() {
|
20 |
+
return 'image_size';
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Control content template.
|
25 |
+
*
|
26 |
+
* Used to generate the control HTML in the editor using wp js template.
|
27 |
+
*
|
28 |
+
* @since 1.1.2
|
29 |
+
* @access public
|
30 |
+
*/
|
31 |
+
public function content_template() {
|
32 |
+
$strings = [
|
33 |
+
'relativeLabel' => esc_html__( 'relative to', 'wp-table-builder' )
|
34 |
+
];
|
35 |
+
|
36 |
+
$json_strings = json_encode( $strings );
|
37 |
+
?>
|
38 |
+
<#
|
39 |
+
const uniqueItemClass = data.elementControlTargetUnicClass;
|
40 |
+
data.strings = JSON.parse('<?php echo $json_strings ?>');
|
41 |
+
WPTB_ControlsManager.setControlData(uniqueItemClass, data);
|
42 |
+
#>
|
43 |
+
<div id="{{{uniqueItemClass}}}">
|
44 |
+
<image-size-control :strings='strings'></image-size-control>
|
45 |
+
</div>
|
46 |
+
<wptb-template-script>
|
47 |
+
WPTB_ControlsManager.callControlScript('ImageSize', '{{{uniqueItemClass}}}');
|
48 |
+
</wptb-template-script>
|
49 |
+
<?php
|
50 |
+
}
|
51 |
+
}
|
inc/admin/controls/control-local-dev-file.php
CHANGED
@@ -76,7 +76,7 @@ class Control_Local_Dev_File extends Base_Control {
|
|
76 |
*
|
77 |
* @return array images
|
78 |
*/
|
79 |
-
public
|
80 |
$path = trailingslashit( WPTBNS\WP_TABLE_BUILDER_PRO_DIR ) . self::RELATIVE_IMAGE_LOCATION;
|
81 |
$url = trailingslashit( WPTBNS\WP_TABLE_BUILDER_PRO_URL ) . self::RELATIVE_IMAGE_LOCATION;
|
82 |
$allowed_extensions = self::SUPPORTED_EXTENSIONS;
|
@@ -119,4 +119,4 @@ class Control_Local_Dev_File extends Base_Control {
|
|
119 |
}
|
120 |
|
121 |
|
122 |
-
}
|
76 |
*
|
77 |
* @return array images
|
78 |
*/
|
79 |
+
public static function get_plugin_images() {
|
80 |
$path = trailingslashit( WPTBNS\WP_TABLE_BUILDER_PRO_DIR ) . self::RELATIVE_IMAGE_LOCATION;
|
81 |
$url = trailingslashit( WPTBNS\WP_TABLE_BUILDER_PRO_URL ) . self::RELATIVE_IMAGE_LOCATION;
|
82 |
$allowed_extensions = self::SUPPORTED_EXTENSIONS;
|
119 |
}
|
120 |
|
121 |
|
122 |
+
}
|
inc/admin/controls/control-multi-checkbox.php
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WP_Table_Builder\Inc\Admin\Controls;
|
4 |
+
|
5 |
+
// if called directly, abort process
|
6 |
+
if ( ! defined( 'WPINC' ) ) {
|
7 |
+
die();
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Class Control_Multi_Checkbox
|
12 |
+
*
|
13 |
+
* Multiple checkbox control for elements.
|
14 |
+
*
|
15 |
+
* Accepted options
|
16 |
+
* label => label for control element
|
17 |
+
* checkboxes => key-value array for checkbox value-labels
|
18 |
+
*/
|
19 |
+
class Control_Multi_Checkbox extends Base_Control {
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Get control type.
|
23 |
+
*
|
24 |
+
* Return the control type.
|
25 |
+
*
|
26 |
+
* @since 1.1.2
|
27 |
+
* @access public
|
28 |
+
*/
|
29 |
+
public function get_type() {
|
30 |
+
return 'multi_checkbox';
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Control content template.
|
35 |
+
*
|
36 |
+
* Used to generate the control HTML in the editor using wp js template
|
37 |
+
*
|
38 |
+
* @since 1.1.2
|
39 |
+
* @access public
|
40 |
+
*/
|
41 |
+
public function content_template() {
|
42 |
+
?>
|
43 |
+
<#
|
44 |
+
const uniqueItemClass = data.elementControlTargetUnicClass;
|
45 |
+
WPTB_ControlsManager.setControlData(uniqueItemClass, data);
|
46 |
+
const elemContainer = data.elemContainer;
|
47 |
+
#>
|
48 |
+
<div id="{{{uniqueItemClass}}}">
|
49 |
+
<multi-checkbox-control :checkboxes="checkboxes" :label="label"
|
50 |
+
:selectors="selectors"
|
51 |
+
elem-container="{{{elemContainer}}}"
|
52 |
+
unique-id="{{{uniqueItemClass}}}"
|
53 |
+
></multi-checkbox-control>
|
54 |
+
</div>
|
55 |
+
<wptb-template-script>
|
56 |
+
WPTB_ControlsManager.callControlScript('ControlMultiCheckbox', '{{{uniqueItemClass}}}');
|
57 |
+
</wptb-template-script>
|
58 |
+
<?php
|
59 |
+
}
|
60 |
+
}
|
inc/admin/controls/control-range.php
CHANGED
@@ -48,23 +48,26 @@ class Control_Range extends Base_Control {
|
|
48 |
*/
|
49 |
public function content_template() {
|
50 |
?>
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
68 |
<?php
|
69 |
}
|
70 |
-
}
|
48 |
*/
|
49 |
public function content_template() {
|
50 |
?>
|
51 |
+
<#
|
52 |
+
const uniqueItemClass = data.elementControlTargetUnicClass;
|
53 |
+
WPTB_ControlsManager.setControlData(uniqueItemClass, data);
|
54 |
+
const elemContainer = data.elemContainer;
|
55 |
|
56 |
+
if(!data.postFix){
|
57 |
+
data.postFix='';
|
58 |
+
}
|
59 |
+
if(!data.step){
|
60 |
+
data.step=1;
|
61 |
+
}
|
62 |
+
#>
|
63 |
+
<div id="{{{uniqueItemClass}}}">
|
64 |
+
<range-control :label="label" :selectors="selectors" :min="min" :max="max" :step="step"
|
65 |
+
:default-value="defaultValue" unique-id="{{{uniqueItemClass}}}"
|
66 |
+
elem-container="{{{elemContainer}}}" :post-fix="postFix"></range-control>
|
67 |
+
</div>
|
68 |
+
<wptb-template-script>
|
69 |
+
WPTB_ControlsManager.callControlScript('ControlRange', '{{{uniqueItemClass}}}');
|
70 |
+
</wptb-template-script>
|
71 |
<?php
|
72 |
}
|
73 |
+
}
|
inc/admin/controls/control-sides.php
CHANGED
@@ -77,4 +77,4 @@ class Control_Sides extends Base_Control {
|
|
77 |
</wptb-template-script>
|
78 |
<?php
|
79 |
}
|
80 |
-
}
|
77 |
</wptb-template-script>
|
78 |
<?php
|
79 |
}
|
80 |
+
}
|
inc/admin/controls/control-size.php
CHANGED
@@ -10,7 +10,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
10 |
* WP Table Builder size control.
|
11 |
*
|
12 |
* A control class for creating size control objects
|
13 |
-
* for showing size field on the left panel. This
|
14 |
* When this control adds for element, there is opportunity to point css type (width or fontSize ...)
|
15 |
* and also to point dimension of value
|
16 |
*
|
10 |
* WP Table Builder size control.
|
11 |
*
|
12 |
* A control class for creating size control objects
|
13 |
+
* for showing size field on the left panel. This fields set css value for html tag.
|
14 |
* When this control adds for element, there is opportunity to point css type (width or fontSize ...)
|
15 |
* and also to point dimension of value
|
16 |
*
|
inc/admin/controls/control-size2.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WP_Table_Builder\Inc\Admin\Controls;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Class Control_Size2
|
7 |
+
*
|
8 |
+
* Size control for table elements.
|
9 |
+
*
|
10 |
+
* Accepted options
|
11 |
+
* label => label for control element
|
12 |
+
* selectors => selector array to get/set certain values to html elements
|
13 |
+
* dependsOnElementControl => array of control values that will affect visibility of that control
|
14 |
+
* target => target HTML element query relative to element container whose size will be used for internal control operations and calculations (default img)
|
15 |
+
*
|
16 |
+
* @package WP_Table_Builder\Inc\Admin\Controls
|
17 |
+
*/
|
18 |
+
class Control_Size2 extends Base_Control {
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Get control type.
|
22 |
+
*
|
23 |
+
* Return the control type.
|
24 |
+
*
|
25 |
+
* @since 1.1.2
|
26 |
+
* @access public
|
27 |
+
*/
|
28 |
+
public function get_type() {
|
29 |
+
return 'size2';
|
30 |
+
}
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Control content template.
|
34 |
+
*
|
35 |
+
* Used to generate the control HTML in the editor using wp js template
|
36 |
+
*
|
37 |
+
* @since 1.1.2
|
38 |
+
* @access public
|
39 |
+
*/
|
40 |
+
public function content_template() {
|
41 |
+
$strings = [
|
42 |
+
'width' => esc_html__( 'width', 'wp-table-builder' ),
|
43 |
+
'height' => esc_html__( 'height', 'wp-table-builder' ),
|
44 |
+
'aspectLocked' => esc_html__( 'aspect ratio locked', 'wp-table-builder' ),
|
45 |
+
'aspectUnlocked' => esc_html__( 'aspect ratio unlocked', 'wp-table-builder' ),
|
46 |
+
'originalAspectRatio' => esc_html__( 'aspect ratio', 'wp-table-builder' ),
|
47 |
+
'resetToOriginal' => esc_html__( 'reset to original size', 'wp-table-builder' ),
|
48 |
+
];
|
49 |
+
|
50 |
+
$json_strings = json_encode( $strings );
|
51 |
+
?>
|
52 |
+
<#
|
53 |
+
const uniqueItemClass = data.elementControlTargetUnicClass;
|
54 |
+
WPTB_ControlsManager.setControlData(uniqueItemClass, data);
|
55 |
+
const elemContainer = data.elemContainer;
|
56 |
+
|
57 |
+
data.target = data.target? data.target : 'img';
|
58 |
+
|
59 |
+
data.strings = JSON.parse('<?php echo $json_strings; ?>');
|
60 |
+
#>
|
61 |
+
<div id="{{{uniqueItemClass}}}">
|
62 |
+
<size2-control :target="target" :selectors="selectors" :label="label" elem-container="{{{elemContainer}}}"
|
63 |
+
unique-id="{{{uniqueItemClass}}}" :strings="strings"></size2-control>
|
64 |
+
</div>
|
65 |
+
<wptb-template-script>
|
66 |
+
WPTB_ControlsManager.callControlScript('ControlSize2', '{{{uniqueItemClass}}}');
|
67 |
+
</wptb-template-script>
|
68 |
+
<?php
|
69 |
+
}
|
70 |
+
}
|
inc/admin/css/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@-webkit-keyframes wptb-beat{0%,30%,to{transform:scale(1)}15%{transform:scale(1.5)}}@-webkit-keyframes wptb-settings-rotate{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@keyframes wptb-settings-rotate{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@-webkit-keyframes wptb-basic-appear{0%{opacity:0}to{opacity:1}}@keyframes wptb-basic-appear{0%{opacity:0}to{opacity:1}}@-webkit-keyframes wptb-text-dots{0%{content:''}33%{content:'.'}66%{content:'..'}to{content:'...'}}@keyframes wptb-text-dots{0%{content:''}33%{content:'.'}66%{content:'..'}to{content:'...'}}@-webkit-keyframes wptb-pop{0%{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes wptb-pop{0%{transform:scale(1)}50%{transform:scale(1.05)}}@-webkit-keyframes wptb-more-pop{0%{transform:scale(1)}50%{transform:scale(1.5)}}@keyframes wptb-more-pop{0%{transform:scale(1)}50%{transform:scale(1.5)}}@-webkit-keyframes wptb-basic-disappear{0%{opacity:1}to{opacity:0}}@keyframes wptb-basic-disappear{0%{opacity:1}to{opacity:0}}@-webkit-keyframes wptb-push{0%,to{transform:scale(1)}50%{transform:scale(.9)}}@keyframes wptb-push{0%,to{transform:scale(1)}50%{transform:scale(.9)}}@-webkit-keyframes linear-gradient-move{0%{background-position:0 50%}to{background-position:100% 50%}}@keyframes linear-gradient-move{0%{background-position:0 50%}to{background-position:100% 50%}}@-webkit-keyframes wptb-unfold-up{0%{transform:perspective(100px) rotateX(-90deg)}to{transform:perspective(100px) rotateX(0deg)}}@keyframes wptb-unfold-up{0%{transform:perspective(100px) rotateX(-90deg)}to{transform:perspective(100px) rotateX(0deg)}}@-webkit-keyframes wptb-flip{0%{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}@keyframes wptb-flip{0%{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}@-webkit-keyframes wptb-jump{0%{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes wptb-jump{0%{transform:translateY(25%)}to{transform:translateY(-25%)}}@-webkit-keyframes wptb-rotate-simple{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@keyframes wptb-rotate-simple{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@keyframes wptb-beat{0%,30%,to{transform:scale(1)}15%{transform:scale(1.5)}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}:root{--wptb-plugin-sidebar-size-full:300px;--wptb-plugin-logo-color:#3299D1;--wptb-plugin-gray-100:#F7FAFC;--wptb-plugin-gray-200:#EDF2F7;--wptb-plugin-gray-300:#E2E8F0;--wptb-plugin-gray-400:#CBD5E0;--wptb-plugin-gray-500:#A0AEC0;--wptb-plugin-gray-600:#718096;--wptb-plugin-gray-700:#4A5568;--wptb-plugin-green-500:#48BB78;--wptb-plugin-yellow-500:#ECC94B;--wptb-plugin-red-300:#FCA5A5;--wptb-plugin-red-500:#F56565;--wptb-plugin-red-600:#E53E3E;--wptb-plugin-red-800:#991B1B;--wptb-plugin-blue-300:#90CDF4;--wptb-plugin-white:#FFF;--wptb-plugin-black:#000;--wptb-plugin-gold:#D4AF37;--wptb-plugin-cta-button:#F7C948;--wptb-plugin-theme-text-color-main:var(--wptb-plugin-gray-700);--wptb-plugin-theme-color-light:var(--wptb-plugin-white);--wptb-plugin-theme-sidebar-bg:var(--wptb-plugin-gray-300);--wptb-plugin-theme-side-bar-font-size-base:16px;--wptb-plugin-theme-header-font-size-base:16px;--wptb-plugin-theme-side-bar-sections-font-base:80%;--wptb-plugin-left-panel-constant:40px;--wptb-prebuilt-card-border-size:2px;--wptb-prebuilt-card-control-size:30px;--wptb-busy-duration:0.9s;--wptb-notification-manager-width:300px}html{overflow-y:hidden}body>img{position:absolute;z-index:1000001}.wptb-admin-container,.wptb-container{position:fixed;left:0;top:0;right:0;bottom:0;overflow-y:auto}.wptb-admin-container{background:#fff;color:var(--wptb-plugin-theme-text-color-main);z-index:100000;height:100%;min-width:0;margin:0!important}.wptb-container{overflow-x:hidden}.wptb-container *{box-sizing:border-box}.wptb-builder-header{position:-webkit-sticky!important;position:sticky!important;top:0;z-index:10}.wptb-header{width:100%;background-color:var(--wptb-plugin-theme-color-light);border-bottom:1px solid var(--wptb-plugin-theme-sidebar-bg);text-align:center;display:grid;grid-auto-flow:row;grid-template-columns:1fr 1fr;grid-template-areas:"table-name buttons close";align-items:center;justify-content:center;font-size:var(--wptb-plugin-theme-header-font-size-base);position:relative;z-index:10}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-header{grid-template-areas:"close buttons table-name"!important;grid-template-columns:auto 1fr 1fr!important}.wptb-header-buttons-container{display:flex;flex-direction:row;align-items:center;justify-content:center;grid-area:buttons;height:100%}.wptb-header-close{font-size:30px;width:30px;height:30px;text-decoration:none;color:var(--wptb-plugin-gray-500)}.wptb-logo{padding-left:30px;float:left;margin-top:17px}.wptb-right{width:100%;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:100%}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-right{flex-direction:row-reverse!important}.wptb-right .wptb-settings-section-item{margin:0!important}.wptb-plugin-width-full{width:100%}.wptb-plugin-height-full{height:100%}#wptb-messaging-area{align-self:center;position:absolute;left:0;right:0;bottom:100px;pointer-events:none}#wptb-messaging-area .wptb-message{border-radius:4px;max-width:410px;padding:20px;margin:auto}#wptb-messaging-area .wptb-success{color:green;background-color:#90ee90;font-size:15px}#wptb-messaging-area .wptb-error{color:red;background-color:#ffd5d5;font-size:15px}.wptb-panel-sub-container-buttons{display:flex;justify-content:center;align-items:center;height:100%;border-left:1px solid var(--wptb-plugin-theme-sidebar-bg);border-right:1px solid var(--wptb-plugin-theme-sidebar-bg)}.wptb-header .wptb-settings-section-item{padding:15px!important}.wptb-undo-redo-container{padding:0 20px}.wptb-redo,.wptb-undo{display:inline-block;cursor:pointer}.wptb-undo{margin-right:7px}.wptb-undoredo-disabled{cursor:default;opacity:.4}.wptb-embed-btn,.wptb-preview-btn,.wptb-save-btn{text-decoration:none}.wptb-embed,.wptb-embed-btn,.wptb-preview,.wptb-preview-btn,.wptb-save,.wptb-save-btn{display:flex;justify-content:center;align-items:center;height:100%}.wptb-save{position:relative}#wptb_builder[data-wptb-saving] .wptb-save-btn{opacity:0!important}.wptb-busy{position:absolute;width:100%;height:100%;left:0;right:0;display:flex;justify-content:space-evenly;align-items:center;opacity:0;pointer-events:none;transition:all .2s ease-out}.wptb-busy .wptb-busy-circle{width:10px;height:10px;border-radius:100%;background-color:var(--wptb-plugin-gray-700);-webkit-animation:wptb-beat var(--wptb-busy-duration) ease-out forwards infinite;animation:wptb-beat var(--wptb-busy-duration) ease-out forwards infinite}.wptb-busy-circle:nth-of-type(2){-webkit-animation-delay:calc(var(--wptb-busy-duration)/3);animation-delay:calc(var(--wptb-busy-duration)/3)}.wptb-busy-circle:nth-of-type(3){-webkit-animation-delay:calc(var(--wptb-busy-duration)/1.5);animation-delay:calc(var(--wptb-busy-duration)/1.5)}#wptb_builder[data-wptb-saving] .wptb-busy{opacity:1;pointer-events:all;cursor:not-allowed}.wptb-button-grey{background-color:var(--wptb-plugin-white);text-transform:uppercase;text-decoration:none;color:inherit}.wptb-button-grey:hover{color:inherit}.wptb-button-grey.wptb-button-disable,.wptb-save-btn.wptb-save-disabled{cursor:not-allowed;color:#cbd5e0!important}.wptb-save-btn{color:inherit;opacity:1;transition:all .2s ease-out}.wptb-close a,.wptb-save-btn.wptb-save-disabled:hover{text-decoration:none}.wptb-close{background-color:var(--wptb-plugin-white);border-left:1px solid var(--wptb-plugin-gray-300)}.wptb-close:hover{background:var(--wptb-plugin-gray-300)}.wptb-popup-dark-area{position:fixed;width:100%;height:100%;visibility:hidden;top:0;left:0;z-index:1000;background-color:#708090;opacity:0;transition:all .3s}.wptb-popup-window-modal.wptb-popup-show~.wptb-popup-dark-area{visibility:visible;opacity:.6}.wptb-popup-window-modal{position:fixed;top:50%;left:50%;width:50%;max-width:630px;min-width:300px;height:auto;z-index:2000;visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateX(-50%) translateY(-50%)}.wptb-popup-window-modal.wptb-popup-show{visibility:visible}.wptb-popup-box{transform:scale(.7);opacity:0;transition:all .3s;border-radius:0;box-shadow:0 2px 6px rgba(0,0,0,.2);padding:30px;background-color:#fff}.wptb-popup-window-modal.wptb-popup-show .wptb-popup-box{transform:scale(1);opacity:1}.wptb-popup-window-close-icon{height:20px;width:20px;position:absolute;top:10px;right:10px;cursor:pointer;opacity:.6;text-align:center;font-size:27px!important;line-height:14px!important;display:none;z-index:1}.wptb-popup-content p{font-size:15px;text-align:center}#wptb-embed-shortcode{width:100%;text-align:center;font-size:24px;display:block;border:1px solid #d6d6d6;padding:10px;box-shadow:none;margin:20px auto 0}.wptb-edit-bar ul{display:flex;display:-webkit-flex;list-style:none;margin:0;padding:0}.wptb-edit-bar{border-radius:2px;display:none;padding:.3em .4em 0;position:relative;width:auto;z-index:10;background:0 0;max-width:870px;margin:auto;clear:both}.wptb-edit-bar.visible{display:block}.wptb-edit-bar ul li{height:auto;margin:0;padding:0}.wptb-table_change_button{cursor:pointer;box-sizing:border-box;height:41px;background:#fafbfc;font-size:13px;color:#37454c;border-radius:3px;border:1px solid #a4a4a4;padding-left:12px;padding-right:12px;position:relative;display:inline-block;text-transform:uppercase;letter-spacing:.02em;font-weight:bolder;text-align:center;margin-top:0;margin-right:1em;line-height:2.4em;margin-bottom:8px}.wptb-management.wptb-bar.wptb-edit-bar.visible button.visible:hover{color:#4fbe31;transition:all .1s ease-out}#wptb-delete-column,#wptb-delete-row{background-color:#eb4c63}#wptb-left-scroll-panel-curtain .wptb-table-edit-mode-close{margin:auto;display:block}.wptb-table-edit-mode-close{background:#329d3f;color:#fff}.wptb-edit-bar svg{cursor:pointer}.wptb-edit-bar svg *{fill:transparent!important;stroke:#fff!important}.wptb-left-panel{position:fixed;height:100%;box-sizing:border-box;background-color:var(--wptb-plugin-theme-sidebar-bg);transition:all .2s ease-out,right .2s ease-out;box-shadow:0 0 5px 3px rgba(0,0,0,.2);z-index:100001;font-size:var(--wptb-plugin-theme-side-bar-font-size-base)}.wptb-left-panel[data-wptb-panel-location=left]{left:0}.wptb-left-panel[data-wptb-panel-location=right]{right:0}.collapsed .wptb-left-panel[data-wptb-panel-location=left]{transform:translateX(calc(-100% + var(--wptb-plugin-left-panel-constant)))}.collapsed .wptb-left-panel[data-wptb-panel-location=right]{transform:translateX(calc(100% - var(--wptb-plugin-left-panel-constant)))}.collapsed .wptb-left-panel .wptb-left-panel-sidebar-content,.collapsed .wptb-left-panel .wptb-panel-tabs{opacity:0}.wptb-left-scroll-panel{height:100%;overflow-y:auto;overflow-x:hidden}#wptb-left-scroll-panel-cell-settings,#wptb-left-scroll-panel-curtain{position:absolute;top:0;right:0;left:0;bottom:0;background-color:var(--wptb-plugin-theme-sidebar-bg);padding:20px;display:none}#wptb-left-scroll-panel-cell-settings{padding:0}#wptb-left-scroll-panel-cell-settings.visible,#wptb-left-scroll-panel-curtain.visible{display:block}.wptb-panel-left{height:100%;width:var(--wptb-plugin-sidebar-size-full);display:grid;grid-template-rows:auto auto 1fr auto;grid-template-columns:1fr;grid-auto-flow:row;transition:width .2s ease-out;grid-template-areas:"brand" "sidebar-tabs" "sidebar-content" "sidebar-footer"}.wptb-left-panel-sidebar-content{grid-area:sidebar-content;overflow:auto;transition:all .2s ease-out}.wptb-panel-drawer-toggle{background-color:var(--wptb-plugin-theme-sidebar-bg);height:50px;width:25px;position:absolute;top:calc(50% - 25px);left:calc(100%);display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:0 5px 5px 0;box-shadow:3px 1px 5px rgba(0,0,0,.2)}.wptb-panel-drawer-icon::after{content:"\f341"}.collapsed .wptb-panel-drawer-icon::after{content:"\f345"}.wptb-panel-brand{grid-area:brand;background-color:var(--wptb-plugin-logo-color);color:var(--wptb-plugin-white);padding:25px 0;font-size:170%;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"brand-position";text-align:center;height:61px}.wptb-brand-logo,.wptb-brand-name{grid-area:brand-position}.wptb-brand-logo{display:none}.wptb-panel-tabs{grid-area:sidebar-tabs;text-align:center;justify-content:stretch;transition:all .2s ease-out}.wptb-panel-tabs div{width:100%;margin:0!important;font-size:90%;padding:10px!important}.wptb-left-panel-extend{position:absolute;top:50%;left:100%;margin-top:-55px;overflow:hidden;width:18px;border-top-right-radius:8px;border-bottom-right-radius:8px;height:40px;background-color:#f0f3f3;box-shadow:1px 0 5px 0 rgba(25,31,40,.2);display:flex;justify-content:center;align-items:center;font-size:12px;color:#353638;z-index:-1;border-right:1px solid #ccc;border-bottom:1px solid #ccc;border-top:1px solid #ccc}.wptb-left-panel-extend svg{display:inline-block;width:1em;height:1em;line-height:1em;vertical-align:middle;stroke-width:0;stroke:currentColor;fill:currentColor}.wptb-container.collapsed .wptb-left-panel .wptb-left-panel-extend svg{transform:rotate(180deg)}.wptb-settings-section p{font-size:16px;margin:0 0 10px}.wptb-input-px{right:35%;top:0;position:absolute;margin-top:7px}.wptb-settings-dropdown{font-size:16px;padding:16px 20px;position:relative;background-color:#fff;color:#186cba;border-top:.5px solid #ccc;border-bottom:.5px solid #ccc}.wptb-panel-table-empty-message{padding:0 20px;text-align:center;font-size:80%;font-style:italic}.wptb-cell-management,.wptb-settings-items{transition:1s 0s ease}.wptb-cell-management{display:none}#wptb-inner-border-settings.visible,.wptb-cell-management.visible,.wptb-settings-items.visible{display:block!important;opacity:1}.wptb-settings-item-title{font-size:14px!important;margin:0!important}.wptb-settings-item-header,.wptb-settings-item-header-include-right{font-size:14px;line-height:14px;padding:14px 0 14px 15px;position:relative;background:var(--wptb-plugin-gray-100)}.wptb-settings-item-header-include-right{padding:14px 10px}.wptb-settings-row,.wptb-settings-row label{display:flex;flex-direction:row;align-items:center}.wptb-settings-row{box-sizing:border-box!important;flex:0 1 auto;flex-wrap:wrap;padding-right:0!important}.wptb-settings-row label{justify-content:space-between}.wptb-settings-middle-xs{align-items:center;background:var(--wptb-plugin-gray-100);padding:15px!important;border-bottom:1px solid #e5dfdf}.wptb-settings-middle-xs *{font-size:14px!important}.wptb-settings-col-xs-12{flex-basis:100%;max-width:100%}.wptb-settings-col-xs-8{flex-basis:66.66666667%;max-width:66.66666667%}.wptb-settings-col-xs-4{flex-basis:33.33333333%;max-width:33.33333333%;position:relative}.wptb-number-input{max-width:75px;width:100%;margin-left:10px;margin-top:3px}input[type=number]{height:28px!important;line-height:1;padding:3px 5px!important}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-focus-outer{border:0;outline:0}input[type=range]:focus{outline:0}input[type=range]{-webkit-appearance:none;-webkit-tap-highlight-color:transparent;width:100%;height:8px;margin:0;border:0;padding:1px 2px;border-radius:14px;background:#ccc;outline:0}input[type=range]::-moz-range-track{border:inherit;background:#ccc}input[type=range]::-ms-track{border:inherit;color:transparent;background:#ccc}input[type=range]::-ms-fill-lower,input[type=range]::-ms-fill-upper{background:#ccc}input[type=range]::-ms-tooltip{display:none}input[type=range]::-webkit-slider-thumb:before{content:"";position:absolute;left:-3000px;right:100%;top:50%;height:6px;padding:0;background:#1d9b2a;transform:translate(0,-50%)}input[type=range]::-moz-range-progress{background-color:#3b7ec0;height:6px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border:1px solid #3b7ec0;border-radius:50%;background-image:linear-gradient(to bottom,#fff 0,#fff 100%)}input[type=range]::-moz-range-thumb{width:18px;height:18px;border:1px solid #3b7ec0;border-radius:50%;background-image:linear-gradient(to bottom,#fff 0,#fff 100%)}input[type=range]::-ms-thumb{width:18px;height:18px;border-radius:50%;border:1px solid #3b7ec0;background-image:linear-gradient(to bottom,#fff 0,#fff 100%)}.wptb-toggle{display:inline-block;width:95%}.wptb-toggle input{display:none}.wptb-toggle input:checked+i::after{transform:translateX(20px)}.wptb-toggle input:checked+i{background:#3b7ec0}.wptb-toggle i{float:right;padding:2px;width:40px;height:20px;border-radius:13px;vertical-align:middle;transition:.25s .09s;position:relative;background:#d8d9db;box-sizing:initial}.wptb-toggle i::after{content:" ";display:block;width:20px;height:20px;border-radius:50%;background:#fff;position:absolute;left:2px;transition:.25s}.wptb-toggle.wptb-size-fixed-auto input:checked+i::after,.wptb-toggle.wptb-toggle2 input:checked+i::after{transform:translateX(50px)}.wptb-toggle.wptb-size-fixed-auto i,.wptb-toggle.wptb-toggle2 i{float:left;width:100px;border-radius:5px;height:25px}.wptb-toggle.wptb-size-fixed-auto i:after,.wptb-toggle.wptb-toggle2 i:after{width:50px;height:25px;border-radius:5px;transform:translateX(0)}.wptb-checkbox{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:3px;padding-bottom:3px}.wptb-checkbox span{vertical-align:middle}.wptb-checkbox input[type=checkbox]{opacity:0;height:0;width:0;display:none}.wptb-checkbox-checkmark{height:25px;width:25px;background-color:#d8d9db;display:inline-block;position:relative;border-radius:3px;margin-left:5px}.wptb-checkbox:hover input[type=checkbox]~.wptb-checkbox-checkmark{background-color:#6ea4d8}.wptb-checkbox input[type=checkbox]:checked~.wptb-checkbox-checkmark{background-color:#3b7ec0}.wptb-checkbox-checkmark:after{content:"";position:absolute;display:none}.wptb-checkbox input[type=checkbox]:checked~.wptb-checkbox-checkmark:after{display:block}.wptb-checkbox .wptb-checkbox-checkmark:after{left:10px;top:7px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.wptb-column-auto,.wptb-column-fixed{position:absolute;font-size:15px;width:50%;height:100%;text-align:center;line-height:25px}.wptb-column-fixed{color:#d8d9db}.wptb-column-auto{color:#3b7ec0;right:0}#element-options-group,.wptb-elements-section,.wptb-responsive-section,.wptb-settings-section{grid-area:sidebar-content}#element-options-group{padding-top:20px}[data-wptb-section]{padding-top:20px;-webkit-animation:wptb-basic-appear .2s ease-out;animation:wptb-basic-appear .2s ease-out}.wptb-tabs{width:100%;margin:0;padding:0;background:#fff;border-bottom:.5px solid #ccc;max-width:349px;z-index:10}ul.wptb-tabs{list-style:none}.wptb-tabs li{float:left;width:49.3%;margin:0}.wptb-tabs li:last-of-type{float:right}.wptb-tabs li a{display:block;text-align:center;padding:18px 10px;font-size:16px}.wptb-tabs li a,.wptb-tabs li a:hover{color:#186cba;text-decoration:none}.wptb-tabs li a:focus{box-shadow:none}.wptb-tabs li .active,.wptb-tabs li .active:hover{color:#186cba}.wptb-tabs #element-options .active,.wptb-tabs #wptb-add-elements .active{background:#fff}.wptb-tab-content{padding:0}.wptb-panel-toggle,.wptb-panel-toggle-group{background-color:var(--wptb-plugin-theme-color-light)}.wptb-panel-toggle-group{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);margin:20px 0}.wptb-panel-toggle{padding:10px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:3px solid var(--wptb-plugin-theme-sidebar-bg);cursor:pointer}.wptb-element-options .wptb-panel-toggle{cursor:pointer}.wptb-panel-toggle .header{text-transform:uppercase;font-size:90%;display:flex;flex-direction:row}.header .wptb-back-button{margin-right:10px}.wptb-panel-toggle .toggle-icon{cursor:pointer}.wptb-panel-toggle .toggle-icon::after{content:"\f343"}.wptb-panel-toggle-content .wptb-panel-toggle .toggle-icon::after{content:"\f347"}.wptb-panel-toggle-target{padding:20px 10px}.wptb-panel-section-toggle-target,.wptb-panel-toggle-target{background-color:var(--wptb-plugin-gray-100)}.wptb-panel-elements-inner-wrapper{display:grid;grid-auto-flow:row;grid-template-columns:1fr 1fr;grid-gap:10px;color:var(--wptb-plugin-theme-text-color-main);font-size:80%}.wptb-section-group-tabbed{display:grid;grid-template-columns:1fr;grid-template-areas:"header" "tabButtons" "controls";grid-auto-flow:row;grid-template-rows:auto}.wptb-section-group-tabbed-header{grid-area:header;justify-content:center!important}.wptb-section-group-tabbed-tabs-buttons{grid-area:tabButtons;display:flex;flex-direction:row;background-color:var(--wptb-plugin-theme-color-light);text-align:center;justify-content:stretch;border-bottom:1px solid #e5dfdf}.wptb-section-group-tabbed-tabs-buttons div{width:100%;margin:0!important;font-size:90%;padding:7px!important}.wptb-section-group-tab-content{grid-area:controls;transition:opacity .2s ease-out}.wptb-plugin-non-visible{height:0;opacity:0;pointer-events:none;transition:none!important}.wptb-plugin-non-visible div{height:0}.wptb-elements-container{width:100%;max-height:inherit;padding:0 0 60px;background-color:inherit}.wptb-element{position:relative;background:var(--wptb-plugin-theme-color-light);display:flex;align-items:center;justify-content:center;flex-direction:column;height:100px;text-align:center;border-radius:5px;border:2px solid var(--wptb-plugin-gray-400);transition:all .25s;cursor:move}.wptb-element p,.wptb-table-generator input{margin:0}.wptb-element:hover{box-shadow:3px 3px 2px .5px rgba(0,0,0,.2)}.wptb-element svg{fill:var(--wptb-plugin-theme-text-color-main)!important}.wptb-element-draggable-icon{position:absolute;top:0;right:0;color:var(--wptb-plugin-gray-500)!important}.left,.right{width:47.5%;float:left;margin:6px 0 -4px 6px}.right{float:right;margin:6px 5px -4px 0}.wptb-builder-panel{position:relative;min-height:100%;transition:all .2s ease-out,right .2s ease-out;width:calc(100% - var(--wptb-plugin-sidebar-size-full));text-align:center;z-index:100000}.wptb-left-panel[data-wptb-panel-location=left]+.wptb-builder-panel{left:var(--wptb-plugin-sidebar-size-full)}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel{left:0}.collapsed .wptb-left-panel[data-wptb-panel-location=left]+.wptb-builder-panel{left:calc(0px + var(--wptb-plugin-left-panel-constant))!important;width:calc(100% - var(--wptb-plugin-left-panel-constant))!important}.collapsed .wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel{right:calc(0px - var(--wptb-plugin-left-panel-constant))!important;width:calc(100% - var(--wptb-plugin-left-panel-constant))!important}.wptb-name-setup{text-align:start;margin:0 20px;grid-area:table-name}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-name-setup,.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-name-setup input{text-align:end!important}.wptb-plugin-header-close{grid-area:close}#wptb-setup-name{height:50px;box-shadow:none;border:1px solid var(--wptb-plugin-gray-300);font-size:100%;width:420px;padding:0 20px}.wptb-messaging{color:#fff;height:0;margin:0 auto;padding:5px;transition:all 1s 0s;width:90%;text-align:initial}.wptb-messaging.wptb-success{background:#4caf50;background:linear-gradient(45deg,#4caf50 0,#8bc34a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4caf50', endColorstr='#8bc34a', GradientType=1);height:auto}.wptb-messaging.wptb-warning{background:#f44336;background:linear-gradient(45deg,#f44336 0,#ff5722 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f44336', endColorstr='#ff5722', GradientType=1);height:auto}.wptb-management_table_container{margin:auto;text-align:initial}.wptb-table-setup{justify-content:center;position:relative;z-index:1;background:#fff;margin:30px auto;max-width:700px;overflow-x:auto;overflow-y:hidden}#wptb-cell_mode_background{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(49,59,71,.49);display:none;text-align:initial}#wptb-cell_mode_background.visible,.wptb-droppable.wptb-cell li .wptb-list-item-content p span.content{display:block}table.wptb-table{border-collapse:collapse}.wptb-wrapper{margin:0 auto;padding:40px;max-width:960px;text-align:initial}.wptb-table{margin:20px 0 60px;width:100%;border:1px solid #ccc;box-shadow:0 1px 3px rgba(0,0,0,.2);display:table}@media screen and (max-width:580px){.wptb-table{display:block}}.wptb-row{display:table-row;background:#bebebe}.wptb-row:nth-of-type(odd){background:#bebebe}.wptb-row.wptb-table-header{font-weight:900;color:#fff;background:#ea6153}.wptb-row.wptb-green{background:#27ae60}.wptb-row.wptb-blue{background:#2980b9}@media screen and (max-width:580px){.wptb-row{padding:14px 0 7px;display:block}.wptb-row.wptb-table-header{padding:0;height:6px}.wptb-row.wptb-table-header .wptb-cell{display:none}.wptb-row .wptb-cell{margin-bottom:10px}.wptb-row .wptb-cell:before{margin-bottom:3px;content:attr(data-title);min-width:98px;font-size:10px;line-height:10px;font-weight:700;text-transform:uppercase;color:#969696;display:block}}.wptb-cell{padding:12px;display:table-wptb-cell}.wptb-preview-table{table-layout:fixed;font-size:15px;display:table;border-collapse:collapse!important;margin:auto;width:auto}.wptb-preview-table.wptb-preview-table-auto-width{width:auto}.wptb-preview-table-manage-cells tbody>tr>td::after{content:'';display:block;position:absolute;top:0;right:0;left:0;bottom:0;z-index:100}.wptb-preview-table-manage-cells td:hover::after{background:rgba(207,218,239,.2);border-color:inherit}.wptb-preview-table p{margin:0;font-size:15px;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.wptb-preview-table ul{list-style-type:disc;margin-left:15px}.wptb-preview-table tr{display:table-row;background:#fcfcfc}.wptb-preview-table tr:nth-of-type(odd){background:#eee}.wptb-state-dragging td{cursor:all-scroll}.wptb-preview-table td{padding:15px;position:relative;box-sizing:content-box}.wptb-preview-table td.wptb-td-default-width{width:100px}.wptb-preview-table .wptb-row td.wptb-highlighted,.wptb-state-dragging td:hover{outline:1px solid #acc1e2}.wptb-preview-table .wptb-row.wptb-highlighted-row{background-color:rgba(59,125,191,.34);border:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-row-first,.wptb-preview-table .wptb-row td.wptb-highlighted-row-inner{background-color:rgba(59,125,191,.34);border-bottom:1px solid pink;border-left:1px solid pink;border-right:inherit;border-top:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-row-inner{border-left:inherit}.wptb-preview-table .wptb-row td.wptb-highlighted-column-first,.wptb-preview-table .wptb-row td.wptb-highlighted-row-last{background-color:rgba(59,125,191,.34);border-bottom:1px solid pink;border-left:inherit;border-right:1px solid pink;border-top:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-column-first{border-bottom:inherit;border-left:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-column-inner,.wptb-preview-table .wptb-row td.wptb-highlighted-column-last{background-color:rgba(59,125,191,.34);border-bottom:inherit;border-left:1px solid pink;border-right:1px solid pink;border-top:inherit}.wptb-preview-table .wptb-row td.wptb-highlighted-column-last{border-bottom:1px solid pink}.wptb-row td:empty::before{content:'Cell';display:block;font-weight:400;font-size:80%;text-align:center;color:#969fa6}.wptb-row td:empty::after{content:'';display:block;border:1px dashed #969fa6;position:absolute;top:2px;right:2px;bottom:2px;left:2px}.wptb-preview-table.wptb-table-preview-head .wptb-row:first-child td:empty::before{content:'Header'}.wptb-ph-element{position:relative;border:1px solid #fff0;min-height:15px}.wptb-image-wrapper img{width:100%;display:block;padding:0;max-width:100%;height:auto}.wptb-image-wrapper a{display:block!important;position:relative;margin:auto}.wptb-icon-image-button{display:block;padding:5px;background:#747d84;border-radius:5px;color:#000;cursor:pointer}.wptb-image-wrapper::after{content:"";display:block;height:0;width:100%;clear:both}.wptb-button-wrapper>a,.wptb-image-wrapper a{text-decoration:none;max-width:100%}.wptb-button,.wptb-button-icon,.wptb-button-wrapper{display:flex;justify-content:center;align-items:center}.wptb-button{padding:16px;background:#329d3f;color:#fff;cursor:pointer;border-radius:5px;border:0;box-shadow:none;transition:all .2s ease-out}.wptb-button-icon{margin:0 5px;order:-1;width:25px;height:25px}.wptb-button-icon svg{width:100%;height:100%;fill:currentColor}.wptb-button-icon[data-wptb-button-icon-src=""],br[data-mce-bogus="1"]{display:none}.wptb-plugin-button-order-right .wptb-button-icon,[data-wptb-button-icon-position=right] .wptb-button-icon{order:2}.wptb-button:hover{color:#fff}.wptb-table-generator{text-align:center;margin:60px auto 20px}.wptb-generator-btn{width:92%;padding:15px;background:var(--wptb-plugin-logo-color);color:#fff;cursor:pointer;border:0;box-shadow:none;border-radius:5px}.wptb-input-number{width:80px;padding:0 12px;vertical-align:top;text-align:center;outline:0;border:1px solid #ccc;height:40px}.wptb-input-number-decrement,.wptb-input-number-increment{border:1px solid #ccc;height:40px;display:inline-block;width:30px;line-height:38px;background:#f1f1f1;color:#444;text-align:center;font-weight:700;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wptb-input-number-decrement:active,.wptb-input-number-increment:active{background:#ddd}.wptb-input-number-decrement{border-right:none;border-radius:4px 0 0 4px}.wptb-input-number-increment{border-left:none;border-radius:0 4px 4px 0}.wptb-allow-drop{background:#b5e0d7}#wpcd_fixed_toolbar{min-height:55px;text-align:center;position:-webkit-sticky!important;position:sticky!important;top:95px;z-index:100;display:inline-block}#wpcd_fixed_toolbar>div.toolbar-active{display:block!important}.wptb-btn-size-btn{padding:8px 15px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-btn-size-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-btn-size-switcher:first-child{border-radius:4px 0 0 4px}.wptb-btn-size-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-btn-size-switcher:hover{background:#fff}.wptb-btn-size-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-btn-size-switcher.bnt-selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.mce-content-body{min-height:19px;word-break:break-word}.mce-tinymce.mce-tinymce-inline.mce-container.mce-panel{left:50%!important;transform:translate(-50%,0)!important;border:0!important}.mce-container.mce-panel.mce-floatpanel.mce-window.mce-in{z-index:100100!important}.mce-container.mce-panel.mce-floatpanel.mce-menu.mce-animate.mce-fixed.mce-menu-align.mce-in{z-index:100101!important}.mce-edit-focus{outline:0!important}.mce-btn button{padding:14px 18px!important}.mce-ico{font-size:20px!important}.mce-content-body [data-mce-selected=inline-boundary]{background:0 0!important}.wptb-text-container .mce-content-body a{color:#1e73be}.wptb-text-container p:empty:not(:focus)::before{content:attr(data-placeholder);opacity:.4}.wptb-droppable.wptb-cell ol,.wptb-droppable.wptb-cell ul{border:1px solid transparent;margin:0;padding:1em .2em .4em;width:100%}.wptb-droppable.wptb-cell ol article,.wptb-droppable.wptb-cell ul article{align-items:flex-start;border:1px solid transparent;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin-bottom:0;padding:0;position:relative;width:100%}.wptb-list-container ul li{list-style:none;margin:0}.wptb-droppable.wptb-cell li .wptb-list-item-content{min-height:30px}.wptb-droppable.wptb-cell li .wptb-list-item-content p{word-wrap:break-word;line-height:30px;font-size:15px;padding-left:20px}.wptb-list-container ul li>div>p::before{content:attr(data-list-style-type-index);display:inline-block;line-height:30px;padding:0 5px 0 0;font-family:verdana,sans-serif;cursor:text;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;margin-left:-20px}.wptb-list-container ul li>div>p.wptb-list-style-type-disc::before{content:'\25CF'}.wptb-list-container ul li>div>p.wptb-list-style-type-circle::before{content:'\25CB'}.wptb-list-container ul li>div>p.wptb-list-style-type-square::before{content:'\25A0'}.wptb-list-container ul li>div>p.wptb-list-style-type-none::before{content:'';padding-right:0}.wptb-droppable.wptb-cell .wptb-directlyhovered{outline:1px solid #1ea5e5!important;position:relative}.wptb-cell .wptb-ph-element.edit-active{outline:2px solid #1ea5e5!important;position:relative}.wptb-droppable.wptb-cell .wptb-list-container.wptb-directlyhovered,.wptb-rating-stars-box ul>li.wptb-rating-star span svg,wptb_shortcode_container_element{display:block}.wptb-droppable.wptb-cell .wptb-directlyhovered .wptb-directlyhovered{display:flex;width:100%}.wptb-droppable.wptb-cell .wptb-list-container.wptb-directlyhovered .wptb-directlyhovered{display:list-item;border:0!important}.wptb-droppable.wptb-cell .wptb-list-container.wptb-directlyhovered .wptb-directlyhovered:before{content:"";display:inline-block;position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #1ea5e5!important}.wptb-actions{align-items:center;background-color:#1ea5e5;border-top-left-radius:4px;border-top-right-radius:4px;color:#fff;justify-content:space-between;line-height:1em;padding:0 5px;position:absolute;height:15px;font-size:9pt;display:none;max-width:70px;z-index:100001;box-sizing:border-box}.wptb-ph-element:hover .wptb-actions{display:inline}.wptb-actions .dashicons.dashicons-admin-page.wptb-duplicate-action,.wptb-actions .dashicons.wptb-prebuilt-mark-action{font-size:10pt;margin:0 .05em 0 .1em;width:16px;height:16px;cursor:pointer}.wptb-actions .dashicons.dashicons-trash.wptb-delete-action{font-size:10pt;margin:0 .1em 0 .05em;width:16px;height:16px;order:2;cursor:pointer}.wptb-cell-management .wptb-button{background:#3e99ca;color:#fff;border:0;border-radius:2px;padding:.4em 0;width:100%;box-shadow:2px 1px 0 0 rgba(13,85,126,.71)}.wptb-cell-management .wptb-button[disabled]{display:none}.wptb-space-between{min-height:10px;width:100%}.wptb-ph-element.wptb-directlyhovered.wptb-moving-mode{outline:0!important}.wptb-ph-element.wptb-ondragenter::before{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;z-index:101000}.wptb-ph-element.wptb-moving-mode{opacity:.4;transform:scale(.9) translate(-5%,-5%);transition:all .2s ease-in-out}.wptb-drop-handle{height:11px;position:absolute;z-index:101000;display:none}.wptb-drop-handle::after{content:attr(data-text);background-color:#1e90ff;color:#fff;display:block;font-variant:small-caps;position:relative;text-align:center;width:100%;height:100%;font-size:11px;line-height:1;text-transform:uppercase;box-sizing:border-box}.wptb-drop-border-marker{position:absolute;width:1px;height:1px;z-index:101000}.wptb-drop-border-marker.wptb-moving-into-same-elem,.wptb-drop-handle.wptb-moving-into-same-elem{opacity:0;visibility:hidden}.wptb-drop-border-marker>div{position:absolute;background:#1ea9eb}.wptb-drop-border-marker-top{top:0;left:0;height:1px}.wptb-drop-border-marker-right{top:0;width:1px}.wptb-drop-border-marker-bottom{left:0;height:1px}.wptb-drop-border-marker-left{top:0;left:0;width:1px}.wptb-space-between.visible:empty::before{background-color:#1e90ff;border:1px solid #1e90ff;color:#fff;content:'drop here';display:block;font-variant:small-caps;margin:2px 5%;padding:.5em 0;position:relative;text-align:center;width:90%}.wptb-draggable{border:0}.wptb-actions .dashicons.dashicons-move.wptb-move-action{font-size:14px!important;cursor:move;width:16px;height:16px;order:-1}.wptb-multiple-select-action:not(.visible),.wptb-no-cell-action:not(.visible),.wptb-single-action:not(.visible){cursor:not-allowed;opacity:.3}.wptb-item-dragging{background-color:purple;min-height:30px;min-width:30px;position:absolute;transition:all .2s ease;transition-property:left,top;width:auto;z-index:11000}.wptb-range-input{height:20px;position:relative}.wptb-range-input .slider{background-color:#fff;border:1px solid #4b88c4;border-radius:200px;box-sizing:border-box;height:20px;left:2px;position:absolute;top:0;width:20px;z-index:10}.wptb-range-input .rail{background:#ccc;border-radius:14px;bottom:6px;height:8px;position:absolute;width:100%;z-index:1}.wptb-preview-table.wptb-table-preview-head .wptb-row:first-child td.wptb-drop-here-empty:empty::before,.wptb-row td.wptb-drop-here-empty:empty::before{background-color:#1e90ff;border:1px solid #1e90ff;box-sizing:border-box;color:#fff;content:'drop here';display:block;font-size:1em;font-variant:small-caps;padding:.2em .4em;text-align:center;width:100%}td[class*=wptb-fused-cell]{display:none!important}.wptb-size-s .wptb-button{border-radius:.2rem;padding:.35rem .6rem;max-width:100%}.wptb-size-s .wptb-button p{font-size:.875rem;line-height:1.5}.wptb-size-l .wptb-button,.wptb-size-m .wptb-button{border-radius:.3rem;padding:.475rem .85rem;max-width:100%}.wptb-size-m .wptb-button p{font-size:1.125rem;line-height:1.5}.wptb-size-l .wptb-button{padding:.6rem 1.2rem}.wptb-size-l .wptb-button p{font-size:1.25rem;line-height:1.5}.wptb-size-xl .wptb-button{border-radius:.4rem;padding:.8rem 1.35rem;max-width:100%}.wptb-size-xl .wptb-button p{font-size:1.35rem;line-height:1.5}[class*=wptb-element-text-] p{color:inherit!important;font-size:inherit!important}.wptb-split-page-title-action .wptb-expander::after,.wptb-split-page-title-action a,.wptb-split-page-title-action a:active{padding:6px 10px;position:relative;top:-3px;text-decoration:none;border:1px solid #ccc;border-radius:2px;background:#f7f7f7;text-shadow:none;font-weight:600;font-size:13px;line-height:normal;color:#0073aa;cursor:pointer;outline:0}.wptb-split-page-title-action a:hover{color:#fff;background-color:#1f8abb}.wptb-column-title-mobile{display:none}.wptb-star_rating-container{text-align:center}.wptb-rating-stars-box{text-align:center;display:inline-block;padding:7px}.wptb-rating-stars-box ul{list-style-type:none;-moz-user-select:none;-webkit-user-select:none;padding:.5em .2em .2em}.wptb-rating-stars-box ul li{display:inline-block}.wptb-rating-stars-box ul>li.wptb-rating-star{color:#ccc;cursor:pointer;margin:0;position:relative;width:20px;height:20px}.wptb-rating-stars-box ul>li.wptb-rating-star span{position:absolute;height:100%;width:100%;top:0;left:0;z-index:10;display:block}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-left-signal-part,.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-right-signal-part{height:100%;width:50%;z-index:20}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-left-signal-part{left:0}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-left-signal-part span.wptb-rating-star-zero-set{left:0;width:40%;height:100%;top:0;z-index:30px}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-right-signal-part{right:0;left:auto}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-half-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-half span.wptb-not-filled-rating-star{display:none}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-not-filled-rating-star{fill:#ccc}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-half span.wptb-half-filled-rating-star{display:block;fill:#ff912c;opacity:.5}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-full span.wptb-half-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-full span.wptb-not-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-half span.wptb-filled-rating-star{display:none}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-full span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half.wptb-rating-star-hover-full span.wptb-filled-rating-star{display:block;fill:#ff912c;opacity:.5}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full.wptb-rating-star-hover-full span,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full.wptb-rating-star-hover-half span,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half.wptb-rating-star-hover-full span,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half.wptb-rating-star-hover-half span{opacity:1}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-not-filled-rating-star{display:none}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-half-filled-rating-star{display:block;fill:#ff912c}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-half-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-not-filled-rating-star{display:none}.wptb-number-rating-box{text-align:center;font-size:20px}.wptb-number-rating-box>div{vertical-align:top;display:inline-block;color:#888;text-align:center;height:25px;font-size:25px;line-height:25px}@media screen and (max-width:1375px){#wptb-messaging-area{position:relative}#wptb-messaging-area .wptb-message{max-width:400px;padding:20px 5px;box-sizing:border-box}}@media screen and (max-width:1070px){#wptb-messaging-area{position:absolute;top:190px;left:30px;right:30px;margin:auto}#wptb-messaging-area .wptb-message{padding:50px 20px}}@media screen and (max-width:970px){#wptb-setup-name{width:100%;max-width:420px;margin-left:0}}.wptb-cell img{max-width:100%}.wptb-exit-options{text-decoration:none}.wptb-option-text{text-align:center}.wptb-rating-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-rating-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-rating-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-rating-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-rating-alignment-switcher:hover{background:#fff}.wptb-rating-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-rating-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-list-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-list-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-list-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-list-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-list-alignment-switcher:hover{background:#fff}.wptb-list-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-list-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-button-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-button-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-button-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-button-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-button-alignment-switcher:hover{background:#fff}.wptb-button-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-button-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-image-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-image-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-image-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-image-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-image-alignment-switcher:hover{background:#fff}.wptb-image-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-image-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-justify-content-left{justify-content:left}.wptb-justify-content-center{justify-content:center}.wptb-justify-content-right{justify-content:right}.wptb-float-left{float:left}.wptb-float-center{float:none}.wptb-float-right{float:right}.wptb-text-align-left{text-align:left}.wptb-text-align-center{text-align:center}.wptb-text-align-right{text-align:right}.wptb-menu-page-wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:90vh;color:#4a5568;line-height:normal}.wptb-settings-wrapper{background-color:#fff;min-width:90%;max-width:90%;height:90%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) minmax(min-content,max-content) 1fr minmax(min-content,max-content);border-radius:5px;overflow:hidden;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05)}.wptb-settings-wrapper .import-export{grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) minmax(min-content,max-content) minmax(min-content,max-content) 1fr minmax(min-content,max-content)}.wptb-settings-header{display:flex;justify-content:space-between;align-items:center;background-color:#3299d1;padding:10px}.wptb-settings-header *{color:#fff}.wptb-settings-header a{text-decoration:none;font-size:1rem;margin:0 10px}.wptb-settings-header a:hover{color:#cbd5e0}.wptb-settings-brand{font-size:2.5rem;display:flex;align-items:center;cursor:default}.wptb-settings-header-name{margin-left:1rem}.wptb-settings-sections-wrapper{position:relative;display:flex;flex-direction:row;margin-bottom:10px;background-color:#fff;border-bottom:1px solid #cbd5e0}.wptb-plugins-m-b-40{margin-bottom:40px}.wptb-settings-checkbox-row{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;margin:5px 0;width:100%}.wptb-menu-file-drop div,.wptb-settings-dropdown-row{margin:10px 0}.wptb-settings-sections-wrapper.child{display:flex;flex-direction:row;justify-content:center;margin-top:-10px}.wptb-settings-section-item{text-transform:uppercase;font-size:1rem;padding:20px;margin:0 10px;cursor:pointer;transition:background-color .5s ease-out}.wptb-settings-section-item.static-active{border-bottom:3px solid transparent}.wptb-settings-section-item.static-active.active{border-bottom:3px solid var(--wptb-plugin-logo-color)!important;background-color:var(--wptb-plugin-gray-100)}.child .wptb-settings-section-item{font-size:.8rem;padding:10px}.wptb-settings-section-item:hover{background-color:#edf2f7}.wptb-settings-section-item.disabled{color:#cbd5e0!important}.wptb-panel-tabs .wptb-settings-section-item.disabled{color:inherit!important}.wptb-menu-active-section-indicator{position:absolute;border-bottom:2px solid var(--wptb-plugin-logo-color);transition:all .3s ease-out}.wptb-settings-controls-wrapper{padding:20px 40px;overflow:auto}.wptb-settings-controls-wrapper.grid{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:minmax(-webkit-min-content,-webkit-max-content);grid-auto-rows:minmax(min-content,max-content);grid-auto-flow:row}.wptb-settings-controls-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.wptb-setting-control{padding:20px;transition:all .2s ease-out;border:1px solid transparent}.wptb-setting-control:hover{border:1px solid #cbd5e0;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);transform:translateY(-5px)}.wptb-setting-control .title{font-weight:700;font-size:1rem;text-transform:capitalize;margin-bottom:30px}.wptb-menu-export-control-title{font-weight:700;font-size:1rem;text-transform:capitalize;width:100%}.wptb-export-list-table-search,.wptb-menu-export-control-title,.wptb-setting-control .title{padding:10px 0;border-bottom:1px solid #cbd5e0}.wptb-setting-control-row{display:flex;align-items:center;margin:20px 0}.wptb-setting-control-row label,.wptb-settings-header a{text-transform:capitalize}.wptb-setting-control-row input,.wptb-setting-control-row select{margin-right:20px}.wptb-settings-footer{background-color:#fff;display:flex;justify-content:space-between;width:100%;border-top:1px solid #cbd5e0;padding:20px 0}.wptb-settings-messages{margin:0 20px;display:flex;align-items:center}.wptb-settings-message{font-style:italic;font-weight:700;text-transform:uppercase}.wptb-settings-message.ok{color:#3299d1}.wptb-settings-message.error{color:#e53e3e}.wptb-settings-fetching{animation:wptb-settings-rotate 1s linear infinite reverse}.wptb-settings-button-container{display:flex;justify-content:center;align-items:center}.wptb-settings-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 20px;color:#fff;font-size:1rem;padding:10px 20px;border-radius:5px;text-transform:uppercase;cursor:pointer;transition:all .2s ease-out}.wptb-settings-button:hover{color:#cbd5e0}.wptb-settings-button.primary{background-color:#3299d1}.wptb-settings-button.danger{background-color:#e53e3e}.wptb-settings-button.disabled{background-color:#cbd5e0!important}.wptb-settings-button.small{font-size:inherit}.wptb-settings-button.disabled:hover{color:#fff!important;cursor:not-allowed}.wptb-fade-enter-active,.wptb-fade-leave-active,.wptb-prebuilt-card-preview table{transition:opacity .2s ease-out}.wptb-fade-enter,.wptb-fade-leave-to{opacity:0}.wptb-menu-file-drop{border:2px dashed #cbd5e0;width:500px;height:200px;margin:20px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-transform:capitalize;transition:all .2s ease-out;border-radius:5px}.wptb-import-table tbody tr:hover,.wptb-menu-file-drop.dragenter,.wptb-menu-list-table thead td:hover{background-color:#edf2f7}.wptb-menu-file-drop .hint{font-style:italic;color:#cbd5e0;font-size:1.3rem}.wptb-menu-file-drop .supported{font-style:italic;color:#cbd5e0;font-size:1rem}.wptb-menu-file-drop .file{text-transform:none;font-size:1.3rem;color:inherit}.wptb-menu-file-drop a{text-decoration:underline;cursor:pointer}.wptb-menu-file-drop .file-icon{color:#cbd5e0;transform:scale(4)}.wptb-flex{display:flex}.wptb-flex-col{flex-direction:column}.wptb-flex-row{flex-direction:row}.wptb-flex-align-center{align-items:center}.wptb-flex-justify-center{justify-content:center}.wptb-flex-justify-space-between{justify-content:space-between}.wptb-import-tables-wrapper{margin-top:50px;margin-bottom:30px;display:flex;justify-content:center}.wptb-import-table{text-align:center;border-collapse:collapse}.wptb-import-table th,td{padding:15px 10px}.wptb-import-table th,.wptb-menu-list-table thead{border-bottom:1px solid #cbd5e0}.wptb-menu-overflow-auto{overflow:auto}.wptb-text-transform-cap{text-transform:capitalize!important}.wptb-text-transform-none{text-transform:none!important}.wptb-import-table-count-info{margin-bottom:20px;font-weight:700;font-style:italic}.wptb-menu-export-wrapper{display:grid;grid-auto-flow:column;grid-template-columns:1fr auto 1fr;grid-template-rows:.9fr;justify-content:center;align-content:center;grid-gap:30px;width:90%;height:100%}.wptb-menu-export-card{display:grid;grid-auto-flow:row;grid-template-rows:auto auto 1fr;grid-template-columns:1fr;position:relative;border:1px solid #cbd5e0;padding:10px;overflow:auto}.wptb-menu-export-controls-wrapper{padding:10px 0;overflow-y:auto;display:grid;grid-auto-flow:row}.wptb-menu-empty-cover{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;font-style:italic;font-size:1.2rem;color:#cbd5e0}.wptb-menu-export-middle-section{display:flex;flex-direction:column;justify-content:space-around;align-items:center}.wptb-menu-export-middle-section .arrow-holder{max-width:100px;width:50%;cursor:pointer}.wptb-menu-export-middle-section img{max-width:100px;cursor:pointer;transition:transform .1s ease-out}.wptb-menu-export-middle-section img:hover{transform:scale(1.2)}.wptb-menu-export-middle-section img:active{transform:scale(1)}.wptb-menu-export-middle-section .flip{transform:rotateZ(180deg)}.wptb-menu-popup-wrapper{display:flex;position:relative;justify-content:center;align-items:center;margin:0 10px;border:1px solid #cbd5e0;width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .2s ease-out}.wptb-menu-popup-wrapper:hover{background-color:#cbd5e0}.wptb-menu-popup-message{display:block;position:fixed;color:#fff;min-width:100px;max-width:200px;transition:opacity .2s ease-out;opacity:0;text-align:start;z-index:999;pointer-events:none}.wptb-menu-popup-wrapper:hover+.wptb-menu-popup-message{opacity:1}.wptb-menu-popup-inner-holder{position:relative;background-color:#4a5568;padding:10px}.wptb-menu-popup-arrow{position:absolute;background-color:inherit;width:10px;height:10px;bottom:-5px;left:calc(50% - 5px);transform:rotateZ(45deg)}.wptb-menu-list-table{border-collapse:collapse;width:100%}.wptb-menu-list-table thead{text-align:start}.wptb-menu-list-table thead td{font-weight:700;transition:all .2s ease-out;cursor:pointer}.wptb-menu-list-table tbody td .title-label{word-break:break-all}.wptb-menu-list-table tbody tr:nth-child(even){background-color:#edf2f7}.wptb-plugin-box-shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.wptb-plugin-filter-box-shadow-md{filter:drop-shadow(4px 6px 2px rgba(0,0,0,.1))}.wptb-plugin-filter-box-shadow-md-close{filter:drop-shadow(4px 1px 2px rgba(0,0,0,.1))}.wptb-plugin-filter-box-shadow-md-around{filter:drop-shadow(0 0 1px rgba(0,0,0,.3))}.wptb-plugin-box-shadow-up-md{box-shadow:0 -5px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.wptb-plugin-box-shadow-xl{box-shadow:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -1px rgba(0,0,0,.3)!important}.wptb-plugin-inset-shadow-md{box-shadow:inset 0 4px 6px -1px rgba(0,0,0,.2),0 2px 4px -1px rgba(0,0,0,.2)}.wptb-plugin-margin-no{margin:0!important}.wptb-settings-space-between{display:flex;flex-direction:row;width:100%;justify-content:space-between;align-items:center}.wptb-icon-select-wrapper{align-items:center;height:100%}.wptb-icon-select-wrapper[disabled] .wptb-icon-select-preview{opacity:.2;cursor:default}.wptb-icon-select-display{width:50px;height:50px;background-color:var(--wptb-plugin-theme-color-light);border:1px solid var(--wptb-plugin-gray-400);border-radius:5px;position:relative}.wptb-icon-select-preview{width:100%;height:100%;justify-content:center;align-items:center;padding:5px;cursor:pointer;position:relative}.wptb-icon-select-preview img[src='']{display:none}.wptb-icon-select-preview img,.wptb-prebuilt-card-icon svg{width:100%;height:100%}.wptb-icon-select-drawer{position:fixed;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-auto-flow:row;grid-gap:15px;background-color:var(--wptb-plugin-theme-color-light);border:1px solid var(--wptb-plugin-gray-400);border-radius:5px;padding:10px;width:200px;max-height:200px;overflow-y:hidden;z-index:110000}.wptb-icon-search-wrapper,.wptb-icon-search-wrapper input{width:100%}.wptb-icon-previews{position:relative;width:100%;display:grid;grid-template-columns:repeat(4,1fr);grid-auto-flow:row;grid-gap:10px;justify-content:center;align-items:center;overflow-y:scroll}.wptb-icon-select-drawer-preview{display:flex;justify-content:center;align-items:center}.wptb-icon-select-drawer-preview img{width:25px;height:25px;transition:transform .2s ease-out;cursor:pointer}.wptb-icon-select-drawer-preview img:hover{transform:scale(1.2)}.wptb-icon-preview-active{border:2px solid var(--wptb-plugin-logo-color)}.wptb-icon-reset{border:1px solid var(--wptb-plugin-theme-sidebar-bg);width:100%;height:100%;border-radius:5px;cursor:pointer}.wptb-help-support-section-wrapper,.wptb-html-control-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center}.wptb-help-support-section-wrapper{padding:20px 0}.wptb-help-support-section-wrapper div{margin:5px 0}.wptb-builder-responsive{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:400000;margin:auto;padding:40px 10px}.wptb-responsive-menu-tools{margin:auto auto 60px;max-width:700px}.wptb-screen-size-slider-wrapper{display:grid;grid-template-columns:1fr;grid-template-areas:'content';justify-content:center;align-items:center;margin-bottom:80px}.wptb-screen-size-slider-empty{width:100%;position:relative;height:5px;border-radius:3px;background-color:#fff;border:1px solid var(--wptb-plugin-gray-400);grid-area:content}.wptb-screen-size-slider-fill{height:100%;position:absolute;left:0;border-radius:3px;background-color:var(--wptb-plugin-logo-color);border:1px solid transparent;transition:all .1s linear}.wptb-drag-active .wptb-screen-size-slider-arrow,.wptb-drag-active .wptb-screen-size-slider-fill{transition:none!important}.wptb-screen-size-slider-arrow{position:absolute;top:-30px;cursor:-webkit-grab;cursor:grab;transition:all .1s linear}.wptb-screen-size-slider-arrow:active{cursor:-webkit-grabbing;cursor:grabbing}.wptb-size-slider-stops-wrapper{z-index:900000;position:absolute;top:-10px}.wptb-slider-stop,.wptb-slider-stop-knob{display:flex;justify-content:center;align-items:center}.wptb-slider-stop{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;flex-direction:column;cursor:pointer}.wptb-slider-stop-knob{width:20px;height:20px;background-color:#fff;border:2px solid var(--wptb-plugin-logo-color);border-radius:50%;margin-bottom:5px;transition:all .2s ease-out}.wptb-slider-stop-label{text-transform:capitalize;font-size:90%;color:var(--wptb-plugin-gray-400)}.wptb-slider-stop-knob[data-wptb-knob-disabled=true]{background-color:var(--wptb-plugin-theme-color-light)!important;border:2px solid var(--wptb-plugin-red-300)!important}.wptb-slider-stop-knob[data-wptb-knob-disabled=true] svg{fill:var(--wptb-plugin-red-600)}.wptb-slider-stop-active .wptb-slider-stop-knob{background-color:var(--wptb-plugin-logo-color);color:inherit!important}.wptb-slider-stop-active .wptb-slider-stop-label{color:inherit!important}.wptb-size-input-wrapper{display:flex;justify-content:center;align-items:center;font-size:90%}.wptb-size-input-wrapper *{margin:0 10px;font-size:inherit!important;font-variant-numeric:tabular-nums}.wptb-size-input{width:calc(9ch);border:1px solid var(--wptb-plugin-gray-400)!important;background-color:var(--wptb-plugin-gray-100)!important;text-align:center;color:var(--wptb-plugin-theme-text-color-main)!important}.wptb-responsive-builder-main{margin-bottom:20px;padding:0 20px;position:relative}.wptb-responsive-toolbox-wrapper{display:grid;align-items:center;border:1px solid var(--wptb-plugin-gray-300);border-radius:3px;grid-area:toolbox}.wptb-responsive-toolbox-top-static{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;align-items:center;grid-gap:10px}.wptb-responsive-toolbox-dynamic-wrapper{display:grid;grid-template-columns:1fr;grid-gap:10px;grid-auto-rows:auto}.wptb-responsive-toolbox-wrapper>div{padding:10px;border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-responsive-toolbox-row div:nth-child(even){justify-self:end}.wptb-responsive-toolbox-wrapper>div:last-child{border-bottom:none!important}.wptb-responsive-toolbox-dynamic-controls-holder{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:5px}.wptb-responsive-toolbox-dynamic-controls-holder>div:nth-child(even){justify-self:end}.wptb-responsive-size-range-name{justify-self:center;font-weight:700}.wptb-responsive-clone-wrapper{height:100%;grid-area:main;padding:20px 0;justify-self:center;border:1px solid var(--wptb-plugin-gray-300);border-top:none!important;align-items:center}.wptb-responsive-clone-inner-wrapper,.wptb-responsive-clone-wrapper{display:flex;justify-content:center;width:100%}.wptb-checkerboard-pattern{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyIDIiPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMCIgeT0iMCIgZmlsbD0icmdiKDIwMywyMTMsMjI0KSIvPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMSIgeT0iMCIgZmlsbD0icmdiKDIzNywyNDIsMjQ3KSIvPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMSIgeT0iMSIgZmlsbD0icmdiKDIwMywyMTMsMjI0KSIvPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMCIgeT0iMSIgZmlsbD0icmdiKDIzNywyNDIsMjQ3KSIvPgo8L3N2Zz4=);background-repeat:repeat;background-size:20px}.wptb-responsive-disabled-table-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,rgba(1,1,1,.2) 15px,rgba(1,1,1,.2) 30px);z-index:10}.wptb-responsive-wait-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4);color:#fff;text-transform:uppercase;font-weight:700}.wptb-responsive-wait-overlay:after{content:'';-webkit-animation:wptb-text-dots 2s infinite;animation:wptb-text-dots 2s infinite}.wptb-controls-flex-row{display:flex;align-items:center;flex-direction:row}.wptb-controls-flex-row label{margin:0 5px}.wptb-responsive-builder-main input[type=checkbox]{margin-top:0!important}.wptb-plugin-modal-window,.wptb-responsive-cell-identifier{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.wptb-responsive-cell-identifier{font-size:4rem;text-shadow:3px 3px 1px var(--wptb-plugin-gray-300);opacity:0;transition:opacity .5s ease-out;z-index:100}.wptb-responsive-show-cell-identifier .wptb-responsive-cell-identifier{opacity:1!important}.wptb-plugin-modal-window{background-color:rgba(0,0,0,.5);z-index:600000}.wptb-plugin-modal-inner-window{max-width:400px;background-color:#fff;padding:20px;border-radius:3px;display:grid;grid-template-areas:"modalIcon message" "buttonContainer buttonContainer";grid-gap:10px}.wptb-plugin-modal-icon{grid-area:modalIcon;width:50px;height:100%;display:flex;justify-content:center;align-items:center;transform:scale(2);pointer-events:none}.wptb-plugin-modal-message{grid-area:message}.wptb-plugin-modal-button-container{margin:5px 0 0;justify-self:center;grid-area:buttonContainer;width:100%}.wptb-plugin-button-material{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px;border-radius:3px;background-color:var(--wptb-plugin-logo-color);color:#fff;cursor:pointer;transition:all .05s ease-out}.wptb-plugin-button-material:active{transform:scale(.95)}.wptb-plugin-button-material[disabled]{background-color:var(--wptb-plugin-gray-400)!important;cursor:not-allowed}.wptb-plugin-button-material[disabled]:active{transform:none}.wptb-plugin-button-material-fit-content{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}.wptb-plugin-button-material-full-size{width:100%}.wptb-plugin-responsive-base{min-width:auto!important;width:100%!important}.wptb-responsive-toolbox-wrapper .wptb-menu-popup-wrapper{margin-right:0!important}.wptb-responsive-breakpoint-edit-wrapper{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-flow:row;align-items:center}.wptb-toggle input:disabled+i{background:var(--wptb-plugin-gray-400)}.wptb-control-row{width:95%}label.wptb-control-row{text-transform:capitalize}.wptb-builder-content{position:relative}.wptb-responsive-builder-toolbox-float{grid-area:toolbox;padding:10px 0;display:flex;justify-content:space-between}.wptb-responsive-builder-toolbox-left-float{display:flex;justify-content:flex-start;align-items:center}.wptb-number-postfix-buttons-wrapper{margin-left:10px;display:flex!important;height:100%}.wptb-number-postfix-button{display:flex;justify-content:center;align-items:center;width:30px;border:1px solid var(--wptb-plugin-gray-400)!important;background-color:var(--wptb-plugin-gray-100)!important;border-radius:5px;cursor:pointer;font-weight:700;color:var(--wptb-plugin-theme-text-color-main)!important;font-size:110%}.wptb-number-postfix-button:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-panel-toggle-section{grid-area:sidebar-footer;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;padding:20px 10px;background-color:var(--wptb-plugin-logo-color);color:#fff}.wptb-left-panel[data-wptb-panel-location=right] .wptb-panel-toggle-section{justify-content:flex-start!important}.wptb-panel-toggle-section .wptb-panel-drawer-icon{cursor:pointer;transform:scale(2)}.wptb-left-panel[data-wptb-panel-location=right] .wptb-panel-toggle-section .wptb-panel-drawer-icon{transform:scale(2) rotateZ(180deg)}.collapsed .wptb-panel-toggle-section{opacity:1!important}.wptb-cell-related-drop-handle{position:fixed;display:none;background-color:#e2e8f0c7;z-index:300000;pointer-events:none;transition:all .2s ease-out;-webkit-animation:wptb-basic-appear .2s ease-out;animation:wptb-basic-appear .2s ease-out;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;text-transform:uppercase;color:#4a5568}.wptb-control-media-select-button{width:100px;height:50px;border:1px solid var(--wptb-plugin-gray-400);background-position:center center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.wptb-control-media-button-wrapper{position:relative}.wptb-control-media-clear-button{position:absolute;width:20px;height:20px;top:-5px;right:-10px;color:red;cursor:pointer}.wptb-control-media-clear-button span{transform:scale(1.8)}.wptb-controls-ul-row{display:flex}.wptb-button-svg-center{display:flex!important;justify-content:center;align-items:center}.wptb-sides-link-icon-wrapper{width:16px;height:16px;cursor:pointer;transition:transform .1s ease-out;filter:opacity(.7)}.wptb-sides-link-icon-wrapper:active{transform:scale(.9)}.wptb-sides-controls-wrapper{display:grid;grid-template-columns:repeat(5,1fr)}.wptb-side-control-header{color:var(--wptb-plugin-gray-500);text-align:center;margin:5px 0}.wptb-side-control-main-input{width:100%;height:30px!important;border:1.5px solid var(--wptb-plugin-gray-300)!important;border-radius:0!important;text-align:center}.wptb-side-control-number-input{transition:all .3s ease-out;margin-left:5px}.wptb-side-values-linked .wptb-side-control-number-input{margin-left:0}.wptb-side-control-main-input:active,.wptb-side-control-main-input:focus{outline:0!important;box-shadow:none!important}.wptb-side-control-input-wrapper:first-of-type .wptb-side-control-main-input{border-left-width:3px!important;border-radius:5px 0 0 5px!important}.wptb-side-control-input-wrapper:last-of-type .wptb-side-control-main-input{border-right-width:3px!important;border-radius:0 5px 5px 0!important}.wptb-side-control-dropdown-wrapper{align-self:end}.wptb-side-control-dropdown{background-color:var(--wptb-plugin-gray-400)!important}.wptb-named-toggle-control-wrapper{position:relative;min-height:30px;display:grid;grid-template-columns:1fr;grid-auto-columns:1fr;grid-auto-flow:column;justify-content:center;align-items:center;border:1px solid var(--wptb-plugin-gray-400);border-radius:5px;background-color:var(--wptb-plugin-white);overflow:hidden}.wptb-named-toggle-item{display:flex;justify-content:center;align-items:center;text-wrap:avoid;padding:10px;z-index:10;cursor:pointer;color:var(--wptb-plugin-gray-400);font-weight:700;font-size:90%!important}.wptb-named-toggle-item[data-wptb-named-toggle-active=true]{color:var(--wptb-plugin-white)}.wptb-named-toggle-active-indicator{position:absolute;height:100%;background-color:var(--wptb-plugin-logo-color);z-index:9;transition:left .2s ease-out}.wptb-cell[data-wptb-cell-vertical-alignment=top]{vertical-align:baseline}.wptb-cell[data-wptb-cell-vertical-alignment=center]{vertical-align:middle}.wptb-cell[data-wptb-cell-vertical-alignment=bottom]{vertical-align:bottom}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal]::after,.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical]::after{position:absolute;top:0;bottom:0;z-index:101;display:grid;font-family:dashicons;font-size:35px;align-content:center;text-align:center}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask]::after{content:"\f142";right:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk].sortable-hover::after{content:"\f142";cursor:pointer;opacity:.7}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk]::after{content:"\f140";right:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask].sortable-hover::after{content:"\f140";cursor:pointer;opacity:.7}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask]::after{content:"\f141";left:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk].sortable-hover::after{content:"\f141";cursor:pointer;opacity:.7}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk]::after{content:"\f139";left:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask].sortable-hover::after{content:"\f139";cursor:pointer;opacity:.7}.wptb-generate-wrapper{margin:0 50px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:inherit}.wptb-generate-menu{display:grid;grid-template-columns:1fr;grid-template-areas:'header' 'listing'}.wptb-generate-menu-header{grid-area:header;padding:30px;border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-generate-menu-listing{grid-area:listing;padding:30px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.wptb-generate-search{border:1px solid var(--wptb-plugin-gray-300)!important;text-align:center;font-size:90%;color:inherit}.wptb-generate-search:active,.wptb-generate-search:focus{border:1px solid var(--wptb-plugin-gray-400)!important;inset:0!important;box-shadow:none!important}.wptb-prebuilt-card{width:200px;max-width:200px;display:grid;grid-template-columns:1fr;grid-template-rows:125px auto;grid-template-areas:'main' 'footer';border-radius:5px;transition:all .4s ease-out;background-color:var(--wptb-plugin-theme-color-light);cursor:pointer;margin:calc(var(--wptb-prebuilt-card-control-size) + 10px)}.wptb-prebuilt-card-active{cursor:default;-webkit-animation:wptb-pop .2s ease-out;animation:wptb-pop .2s ease-out}.wptb-prebuilt-card:hover{box-shadow:3px 3px 2px .5px rgba(0,0,0,.2)}.wptb-prebuilt-card-preview{position:relative;grid-area:main;border:var(--wptb-prebuilt-card-border-size) solid var(--wptb-plugin-gray-400);border-bottom:1px solid var(--wptb-plugin-gray-400)!important;background-color:var(--wptb-plugin-gray-300);display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:'preview';justify-content:center;align-items:center;border-radius:5px 5px 0 0}.wptb-prebuilt-card .wptb-settings-fetching{grid-area:main;z-index:100;color:var(--wptb-plugin-gray-500)}.wptb-team-prebuilt{border:var(--wptb-prebuilt-card-border-size) solid var(--wptb-plugin-logo-color)!important}.wptb-prebuilt-card .wptb-settings-fetching,.wptb-prebuilt-card-controls{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-card-controls{grid-area:preview;position:relative;pointer-events:none}.wptb-prebuilt-live-display{width:100%;height:100%;grid-area:preview;padding:15px}.wptb-prebuilt-live-table{width:100%;height:100%;background-color:var(--wptb-plugin-theme-color-light);border-radius:5px;border:1px solid var(--wptb-plugin-gray-400);display:grid}.wptb-prebuilt-live-cell{width:100%;height:100%;border:.5px solid var(--wptb-plugin-gray-400);cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;overflow:visible;z-index:10}.wptb-prebuilt-live-cell-hover{opacity:.7}.wptb-prebuilt-live-cell:hover .wptb-prebuilt-live-control{opacity:unset;pointer-events:all}.wptb-prebuilt-live-control-hide .wptb-prebuilt-live-control{display:none}.wptb-prebuilt-live-cell-hover,.wptb-prebuilt-live-control-active{background-color:var(--wptb-plugin-logo-color)}.wptb-prebuilt-live-control{position:absolute;opacity:0;pointer-events:none;transition:all .1s ease-out;font-size:120%}.wptb-prebuilt-live-control:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-prebuilt-added-cell{background-color:#40e0d0;cursor:default;z-index:1!important}.wptb-prebuilt-control{position:absolute;display:flex;justify-content:center;align-items:center;pointer-events:all}.wptb-prebuilt-control[data-orientation=row]{top:0;transform:translateY(calc(-100% - var(--wptb-prebuilt-card-border-size)));display:flex;justify-content:center;align-items:center}.wptb-prebuilt-control[data-orientation=col]{left:0;transform:translateX(calc(-100% - var(--wptb-prebuilt-card-border-size)));display:flex;flex-wrap:wrap;flex-direction:column-reverse;width:var(--wptb-prebuilt-card-control-size);justify-content:center;align-items:center}.wptb-prebuilt-control-input{text-align:center;width:var(--wptb-prebuilt-card-control-size);height:var(--wptb-prebuilt-card-control-size);border:1px solid var(--wptb-plugin-gray-300)!important;color:inherit!important;border-radius:0!important;margin:0!important}.wptb-prebuilt-control-input:active,.wptb-prebuilt-control-input:focus{border:1px solid var(--wptb-plugin-gray-400)!important;inset:0!important;box-shadow:none!important}.wptb-prebuilt-control-input:disabled{color:var(--wptb-plugin-gray-300)!important}.wptb-prebuilt-control-increment-box{width:var(--wptb-prebuilt-card-control-size);height:var(--wptb-prebuilt-card-control-size);background-color:var(--wptb-plugin-gray-300);display:flex;justify-content:center;align-items:center;font-size:150%;cursor:pointer}.wptb-prebuilt-control-increment-box:hover{background-color:var(--wptb-plugin-gray-400)}.wptb-prebuilt-control-increment-box[disabled]{background-color:var(--wptb-plugin-gray-200)!important;color:var(--wptb-plugin-gray-400)!important;cursor:default}.wptb-prebuilt-card-footer{grid-area:footer;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-card-footer-element{padding:15px;border:var(--wptb-prebuilt-card-border-size) solid var(--wptb-plugin-gray-400);border-top:0!important;width:100%;height:100%;border-radius:0 0 5px 5px}.wptb-prebuilt-card-footer-button-holder{padding:0!important;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1px;background-color:var(--wptb-plugin-gray-500)}.wptb-prebuilt-card-footer-button-holder-single{grid-template-columns:1fr!important}.wptb-prebuilt-blank{font-size:400%;color:var(--wptb-plugin-gray-500);margin:0!important}.wptb-prebuilt-footer-button{width:100%;height:100%;cursor:pointer;transition:color .2s ease-out;font-weight:700;padding:15px;color:var(--wptb-plugin-gray-400)}.wptb-prebuilt-footer-generate{background-color:var(--wptb-plugin-logo-color)}.wptb-prebuilt-footer-edit{background-color:var(--wptb-plugin-green-500)}.wptb-prebuilt-footer-button:first-of-type{border-radius:0 0 0 5px}.wptb-prebuilt-footer-button:last-of-type{border-radius:0 0 5px 0}.wptb-prebuilt-footer-button:only-of-type{border-radius:0 0 5px 5px}.wptb-prebuilt-footer-button:hover{color:var(--wptb-plugin-theme-color-light)}.wptb-preview-table-manage-cells table tr td div,.wptb-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wptb-no-pointer-events{pointer-events:none}.wptb-plugin-basic-disappear{-webkit-animation:wptb-basic-disappear .1s ease-out;animation:wptb-basic-disappear .1s ease-out}.wptb-prebuilt-ad{margin:50px;color:var(--wptb-plugin-gray-500)}.wptb-prebuilt-ad-link{font-size:120%;color:var(--wptb-plugin-logo-color)!important;font-weight:700}.wptb-prebuilt-table-wrapper{width:100%;overflow:hidden!important;display:flex;justify-content:center;align-items:center;padding:20px;animation:wptb-basic-disappear .2s ease-out alternate-reverse;pointer-events:none}.wptb-prebuilt-card-search-indicator-main{color:var(--wptb-plugin-gray-500)}.wptb-prebuilt-card-search-indicator{color:var(--wptb-plugin-logo-color)!important;font-weight:700}.wptb-prebuilt-card-icon{width:25px;height:25px;position:absolute;cursor:pointer;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-card-fav-icon{left:8px;top:8px}.wptb-prebuilt-card-delete-icon{background-color:var(--wptb-plugin-gray-200);padding:6px;border-radius:50%;width:35px;height:35px;right:-15px;top:-15px;display:flex;justify-content:center;align-items:center;border:2px solid var(--wptb-plugin-gray-400);transition:all .2s ease-out;z-index:120;fill:red}.wptb-prebuilt-card-delete-icon:hover{transform:scale(1.1)}.wptb-prebuilt-card-fav-icon svg{transition:fill .2s ease-out;fill:transparent;stroke-width:40;stroke:var(--wptb-plugin-theme-color-light)}.wptb-prebuilt-card-circle-icon-button:active,.wptb-prebuilt-card-fav-icon:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-prebuilt-card-fav-icon.is-fav svg{fill:var(--wptb-plugin-logo-color)!important;stroke-width:0!important}.wptb-prebuilt-card-fav-icon:hover svg{fill:var(--wptb-plugin-theme-color-light)}.wptb-prebuilt-delete-module-confirmation-overlay{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);color:var(--wptb-plugin-theme-color-light);z-index:100;border-radius:5px 5px 0 0}.wptb-prebuilt-delete-module-confirmation-overlay div{margin:5px}.wptb-prebuilt-delete-button-container{width:100%;display:flex;justify-content:space-evenly;align-items:center}.wptb-prebuilt-card-circle-icon-button{width:30px;height:30px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;color:var(--wptb-plugin-theme-color-light)}.wptb-prebuilt-card-circle-icon-button svg{width:100%;height:100%;fill:currentColor}.wptb-prebuilt-card-circle-icon-button[data-wptb-button-type=positive]{background-color:var(--wptb-plugin-green-500)}.wptb-prebuilt-card-circle-icon-button[data-wptb-button-type=negative]{background-color:red}.wptb-prebuilt-mark-indicator{position:absolute;pointer-events:none;width:calc(100% + 10px);height:calc(100% + 10px);top:-5px;left:-5px;opacity:.2}.wptb-prebuilt-mark-indicator,.wptb-repeating-linear-gradient{background:repeating-linear-gradient(45deg,white,white 5px,var(--wptb-plugin-logo-color) 5px,var(--wptb-plugin-logo-color) 10px);background-size:400% 400%;animation:linear-gradient-move 20s linear infinite reverse}.wptb-prebuilt-card .wptb-prebuilt-mark-indicator{display:none}.wptb-prebuilt-tab-control{position:absolute;top:20px;left:20px;border:1px solid var(--wptb-plugin-gray-400);display:flex;justify-content:center;align-items:center;border-radius:5px}.wptb-prebuilt-dev-tool div,.wptb-prebuilt-tab-control div{padding:5px}.wptb-prebuilt-tab-control-label{text-transform:capitalize;border-right:1px solid var(--wptb-plugin-gray-400);white-space:nowrap}.wptb-prebuilt-tab-control-buttons-wrapper{display:flex;justify-content:center;align-items:center;flex-direction:row;flex-wrap:nowrap}.wptb-prebuilt-tab-control-icon{width:35px;height:35px;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-tab-control-icon[data-wptb-prebuilt-tab-control-type=stop]{fill:red}.wptb-prebuilt-tab-control-icon[data-wptb-prebuilt-tab-control-type=restart]{fill:var(--wptb-plugin-green-500)}.wptb-prebuilt-tab-control-icon svg{width:100%;height:100%;cursor:pointer}.wptb-prebuilt-dev-tool .prebuilt-button:active,.wptb-prebuilt-tab-control-icon svg:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-prebuilt-dev-tool{position:absolute;top:20px;right:20px;border:1px solid var(--wptb-plugin-gray-400);display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center;border-radius:5px}.wptb-prebuilt-dev-tool .label{font-weight:700;border-bottom:1px solid var(--wptb-plugin-gray-400)}.wptb-prebuilt-dev-tool .prebuilt-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:10px;margin:5px;color:var(--wptb-plugin-theme-color-light);background-color:var(--wptb-plugin-logo-color);border-radius:5px;cursor:pointer}.wptb-prebuilt-display-calculate{width:700px}.wptb-preview-table-manage-cells table tr td div{pointer-events:none}.wptb-plugin-blocker-element{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}.wptb-highlighted .wptb-plugin-blocker-element{background:repeating-linear-gradient(45deg,white,white 5px,var(--wptb-plugin-logo-color) 5px,var(--wptb-plugin-logo-color) 10px);background-size:400% 400%;animation:linear-gradient-move 40s linear infinite reverse;opacity:.2}.wptb-plugin-blocker-element-empty::before{content:'Cell';display:block;font-weight:400;font-size:80%;text-align:center;color:#969fa6}.wptb-plugin-blocker-element-empty::after{content:'';display:block;border:1px dashed #969fa6;position:absolute;top:2px;right:2px;bottom:2px;left:2px}.wptb-plugin-header-toolbar{top:0;position:absolute;left:50%;padding:0 10px;border:1px solid var(--wptb-plugin-gray-300);z-index:1;background-color:var(--wptb-plugin-gray-100);transition:top .2s ease-out;display:flex;flex-direction:row;align-items:center}.wptb-plugin-header-toolbar div{font-size:110%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px;margin:0 5px}.wptb-plugin-header-toolbar .dashicons{color:var(--wptb-plugin-logo-color)!important;font-weight:700!important}.wptb-settings-version-control{max-width:800px;width:100%;display:grid;grid-template-columns:1fr 300px;grid-template-areas:'main changelog';grid-template-rows:500px;grid-gap:50px}.wptb-version-control-main{grid-area:main;padding:20px;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.wptb-version-control-main-row{width:100%;display:flex;justify-content:center;padding:10px 0;flex-direction:column}.wptb-version-control-warning-span{color:var(--wptb-plugin-red-600)!important;text-transform:uppercase;font-weight:700;font-size:120%}.wptb-version-control-warning-info{font-size:90%}.wptb-version-control-changelog{grid-area:changelog;background-color:var(--wptb-plugin-gray-200);border:1px solid var(--wptb-plugin-gray-300);font-family:Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;padding:10px;overflow-y:scroll;height:100%}.wptb-version-control-controls{width:100%;height:100%;margin:20px 0;display:grid;grid-template-columns:auto 1fr;grid-template-rows:repeat(3,auto);align-items:center;grid-gap:20px}.wptb-version-control-row-element{padding:10px 0}.wptb-version-control-row-label{text-transform:capitalize;font-weight:700}.wptb-version-control-row-label:after{content:':'}.wptb-version-indicator{height:100%;display:flex;align-items:center;margin-right:10px}.wptb-version-indicator-circle{width:15px;height:15px;border-radius:50%;margin-right:10px}.wptb-version-indicator-match{background-color:var(--wptb-plugin-green-500)}.wptb-version-indicator-low{background-color:var(--wptb-plugin-yellow-500)}.wptb-version-control-anchor{text-transform:capitalize}.wptb-version-control-row-slot{width:100%;height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row}.wptb-table-tags-menu-wrapper{position:fixed;width:100%;height:100%;top:0;left:0}.wptb-tag-control-cloud-wrapper{width:100%}.wptb-tag-control-create-wrapper{margin-top:20px!important;border-top:1px solid var(--wptb-plugin-gray-400);padding-top:10px}.wptb-tag-control-cloud-wrapper:nth-of-type(n+1){margin-top:10px}.wptb-tag-control-cloud-wrapper .wptb-settings-item-title{text-transform:capitalize;font-size:90%!important;font-weight:700}.wptb-tag-control-cloud{width:100%;min-height:90px;max-height:90px;overflow-y:auto;background-color:var(--wptb-plugin-gray-200);padding:3px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;position:relative;border:1px solid var(--wptb-plugin-gray-400);border-radius:5px}.wptb-tag-ribbon-wrapper{color:var(--wptb-plugin-theme-color-light);font-size:90%!important;padding:3px 5px 3px 10px;background-color:var(--wptb-plugin-logo-color);border-radius:999px!important;display:flex;align-items:center;justify-content:space-between;margin:5px;cursor:default;-webkit-animation:wptb-basic-appear .2s ease-out;animation:wptb-basic-appear .2s ease-out}.wptb-tag-ribbon-name{font-size:inherit!important}.wptb-tag-ribbon-wrapper:hover .wptb-tag-operation-button{opacity:1}.wptb-tag-operation-button{width:20px;height:20px;border-radius:100%;margin-left:10px;opacity:0;transition:all .3s ease-out;display:flex;justify-content:center;align-items:center;cursor:pointer}.wptb-tag-operation-add-button{background-color:var(--wptb-plugin-green-500)}.wptb-tag-operation-remove-button{background-color:var(--wptb-plugin-red-600)}.wptb-tag-control-cloud-empty,.wptb-tag-control-search-wrapper{width:100%;display:flex;justify-content:center;align-items:center}.wptb-tag-control-cloud-empty{position:absolute;top:0;left:0;height:100%;color:var(--wptb-plugin-gray-500);font-style:italic;font-size:90%!important}.wptb-tag-control-cloud-empty:after,.wptb-tag-control-cloud-empty:before{content:'==';margin:0 5px}.wptb-tag-control-search-wrapper{margin-top:5px}.wptb-tag-control-search{border:1px solid var(--wptb-plugin-gray-400)!important;text-align:center;font-size:90%!important;color:inherit;border-radius:999px!important;padding:0!important}.wptb-tag-control-search:active,.wptb-tag-control-search:focus{border:1px solid var(--wptb-plugin-gray-500)!important;inset:0!important;box-shadow:none!important}.wptb-tag-control-search-input{position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:90%!important}.wptb-tag-control-search-clear{position:absolute;top:0;right:10px;height:100%;display:flex;justify-content:center;align-items:center;color:var(--wptb-plugin-gray-500);cursor:pointer;padding:5px}.wptb-tag-control-search-indicator{font-weight:700;color:var(--wptb-plugin-green-500)!important;font-size:inherit!important}.wptb-tag-control-create-controls-wrapper{width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;grid-gap:10px;margin-top:10px}.wptb-tag-control-create-controls-wrapper input{width:100%!important}.wptb-tag-control-create-control-label{font-size:90%!important;text-transform:capitalize}.wptb-tag-control-create-button{background-color:var(--wptb-plugin-logo-color);color:var(--wptb-plugin-theme-color-light);display:flex;justify-self:end;justify-content:center;align-items:center;font-size:90%!important;text-transform:uppercase;padding:5px;border-radius:5px;grid-column:2;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer;transition:all .2s ease-out}.wptb-tag-control-create-button[data-disabled]{background-color:var(--wptb-plugin-gray-400);pointer-events:none}.wptb-tag-control-busy,.wptb-tag-control-status{grid-column:1;width:100%;height:100%;display:flex;align-items:center}.wptb-tag-control-status[data-status=positive]{color:var(--wptb-plugin-green-500)!important}.wptb-tag-control-status[data-status=negative]{color:var(--wptb-plugin-red-600)!important}.wptb-tag-control-busy{color:var(--wptb-plugin-logo-color)}.wptb-table-cell-select-wrapper{display:grid;grid-gap:5px;width:100%;height:150px;border:1px solid var(--wptb-plugin-gray-400);padding:10px;border-radius:3px;background-color:var(--wptb-plugin-gray-300)}.wptb-table-cell-select-cell{width:100%;height:100%;cursor:pointer;transition:all .2s ease-out;border-radius:3px;background-color:var(--wptb-plugin-gray-400)}.wptb-table-cell-select-cell:hover{background-color:var(--wptb-plugin-gray-500)}.wptb-table-cell-select-cell[data-cell-selected=true]{background-color:var(--wptb-plugin-logo-color)!important}.wptb-table-cell-indicator{position:fixed;opacity:.2;pointer-events:none}.wptb-different-border-control-wrapper .wptb-settings-middle-xs{padding-top:5px!important;border-bottom:0!important}.wptb-different-border-range-input .wptb-settings-item-header{padding-bottom:0!important}.wptb-color-picker-wrapper{width:100%}.wptb-color-picker-input-wrapper{width:100px;height:30px;border:1px solid var(--wptb-plugin-gray-400);border-radius:3px;cursor:pointer;background-color:var(--wptb-plugin-gray-200);display:grid;grid-template-columns:.7fr .3fr;justify-content:center;align-items:center}.wptb-color-picker-input-wrapper[disabled]{pointer-events:none}.wptb-color-picker-inner-indicator{height:100%;padding:3px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}.wptb-color-picker-clear-color-indicator{width:100%;height:100%;grid-column:1;grid-row:1;z-index:2;display:flex;justify-content:center;align-items:center}.wptb-color-picker-clear-color-indicator svg{fill:var(--wptb-plugin-red-600)}.wptb-color-picker-icon-standards svg{width:15px;height:auto}.wptb-color-picker-selected-color{border-radius:3px 0 0 3px;border:1px solid var(--wptb-plugin-gray-400);transition:background-color .2s ease-out;cursor:pointer;grid-column:1;grid-row:1;z-index:2}.wptb-color-picker-alpha-checkerboard{z-index:1;grid-column:1;grid-row:1;background-size:15px!important}.wptb-color-picker-logo{display:flex;justify-content:center;align-items:center;width:100%;height:100%;font-size:120%!important;color:var(--wptb-plugin-logo-color)}.wptb-color-picker-clear-color svg,.wptb-color-picker-logo svg{fill:currentColor}.wptb-color-picker-tool-wrapper{position:fixed;z-index:3}.wptb-color-picker-tool-inner-wrapper{position:relative}.wptb-color-picker-input{cursor:pointer}.wptb-color-picker-input:disabled{cursor:default}[data-wptb-text-disabled=true]{color:var(--wptb-plugin-gray-400)!important}.wptb-color-picker-clear-color-wrapper{position:absolute;display:flex;justify-content:center;align-items:center;left:0;width:100%;height:30px}.wptb-color-picker-clear-color,.wptb-local-dev-file-chooser{height:100%;display:flex;justify-content:center;align-items:center}.wptb-color-picker-clear-color{background-color:#fff;padding:0 10px;border:1px solid var(--wptb-plugin-gray-400);border-radius:0 0 3px 3px;font-size:90%!important;color:var(--wptb-plugin-red-600);cursor:pointer}.wptb-color-picker-input-wrapper[disabled] .wptb-color-picker-logo svg{fill:var(--wptb-plugin-gray-400)}.wptb-color-picker-input-wrapper[disabled] .wptb-color-picker-selected-color{background-color:var(--wptb-plugin-gray-300)!important}.wptb-local-dev-file-chooser{position:fixed;width:100%;left:0;top:0;background-color:rgba(0,0,0,.6)}.wptb-local-dev-modal{background-color:var(--wptb-plugin-theme-color-light);width:500px;height:300px;border-radius:3px;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) 1fr minmax(min-content,max-content);grid-template-areas:"header" "files" "footer"}.wptb-local-dev-modal>div{padding:5px;border-bottom:1px solid var(--wptb-plugin-gray-400);display:flex;align-items:center}.wptb-local-dev-modal>div:last-of-type{border-bottom:0}.wptb-local-dev-modal-header{font-weight:700;text-transform:uppercase;justify-content:space-between;padding:0!important}.wptb-local-dev-modal-title{padding:5px!important}.wptb-local-dev-modal-files{position:relative;overflow-y:auto;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;background-color:var(--wptb-plugin-gray-200)}.wptb-local-dev-modal-footer{justify-content:flex-end}.wptb-local-dev-modal-footer .wptb-settings-button{margin:0 5px!important;font-size:90%!important}.wptb-local-dev-image-card{width:100px;max-width:100px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:1fr minmax(min-content,max-content);grid-auto-flow:row;cursor:pointer;justify-content:center;align-items:center;margin:5px;border:2px solid var(--wptb-plugin-gray-300);padding:5px;border-radius:5px;transition:all .2s ease-out;background-color:var(--wptb-plugin-theme-color-light)}.wptb-local-dev-image-card[data-active=true]{border:2px solid var(--wptb-plugin-logo-color)!important}.wptb-local-dev-image-card:hover{border:2px solid var(--wptb-plugin-gray-400);transform:scale(1.05)}.wptb-local-dev-image-holder{width:100%;height:100%}.wptb-local-dev-image-holder img{max-width:100%;max-height:100%;display:block}.wptb-local-dev-image-name{word-break:break-all;display:flex;justify-content:center;align-items:center;font-style:italic;font-size:90%;border-top:1px solid var(--wptb-plugin-gray-300)}.wptb-local-dev-modal-close{padding:0 10px;color:var(--wptb-plugin-red-600);cursor:pointer;font-size:120%!important}.wptb-upsells-wrapper{width:100%;padding:15px;color:var(--wptb-plugin-theme-color-light);cursor:pointer;transition:all .2s ease-out;-webkit-animation:wptb-unfold-up .3s ease-out forwards;animation:wptb-unfold-up .3s ease-out forwards;-webkit-animation-delay:.5s;animation-delay:.5s;transform:rotateX(-90deg);transform-origin:top;box-sizing:border-box}.wptb-disclaimer-message p,.wptb-disclaimer-message span,.wptb-left-panel .wptb-upsells-wrapper{font-size:90%!important}.wptb-panel-left .wptb-upsells-anchor{font-size:125%}.wptb-upsells-message-holder{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;margin:0!important;border-radius:5px;padding:10px 5px;transition:all .3s ease-out;text-align:center;background-color:var(--wptb-plugin-theme-color-light)!important;border:1px solid var(--wptb-plugin-gray-400);color:var(--wptb-plugin-gray-600);font-weight:500}.wptb-generate-wrapper .wptb-upsells-message-holder{background-color:var(--wptb-plugin-gray-200)!important;padding:15px}.wptb-upsells-pro-label{background-color:var(--wptb-plugin-cta-button)!important;color:var(--wptb-plugin-black);border-radius:3px;padding:5px;font-weight:700;border:1px solid var(--wptb-plugin-gray-400)!important}.wptb-upsells-message-holder:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -1px rgba(0,0,0,.3)!important;transform:scale(1.05)}.wptb-upsells-anchor{text-decoration:none}.wptb-notification-manager{position:fixed;display:flex;flex-wrap:nowrap;flex-direction:column;height:-webkit-max-content;height:-moz-max-content;height:max-content;top:50%;right:calc(-1*var(--wptb-notification-manager-width));width:var(--wptb-notification-manager-width);transition:all .2s ease-out;z-index:99999999999}.wptb-notification-wrapper{width:100%;display:grid;grid-template-columns:40px 3px 1fr;justify-content:center;align-items:start;color:var(--wptb-plugin-gray-700);border-radius:3px 0 0 3px;border-right:0!important;margin:0 0 5px;transition:all .3s ease-out;cursor:pointer}.wptb-notification-icon{width:40px;height:40px;display:flex;justify-content:center;align-items:center;position:relative}.wptb-notification-filler,.wptb-notification-message{width:3px;height:40px;background-color:var(--wptb-plugin-gray-200);border-width:1px 0;border-style:solid}.wptb-notification-message{width:100%;height:100%;display:flex;justify-content:flex-start;align-items:center;padding:0 15px;text-transform:capitalize;border-width:1px 0 1px 5px}.wptb-notification-svg-wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.wptb-notification-svg-wrapper svg{width:25px;height:25px;fill:currentColor}.wptb-notification-manager-dev-tool-wrapper{position:absolute;top:50%;left:10px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(4,minmax(-webkit-min-content,-webkit-max-content));grid-template-rows:repeat(4,minmax(min-content,max-content));grid-template-areas:"header" "selection" "message" "submit";border:1px solid var(--wptb-plugin-gray-400);border-radius:3px;justify-content:center;align-items:center;background-color:var(--wptb-plugin-gray-100)}.wptb-notification-manager-dev-tool-wrapper>div{padding:10px;border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-nm-devtool-header{grid-area:header;font-weight:700}.wptb-nm-devtool-selection{grid-area:selection;display:flex;justify-content:space-evenly;align-items:center;flex-wrap:nowrap;flex-direction:row}.wptb-nm-devtool-input{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,1fr)}.wptb-nm-devtool-submit{grid-area:submit;justify-self:center}.wptb-nm-devtool-message{grid-area:message;justify-self:center}.wptb-notification-queue-length{position:absolute;width:20px;height:20px;left:-10px;top:-10px;display:flex;justify-content:center;align-items:center;border-radius:100%;color:var(--wptb-plugin-theme-color-light);font-weight:700;-webkit-animation:wptb-more-pop .2s ease-out;animation:wptb-more-pop .2s ease-out}.wptb-builder-panel[data-manage-cells-active=true],[data-manage-cells-active=true] .wptb-builder-content{display:flex;flex-flow:column;height:100%;overflow:hidden!important}[data-manage-cells-active=true] .wptb-management_table_container{width:100%;height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) 1fr minmax(min-content,max-content);overflow:hidden!important;margin:unset}[data-manage-cells-active=true] .wptb-preview-table-manage-cells{overflow:auto!important}[data-manage-cells-active=true] .wptb-management_table_container #wptb-bar-top{text-align:center;z-index:10000}.wptb-what-is-new-container{position:fixed;z-index:100000000;background-color:rgba(0,0,0,.3);top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.wptb-what-is-new-window{background-color:var(--wptb-plugin-theme-color-light);width:700px;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(-webkit-min-content,-webkit-max-content));grid-template-rows:repeat(2,minmax(min-content,max-content));grid-template-areas:'header' 'content';justify-content:center;align-items:center;border-radius:3px;font-size:110%!important;color:var(--wptb-plugin-gray-700)!important;border:2px solid var(--wptb-plugin-gray-300)}.wptb-what-is-new-header{grid-area:header;border-bottom:2px solid var(--wptb-plugin-gray-300);display:flex;height:45px}.wptb-what-is-new-header-version{display:flex;width:100%;height:100%;justify-content:center;align-items:center;font-weight:700!important;color:var(--wptb-plugin-logo-color)}.wptb-what-is-new-header-text-icon{width:15px;height:auto;fill:var(--wptb-plugin-yellow-500);margin:0 10px}.wptb-what-is-new-header-close{width:45px;height:45px;display:flex;justify-content:center;align-items:center;border-left:2px solid var(--wptb-plugin-gray-300);cursor:pointer;transition:all .2s ease-out}.wptb-what-is-new-header-close:hover{background-color:var(--wptb-plugin-gray-300)}.wptb-what-is-new-header-close:hover svg{fill:var(--wptb-plugin-gray-700)}.wptb-what-is-new-header-close svg{width:15px;height:auto;fill:var(--wptb-plugin-gray-500);transition:all .2s ease-out}.wptb-what-is-new-content{grid-area:content;display:grid;grid-template-columns:1fr;grid-template-rows:200px minmax(-webkit-min-content,-webkit-max-content) 90px;grid-template-rows:200px minmax(min-content,max-content) 90px;grid-template-areas:'imageContainer' 'noteIndex' 'textContainer';justify-content:center;align-items:center}.wptb-what-is-new-note-image-carousel{grid-area:imageContainer;display:grid;grid-template-rows:1fr;grid-template-columns:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-columns:minmax(min-content,max-content) 1fr minmax(min-content,max-content)}.wptb-what-is-new-note-index{grid-area:noteIndex;display:flex;justify-content:center;align-items:center;color:var(--wptb-plugin-gray-500);font-variant-numeric:tabular-nums}.wptb-what-is-new-note-text-container{grid-area:textContainer;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;justify-content:center;align-items:center}.wptb-what-is-new-carousel-nav-button,.wptb-what-is-new-note-text{display:flex;justify-content:center;align-items:center;margin:0 20px}.wptb-what-is-new-note-text{grid-column:1;grid-row:1;flex-direction:column;text-align:center}.wptb-what-is-new-note-text .wptb-upsells-pro-label{margin:10px;text-decoration:none}.wptb-what-is-new-carousel-nav-button{height:100%;color:var(--wptb-plugin-gray-700);cursor:pointer;transition:all .2s ease-out}.wptb-what-is-new-carousel-nav-button:active{-webkit-animation:wptb-pop .2s ease-out;animation:wptb-pop .2s ease-out}.wptb-what-is-new-carousel-nav-button svg{width:25px;height:auto;fill:currentColor}.wptb-what-is-new-carousel-nav-button[disabled=disabled]{color:var(--wptb-plugin-gray-400);cursor:default;pointer-events:none}.wptb-what-is-new-images-wrapper{display:grid;grid-template-columns:1fr;grid-template-rows:200px}.wptb-what-is-new-image-background{position:relative;margin:10px;padding:10px;grid-column:1;grid-row:1;background-color:var(--wptb-plugin-gray-200);display:flex;justify-content:center;align-items:center;border:2px solid var(--wptb-plugin-gray-300)}.wptb-what-is-new-pro-indicator{position:absolute;left:-20px;top:10px;color:var(--wptb-plugin-theme-color-light);z-index:1}.wptb-what-is-new-pro-indicator-text{padding:5px 20px;border-radius:3px 3px 3px 0;background-color:var(--wptb-plugin-logo-color)}.wptb-what-is-new-pro-indicator-triangle-end{width:1px;height:20px;border-left:20px solid transparent;border-top:15px solid var(--wptb-plugin-gray-500)}.wptb-what-is-new-image-background img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.wptb-css-code-input{position:relative;width:100%!important;max-width:100%!important;border:1px solid #ddd!important;border-radius:3px}.wptb-css-code-input .wptb-menu-empty-cover{background-color:rgba(0,0,0,.1)!important;z-index:10000000}.CodeMirror{max-height:200px!important;height:200px!important}.CodeMirror *{font-size:12px!important}.wptb-plugin-inner-shadow{box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.09) 0 2px 4px 0 inset}.wptb-panel-plain-message{text-align:center;padding:20px 10px;font-size:80%!important;color:var(--wptb-plugin-gray-600)!important}.wptb-bg-selection-item,.wptb-panel-plain-message,.wptb-selector-icon-wrapper{display:flex;justify-content:center;align-items:center}.wptb-bg-selection-item{position:absolute;background-color:var(--wptb-plugin-logo-color);width:30px;transition:all .2s ease-out;cursor:pointer;z-index:10}.wptb-bg-color-selectors[data-visible=false]{display:none!important}.wptb-selector-icon-wrapper{width:100%;height:100%}.wptb-selector-icon-wrapper svg{width:20px;height:auto;fill:var(--wptb-plugin-theme-color-light)}.wptb-col-selection{height:30px}.wptb-bg-column-rail,.wptb-bg-row-rail{position:absolute;display:grid;justify-content:center;align-items:center}.wptb-bg-column-rail{grid-auto-flow:column;height:30px}.wptb-bg-row-rail{grid-template-columns:1fr;grid-auto-flow:row;width:30px;top:0}.wptb-bg-rail-mark{border:2px dashed var(--wptb-plugin-logo-color);height:100%;opacity:0;transition:opacity .2s ease-out;cursor:pointer}.wptb-bg-rail-mark:hover{opacity:.5}.wptb-general-style-settings{width:100%;height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr;grid-template-rows:minmax(min-content,max-content) 1fr;grid-gap:20px}.wptb-general-style-settings .wptb-menu-empty-cover{color:var(--wptb-plugin-logo-color)!important}.wptb-general-style-settings .wptb-css-code-input{height:100%!important}.wptb-general-style-settings .CodeMirror{height:100%!important;max-height:100%!important}.wptb-panel-message{color:var(--wptb-plugin-gray-600)}.wptb-panel-message-icon{margin-right:10px}.wptb-panel-message-icon svg{width:20px;height:20px;fill:var(--wptb-plugin-yellow-500)}.wptb-lazy-load-wrapper{max-width:800px;width:100%;height:100%;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;gap:10px;grid-template-areas:'left right'}.wptb-lazy-load-left-column{grid-area:left;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) 1fr minmax(min-content,max-content);grid-template-areas:'basic' 'preview' 'disclaimer';justify-content:center;align-items:center;gap:10px;overflow:auto}.wptb-lazy-load-basic-options{grid-area:basic}.wptb-lazy-load-preview-container{grid-area:preview;width:100%;height:100%;display:grid;grid-template-columns:minmax(150px,-webkit-max-content);grid-template-columns:minmax(150px,max-content);grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) minmax(150px,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) minmax(150px,max-content) minmax(min-content,max-content);justify-content:center;justify-items:center;align-content:center;align-items:center;grid-template-areas:'header' 'preview' 'footer';gap:5px}.wptb-lazy-load-preview-header{grid-area:header;text-transform:uppercase;font-weight:700}.wptb-lazy-load-preview{grid-area:preview}.wptb-lazy-load-preview img{width:150px;height:150px}.wptb-lazy-load-preview-button-container{grid-area:footer}.wptb-lazy-load-preview-button-container>div{margin:10px}.wptb-lazy-load-pro-options{padding:0 10px;overflow:auto;color:var(--wptb-plugin-gray-500);position:relative;grid-area:right}.wptb-controls-for-settings>div{border:1px solid var(--wptb-plugin-gray-300);border-bottom:0}.wptb-lazy-load-pro-options>div:last-of-type{border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-lazy-load-pro-disabled-overlay{width:100%;height:100%;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,#3299d132 15px,#3299d132 30px);z-index:10;display:flex;justify-content:center;align-items:center}.wptb-controls-for-settings *{font-size:inherit!important;color:var(--wptb-plugin-theme-text-color-main);box-sizing:border-box}.wptb-control-tip-wrapper{position:relative}.wptb-control-tip-wrapper[disabled] .wptb-tip-popup{color:var(--wptb-plugin-gray-400)}.wptb-control-tip-wrapper[disabled] .wptb-tip-popup:hover{background-color:inherit!important}.wptb-tip-popup{position:absolute;border:2px solid var(--wptb-plugin-gray-300);border-radius:100%;width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wptb-plugin-theme-color-light);transition:background-color .2s ease-out}.wptb-tip-popup,.wptb-tip-popup[data-tip-positon=topRight]{top:5px;right:5px}.wptb-tip-popup:hover{background-color:var(--wptb-plugin-gray-200)}.wptb-lazy-load-img[data-wptb-lazy-load-status=false]{opacity:0}.wptb-lazy-load-img[data-wptb-lazy-load-status=true]{opacity:1}.wptb-lazy-load-buffer-element-container{position:relative}.wptb-lazy-load-buffer-element{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:5px}.wptb-lazy-load-buffer-element,.wptb-lazy-load-buffer-icon-wrapper{display:flex;justify-content:center;align-items:center}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=heartBeat] svg{-webkit-animation:wptb-beat 1.3s ease-out forwards infinite;animation:wptb-beat 1.3s ease-out forwards infinite}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=rotate] svg{-webkit-animation:wptb-rotate-simple 1s ease-out forwards infinite;animation:wptb-rotate-simple 1s ease-out forwards infinite}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=jump] svg{-webkit-animation:wptb-jump .5s ease-out alternate infinite;animation:wptb-jump .5s ease-out alternate infinite}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=flip] svg{-webkit-animation:wptb-flip 1s ease-out forwards infinite;animation:wptb-flip 1s ease-out forwards infinite}.wptb-panel-direction-control-indicators-container{display:grid;grid-template-columns:repeat(3,minmax(-webkit-min-content,-webkit-max-content));grid-template-columns:repeat(3,minmax(min-content,max-content));grid-template-rows:repeat(3,minmax(-webkit-min-content,-webkit-max-content));grid-template-rows:repeat(3,minmax(min-content,max-content));grid-template-areas:'up up up' 'left static right' 'down down down';grid-gap:3px;justify-content:center;align-items:center}.wptb-panel-direction-cadet{display:flex;justify-content:center;align-items:center;cursor:pointer}.wptb-panel-direction-cadet svg{width:25px;height:25px;fill:var(--wptb-plugin-gray-400);transition:fill .2s ease-out}.wptb-panel-direction-cadet:hover svg{fill:var(--wptb-plugin-gray-500)}.wptb-panel-direction-cadet[data-wptb-active-direction=true] svg{fill:var(--wptb-plugin-logo-color)}.wptb-panel-direction-cadet[data-wptb-panel-direction=up]{grid-area:up}.wptb-panel-direction-cadet[data-wptb-panel-direction=left]{grid-area:left}.wptb-panel-direction-cadet[data-wptb-panel-direction=right]{grid-area:right}.wptb-panel-direction-cadet[data-wptb-panel-direction=down]{grid-area:down}.wptb-panel-direction-static{grid-area:static;width:20px;height:20px;background-color:var(--wptb-plugin-gray-400);border:1px solid var(--wptb-plugin-gray-500);border-radius:3px}[data-wptb-disabled=true] .wptb-panel-direction-cadet svg{fill:var(--wptb-plugin-gray-300)!important}[data-wptb-disabled=true] .wptb-panel-direction-static{background-color:var(--wptb-plugin-gray-300);border:1px solid var(--wptb-plugin-gray-400)}[data-wptb-disabled=true] .wptb-panel-direction-cadet{cursor:pointer;pointer-events:none}.wptb-disclaimer-container{width:100%;display:flex;justify-content:center;padding:10px 0;flex-direction:column}.wptb-disclaimer-title{color:var(--wptb-plugin-red-600)!important;text-transform:uppercase;font-weight:700;font-size:120%}.wptb-code{font-family:monospace!important;padding:0 3px;border-radius:3px;background-color:#fde68a;border:1px solid #fcd34d;font-size:inherit!important}.wptb-element[data-wptb-dummy=true]{pointer-events:none}.wptb-element[data-wptb-dummy=true] svg{fill:currentColor!important}.wptb-element[data-wptb-dummy=true],.wptb-element[data-wptb-dummy=true] .wptb-element-draggable-icon{color:var(--wptb-plugin-gray-400)!important}.wptb-disabled-overlay-container{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;justify-content:center;align-items:center;grid-template-areas:'content'}.wptb-disabled-overlay{grid-area:content;width:100%;height:100%;z-index:10;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,#3299d13c 15px,#3299d13c 30px);cursor:not-allowed}.wptb-disabled-overlay-slot-wrapper{grid-area:content;z-index:9}.wptb-upsells-pro-overlay{position:absolute;display:flex;justify-content:center;align-items:center;width:100%;height:100%;top:0;left:0;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,#3299d13c 15px,#3299d13c 30px)}.wptb-data-listing-row-search-clause-wrap{color:var(--wptb-plugin-gray-500)}.wptb-data-listing-row-search-clause{color:var(--wptb-plugin-logo-color)!important;font-weight:700!important}.wptb-search-input-wrapper{position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wptb-search-input-element{width:100%!important;border:1px solid var(--wptb-plugin-gray-400)!important;text-align:center;color:inherit;border-radius:999px!important;padding:0!important;font-size:inherit!important}.wptb-search-input-element:active,.wptb-search-input-element:focus{border:1px solid var(--wptb-plugin-gray-500)!important;inset:0!important;box-shadow:none!important}.wptb-search-input-clear{position:absolute;top:0;right:10px;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:0 5px;color:var(--wptb-plugin-red-500);font-weight:700}.wptb-search-input-clear[data-disabled=true]{color:var(--wptb-plugin-gray-500)!important}.CodeMirror{font-family:monospace;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:0}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:0!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:0 0}
|
1 |
+
@-webkit-keyframes wptb-beat{0%,30%,to{transform:scale(1)}15%{transform:scale(1.5)}}@-webkit-keyframes wptb-settings-rotate{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@keyframes wptb-settings-rotate{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@-webkit-keyframes wptb-basic-appear{0%{opacity:0}to{opacity:1}}@keyframes wptb-basic-appear{0%{opacity:0}to{opacity:1}}@-webkit-keyframes wptb-text-dots{0%{content:''}33%{content:'.'}66%{content:'..'}to{content:'...'}}@keyframes wptb-text-dots{0%{content:''}33%{content:'.'}66%{content:'..'}to{content:'...'}}@-webkit-keyframes wptb-pop{0%{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes wptb-pop{0%{transform:scale(1)}50%{transform:scale(1.05)}}@-webkit-keyframes wptb-more-pop{0%{transform:scale(1)}50%{transform:scale(1.5)}}@keyframes wptb-more-pop{0%{transform:scale(1)}50%{transform:scale(1.5)}}@-webkit-keyframes wptb-basic-disappear{0%{opacity:1}to{opacity:0}}@keyframes wptb-basic-disappear{0%{opacity:1}to{opacity:0}}@-webkit-keyframes wptb-push{0%,to{transform:scale(1)}50%{transform:scale(.9)}}@keyframes wptb-push{0%,to{transform:scale(1)}50%{transform:scale(.9)}}@-webkit-keyframes linear-gradient-move{0%{background-position:0 50%}to{background-position:100% 50%}}@keyframes linear-gradient-move{0%{background-position:0 50%}to{background-position:100% 50%}}@-webkit-keyframes wptb-unfold-up{0%{transform:perspective(100px) rotateX(-90deg)}to{transform:perspective(100px) rotateX(0deg)}}@keyframes wptb-unfold-up{0%{transform:perspective(100px) rotateX(-90deg)}to{transform:perspective(100px) rotateX(0deg)}}@-webkit-keyframes wptb-flip{0%{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}@keyframes wptb-flip{0%{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}@-webkit-keyframes wptb-jump{0%{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes wptb-jump{0%{transform:translateY(25%)}to{transform:translateY(-25%)}}@-webkit-keyframes wptb-rotate-simple{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@keyframes wptb-rotate-simple{0%{transform:rotateZ(0deg)}to{transform:rotateZ(360deg)}}@keyframes wptb-beat{0%,30%,to{transform:scale(1)}15%{transform:scale(1.5)}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}:root{--wptb-plugin-sidebar-size-full:300px;--wptb-plugin-logo-color:#3299D1;--wptb-plugin-gray-100:#F7FAFC;--wptb-plugin-gray-200:#EDF2F7;--wptb-plugin-gray-300:#E2E8F0;--wptb-plugin-gray-400:#CBD5E0;--wptb-plugin-gray-500:#A0AEC0;--wptb-plugin-gray-600:#718096;--wptb-plugin-gray-700:#4A5568;--wptb-plugin-green-500:#48BB78;--wptb-plugin-yellow-500:#ECC94B;--wptb-plugin-red-300:#FCA5A5;--wptb-plugin-red-500:#F56565;--wptb-plugin-red-600:#E53E3E;--wptb-plugin-red-800:#991B1B;--wptb-plugin-blue-300:#90CDF4;--wptb-plugin-white:#FFF;--wptb-plugin-black:#000;--wptb-plugin-gold:#D4AF37;--wptb-plugin-cta-button:#F7C948;--wptb-plugin-theme-text-color-main:var(--wptb-plugin-gray-700);--wptb-plugin-theme-color-light:var(--wptb-plugin-white);--wptb-plugin-theme-sidebar-bg:var(--wptb-plugin-gray-300);--wptb-plugin-theme-side-bar-font-size-base:16px;--wptb-plugin-theme-header-font-size-base:16px;--wptb-plugin-theme-side-bar-sections-font-base:80%;--wptb-plugin-left-panel-constant:40px;--wptb-prebuilt-card-border-size:2px;--wptb-prebuilt-card-control-size:30px;--wptb-busy-duration:0.9s;--wptb-notification-manager-width:300px}html{overflow-y:hidden}body>img{position:absolute;z-index:1000001}.wptb-admin-container,.wptb-container{position:fixed;left:0;top:0;right:0;bottom:0;overflow-y:auto}.wptb-admin-container{background:#fff;color:var(--wptb-plugin-theme-text-color-main);z-index:100000;height:100%;min-width:0;margin:0!important}.wptb-container{overflow-x:hidden}.wptb-container *{box-sizing:border-box}.wptb-builder-header{position:sticky!important;top:0;z-index:10}.wptb-header{width:100%;background-color:var(--wptb-plugin-theme-color-light);border-bottom:1px solid var(--wptb-plugin-theme-sidebar-bg);text-align:center;display:grid;grid-auto-flow:row;grid-template-columns:1fr 1fr;grid-template-areas:"table-name buttons close";align-items:center;justify-content:center;font-size:var(--wptb-plugin-theme-header-font-size-base);position:relative;z-index:10}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-header{grid-template-areas:"close buttons table-name"!important;grid-template-columns:auto 1fr 1fr!important}.wptb-header-buttons-container{display:flex;flex-direction:row;align-items:center;justify-content:center;grid-area:buttons;height:100%}.wptb-header-close{font-size:30px;width:30px;height:30px;text-decoration:none;color:var(--wptb-plugin-gray-500)}.wptb-logo{padding-left:30px;float:left;margin-top:17px}.wptb-right{width:100%;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:100%}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-right{flex-direction:row-reverse!important}.wptb-right .wptb-settings-section-item{margin:0!important}.wptb-plugin-width-full{width:100%!important}.wptb-plugin-height-full{height:100%}#wptb-messaging-area{align-self:center;position:absolute;left:0;right:0;bottom:100px;pointer-events:none}#wptb-messaging-area .wptb-message{border-radius:4px;max-width:410px;padding:20px;margin:auto}#wptb-messaging-area .wptb-success{color:green;background-color:#90ee90;font-size:15px}#wptb-messaging-area .wptb-error{color:red;background-color:#ffd5d5;font-size:15px}.wptb-panel-sub-container-buttons{display:flex;justify-content:center;align-items:center;height:100%;border-left:1px solid var(--wptb-plugin-theme-sidebar-bg);border-right:1px solid var(--wptb-plugin-theme-sidebar-bg)}.wptb-header .wptb-settings-section-item{padding:15px!important}.wptb-undo-redo-container{padding:0 20px}.wptb-redo,.wptb-undo{display:inline-block;cursor:pointer}.wptb-undo{margin-right:7px}.wptb-undoredo-disabled{cursor:default;opacity:.4}.wptb-embed-btn,.wptb-preview-btn,.wptb-save-btn{text-decoration:none}.wptb-embed,.wptb-embed-btn,.wptb-preview,.wptb-preview-btn,.wptb-save,.wptb-save-btn{display:flex;justify-content:center;align-items:center;height:100%}.wptb-save{position:relative}#wptb_builder[data-wptb-saving] .wptb-save-btn{opacity:0!important}.wptb-busy{position:absolute;width:100%;height:100%;left:0;right:0;display:flex;justify-content:space-evenly;align-items:center;opacity:0;pointer-events:none;transition:all .2s ease-out}.wptb-busy .wptb-busy-circle{width:10px;height:10px;border-radius:100%;background-color:var(--wptb-plugin-gray-700);-webkit-animation:wptb-beat var(--wptb-busy-duration) ease-out forwards infinite;animation:wptb-beat var(--wptb-busy-duration) ease-out forwards infinite}.wptb-busy-circle:nth-of-type(2){-webkit-animation-delay:calc(var(--wptb-busy-duration)/3);animation-delay:calc(var(--wptb-busy-duration)/3)}.wptb-busy-circle:nth-of-type(3){-webkit-animation-delay:calc(var(--wptb-busy-duration)/1.5);animation-delay:calc(var(--wptb-busy-duration)/1.5)}#wptb_builder[data-wptb-saving] .wptb-busy{opacity:1;pointer-events:all;cursor:not-allowed}.wptb-button-grey{background-color:var(--wptb-plugin-white);text-transform:uppercase;text-decoration:none;color:inherit}.wptb-button-grey:hover{color:inherit}.wptb-button-grey.wptb-button-disable,.wptb-save-btn.wptb-save-disabled{cursor:not-allowed;color:#cbd5e0!important}.wptb-save-btn{color:inherit;opacity:1;transition:all .2s ease-out}.wptb-close a,.wptb-save-btn.wptb-save-disabled:hover{text-decoration:none}.wptb-close{background-color:var(--wptb-plugin-white);border-left:1px solid var(--wptb-plugin-gray-300)}.wptb-close:hover{background:var(--wptb-plugin-gray-300)}.wptb-popup-dark-area{position:fixed;width:100%;height:100%;visibility:hidden;top:0;left:0;z-index:1000;background-color:#708090;opacity:0;transition:all .3s}.wptb-popup-window-modal.wptb-popup-show~.wptb-popup-dark-area{visibility:visible;opacity:.6}.wptb-popup-window-modal{position:fixed;top:50%;left:50%;width:50%;max-width:630px;min-width:300px;height:auto;z-index:2000;visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateX(-50%) translateY(-50%)}.wptb-popup-window-modal.wptb-popup-show{visibility:visible}.wptb-popup-box{transform:scale(.7);opacity:0;transition:all .3s;border-radius:0;box-shadow:0 2px 6px rgba(0,0,0,.2);padding:30px;background-color:#fff}.wptb-popup-window-modal.wptb-popup-show .wptb-popup-box{transform:scale(1);opacity:1}.wptb-popup-window-close-icon{height:20px;width:20px;position:absolute;top:10px;right:10px;cursor:pointer;opacity:.6;text-align:center;font-size:27px!important;line-height:14px!important;display:none;z-index:1}.wptb-popup-content p{font-size:15px;text-align:center}#wptb-embed-shortcode{width:100%;text-align:center;font-size:24px;display:block;border:1px solid #d6d6d6;padding:10px;box-shadow:none;margin:20px auto 0}.wptb-edit-bar ul{display:flex;display:-webkit-flex;list-style:none;margin:0;padding:0}.wptb-edit-bar{border-radius:2px;display:none;padding:.3em .4em 0;position:relative;width:auto;z-index:10;background:0 0;max-width:870px;margin:auto;clear:both}.wptb-edit-bar.visible{display:block}.wptb-edit-bar ul li{height:auto;margin:0;padding:0}.wptb-table_change_button{cursor:pointer;box-sizing:border-box;height:41px;background:#fafbfc;font-size:13px;color:#37454c;border-radius:3px;border:1px solid #a4a4a4;padding-left:12px;padding-right:12px;position:relative;display:inline-block;text-transform:uppercase;letter-spacing:.02em;font-weight:bolder;text-align:center;margin-top:0;margin-right:1em;line-height:2.4em;margin-bottom:8px}.wptb-management.wptb-bar.wptb-edit-bar.visible button.visible:hover{color:#4fbe31;transition:all .1s ease-out}#wptb-delete-column,#wptb-delete-row{background-color:#eb4c63}#wptb-left-scroll-panel-curtain .wptb-table-edit-mode-close{margin:auto;display:block}.wptb-table-edit-mode-close{background:#329d3f;color:#fff}.wptb-edit-bar svg{cursor:pointer}.wptb-edit-bar svg *{fill:transparent!important;stroke:#fff!important}.wptb-left-panel{position:fixed;height:100%;box-sizing:border-box;background-color:var(--wptb-plugin-theme-sidebar-bg);transition:all .2s ease-out,right .2s ease-out;box-shadow:0 0 5px 3px rgba(0,0,0,.2);z-index:100001;font-size:var(--wptb-plugin-theme-side-bar-font-size-base)}.wptb-left-panel[data-wptb-panel-location=left]{left:0}.wptb-left-panel[data-wptb-panel-location=right]{right:0}.collapsed .wptb-left-panel[data-wptb-panel-location=left]{transform:translateX(calc(-100% + var(--wptb-plugin-left-panel-constant)))}.collapsed .wptb-left-panel[data-wptb-panel-location=right]{transform:translateX(calc(100% - var(--wptb-plugin-left-panel-constant)))}.collapsed .wptb-left-panel .wptb-left-panel-sidebar-content,.collapsed .wptb-left-panel .wptb-panel-tabs{opacity:0}.wptb-left-scroll-panel{height:100%;overflow-y:auto;overflow-x:hidden}#wptb-left-scroll-panel-cell-settings,#wptb-left-scroll-panel-curtain{position:absolute;top:0;right:0;left:0;bottom:0;background-color:var(--wptb-plugin-theme-sidebar-bg);padding:20px;display:none}#wptb-left-scroll-panel-cell-settings{padding:0}#wptb-left-scroll-panel-cell-settings.visible,#wptb-left-scroll-panel-curtain.visible{display:block}.wptb-panel-left{height:100%;width:var(--wptb-plugin-sidebar-size-full);display:grid;grid-template-rows:auto auto 1fr auto;grid-template-columns:1fr;grid-auto-flow:row;transition:width .2s ease-out;grid-template-areas:"brand" "sidebar-tabs" "sidebar-content" "sidebar-footer"}.wptb-left-panel-sidebar-content{grid-area:sidebar-content;overflow:auto;transition:all .2s ease-out}.wptb-panel-drawer-toggle{background-color:var(--wptb-plugin-theme-sidebar-bg);height:50px;width:25px;position:absolute;top:calc(50% - 25px);left:calc(100%);display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:0 5px 5px 0;box-shadow:3px 1px 5px rgba(0,0,0,.2)}.wptb-panel-drawer-icon::after{content:"\f341"}.collapsed .wptb-panel-drawer-icon::after{content:"\f345"}.wptb-panel-brand{grid-area:brand;background-color:var(--wptb-plugin-logo-color);color:var(--wptb-plugin-white);padding:25px 0;font-size:170%;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"brand-position";text-align:center;height:61px}.wptb-brand-logo,.wptb-brand-name{grid-area:brand-position}.wptb-brand-logo{display:none}.wptb-panel-tabs{grid-area:sidebar-tabs;text-align:center;justify-content:stretch;transition:all .2s ease-out}.wptb-panel-tabs div{width:100%;margin:0!important;font-size:90%;padding:10px!important}.wptb-left-panel-extend{position:absolute;top:50%;left:100%;margin-top:-55px;overflow:hidden;width:18px;border-top-right-radius:8px;border-bottom-right-radius:8px;height:40px;background-color:#f0f3f3;box-shadow:1px 0 5px 0 rgba(25,31,40,.2);display:flex;justify-content:center;align-items:center;font-size:12px;color:#353638;z-index:-1;border-right:1px solid #ccc;border-bottom:1px solid #ccc;border-top:1px solid #ccc}.wptb-left-panel-extend svg{display:inline-block;width:1em;height:1em;line-height:1em;vertical-align:middle;stroke-width:0;stroke:currentColor;fill:currentColor}.wptb-container.collapsed .wptb-left-panel .wptb-left-panel-extend svg{transform:rotate(180deg)}.wptb-settings-section p{font-size:16px;margin:0 0 10px}.wptb-input-px{right:35%;top:0;position:absolute;margin-top:7px}.wptb-settings-dropdown{font-size:16px;padding:16px 20px;position:relative;background-color:#fff;color:#186cba;border-top:.5px solid #ccc;border-bottom:.5px solid #ccc}.wptb-panel-table-empty-message{padding:0 20px;text-align:center;font-size:80%;font-style:italic}.wptb-cell-management,.wptb-settings-items{transition:1s 0s ease}.wptb-cell-management{display:none}#wptb-inner-border-settings.visible,.wptb-cell-management.visible,.wptb-settings-items.visible{display:block!important;opacity:1}.wptb-settings-item-title{font-size:14px!important;margin:0!important}.wptb-settings-item-header,.wptb-settings-item-header-include-right{font-size:14px;line-height:14px;padding:14px 0 14px 15px;position:relative;background:var(--wptb-plugin-gray-100)}.wptb-settings-item-header-include-right{padding:14px 10px}.wptb-settings-row,.wptb-settings-row label{display:flex;flex-direction:row;align-items:center}.wptb-settings-row{box-sizing:border-box!important;flex:0 1 auto;flex-wrap:wrap;padding-right:0!important}.wptb-settings-row label{justify-content:space-between}.wptb-settings-middle-xs{align-items:center;background:var(--wptb-plugin-gray-100);padding:15px!important;border-bottom:1px solid #e5dfdf}.wptb-settings-middle-xs *{font-size:14px!important}.wptb-settings-col-xs-12{flex-basis:100%;max-width:100%}.wptb-settings-col-xs-8{flex-basis:66.66666667%;max-width:66.66666667%}.wptb-settings-col-xs-4{flex-basis:33.33333333%;max-width:33.33333333%;position:relative}.wptb-number-input{max-width:75px;width:100%;margin-left:10px;margin-top:3px}input[type=number]{height:28px!important;line-height:1;padding:3px 5px!important}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-focus-outer{border:0;outline:0}input[type=range]:focus{outline:0}input[type=range]{-webkit-appearance:none;-webkit-tap-highlight-color:transparent;width:100%;height:8px;margin:0;border:0;padding:1px 2px;border-radius:14px;background:#ccc;outline:0}input[type=range]::-moz-range-track{border:inherit;background:#ccc}input[type=range]::-ms-track{border:inherit;color:transparent;background:#ccc}input[type=range]::-ms-fill-lower,input[type=range]::-ms-fill-upper{background:#ccc}input[type=range]::-ms-tooltip{display:none}input[type=range]::-webkit-slider-thumb:before{content:"";position:absolute;left:-3000px;right:100%;top:50%;height:6px;padding:0;background:#1d9b2a;transform:translate(0,-50%)}input[type=range]::-moz-range-progress{background-color:#3b7ec0;height:6px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border:1px solid #3b7ec0;border-radius:50%;background-image:linear-gradient(to bottom,#fff 0,#fff 100%)}input[type=range]::-moz-range-thumb{width:18px;height:18px;border:1px solid #3b7ec0;border-radius:50%;background-image:linear-gradient(to bottom,#fff 0,#fff 100%)}input[type=range]::-ms-thumb{width:18px;height:18px;border-radius:50%;border:1px solid #3b7ec0;background-image:linear-gradient(to bottom,#fff 0,#fff 100%)}.wptb-toggle{display:inline-block;width:95%}.wptb-toggle input{display:none}.wptb-toggle input:checked+i::after{transform:translateX(20px)}.wptb-toggle input:checked+i{background:#3b7ec0}.wptb-toggle i{float:right;padding:2px;width:40px;height:20px;border-radius:13px;vertical-align:middle;transition:.25s .09s;position:relative;background:#d8d9db;box-sizing:initial}.wptb-toggle i::after{content:" ";display:block;width:20px;height:20px;border-radius:50%;background:#fff;position:absolute;left:2px;transition:.25s}.wptb-toggle.wptb-size-fixed-auto input:checked+i::after,.wptb-toggle.wptb-toggle2 input:checked+i::after{transform:translateX(50px)}.wptb-toggle.wptb-size-fixed-auto i,.wptb-toggle.wptb-toggle2 i{float:left;width:100px;border-radius:5px;height:25px}.wptb-toggle.wptb-size-fixed-auto i:after,.wptb-toggle.wptb-toggle2 i:after{width:50px;height:25px;border-radius:5px;transform:translateX(0)}.wptb-checkbox{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:3px;padding-bottom:3px}.wptb-checkbox span{vertical-align:middle}.wptb-checkbox input[type=checkbox]{opacity:0;height:0;width:0;display:none}.wptb-checkbox-checkmark{height:25px;width:25px;background-color:#d8d9db;display:inline-block;position:relative;border-radius:3px;margin-left:5px}.wptb-checkbox:hover input[type=checkbox]~.wptb-checkbox-checkmark{background-color:#6ea4d8}.wptb-checkbox input[type=checkbox]:checked~.wptb-checkbox-checkmark{background-color:#3b7ec0}.wptb-checkbox-checkmark:after{content:"";position:absolute;display:none}.wptb-checkbox input[type=checkbox]:checked~.wptb-checkbox-checkmark:after{display:block}.wptb-checkbox .wptb-checkbox-checkmark:after{left:10px;top:7px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.wptb-column-auto,.wptb-column-fixed{position:absolute;font-size:15px;width:50%;height:100%;text-align:center;line-height:25px}.wptb-column-fixed{color:#d8d9db}.wptb-column-auto{color:#3b7ec0;right:0}#element-options-group,.wptb-elements-section,.wptb-responsive-section,.wptb-settings-section{grid-area:sidebar-content}#element-options-group{padding-top:20px}[data-wptb-section]{padding-top:20px;-webkit-animation:wptb-basic-appear .2s ease-out;animation:wptb-basic-appear .2s ease-out}.wptb-tabs{width:100%;margin:0;padding:0;background:#fff;border-bottom:.5px solid #ccc;max-width:349px;z-index:10}ul.wptb-tabs{list-style:none}.wptb-tabs li{float:left;width:49.3%;margin:0}.wptb-tabs li:last-of-type{float:right}.wptb-tabs li a{display:block;text-align:center;padding:18px 10px;font-size:16px}.wptb-tabs li a,.wptb-tabs li a:hover{color:#186cba;text-decoration:none}.wptb-tabs li a:focus{box-shadow:none}.wptb-tabs li .active,.wptb-tabs li .active:hover{color:#186cba}.wptb-tabs #element-options .active,.wptb-tabs #wptb-add-elements .active{background:#fff}.wptb-tab-content{padding:0}.wptb-panel-toggle,.wptb-panel-toggle-group{background-color:var(--wptb-plugin-theme-color-light)}.wptb-panel-toggle-group{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);margin:20px 0}.wptb-panel-toggle{padding:10px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:3px solid var(--wptb-plugin-theme-sidebar-bg);cursor:pointer}.wptb-element-options .wptb-panel-toggle{cursor:pointer}.wptb-panel-toggle .header{text-transform:uppercase;font-size:90%;display:flex;flex-direction:row}.header .wptb-back-button{margin-right:10px}.wptb-panel-toggle .toggle-icon{cursor:pointer}.wptb-panel-toggle .toggle-icon::after{content:"\f343"}.wptb-panel-toggle-content .wptb-panel-toggle .toggle-icon::after{content:"\f347"}.wptb-panel-toggle-target{padding:20px 10px}.wptb-panel-section-toggle-target,.wptb-panel-toggle-target{background-color:var(--wptb-plugin-gray-100)}.wptb-panel-elements-inner-wrapper{display:grid;grid-auto-flow:row;grid-template-columns:1fr 1fr;grid-gap:10px;color:var(--wptb-plugin-theme-text-color-main);font-size:80%}.wptb-section-group-tabbed{display:grid;grid-template-columns:1fr;grid-template-areas:"header" "tabButtons" "controls";grid-auto-flow:row;grid-template-rows:auto}.wptb-section-group-tabbed-header{grid-area:header;justify-content:center!important}.wptb-section-group-tabbed-tabs-buttons{grid-area:tabButtons;display:flex;flex-direction:row;background-color:var(--wptb-plugin-theme-color-light);text-align:center;justify-content:stretch;border-bottom:1px solid #e5dfdf}.wptb-section-group-tabbed-tabs-buttons div{width:100%;margin:0!important;font-size:90%;padding:7px!important}.wptb-section-group-tab-content{grid-area:controls;transition:opacity .2s ease-out}.wptb-plugin-non-visible{height:0;opacity:0;pointer-events:none;transition:none!important}.wptb-plugin-non-visible div{height:0}.wptb-elements-container{width:100%;max-height:inherit;padding:0 0 60px;background-color:inherit}.wptb-element{position:relative;background:var(--wptb-plugin-theme-color-light);display:flex;align-items:center;justify-content:center;flex-direction:column;height:100px;text-align:center;border-radius:5px;border:2px solid var(--wptb-plugin-gray-400);transition:all .25s;cursor:move}.wptb-element p,.wptb-table-generator input{margin:0}.wptb-element:hover{box-shadow:3px 3px 2px .5px rgba(0,0,0,.2)}.wptb-element svg{fill:var(--wptb-plugin-theme-text-color-main)!important}.wptb-element-draggable-icon{position:absolute;top:0;right:0;color:var(--wptb-plugin-gray-500)!important}.left,.right{width:47.5%;float:left;margin:6px 0 -4px 6px}.right{float:right;margin:6px 5px -4px 0}.wptb-builder-panel{position:relative;min-height:100%;transition:all .2s ease-out,right .2s ease-out;width:calc(100% - var(--wptb-plugin-sidebar-size-full));text-align:center;z-index:100000}.wptb-left-panel[data-wptb-panel-location=left]+.wptb-builder-panel{left:var(--wptb-plugin-sidebar-size-full)}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel{left:0}.collapsed .wptb-left-panel[data-wptb-panel-location=left]+.wptb-builder-panel{left:calc(0px + var(--wptb-plugin-left-panel-constant))!important;width:calc(100% - var(--wptb-plugin-left-panel-constant))!important}.collapsed .wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel{right:calc(0px - var(--wptb-plugin-left-panel-constant))!important;width:calc(100% - var(--wptb-plugin-left-panel-constant))!important}.wptb-name-setup{text-align:start;margin:0 20px;grid-area:table-name}.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-name-setup,.wptb-left-panel[data-wptb-panel-location=right]+.wptb-builder-panel .wptb-name-setup input{text-align:end!important}.wptb-plugin-header-close{grid-area:close}#wptb-setup-name{height:50px;box-shadow:none;border:1px solid var(--wptb-plugin-gray-300);font-size:100%;width:420px;padding:0 20px}.wptb-messaging{color:#fff;height:0;margin:0 auto;padding:5px;transition:all 1s 0s;width:90%;text-align:initial}.wptb-messaging.wptb-success{background:#4caf50;background:linear-gradient(45deg,#4caf50 0,#8bc34a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4caf50', endColorstr='#8bc34a', GradientType=1);height:auto}.wptb-messaging.wptb-warning{background:#f44336;background:linear-gradient(45deg,#f44336 0,#ff5722 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f44336', endColorstr='#ff5722', GradientType=1);height:auto}.wptb-management_table_container{margin:auto;text-align:initial}.wptb-table-setup{justify-content:center;position:relative;z-index:1;background:#fff;margin:30px auto;max-width:700px;overflow-x:auto;overflow-y:hidden}#wptb-cell_mode_background{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(49,59,71,.49);display:none;text-align:initial}#wptb-cell_mode_background.visible,.wptb-droppable.wptb-cell li .wptb-list-item-content p span.content{display:block}table.wptb-table{border-collapse:collapse}.wptb-wrapper{margin:0 auto;padding:40px;max-width:960px;text-align:initial}.wptb-table{margin:20px 0 60px;width:100%;border:1px solid #ccc;box-shadow:0 1px 3px rgba(0,0,0,.2);display:table}@media screen and (max-width:580px){.wptb-table{display:block}}.wptb-row{display:table-row;background:#bebebe}.wptb-row:nth-of-type(odd){background:#bebebe}.wptb-row.wptb-table-header{font-weight:900;color:#fff;background:#ea6153}.wptb-row.wptb-green{background:#27ae60}.wptb-row.wptb-blue{background:#2980b9}@media screen and (max-width:580px){.wptb-row{padding:14px 0 7px;display:block}.wptb-row.wptb-table-header{padding:0;height:6px}.wptb-row.wptb-table-header .wptb-cell{display:none}.wptb-row .wptb-cell{margin-bottom:10px}.wptb-row .wptb-cell:before{margin-bottom:3px;content:attr(data-title);min-width:98px;font-size:10px;line-height:10px;font-weight:700;text-transform:uppercase;color:#969696;display:block}}.wptb-cell{padding:12px;display:table-wptb-cell}.wptb-preview-table{table-layout:fixed;font-size:15px;display:table;border-collapse:collapse!important;margin:auto;width:auto}.wptb-preview-table.wptb-preview-table-auto-width{width:auto}.wptb-preview-table-manage-cells tbody>tr>td::after{content:'';display:block;position:absolute;top:0;right:0;left:0;bottom:0;z-index:100}.wptb-preview-table-manage-cells td:hover::after{background:rgba(207,218,239,.2);border-color:inherit}.wptb-preview-table p{margin:0;font-size:15px;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.wptb-preview-table ul{list-style-type:disc;margin-left:15px}.wptb-preview-table tr{display:table-row;background:#fcfcfc}.wptb-preview-table tr:nth-of-type(odd){background:#eee}.wptb-state-dragging td{cursor:all-scroll}.wptb-preview-table td{padding:15px;position:relative;box-sizing:content-box}.wptb-preview-table td.wptb-td-default-width{width:100px}.wptb-preview-table .wptb-row td.wptb-highlighted,.wptb-state-dragging td:hover{outline:1px solid #acc1e2}.wptb-preview-table .wptb-row.wptb-highlighted-row{background-color:rgba(59,125,191,.34);border:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-row-first,.wptb-preview-table .wptb-row td.wptb-highlighted-row-inner{background-color:rgba(59,125,191,.34);border-bottom:1px solid pink;border-left:1px solid pink;border-right:inherit;border-top:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-row-inner{border-left:inherit}.wptb-preview-table .wptb-row td.wptb-highlighted-column-first,.wptb-preview-table .wptb-row td.wptb-highlighted-row-last{background-color:rgba(59,125,191,.34);border-bottom:1px solid pink;border-left:inherit;border-right:1px solid pink;border-top:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-column-first{border-bottom:inherit;border-left:1px solid pink}.wptb-preview-table .wptb-row td.wptb-highlighted-column-inner,.wptb-preview-table .wptb-row td.wptb-highlighted-column-last{background-color:rgba(59,125,191,.34);border-bottom:inherit;border-left:1px solid pink;border-right:1px solid pink;border-top:inherit}.wptb-preview-table .wptb-row td.wptb-highlighted-column-last{border-bottom:1px solid pink}.wptb-row td:empty::before{content:'Cell';display:block;font-weight:400;font-size:80%;text-align:center;color:#969fa6}.wptb-row td:empty::after{content:'';display:block;border:1px dashed #969fa6;position:absolute;top:2px;right:2px;bottom:2px;left:2px}.wptb-preview-table.wptb-table-preview-head .wptb-row:first-child td:empty::before{content:'Header'}.wptb-ph-element{position:relative;border:1px solid #fff0;min-height:15px}.wptb-image-wrapper img{width:100%;display:block;padding:0;max-width:100%;height:auto;transition:all .2s ease-out}.wptb-image-wrapper a{display:block;position:relative;margin:auto}.wptb-icon-image-button{display:block;padding:5px;background:#747d84;border-radius:5px;color:#000;cursor:pointer}.wptb-image-wrapper::after{content:"";display:block;height:0;width:100%;clear:both}.wptb-button-wrapper>a,.wptb-image-wrapper a{text-decoration:none;max-width:100%}.wptb-button,.wptb-button-icon,.wptb-button-wrapper{display:flex;justify-content:center;align-items:center}.wptb-button{padding:16px;background:#329d3f;color:#fff;cursor:pointer;border-radius:5px;border:0;box-shadow:none;transition:all .2s ease-out}.wptb-button-icon{margin:0 5px;order:-1;width:25px;height:25px}.wptb-button-icon svg{width:100%;height:100%;fill:currentColor}.wptb-button-icon[data-wptb-button-icon-src=""],br[data-mce-bogus="1"]{display:none}.wptb-plugin-button-order-right .wptb-button-icon,[data-wptb-button-icon-position=right] .wptb-button-icon{order:2}.wptb-button:hover{color:#fff}.wptb-table-generator{text-align:center;margin:60px auto 20px}.wptb-generator-btn{width:92%;padding:15px;background:var(--wptb-plugin-logo-color);color:#fff;cursor:pointer;border:0;box-shadow:none;border-radius:5px}.wptb-input-number{width:80px;padding:0 12px;vertical-align:top;text-align:center;outline:0;border:1px solid #ccc;height:40px}.wptb-input-number-decrement,.wptb-input-number-increment{border:1px solid #ccc;height:40px;display:inline-block;width:30px;line-height:38px;background:#f1f1f1;color:#444;text-align:center;font-weight:700;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wptb-input-number-decrement:active,.wptb-input-number-increment:active{background:#ddd}.wptb-input-number-decrement{border-right:none;border-radius:4px 0 0 4px}.wptb-input-number-increment{border-left:none;border-radius:0 4px 4px 0}.wptb-allow-drop{background:#b5e0d7}#wpcd_fixed_toolbar{min-height:55px;text-align:center;position:sticky!important;top:95px;z-index:100;display:inline-block}#wpcd_fixed_toolbar>div.toolbar-active{display:block!important}.wptb-btn-size-btn{padding:8px 15px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-btn-size-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-btn-size-switcher:first-child{border-radius:4px 0 0 4px}.wptb-btn-size-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-btn-size-switcher:hover{background:#fff}.wptb-btn-size-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-btn-size-switcher.bnt-selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.mce-content-body{min-height:19px;word-break:break-word}.mce-tinymce.mce-tinymce-inline.mce-container.mce-panel{left:50%!important;transform:translate(-50%,0)!important;border:0!important}.mce-container.mce-panel.mce-floatpanel.mce-window.mce-in{z-index:100100!important}.mce-container.mce-panel.mce-floatpanel.mce-menu.mce-animate.mce-fixed.mce-menu-align.mce-in{z-index:100101!important}.mce-edit-focus{outline:0!important}.mce-btn button{padding:14px 18px!important}.mce-ico{font-size:20px!important}.mce-content-body [data-mce-selected=inline-boundary]{background:0 0!important}.wptb-text-container .mce-content-body a{color:#1e73be}.wptb-text-container p:empty:not(:focus)::before{content:attr(data-placeholder);opacity:.4}.wptb-droppable.wptb-cell ol,.wptb-droppable.wptb-cell ul{border:1px solid transparent;margin:0;padding:1em .2em .4em;width:100%}.wptb-droppable.wptb-cell ol article,.wptb-droppable.wptb-cell ul article{align-items:flex-start;border:1px solid transparent;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin-bottom:0;padding:0;position:relative;width:100%}.wptb-list-container ul li{list-style:none;margin:0}.wptb-droppable.wptb-cell li .wptb-list-item-content{min-height:30px}.wptb-droppable.wptb-cell li .wptb-list-item-content p{word-wrap:break-word;line-height:30px;font-size:15px;padding-left:20px}.wptb-list-container ul li>div>p::before{content:attr(data-list-style-type-index);display:inline-block;line-height:30px;padding:0 5px 0 0;font-family:verdana,sans-serif;cursor:text;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;margin-left:-20px}.wptb-list-container ul li>div>p.wptb-list-style-type-disc::before{content:'\25CF'}.wptb-list-container ul li>div>p.wptb-list-style-type-circle::before{content:'\25CB'}.wptb-list-container ul li>div>p.wptb-list-style-type-square::before{content:'\25A0'}.wptb-list-container ul li>div>p.wptb-list-style-type-none::before{content:'';padding-right:0}.wptb-droppable.wptb-cell .wptb-directlyhovered{outline:1px solid #1ea5e5!important;position:relative}.wptb-cell .wptb-ph-element.edit-active{outline:2px solid #1ea5e5!important;position:relative}.wptb-droppable.wptb-cell .wptb-list-container.wptb-directlyhovered,.wptb-rating-stars-box ul>li.wptb-rating-star span svg,wptb_shortcode_container_element{display:block}.wptb-droppable.wptb-cell .wptb-directlyhovered .wptb-directlyhovered{display:flex;width:100%}.wptb-droppable.wptb-cell .wptb-list-container.wptb-directlyhovered .wptb-directlyhovered{display:list-item;border:0!important}.wptb-droppable.wptb-cell .wptb-list-container.wptb-directlyhovered .wptb-directlyhovered:before{content:"";display:inline-block;position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #1ea5e5!important}.wptb-actions{align-items:center;background-color:#1ea5e5;border-top-left-radius:4px;border-top-right-radius:4px;color:#fff;justify-content:space-between;line-height:1em;padding:0 5px;position:absolute;height:15px;font-size:9pt;display:none;max-width:70px;z-index:100001;box-sizing:border-box}.wptb-ph-element:hover .wptb-actions{display:inline}.wptb-actions .dashicons.dashicons-admin-page.wptb-duplicate-action,.wptb-actions .dashicons.wptb-prebuilt-mark-action{font-size:10pt;margin:0 .05em 0 .1em;width:16px;height:16px;cursor:pointer}.wptb-actions .dashicons.dashicons-trash.wptb-delete-action{font-size:10pt;margin:0 .1em 0 .05em;width:16px;height:16px;order:2;cursor:pointer}.wptb-cell-management .wptb-button{background:#3e99ca;color:#fff;border:0;border-radius:2px;padding:.4em 0;width:100%;box-shadow:2px 1px 0 0 rgba(13,85,126,.71)}.wptb-cell-management .wptb-button[disabled]{display:none}.wptb-space-between{min-height:10px;width:100%}.wptb-ph-element.wptb-directlyhovered.wptb-moving-mode{outline:0!important}.wptb-ph-element.wptb-ondragenter::before{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;z-index:101000}.wptb-ph-element.wptb-moving-mode{opacity:.4;transform:scale(.9) translate(-5%,-5%);transition:all .2s ease-in-out}.wptb-drop-handle{height:11px;position:absolute;z-index:101000;display:none}.wptb-drop-handle::after{content:attr(data-text);background-color:#1e90ff;color:#fff;display:block;font-variant:small-caps;position:relative;text-align:center;width:100%;height:100%;font-size:11px;line-height:1;text-transform:uppercase;box-sizing:border-box}.wptb-drop-border-marker{position:absolute;width:1px;height:1px;z-index:101000}.wptb-drop-border-marker.wptb-moving-into-same-elem,.wptb-drop-handle.wptb-moving-into-same-elem{opacity:0;visibility:hidden}.wptb-drop-border-marker>div{position:absolute;background:#1ea9eb}.wptb-drop-border-marker-top{top:0;left:0;height:1px}.wptb-drop-border-marker-right{top:0;width:1px}.wptb-drop-border-marker-bottom{left:0;height:1px}.wptb-drop-border-marker-left{top:0;left:0;width:1px}.wptb-space-between.visible:empty::before{background-color:#1e90ff;border:1px solid #1e90ff;color:#fff;content:'drop here';display:block;font-variant:small-caps;margin:2px 5%;padding:.5em 0;position:relative;text-align:center;width:90%}.wptb-draggable{border:0}.wptb-actions .dashicons.dashicons-move.wptb-move-action{font-size:14px!important;cursor:move;width:16px;height:16px;order:-1}.wptb-multiple-select-action:not(.visible),.wptb-no-cell-action:not(.visible),.wptb-single-action:not(.visible){cursor:not-allowed;opacity:.3}.wptb-item-dragging{background-color:purple;min-height:30px;min-width:30px;position:absolute;transition:all .2s ease;transition-property:left,top;width:auto;z-index:11000}.wptb-range-input{height:20px;position:relative}.wptb-range-input .slider{background-color:#fff;border:1px solid #4b88c4;border-radius:200px;box-sizing:border-box;height:20px;left:2px;position:absolute;top:0;width:20px;z-index:10}.wptb-range-input .rail{background:#ccc;border-radius:14px;bottom:6px;height:8px;position:absolute;width:100%;z-index:1}.wptb-preview-table.wptb-table-preview-head .wptb-row:first-child td.wptb-drop-here-empty:empty::before,.wptb-row td.wptb-drop-here-empty:empty::before{background-color:#1e90ff;border:1px solid #1e90ff;box-sizing:border-box;color:#fff;content:'drop here';display:block;font-size:1em;font-variant:small-caps;padding:.2em .4em;text-align:center;width:100%}td[class*=wptb-fused-cell]{display:none!important}.wptb-size-s .wptb-button{border-radius:.2rem;padding:.35rem .6rem;max-width:100%}.wptb-size-s .wptb-button p{font-size:.875rem;line-height:1.5}.wptb-size-l .wptb-button,.wptb-size-m .wptb-button{border-radius:.3rem;padding:.475rem .85rem;max-width:100%}.wptb-size-m .wptb-button p{font-size:1.125rem;line-height:1.5}.wptb-size-l .wptb-button{padding:.6rem 1.2rem}.wptb-size-l .wptb-button p{font-size:1.25rem;line-height:1.5}.wptb-size-xl .wptb-button{border-radius:.4rem;padding:.8rem 1.35rem;max-width:100%}.wptb-size-xl .wptb-button p{font-size:1.35rem;line-height:1.5}[class*=wptb-element-text-] p{color:inherit!important;font-size:inherit!important}.wptb-split-page-title-action .wptb-expander::after,.wptb-split-page-title-action a,.wptb-split-page-title-action a:active{padding:6px 10px;position:relative;top:-3px;text-decoration:none;border:1px solid #ccc;border-radius:2px;background:#f7f7f7;text-shadow:none;font-weight:600;font-size:13px;line-height:normal;color:#0073aa;cursor:pointer;outline:0}.wptb-split-page-title-action a:hover{color:#fff;background-color:#1f8abb}.wptb-column-title-mobile{display:none}.wptb-star_rating-container{text-align:center}.wptb-rating-stars-box{text-align:center;display:inline-block;padding:7px}.wptb-rating-stars-box ul{list-style-type:none;-moz-user-select:none;-webkit-user-select:none;padding:.5em .2em .2em}.wptb-rating-stars-box ul li{display:inline-block}.wptb-rating-stars-box ul>li.wptb-rating-star{color:#ccc;cursor:pointer;margin:0;position:relative;width:20px;height:20px}.wptb-rating-stars-box ul>li.wptb-rating-star span{position:absolute;height:100%;width:100%;top:0;left:0;z-index:10;display:block}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-left-signal-part,.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-right-signal-part{height:100%;width:50%;z-index:20}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-left-signal-part{left:0}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-left-signal-part span.wptb-rating-star-zero-set{left:0;width:40%;height:100%;top:0;z-index:30px}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-rating-star-right-signal-part{right:0;left:auto}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-half-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-half span.wptb-not-filled-rating-star{display:none}.wptb-rating-stars-box ul>li.wptb-rating-star span.wptb-not-filled-rating-star{fill:#ccc}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-half span.wptb-half-filled-rating-star{display:block;fill:#ff912c;opacity:.5}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-full span.wptb-half-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-full span.wptb-not-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-half span.wptb-filled-rating-star{display:none}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-hover-full span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half.wptb-rating-star-hover-full span.wptb-filled-rating-star{display:block;fill:#ff912c;opacity:.5}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full.wptb-rating-star-hover-full span,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full.wptb-rating-star-hover-half span,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half.wptb-rating-star-hover-full span,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half.wptb-rating-star-hover-half span{opacity:1}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-not-filled-rating-star{display:none}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-half-filled-rating-star{display:block;fill:#ff912c}.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-half-filled-rating-star,.wptb-rating-stars-box ul>li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-not-filled-rating-star{display:none}.wptb-number-rating-box{text-align:center;font-size:20px}.wptb-number-rating-box>div{vertical-align:top;display:inline-block;color:#888;text-align:center;height:25px;font-size:25px;line-height:25px}@media screen and (max-width:1375px){#wptb-messaging-area{position:relative}#wptb-messaging-area .wptb-message{max-width:400px;padding:20px 5px;box-sizing:border-box}}@media screen and (max-width:1070px){#wptb-messaging-area{position:absolute;top:190px;left:30px;right:30px;margin:auto}#wptb-messaging-area .wptb-message{padding:50px 20px}}@media screen and (max-width:970px){#wptb-setup-name{width:100%;max-width:420px;margin-left:0}}.wptb-cell img{max-width:100%}.wptb-exit-options{text-decoration:none}.wptb-option-text{text-align:center}.wptb-rating-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-rating-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-rating-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-rating-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-rating-alignment-switcher:hover{background:#fff}.wptb-rating-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-rating-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-list-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-list-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-list-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-list-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-list-alignment-switcher:hover{background:#fff}.wptb-list-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-list-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-button-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-button-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-button-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-button-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-button-alignment-switcher:hover{background:#fff}.wptb-button-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-button-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-image-alignment-btn{padding:8px 15px 3px;margin:0;vertical-align:middle;border:solid 1px #ccc;font-size:12px;border-radius:4px;cursor:pointer}.wptb-image-alignment-switcher{background:linear-gradient(to bottom,#fff,#eee);display:table-cell;border-right:none;border-radius:0;color:#433f33}.wptb-image-alignment-switcher:first-child{border-radius:4px 0 0 4px}.wptb-image-alignment-switcher:last-child{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.wptb-image-alignment-switcher:hover{background:#fff}.wptb-image-alignment-switcher:active{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.1)}.wptb-image-alignment-switcher.selected{background:#fff;box-shadow:inset 0 0 20px 4px rgba(0,0,0,.15);cursor:default}.wptb-justify-content-left{justify-content:left}.wptb-justify-content-center{justify-content:center}.wptb-justify-content-right{justify-content:right}.wptb-float-left{float:left}.wptb-float-center{float:none}.wptb-float-right{float:right}.wptb-text-align-left{text-align:left}.wptb-text-align-center{text-align:center}.wptb-text-align-right{text-align:right}.wptb-menu-page-wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:90vh;color:#4a5568;line-height:normal}.wptb-settings-wrapper{background-color:#fff;min-width:90%;max-width:90%;height:90%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) minmax(min-content,max-content) 1fr minmax(min-content,max-content);border-radius:5px;overflow:hidden;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05)}.wptb-settings-wrapper .import-export{grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) minmax(min-content,max-content) minmax(min-content,max-content) 1fr minmax(min-content,max-content)}.wptb-settings-header{display:flex;justify-content:space-between;align-items:center;background-color:#3299d1;padding:10px}.wptb-settings-header *{color:#fff}.wptb-settings-header a{text-decoration:none;font-size:1rem;margin:0 10px}.wptb-settings-header a:hover{color:#cbd5e0}.wptb-settings-brand{font-size:2.5rem;display:flex;align-items:center;cursor:default}.wptb-settings-header-name{margin-left:1rem}.wptb-settings-sections-wrapper{position:relative;display:flex;flex-direction:row;margin-bottom:10px;background-color:#fff;border-bottom:1px solid #cbd5e0}.wptb-plugins-m-b-40{margin-bottom:40px}.wptb-settings-checkbox-row{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;margin:5px 0;width:100%}.wptb-menu-file-drop div,.wptb-settings-dropdown-row{margin:10px 0}.wptb-settings-sections-wrapper.child{display:flex;flex-direction:row;justify-content:center;margin-top:-10px}.wptb-settings-section-item{text-transform:uppercase;font-size:1rem;padding:20px;margin:0 10px;cursor:pointer;transition:background-color .5s ease-out}.wptb-settings-section-item.static-active{border-bottom:3px solid transparent}.wptb-settings-section-item.static-active.active{border-bottom:3px solid var(--wptb-plugin-logo-color)!important;background-color:var(--wptb-plugin-gray-100)}.child .wptb-settings-section-item{font-size:.8rem;padding:10px}.wptb-settings-section-item:hover{background-color:#edf2f7}.wptb-settings-section-item.disabled{color:#cbd5e0!important}.wptb-panel-tabs .wptb-settings-section-item.disabled{color:inherit!important}.wptb-menu-active-section-indicator{position:absolute;border-bottom:2px solid var(--wptb-plugin-logo-color);transition:all .3s ease-out}.wptb-settings-controls-wrapper{padding:20px 40px;overflow:auto}.wptb-settings-controls-wrapper.grid{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:minmax(-webkit-min-content,-webkit-max-content);grid-auto-rows:minmax(min-content,max-content);grid-auto-flow:row}.wptb-settings-controls-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.wptb-setting-control{padding:20px;transition:all .2s ease-out;border:1px solid transparent}.wptb-setting-control:hover{border:1px solid #cbd5e0;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);transform:translateY(-5px)}.wptb-setting-control .title{font-weight:700;font-size:1rem;text-transform:capitalize;margin-bottom:30px}.wptb-menu-export-control-title{font-weight:700;font-size:1rem;text-transform:capitalize;width:100%}.wptb-export-list-table-search,.wptb-menu-export-control-title,.wptb-setting-control .title{padding:10px 0;border-bottom:1px solid #cbd5e0}.wptb-setting-control-row{display:flex;align-items:center;margin:20px 0}.wptb-setting-control-row label,.wptb-settings-header a{text-transform:capitalize}.wptb-setting-control-row input,.wptb-setting-control-row select{margin-right:20px}.wptb-settings-footer{background-color:#fff;display:flex;justify-content:space-between;width:100%;border-top:1px solid #cbd5e0;padding:20px 0}.wptb-settings-messages{margin:0 20px;display:flex;align-items:center}.wptb-settings-message{font-style:italic;font-weight:700;text-transform:uppercase}.wptb-settings-message.ok{color:#3299d1}.wptb-settings-message.error{color:#e53e3e}.wptb-settings-fetching{animation:wptb-settings-rotate 1s linear infinite reverse}.wptb-settings-button-container{display:flex;justify-content:center;align-items:center}.wptb-settings-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 20px;color:#fff;font-size:1rem;padding:10px 20px;border-radius:5px;text-transform:uppercase;cursor:pointer;transition:all .2s ease-out}.wptb-settings-button:hover{color:#cbd5e0}.wptb-settings-button.primary{background-color:#3299d1}.wptb-settings-button.danger{background-color:#e53e3e}.wptb-settings-button.disabled{background-color:#cbd5e0!important}.wptb-settings-button.small{font-size:inherit}.wptb-settings-button.disabled:hover{color:#fff!important;cursor:not-allowed}.wptb-fade-enter-active,.wptb-fade-leave-active,.wptb-prebuilt-card-preview table{transition:opacity .2s ease-out}.wptb-fade-enter,.wptb-fade-leave-to{opacity:0}.wptb-menu-file-drop{border:2px dashed #cbd5e0;width:500px;height:200px;margin:20px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-transform:capitalize;transition:all .2s ease-out;border-radius:5px}.wptb-import-table tbody tr:hover,.wptb-menu-file-drop.dragenter,.wptb-menu-list-table thead td:hover{background-color:#edf2f7}.wptb-menu-file-drop .hint{font-style:italic;color:#cbd5e0;font-size:1.3rem}.wptb-menu-file-drop .supported{font-style:italic;color:#cbd5e0;font-size:1rem}.wptb-menu-file-drop .file{text-transform:none;font-size:1.3rem;color:inherit}.wptb-menu-file-drop a{text-decoration:underline;cursor:pointer}.wptb-menu-file-drop .file-icon{color:#cbd5e0;transform:scale(4)}.wptb-flex{display:flex}.wptb-flex-col{flex-direction:column}.wptb-flex-row{flex-direction:row}.wptb-flex-align-center{align-items:center}.wptb-flex-justify-center{justify-content:center}.wptb-flex-justify-space-between{justify-content:space-between}.wptb-import-tables-wrapper{margin-top:50px;margin-bottom:30px;display:flex;justify-content:center}.wptb-import-table{text-align:center;border-collapse:collapse}.wptb-import-table th,td{padding:15px 10px}.wptb-import-table th,.wptb-menu-list-table thead{border-bottom:1px solid #cbd5e0}.wptb-menu-overflow-auto{overflow:auto}.wptb-text-transform-cap{text-transform:capitalize!important}.wptb-text-transform-none{text-transform:none!important}.wptb-import-table-count-info{margin-bottom:20px;font-weight:700;font-style:italic}.wptb-menu-export-wrapper{display:grid;grid-auto-flow:column;grid-template-columns:1fr auto 1fr;grid-template-rows:.9fr;justify-content:center;align-content:center;grid-gap:30px;width:90%;height:100%}.wptb-menu-export-card{display:grid;grid-auto-flow:row;grid-template-rows:auto auto 1fr;grid-template-columns:1fr;position:relative;border:1px solid #cbd5e0;padding:10px;overflow:auto}.wptb-menu-export-controls-wrapper{padding:10px 0;overflow-y:auto;display:grid;grid-auto-flow:row}.wptb-menu-empty-cover{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;font-style:italic;font-size:1.2rem;color:#cbd5e0}.wptb-menu-export-middle-section{display:flex;flex-direction:column;justify-content:space-around;align-items:center}.wptb-menu-export-middle-section .arrow-holder{max-width:100px;width:50%;cursor:pointer}.wptb-menu-export-middle-section img{max-width:100px;cursor:pointer;transition:transform .1s ease-out}.wptb-menu-export-middle-section img:hover{transform:scale(1.2)}.wptb-menu-export-middle-section img:active{transform:scale(1)}.wptb-menu-export-middle-section .flip{transform:rotateZ(180deg)}.wptb-menu-popup-wrapper{display:flex;position:relative;justify-content:center;align-items:center;margin:0 10px;border:1px solid #cbd5e0;width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .2s ease-out}.wptb-menu-popup-wrapper:hover{background-color:#cbd5e0}.wptb-menu-popup-message{display:block;position:fixed;color:#fff;min-width:100px;max-width:200px;transition:opacity .2s ease-out;opacity:0;text-align:start;z-index:999;pointer-events:none}.wptb-menu-popup-wrapper:hover+.wptb-menu-popup-message{opacity:1}.wptb-menu-popup-inner-holder{position:relative;background-color:#4a5568;padding:10px}.wptb-menu-popup-arrow{position:absolute;background-color:inherit;width:10px;height:10px;bottom:-5px;left:calc(50% - 5px);transform:rotateZ(45deg)}.wptb-menu-list-table{border-collapse:collapse;width:100%}.wptb-menu-list-table thead{text-align:start}.wptb-menu-list-table thead td{font-weight:700;transition:all .2s ease-out;cursor:pointer}.wptb-menu-list-table tbody td .title-label{word-break:break-all}.wptb-menu-list-table tbody tr:nth-child(even){background-color:#edf2f7}.wptb-plugin-box-shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.wptb-plugin-filter-box-shadow-md{filter:drop-shadow(4px 6px 2px rgba(0,0,0,.1))}.wptb-plugin-filter-box-shadow-md-close{filter:drop-shadow(4px 1px 2px rgba(0,0,0,.1))}.wptb-plugin-filter-box-shadow-md-around{filter:drop-shadow(0 0 1px rgba(0,0,0,.3))}.wptb-plugin-box-shadow-up-md{box-shadow:0 -5px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.wptb-plugin-box-shadow-xl{box-shadow:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -1px rgba(0,0,0,.3)!important}.wptb-plugin-inset-shadow-md{box-shadow:inset 0 4px 6px -1px rgba(0,0,0,.2),0 2px 4px -1px rgba(0,0,0,.2)}.wptb-plugin-margin-no{margin:0!important}.wptb-settings-space-between{display:flex;flex-direction:row;width:100%;justify-content:space-between;align-items:center}.wptb-icon-select-wrapper{align-items:center;height:100%}.wptb-icon-select-wrapper[disabled] .wptb-icon-select-preview{opacity:.2;cursor:default}.wptb-icon-select-display{width:50px;height:50px;background-color:var(--wptb-plugin-theme-color-light);border:1px solid var(--wptb-plugin-gray-400);border-radius:5px;position:relative}.wptb-icon-select-preview{width:100%;height:100%;justify-content:center;align-items:center;padding:5px;cursor:pointer;position:relative}.wptb-icon-select-preview img[src='']{display:none}.wptb-icon-select-preview img,.wptb-prebuilt-card-icon svg{width:100%;height:100%}.wptb-icon-select-drawer{position:fixed;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-auto-flow:row;grid-gap:15px;background-color:var(--wptb-plugin-theme-color-light);border:1px solid var(--wptb-plugin-gray-400);border-radius:5px;padding:10px;width:200px;max-height:200px;overflow-y:hidden;z-index:110000}.wptb-icon-search-wrapper,.wptb-icon-search-wrapper input{width:100%}.wptb-icon-previews{position:relative;width:100%;display:grid;grid-template-columns:repeat(4,1fr);grid-auto-flow:row;grid-gap:10px;justify-content:center;align-items:center;overflow-y:scroll}.wptb-icon-select-drawer-preview{display:flex;justify-content:center;align-items:center}.wptb-icon-select-drawer-preview img{width:25px;height:25px;transition:transform .2s ease-out;cursor:pointer}.wptb-icon-select-drawer-preview img:hover{transform:scale(1.2)}.wptb-icon-preview-active{border:2px solid var(--wptb-plugin-logo-color)}.wptb-icon-reset{border:1px solid var(--wptb-plugin-theme-sidebar-bg);width:100%;height:100%;border-radius:5px;cursor:pointer}.wptb-help-support-section-wrapper,.wptb-html-control-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center}.wptb-help-support-section-wrapper{padding:20px 0}.wptb-help-support-section-wrapper div{margin:5px 0}.wptb-builder-responsive{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:400000;margin:auto;padding:40px 10px}.wptb-responsive-menu-tools{margin:auto auto 60px;max-width:700px}.wptb-screen-size-slider-wrapper{display:grid;grid-template-columns:1fr;grid-template-areas:'content';justify-content:center;align-items:center;margin-bottom:80px}.wptb-screen-size-slider-empty{width:100%;position:relative;height:5px;border-radius:3px;background-color:#fff;border:1px solid var(--wptb-plugin-gray-400);grid-area:content}.wptb-screen-size-slider-fill{height:100%;position:absolute;left:0;border-radius:3px;background-color:var(--wptb-plugin-logo-color);border:1px solid transparent;transition:all .1s linear}.wptb-drag-active .wptb-screen-size-slider-arrow,.wptb-drag-active .wptb-screen-size-slider-fill{transition:none!important}.wptb-screen-size-slider-arrow{position:absolute;top:-30px;cursor:-webkit-grab;cursor:grab;transition:all .1s linear}.wptb-screen-size-slider-arrow:active{cursor:-webkit-grabbing;cursor:grabbing}.wptb-size-slider-stops-wrapper{z-index:900000;position:absolute;top:-10px}.wptb-slider-stop,.wptb-slider-stop-knob{display:flex;justify-content:center;align-items:center}.wptb-slider-stop{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;flex-direction:column;cursor:pointer}.wptb-slider-stop-knob{width:20px;height:20px;background-color:#fff;border:2px solid var(--wptb-plugin-logo-color);border-radius:50%;margin-bottom:5px;transition:all .2s ease-out}.wptb-slider-stop-label{text-transform:capitalize;font-size:90%;color:var(--wptb-plugin-gray-400)}.wptb-slider-stop-knob[data-wptb-knob-disabled=true]{background-color:var(--wptb-plugin-theme-color-light)!important;border:2px solid var(--wptb-plugin-red-300)!important}.wptb-slider-stop-knob[data-wptb-knob-disabled=true] svg{fill:var(--wptb-plugin-red-600)}.wptb-slider-stop-active .wptb-slider-stop-knob{background-color:var(--wptb-plugin-logo-color);color:inherit!important}.wptb-slider-stop-active .wptb-slider-stop-label{color:inherit!important}.wptb-size-input-wrapper{display:flex;justify-content:center;align-items:center;font-size:90%}.wptb-size-input-wrapper *{margin:0 10px;font-size:inherit!important;font-variant-numeric:tabular-nums}.wptb-size-input{width:calc(9ch);border:1px solid var(--wptb-plugin-gray-400)!important;background-color:var(--wptb-plugin-gray-100)!important;text-align:center;color:var(--wptb-plugin-theme-text-color-main)!important}.wptb-responsive-builder-main{margin-bottom:20px;padding:0 20px;position:relative}.wptb-responsive-toolbox-wrapper{display:grid;align-items:center;border:1px solid var(--wptb-plugin-gray-300);border-radius:3px;grid-area:toolbox}.wptb-responsive-toolbox-top-static{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;align-items:center;grid-gap:10px}.wptb-responsive-toolbox-dynamic-wrapper{display:grid;grid-template-columns:1fr;grid-gap:10px;grid-auto-rows:auto}.wptb-responsive-toolbox-wrapper>div{padding:10px;border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-responsive-toolbox-row div:nth-child(even){justify-self:end}.wptb-responsive-toolbox-wrapper>div:last-child{border-bottom:none!important}.wptb-responsive-toolbox-dynamic-controls-holder{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:5px}.wptb-responsive-toolbox-dynamic-controls-holder>div:nth-child(even){justify-self:end}.wptb-responsive-size-range-name{justify-self:center;font-weight:700}.wptb-responsive-clone-wrapper{height:100%;grid-area:main;padding:20px 0;justify-self:center;border:1px solid var(--wptb-plugin-gray-300);border-top:none!important;align-items:center}.wptb-responsive-clone-inner-wrapper,.wptb-responsive-clone-wrapper{display:flex;justify-content:center;width:100%}.wptb-checkerboard-pattern{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyIDIiPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMCIgeT0iMCIgZmlsbD0icmdiKDIwMywyMTMsMjI0KSIvPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMSIgeT0iMCIgZmlsbD0icmdiKDIzNywyNDIsMjQ3KSIvPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMSIgeT0iMSIgZmlsbD0icmdiKDIwMywyMTMsMjI0KSIvPgogICAgPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMSIgeD0iMCIgeT0iMSIgZmlsbD0icmdiKDIzNywyNDIsMjQ3KSIvPgo8L3N2Zz4=);background-repeat:repeat;background-size:20px}.wptb-responsive-disabled-table-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,rgba(1,1,1,.2) 15px,rgba(1,1,1,.2) 30px);z-index:10}.wptb-responsive-wait-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4);color:#fff;text-transform:uppercase;font-weight:700}.wptb-responsive-wait-overlay:after{content:'';-webkit-animation:wptb-text-dots 2s infinite;animation:wptb-text-dots 2s infinite}.wptb-controls-flex-row{display:flex;align-items:center;flex-direction:row}.wptb-controls-flex-row label{margin:0 5px}.wptb-responsive-builder-main input[type=checkbox]{margin-top:0!important}.wptb-plugin-modal-window,.wptb-responsive-cell-identifier{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.wptb-responsive-cell-identifier{font-size:4rem;text-shadow:3px 3px 1px var(--wptb-plugin-gray-300);opacity:0;transition:opacity .5s ease-out;z-index:100}.wptb-responsive-show-cell-identifier .wptb-responsive-cell-identifier{opacity:1!important}.wptb-plugin-modal-window{background-color:rgba(0,0,0,.5);z-index:600000}.wptb-plugin-modal-inner-window{max-width:400px;background-color:#fff;padding:20px;border-radius:3px;display:grid;grid-template-areas:"modalIcon message" "buttonContainer buttonContainer";grid-gap:10px}.wptb-plugin-modal-icon{grid-area:modalIcon;width:50px;height:100%;display:flex;justify-content:center;align-items:center;transform:scale(2);pointer-events:none}.wptb-plugin-modal-message{grid-area:message}.wptb-plugin-modal-button-container{margin:5px 0 0;justify-self:center;grid-area:buttonContainer;width:100%}.wptb-plugin-button-material{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px;border-radius:3px;background-color:var(--wptb-plugin-logo-color);color:#fff;cursor:pointer;transition:all .05s ease-out}.wptb-plugin-button-material:active{transform:scale(.95)}.wptb-plugin-button-material[disabled]{background-color:var(--wptb-plugin-gray-400)!important;cursor:not-allowed}.wptb-plugin-button-material[disabled]:active{transform:none}.wptb-plugin-button-material-fit-content{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}.wptb-plugin-button-material-full-size{width:100%}.wptb-plugin-responsive-base{min-width:auto!important;width:100%!important}.wptb-responsive-toolbox-wrapper .wptb-menu-popup-wrapper{margin-right:0!important}.wptb-responsive-breakpoint-edit-wrapper{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-flow:row;align-items:center}.wptb-toggle input:disabled+i{background:var(--wptb-plugin-gray-400)}.wptb-control-row{width:95%}label.wptb-control-row{text-transform:capitalize}.wptb-builder-content{position:relative}.wptb-responsive-builder-toolbox-float{grid-area:toolbox;padding:10px 0;display:flex;justify-content:space-between}.wptb-responsive-builder-toolbox-left-float{display:flex;justify-content:flex-start;align-items:center}.wptb-number-postfix-buttons-wrapper{margin-left:10px;display:flex!important;height:100%}.wptb-number-postfix-button{display:flex;justify-content:center;align-items:center;width:30px;border:1px solid var(--wptb-plugin-gray-400)!important;background-color:var(--wptb-plugin-gray-100)!important;border-radius:5px;cursor:pointer;font-weight:700;color:var(--wptb-plugin-theme-text-color-main)!important;font-size:110%}.wptb-number-postfix-button:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-panel-toggle-section{grid-area:sidebar-footer;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;padding:20px 10px;background-color:var(--wptb-plugin-logo-color);color:#fff}.wptb-left-panel[data-wptb-panel-location=right] .wptb-panel-toggle-section{justify-content:flex-start!important}.wptb-panel-toggle-section .wptb-panel-drawer-icon{cursor:pointer;transform:scale(2)}.wptb-left-panel[data-wptb-panel-location=right] .wptb-panel-toggle-section .wptb-panel-drawer-icon{transform:scale(2) rotateZ(180deg)}.collapsed .wptb-panel-toggle-section{opacity:1!important}.wptb-cell-related-drop-handle{position:fixed;display:none;background-color:#e2e8f0c7;z-index:300000;pointer-events:none;transition:all .2s ease-out;-webkit-animation:wptb-basic-appear .2s ease-out;animation:wptb-basic-appear .2s ease-out;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;text-transform:uppercase;color:#4a5568}.wptb-control-media-select-button{width:100px;height:50px;border:1px solid var(--wptb-plugin-gray-400);background-position:center center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.wptb-control-media-button-wrapper{position:relative}.wptb-control-media-clear-button{position:absolute;width:20px;height:20px;top:-5px;right:-10px;color:red;cursor:pointer}.wptb-control-media-clear-button span{transform:scale(1.8)}.wptb-controls-ul-row{display:flex}.wptb-button-svg-center{display:flex!important;justify-content:center;align-items:center}.wptb-sides-link-icon-wrapper{width:16px;height:16px;cursor:pointer;transition:transform .1s ease-out;filter:opacity(.7)}.wptb-sides-link-icon-wrapper:active{transform:scale(.9)}.wptb-sides-controls-wrapper{display:grid;grid-template-columns:repeat(5,1fr)}.wptb-side-control-header{color:var(--wptb-plugin-gray-500);text-align:center;margin:5px 0}.wptb-side-control-main-input{width:100%;height:30px!important;border:1.5px solid var(--wptb-plugin-gray-400)!important;border-radius:0!important;text-align:center}.wptb-side-control-number-input{transition:all .3s ease-out;margin-left:5px}.wptb-side-values-linked .wptb-side-control-number-input{margin-left:0}.wptb-side-control-main-input:active,.wptb-side-control-main-input:focus{outline:0!important;box-shadow:none!important}.wptb-side-control-input-wrapper:first-of-type .wptb-side-control-main-input{border-left-width:3px!important;border-radius:5px 0 0 5px!important}.wptb-side-control-input-wrapper:last-of-type .wptb-side-control-main-input{border-right-width:3px!important;border-radius:0 5px 5px 0!important}.wptb-side-control-dropdown-wrapper{align-self:end}.wptb-side-control-dropdown{background-color:var(--wptb-plugin-gray-400)!important}.wptb-named-toggle-control-wrapper{position:relative;min-height:30px;display:grid;grid-template-columns:1fr;grid-auto-columns:1fr;grid-auto-flow:column;justify-content:center;align-items:center;border:1px solid var(--wptb-plugin-gray-400);border-radius:5px;background-color:var(--wptb-plugin-white);overflow:hidden}.wptb-named-toggle-item{display:flex;justify-content:center;align-items:center;text-wrap:avoid;padding:10px;z-index:10;cursor:pointer;color:var(--wptb-plugin-gray-400);font-weight:700;font-size:90%!important}.wptb-named-toggle-item[data-wptb-named-toggle-active=true]{color:var(--wptb-plugin-white)}.wptb-named-toggle-active-indicator{position:absolute;height:100%;background-color:var(--wptb-plugin-logo-color);z-index:9;transition:left .2s ease-out}.wptb-cell[data-wptb-cell-vertical-alignment=top]{vertical-align:baseline}.wptb-cell[data-wptb-cell-vertical-alignment=center]{vertical-align:middle}.wptb-cell[data-wptb-cell-vertical-alignment=bottom]{vertical-align:bottom}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal]::after,.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical]::after{position:absolute;top:0;bottom:0;z-index:101;display:grid;font-family:dashicons;font-size:35px;align-content:center;text-align:center}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask]::after{content:"\f142";right:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk].sortable-hover::after{content:"\f142";cursor:pointer;opacity:.7}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=desk]::after{content:"\f140";right:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-vertical="1"] td[data-sorted-vertical=ask].sortable-hover::after{content:"\f140";cursor:pointer;opacity:.7}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask]::after{content:"\f141";left:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk].sortable-hover::after{content:"\f141";cursor:pointer;opacity:.7}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk]::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=desk]::after{content:"\f139";left:0}.wptb-responsive-clone-wrapper .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask].sortable-hover::after,.wptb-table-setup:not(.wptb-preview-table-manage-cells) .wptb-preview-table[data-wptb-sortable-table-horizontal="1"] td[data-sorted-horizontal=ask].sortable-hover::after{content:"\f139";cursor:pointer;opacity:.7}.wptb-generate-wrapper{margin:0 50px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:inherit}.wptb-generate-menu{display:grid;grid-template-columns:1fr;grid-template-areas:'header' 'listing'}.wptb-generate-menu-header{grid-area:header;padding:30px;border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-generate-menu-listing{grid-area:listing;padding:30px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.wptb-generate-search{border:1px solid var(--wptb-plugin-gray-300)!important;text-align:center;font-size:90%;color:inherit}.wptb-generate-search:active,.wptb-generate-search:focus{border:1px solid var(--wptb-plugin-gray-400)!important;inset:0!important;box-shadow:none!important}.wptb-prebuilt-card{width:200px;max-width:200px;display:grid;grid-template-columns:1fr;grid-template-rows:125px auto;grid-template-areas:'main' 'footer';border-radius:5px;transition:all .4s ease-out;background-color:var(--wptb-plugin-theme-color-light);cursor:pointer;margin:calc(var(--wptb-prebuilt-card-control-size) + 10px)}.wptb-prebuilt-card-active{cursor:default;-webkit-animation:wptb-pop .2s ease-out;animation:wptb-pop .2s ease-out}.wptb-prebuilt-card:hover{box-shadow:3px 3px 2px .5px rgba(0,0,0,.2)}.wptb-prebuilt-card-preview{position:relative;grid-area:main;border:var(--wptb-prebuilt-card-border-size) solid var(--wptb-plugin-gray-400);border-bottom:1px solid var(--wptb-plugin-gray-400)!important;background-color:var(--wptb-plugin-gray-300);display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:'preview';justify-content:center;align-items:center;border-radius:5px 5px 0 0}.wptb-prebuilt-card .wptb-settings-fetching{grid-area:main;z-index:100;color:var(--wptb-plugin-gray-500)}.wptb-team-prebuilt{border:var(--wptb-prebuilt-card-border-size) solid var(--wptb-plugin-logo-color)!important}.wptb-prebuilt-card .wptb-settings-fetching,.wptb-prebuilt-card-controls{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-card-controls{grid-area:preview;position:relative;pointer-events:none}.wptb-prebuilt-live-display{width:100%;height:100%;grid-area:preview;padding:15px}.wptb-prebuilt-live-table{width:100%;height:100%;background-color:var(--wptb-plugin-theme-color-light);border-radius:5px;border:1px solid var(--wptb-plugin-gray-400);display:grid}.wptb-prebuilt-live-cell{width:100%;height:100%;border:.5px solid var(--wptb-plugin-gray-400);cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;overflow:visible;z-index:10}.wptb-prebuilt-live-cell-hover{opacity:.7}.wptb-prebuilt-live-cell:hover .wptb-prebuilt-live-control{opacity:unset;pointer-events:all}.wptb-prebuilt-live-control-hide .wptb-prebuilt-live-control{display:none}.wptb-prebuilt-live-cell-hover,.wptb-prebuilt-live-control-active{background-color:var(--wptb-plugin-logo-color)}.wptb-prebuilt-live-control{position:absolute;opacity:0;pointer-events:none;transition:all .1s ease-out;font-size:120%}.wptb-prebuilt-live-control:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-prebuilt-added-cell{background-color:#40e0d0;cursor:default;z-index:1!important}.wptb-prebuilt-control{position:absolute;display:flex;justify-content:center;align-items:center;pointer-events:all}.wptb-prebuilt-control[data-orientation=row]{top:0;transform:translateY(calc(-100% - var(--wptb-prebuilt-card-border-size)));display:flex;justify-content:center;align-items:center}.wptb-prebuilt-control[data-orientation=col]{left:0;transform:translateX(calc(-100% - var(--wptb-prebuilt-card-border-size)));display:flex;flex-wrap:wrap;flex-direction:column-reverse;width:var(--wptb-prebuilt-card-control-size);justify-content:center;align-items:center}.wptb-prebuilt-control-input{text-align:center;width:var(--wptb-prebuilt-card-control-size);height:var(--wptb-prebuilt-card-control-size);border:1px solid var(--wptb-plugin-gray-300)!important;color:inherit!important;border-radius:0!important;margin:0!important}.wptb-prebuilt-control-input:active,.wptb-prebuilt-control-input:focus{border:1px solid var(--wptb-plugin-gray-400)!important;inset:0!important;box-shadow:none!important}.wptb-prebuilt-control-input:disabled{color:var(--wptb-plugin-gray-300)!important}.wptb-prebuilt-control-increment-box{width:var(--wptb-prebuilt-card-control-size);height:var(--wptb-prebuilt-card-control-size);background-color:var(--wptb-plugin-gray-300);display:flex;justify-content:center;align-items:center;font-size:150%;cursor:pointer}.wptb-prebuilt-control-increment-box:hover{background-color:var(--wptb-plugin-gray-400)}.wptb-prebuilt-control-increment-box[disabled]{background-color:var(--wptb-plugin-gray-200)!important;color:var(--wptb-plugin-gray-400)!important;cursor:default}.wptb-prebuilt-card-footer{grid-area:footer;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-card-footer-element{padding:15px;border:var(--wptb-prebuilt-card-border-size) solid var(--wptb-plugin-gray-400);border-top:0!important;width:100%;height:100%;border-radius:0 0 5px 5px}.wptb-prebuilt-card-footer-button-holder{padding:0!important;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1px;background-color:var(--wptb-plugin-gray-500)}.wptb-prebuilt-card-footer-button-holder-single{grid-template-columns:1fr!important}.wptb-prebuilt-blank{font-size:400%;color:var(--wptb-plugin-gray-500);margin:0!important}.wptb-prebuilt-footer-button{width:100%;height:100%;cursor:pointer;transition:color .2s ease-out;font-weight:700;padding:15px;color:var(--wptb-plugin-gray-400)}.wptb-prebuilt-footer-generate{background-color:var(--wptb-plugin-logo-color)}.wptb-prebuilt-footer-edit{background-color:var(--wptb-plugin-green-500)}.wptb-prebuilt-footer-button:first-of-type{border-radius:0 0 0 5px}.wptb-prebuilt-footer-button:last-of-type{border-radius:0 0 5px 0}.wptb-prebuilt-footer-button:only-of-type{border-radius:0 0 5px 5px}.wptb-prebuilt-footer-button:hover{color:var(--wptb-plugin-theme-color-light)}.wptb-preview-table-manage-cells table tr td div,.wptb-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wptb-no-pointer-events{pointer-events:none}.wptb-plugin-basic-disappear{-webkit-animation:wptb-basic-disappear .1s ease-out;animation:wptb-basic-disappear .1s ease-out}.wptb-prebuilt-ad{margin:50px;color:var(--wptb-plugin-gray-500)}.wptb-prebuilt-ad-link{font-size:120%;color:var(--wptb-plugin-logo-color)!important;font-weight:700}.wptb-prebuilt-table-wrapper{width:100%;overflow:hidden!important;display:flex;justify-content:center;align-items:center;padding:20px;animation:wptb-basic-disappear .2s ease-out alternate-reverse;pointer-events:none}.wptb-prebuilt-card-search-indicator-main{color:var(--wptb-plugin-gray-500)}.wptb-prebuilt-card-search-indicator{color:var(--wptb-plugin-logo-color)!important;font-weight:700}.wptb-prebuilt-card-icon{width:25px;height:25px;position:absolute;cursor:pointer;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-card-fav-icon{left:8px;top:8px}.wptb-prebuilt-card-delete-icon{background-color:var(--wptb-plugin-gray-200);padding:6px;border-radius:50%;width:35px;height:35px;right:-15px;top:-15px;display:flex;justify-content:center;align-items:center;border:2px solid var(--wptb-plugin-gray-400);transition:all .2s ease-out;z-index:120;fill:red}.wptb-prebuilt-card-delete-icon:hover{transform:scale(1.1)}.wptb-prebuilt-card-fav-icon svg{transition:fill .2s ease-out;fill:transparent;stroke-width:40;stroke:var(--wptb-plugin-theme-color-light)}.wptb-prebuilt-card-circle-icon-button:active,.wptb-prebuilt-card-fav-icon:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-prebuilt-card-fav-icon.is-fav svg{fill:var(--wptb-plugin-logo-color)!important;stroke-width:0!important}.wptb-prebuilt-card-fav-icon:hover svg{fill:var(--wptb-plugin-theme-color-light)}.wptb-prebuilt-delete-module-confirmation-overlay{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);color:var(--wptb-plugin-theme-color-light);z-index:100;border-radius:5px 5px 0 0}.wptb-prebuilt-delete-module-confirmation-overlay div{margin:5px}.wptb-prebuilt-delete-button-container{width:100%;display:flex;justify-content:space-evenly;align-items:center}.wptb-prebuilt-card-circle-icon-button{width:30px;height:30px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;color:var(--wptb-plugin-theme-color-light)}.wptb-prebuilt-card-circle-icon-button svg{width:100%;height:100%;fill:currentColor}.wptb-prebuilt-card-circle-icon-button[data-wptb-button-type=positive]{background-color:var(--wptb-plugin-green-500)}.wptb-prebuilt-card-circle-icon-button[data-wptb-button-type=negative]{background-color:red}.wptb-prebuilt-mark-indicator{position:absolute;pointer-events:none;width:calc(100% + 10px);height:calc(100% + 10px);top:-5px;left:-5px;opacity:.2}.wptb-prebuilt-mark-indicator,.wptb-repeating-linear-gradient{background:repeating-linear-gradient(45deg,white,white 5px,var(--wptb-plugin-logo-color) 5px,var(--wptb-plugin-logo-color) 10px);background-size:400% 400%;animation:linear-gradient-move 20s linear infinite reverse}.wptb-prebuilt-card .wptb-prebuilt-mark-indicator{display:none}.wptb-prebuilt-tab-control{position:absolute;top:20px;left:20px;border:1px solid var(--wptb-plugin-gray-400);display:flex;justify-content:center;align-items:center;border-radius:5px}.wptb-prebuilt-dev-tool div,.wptb-prebuilt-tab-control div{padding:5px}.wptb-prebuilt-tab-control-label{text-transform:capitalize;border-right:1px solid var(--wptb-plugin-gray-400);white-space:nowrap}.wptb-prebuilt-tab-control-buttons-wrapper{display:flex;justify-content:center;align-items:center;flex-direction:row;flex-wrap:nowrap}.wptb-prebuilt-tab-control-icon{width:35px;height:35px;display:flex;justify-content:center;align-items:center}.wptb-prebuilt-tab-control-icon[data-wptb-prebuilt-tab-control-type=stop]{fill:red}.wptb-prebuilt-tab-control-icon[data-wptb-prebuilt-tab-control-type=restart]{fill:var(--wptb-plugin-green-500)}.wptb-prebuilt-tab-control-icon svg{width:100%;height:100%;cursor:pointer}.wptb-prebuilt-dev-tool .prebuilt-button:active,.wptb-prebuilt-tab-control-icon svg:active{-webkit-animation:wptb-push .2s ease-out;animation:wptb-push .2s ease-out}.wptb-prebuilt-dev-tool{position:absolute;top:20px;right:20px;border:1px solid var(--wptb-plugin-gray-400);display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center;border-radius:5px}.wptb-prebuilt-dev-tool .label{font-weight:700;border-bottom:1px solid var(--wptb-plugin-gray-400)}.wptb-prebuilt-dev-tool .prebuilt-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:10px;margin:5px;color:var(--wptb-plugin-theme-color-light);background-color:var(--wptb-plugin-logo-color);border-radius:5px;cursor:pointer}.wptb-prebuilt-display-calculate{width:700px}.wptb-preview-table-manage-cells table tr td div{pointer-events:none}.wptb-plugin-blocker-element{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}.wptb-highlighted .wptb-plugin-blocker-element{background:repeating-linear-gradient(45deg,white,white 5px,var(--wptb-plugin-logo-color) 5px,var(--wptb-plugin-logo-color) 10px);background-size:400% 400%;animation:linear-gradient-move 40s linear infinite reverse;opacity:.2}.wptb-plugin-blocker-element-empty::before{content:'Cell';display:block;font-weight:400;font-size:80%;text-align:center;color:#969fa6}.wptb-plugin-blocker-element-empty::after{content:'';display:block;border:1px dashed #969fa6;position:absolute;top:2px;right:2px;bottom:2px;left:2px}.wptb-plugin-header-toolbar{top:0;position:absolute;left:50%;padding:0 10px;border:1px solid var(--wptb-plugin-gray-300);z-index:1;background-color:var(--wptb-plugin-gray-100);transition:top .2s ease-out;display:flex;flex-direction:row;align-items:center}.wptb-plugin-header-toolbar div{font-size:110%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px;margin:0 5px}.wptb-plugin-header-toolbar .dashicons{color:var(--wptb-plugin-logo-color)!important;font-weight:700!important}.wptb-settings-version-control{max-width:800px;width:100%;display:grid;grid-template-columns:1fr 300px;grid-template-areas:'main changelog';grid-template-rows:500px;grid-gap:50px}.wptb-version-control-main{grid-area:main;padding:20px;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.wptb-version-control-main-row{width:100%;display:flex;justify-content:center;padding:10px 0;flex-direction:column}.wptb-version-control-warning-span{color:var(--wptb-plugin-red-600)!important;text-transform:uppercase;font-weight:700;font-size:120%}.wptb-version-control-warning-info{font-size:90%}.wptb-version-control-changelog{grid-area:changelog;background-color:var(--wptb-plugin-gray-200);border:1px solid var(--wptb-plugin-gray-300);font-family:Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;padding:10px;overflow-y:scroll;height:100%}.wptb-version-control-controls{width:100%;height:100%;margin:20px 0;display:grid;grid-template-columns:auto 1fr;grid-template-rows:repeat(3,auto);align-items:center;grid-gap:20px}.wptb-version-control-row-element{padding:10px 0}.wptb-version-control-row-label{text-transform:capitalize;font-weight:700}.wptb-version-control-row-label:after{content:':'}.wptb-version-indicator{height:100%;display:flex;align-items:center;margin-right:10px}.wptb-version-indicator-circle{width:15px;height:15px;border-radius:50%;margin-right:10px}.wptb-version-indicator-match{background-color:var(--wptb-plugin-green-500)}.wptb-version-indicator-low{background-color:var(--wptb-plugin-yellow-500)}.wptb-version-control-anchor{text-transform:capitalize}.wptb-version-control-row-slot{width:100%;height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row}.wptb-table-tags-menu-wrapper{position:fixed;width:100%;height:100%;top:0;left:0}.wptb-tag-control-cloud-wrapper{width:100%}.wptb-tag-control-create-wrapper{margin-top:20px!important;border-top:1px solid var(--wptb-plugin-gray-400);padding-top:10px}.wptb-tag-control-cloud-wrapper:nth-of-type(n+1){margin-top:10px}.wptb-tag-control-cloud-wrapper .wptb-settings-item-title{text-transform:capitalize;font-size:90%!important;font-weight:700}.wptb-tag-control-cloud{width:100%;min-height:90px;max-height:90px;overflow-y:auto;background-color:var(--wptb-plugin-gray-200);padding:3px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;position:relative;border:1px solid var(--wptb-plugin-gray-400);border-radius:5px}.wptb-tag-ribbon-wrapper{color:var(--wptb-plugin-theme-color-light);font-size:90%!important;padding:3px 5px 3px 10px;background-color:var(--wptb-plugin-logo-color);border-radius:999px!important;display:flex;align-items:center;justify-content:space-between;margin:5px;cursor:default;-webkit-animation:wptb-basic-appear .2s ease-out;animation:wptb-basic-appear .2s ease-out}.wptb-tag-ribbon-name{font-size:inherit!important}.wptb-tag-ribbon-wrapper:hover .wptb-tag-operation-button{opacity:1}.wptb-tag-operation-button{width:20px;height:20px;border-radius:100%;margin-left:10px;opacity:0;transition:all .3s ease-out;display:flex;justify-content:center;align-items:center;cursor:pointer}.wptb-tag-operation-add-button{background-color:var(--wptb-plugin-green-500)}.wptb-tag-operation-remove-button{background-color:var(--wptb-plugin-red-600)}.wptb-tag-control-cloud-empty,.wptb-tag-control-search-wrapper{width:100%;display:flex;justify-content:center;align-items:center}.wptb-tag-control-cloud-empty{position:absolute;top:0;left:0;height:100%;color:var(--wptb-plugin-gray-500);font-style:italic;font-size:90%!important}.wptb-tag-control-cloud-empty:after,.wptb-tag-control-cloud-empty:before{content:'==';margin:0 5px}.wptb-tag-control-search-wrapper{margin-top:5px}.wptb-tag-control-search{border:1px solid var(--wptb-plugin-gray-400)!important;text-align:center;font-size:90%!important;color:inherit;border-radius:999px!important;padding:0!important}.wptb-tag-control-search:active,.wptb-tag-control-search:focus{border:1px solid var(--wptb-plugin-gray-500)!important;inset:0!important;box-shadow:none!important}.wptb-tag-control-search-input{position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:90%!important}.wptb-tag-control-search-clear{position:absolute;top:0;right:10px;height:100%;display:flex;justify-content:center;align-items:center;color:var(--wptb-plugin-gray-500);cursor:pointer;padding:5px}.wptb-tag-control-search-indicator{font-weight:700;color:var(--wptb-plugin-green-500)!important;font-size:inherit!important}.wptb-tag-control-create-controls-wrapper{width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;grid-gap:10px;margin-top:10px}.wptb-tag-control-create-controls-wrapper input{width:100%!important}.wptb-tag-control-create-control-label{font-size:90%!important;text-transform:capitalize}.wptb-tag-control-create-button{background-color:var(--wptb-plugin-logo-color);color:var(--wptb-plugin-theme-color-light);display:flex;justify-self:end;justify-content:center;align-items:center;font-size:90%!important;text-transform:uppercase;padding:5px;border-radius:5px;grid-column:2;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer;transition:all .2s ease-out}.wptb-tag-control-create-button[data-disabled]{background-color:var(--wptb-plugin-gray-400);pointer-events:none}.wptb-tag-control-busy,.wptb-tag-control-status{grid-column:1;width:100%;height:100%;display:flex;align-items:center}.wptb-tag-control-status[data-status=positive]{color:var(--wptb-plugin-green-500)!important}.wptb-tag-control-status[data-status=negative]{color:var(--wptb-plugin-red-600)!important}.wptb-tag-control-busy{color:var(--wptb-plugin-logo-color)}.wptb-table-cell-select-wrapper{display:grid;grid-gap:5px;width:100%;height:150px;border:1px solid var(--wptb-plugin-gray-400);padding:10px;border-radius:3px;background-color:var(--wptb-plugin-gray-300)}.wptb-table-cell-select-cell{width:100%;height:100%;cursor:pointer;transition:all .2s ease-out;border-radius:3px;background-color:var(--wptb-plugin-gray-400)}.wptb-table-cell-select-cell:hover{background-color:var(--wptb-plugin-gray-500)}.wptb-table-cell-select-cell[data-cell-selected=true]{background-color:var(--wptb-plugin-logo-color)!important}.wptb-table-cell-indicator{position:fixed;opacity:.2;pointer-events:none}.wptb-different-border-control-wrapper .wptb-settings-middle-xs{padding-top:5px!important;border-bottom:0!important}.wptb-different-border-range-input .wptb-settings-item-header{padding-bottom:0!important}.wptb-color-picker-wrapper{width:100%}.wptb-color-picker-input-wrapper{width:100px;height:30px;border:1px solid var(--wptb-plugin-gray-400);border-radius:3px;cursor:pointer;background-color:var(--wptb-plugin-gray-200);display:grid;grid-template-columns:.7fr .3fr;justify-content:center;align-items:center}.wptb-color-picker-input-wrapper[disabled]{pointer-events:none}.wptb-color-picker-inner-indicator{height:100%;padding:3px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}.wptb-color-picker-clear-color-indicator{width:100%;height:100%;grid-column:1;grid-row:1;z-index:2;display:flex;justify-content:center;align-items:center}.wptb-color-picker-clear-color-indicator svg{fill:var(--wptb-plugin-red-600)}.wptb-color-picker-icon-standards svg{width:15px;height:auto}.wptb-color-picker-selected-color{border-radius:3px 0 0 3px;border:1px solid var(--wptb-plugin-gray-400);transition:background-color .2s ease-out;cursor:pointer;grid-column:1;grid-row:1;z-index:2}.wptb-color-picker-alpha-checkerboard{z-index:1;grid-column:1;grid-row:1;background-size:15px!important}.wptb-color-picker-logo{display:flex;justify-content:center;align-items:center;width:100%;height:100%;font-size:120%!important;color:var(--wptb-plugin-logo-color)}.wptb-color-picker-clear-color svg,.wptb-color-picker-logo svg{fill:currentColor}.wptb-color-picker-tool-wrapper{position:fixed;z-index:3}.wptb-color-picker-tool-inner-wrapper{position:relative}.wptb-color-picker-input{cursor:pointer}.wptb-color-picker-input:disabled{cursor:default}[data-wptb-text-disabled=true]{color:var(--wptb-plugin-gray-400)!important}.wptb-color-picker-clear-color-wrapper{position:absolute;display:flex;justify-content:center;align-items:center;left:0;width:100%;height:30px}.wptb-color-picker-clear-color,.wptb-local-dev-file-chooser{height:100%;display:flex;justify-content:center;align-items:center}.wptb-color-picker-clear-color{background-color:#fff;padding:0 10px;border:1px solid var(--wptb-plugin-gray-400);border-radius:0 0 3px 3px;font-size:90%!important;color:var(--wptb-plugin-red-600);cursor:pointer}.wptb-color-picker-input-wrapper[disabled] .wptb-color-picker-logo svg{fill:var(--wptb-plugin-gray-400)}.wptb-color-picker-input-wrapper[disabled] .wptb-color-picker-selected-color{background-color:var(--wptb-plugin-gray-300)!important}.wptb-local-dev-file-chooser{position:fixed;width:100%;left:0;top:0;background-color:rgba(0,0,0,.6)}.wptb-local-dev-modal{background-color:var(--wptb-plugin-theme-color-light);width:500px;height:300px;border-radius:3px;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) 1fr minmax(min-content,max-content);grid-template-areas:"header" "files" "footer"}.wptb-local-dev-modal>div{padding:5px;border-bottom:1px solid var(--wptb-plugin-gray-400);display:flex;align-items:center}.wptb-local-dev-modal>div:last-of-type{border-bottom:0}.wptb-local-dev-modal-header{font-weight:700;text-transform:uppercase;justify-content:space-between;padding:0!important}.wptb-local-dev-modal-title{padding:5px!important}.wptb-local-dev-modal-files{position:relative;overflow-y:auto;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;background-color:var(--wptb-plugin-gray-200)}.wptb-local-dev-modal-footer{justify-content:flex-end}.wptb-local-dev-modal-footer .wptb-settings-button{margin:0 5px!important;font-size:90%!important}.wptb-local-dev-image-card{width:100px;max-width:100px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:1fr minmax(min-content,max-content);grid-auto-flow:row;cursor:pointer;justify-content:center;align-items:center;margin:5px;border:2px solid var(--wptb-plugin-gray-300);padding:5px;border-radius:5px;transition:all .2s ease-out;background-color:var(--wptb-plugin-theme-color-light)}.wptb-local-dev-image-card[data-active=true]{border:2px solid var(--wptb-plugin-logo-color)!important}.wptb-local-dev-image-card:hover{border:2px solid var(--wptb-plugin-gray-400);transform:scale(1.05)}.wptb-local-dev-image-holder{width:100%;height:100%}.wptb-local-dev-image-holder img{max-width:100%;max-height:100%;display:block}.wptb-local-dev-image-name{word-break:break-all;display:flex;justify-content:center;align-items:center;font-style:italic;font-size:90%;border-top:1px solid var(--wptb-plugin-gray-300)}.wptb-local-dev-modal-close{padding:0 10px;color:var(--wptb-plugin-red-600);cursor:pointer;font-size:120%!important}.wptb-upsells-wrapper{width:100%;padding:15px;color:var(--wptb-plugin-theme-color-light);cursor:pointer;transition:all .2s ease-out;-webkit-animation:wptb-unfold-up .3s ease-out forwards;animation:wptb-unfold-up .3s ease-out forwards;-webkit-animation-delay:.5s;animation-delay:.5s;transform:rotateX(-90deg);transform-origin:top;box-sizing:border-box}.wptb-disclaimer-message p,.wptb-disclaimer-message span,.wptb-left-panel .wptb-upsells-wrapper{font-size:90%!important}.wptb-panel-left .wptb-upsells-anchor{font-size:125%}.wptb-upsells-message-holder{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;margin:0!important;border-radius:5px;padding:10px 5px;transition:all .3s ease-out;text-align:center;background-color:var(--wptb-plugin-theme-color-light)!important;border:1px solid var(--wptb-plugin-gray-400);color:var(--wptb-plugin-gray-600);font-weight:500}.wptb-generate-wrapper .wptb-upsells-message-holder{background-color:var(--wptb-plugin-gray-200)!important;padding:15px}.wptb-upsells-pro-label{background-color:var(--wptb-plugin-cta-button)!important;color:var(--wptb-plugin-black);border-radius:3px;padding:5px;font-weight:700;border:1px solid var(--wptb-plugin-gray-400)!important}.wptb-upsells-message-holder:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -1px rgba(0,0,0,.3)!important;transform:scale(1.05)}.wptb-upsells-anchor{text-decoration:none}.wptb-notification-manager{position:fixed;display:flex;flex-wrap:nowrap;flex-direction:column;height:-webkit-max-content;height:-moz-max-content;height:max-content;top:50%;right:calc(-1*var(--wptb-notification-manager-width));width:var(--wptb-notification-manager-width);transition:all .2s ease-out;z-index:99999999999}.wptb-notification-wrapper{width:100%;display:grid;grid-template-columns:40px 3px 1fr;justify-content:center;align-items:start;color:var(--wptb-plugin-gray-700);border-radius:3px 0 0 3px;border-right:0!important;margin:0 0 5px;transition:all .3s ease-out;cursor:pointer}.wptb-notification-icon{width:40px;height:40px;display:flex;justify-content:center;align-items:center;position:relative}.wptb-notification-filler,.wptb-notification-message{width:3px;height:40px;background-color:var(--wptb-plugin-gray-200);border-width:1px 0;border-style:solid}.wptb-notification-message{width:100%;height:100%;display:flex;justify-content:flex-start;align-items:center;padding:0 15px;text-transform:capitalize;border-width:1px 0 1px 5px}.wptb-notification-svg-wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.wptb-notification-svg-wrapper svg{width:25px;height:25px;fill:currentColor}.wptb-notification-manager-dev-tool-wrapper{position:absolute;top:50%;left:10px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(4,minmax(-webkit-min-content,-webkit-max-content));grid-template-rows:repeat(4,minmax(min-content,max-content));grid-template-areas:"header" "selection" "message" "submit";border:1px solid var(--wptb-plugin-gray-400);border-radius:3px;justify-content:center;align-items:center;background-color:var(--wptb-plugin-gray-100)}.wptb-notification-manager-dev-tool-wrapper>div{padding:10px;border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-nm-devtool-header{grid-area:header;font-weight:700}.wptb-nm-devtool-selection{grid-area:selection;display:flex;justify-content:space-evenly;align-items:center;flex-wrap:nowrap;flex-direction:row}.wptb-nm-devtool-input{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,1fr)}.wptb-nm-devtool-submit{grid-area:submit;justify-self:center}.wptb-nm-devtool-message{grid-area:message;justify-self:center}.wptb-notification-queue-length{position:absolute;width:20px;height:20px;left:-10px;top:-10px;display:flex;justify-content:center;align-items:center;border-radius:100%;color:var(--wptb-plugin-theme-color-light);font-weight:700;-webkit-animation:wptb-more-pop .2s ease-out;animation:wptb-more-pop .2s ease-out}.wptb-builder-panel[data-manage-cells-active=true],[data-manage-cells-active=true] .wptb-builder-content{display:flex;flex-flow:column;height:100%;overflow:hidden!important}[data-manage-cells-active=true] .wptb-management_table_container{width:100%;height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) 1fr minmax(min-content,max-content);overflow:hidden!important;margin:unset}[data-manage-cells-active=true] .wptb-preview-table-manage-cells{overflow:auto!important}[data-manage-cells-active=true] .wptb-management_table_container #wptb-bar-top{text-align:center;z-index:10000}.wptb-what-is-new-container{position:fixed;z-index:100000000;background-color:rgba(0,0,0,.3);top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.wptb-what-is-new-window{background-color:var(--wptb-plugin-theme-color-light);width:700px;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(-webkit-min-content,-webkit-max-content));grid-template-rows:repeat(2,minmax(min-content,max-content));grid-template-areas:'header' 'content';justify-content:center;align-items:center;border-radius:3px;font-size:110%!important;color:var(--wptb-plugin-gray-700)!important;border:2px solid var(--wptb-plugin-gray-300)}.wptb-what-is-new-header{grid-area:header;border-bottom:2px solid var(--wptb-plugin-gray-300);display:flex;height:45px}.wptb-what-is-new-header-version{display:flex;width:100%;height:100%;justify-content:center;align-items:center;font-weight:700!important;color:var(--wptb-plugin-logo-color)}.wptb-what-is-new-header-text-icon{width:15px;height:auto;fill:var(--wptb-plugin-yellow-500);margin:0 10px}.wptb-what-is-new-header-close{width:45px;height:45px;display:flex;justify-content:center;align-items:center;border-left:2px solid var(--wptb-plugin-gray-300);cursor:pointer;transition:all .2s ease-out}.wptb-what-is-new-header-close:hover{background-color:var(--wptb-plugin-gray-300)}.wptb-what-is-new-header-close:hover svg{fill:var(--wptb-plugin-gray-700)}.wptb-what-is-new-header-close svg{width:15px;height:auto;fill:var(--wptb-plugin-gray-500);transition:all .2s ease-out}.wptb-what-is-new-content{grid-area:content;display:grid;grid-template-columns:1fr;grid-template-rows:200px minmax(-webkit-min-content,-webkit-max-content) 90px;grid-template-rows:200px minmax(min-content,max-content) 90px;grid-template-areas:'imageContainer' 'noteIndex' 'textContainer';justify-content:center;align-items:center}.wptb-what-is-new-note-image-carousel{grid-area:imageContainer;display:grid;grid-template-rows:1fr;grid-template-columns:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-columns:minmax(min-content,max-content) 1fr minmax(min-content,max-content)}.wptb-what-is-new-note-index{grid-area:noteIndex;display:flex;justify-content:center;align-items:center;color:var(--wptb-plugin-gray-500);font-variant-numeric:tabular-nums}.wptb-what-is-new-note-text-container{grid-area:textContainer;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;justify-content:center;align-items:center}.wptb-what-is-new-carousel-nav-button,.wptb-what-is-new-note-text{display:flex;justify-content:center;align-items:center;margin:0 20px}.wptb-what-is-new-note-text{grid-column:1;grid-row:1;flex-direction:column;text-align:center}.wptb-what-is-new-note-text .wptb-upsells-pro-label{margin:10px;text-decoration:none}.wptb-what-is-new-carousel-nav-button{height:100%;color:var(--wptb-plugin-gray-700);cursor:pointer;transition:all .2s ease-out}.wptb-what-is-new-carousel-nav-button:active{-webkit-animation:wptb-pop .2s ease-out;animation:wptb-pop .2s ease-out}.wptb-what-is-new-carousel-nav-button svg{width:25px;height:auto;fill:currentColor}.wptb-what-is-new-carousel-nav-button[disabled=disabled]{color:var(--wptb-plugin-gray-400);cursor:default;pointer-events:none}.wptb-what-is-new-images-wrapper{display:grid;grid-template-columns:1fr;grid-template-rows:200px}.wptb-what-is-new-image-background{position:relative;margin:10px;padding:10px;grid-column:1;grid-row:1;background-color:var(--wptb-plugin-gray-200);display:flex;justify-content:center;align-items:center;border:2px solid var(--wptb-plugin-gray-300)}.wptb-what-is-new-pro-indicator{position:absolute;left:-20px;top:10px;color:var(--wptb-plugin-theme-color-light);z-index:1}.wptb-what-is-new-pro-indicator-text{padding:5px 20px;border-radius:3px 3px 3px 0;background-color:var(--wptb-plugin-logo-color)}.wptb-what-is-new-pro-indicator-triangle-end{width:1px;height:20px;border-left:20px solid transparent;border-top:15px solid var(--wptb-plugin-gray-500)}.wptb-what-is-new-image-background img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.wptb-css-code-input{position:relative;width:100%!important;max-width:100%!important;border:1px solid #ddd!important;border-radius:3px}.wptb-css-code-input .wptb-menu-empty-cover{background-color:rgba(0,0,0,.1)!important;z-index:10000000}.CodeMirror{max-height:200px!important;height:200px!important}.CodeMirror *{font-size:12px!important}.wptb-plugin-inner-shadow{box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.09) 0 2px 4px 0 inset}.wptb-panel-plain-message{text-align:center;padding:20px 10px;font-size:80%!important;color:var(--wptb-plugin-gray-600)!important}.wptb-bg-selection-item,.wptb-panel-plain-message,.wptb-selector-icon-wrapper{display:flex;justify-content:center;align-items:center}.wptb-bg-selection-item{position:absolute;background-color:var(--wptb-plugin-logo-color);width:30px;transition:all .2s ease-out;cursor:pointer;z-index:10}.wptb-bg-color-selectors[data-visible=false]{display:none!important}.wptb-selector-icon-wrapper{width:100%;height:100%}.wptb-selector-icon-wrapper svg{width:20px;height:auto;fill:var(--wptb-plugin-theme-color-light)}.wptb-col-selection{height:30px}.wptb-bg-column-rail,.wptb-bg-row-rail{position:absolute;display:grid;justify-content:center;align-items:center}.wptb-bg-column-rail{grid-auto-flow:column;height:30px}.wptb-bg-row-rail{grid-template-columns:1fr;grid-auto-flow:row;width:30px;top:0}.wptb-bg-rail-mark{border:2px dashed var(--wptb-plugin-logo-color);height:100%;opacity:0;transition:opacity .2s ease-out;cursor:pointer}.wptb-bg-rail-mark:hover{opacity:.5}.wptb-general-style-settings{width:100%;height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr;grid-template-rows:minmax(min-content,max-content) 1fr;grid-gap:20px}.wptb-general-style-settings .wptb-menu-empty-cover{color:var(--wptb-plugin-logo-color)!important}.wptb-general-style-settings .wptb-css-code-input{height:100%!important}.wptb-general-style-settings .CodeMirror{height:100%!important;max-height:100%!important}.wptb-panel-message{color:var(--wptb-plugin-gray-600)}.wptb-panel-message-icon{margin-right:10px}.wptb-panel-message-icon svg{width:20px;height:20px;fill:var(--wptb-plugin-yellow-500)}.wptb-size2-control-input-wrapper{display:grid;grid-template-columns:1.2fr 20px 1.2fr 1fr;grid-template-rows:1fr auto;justify-content:center;align-content:center;grid-gap:10px}.wptb-size2-input input{transition:all .2s ease-out;width:100%;border:1.5px solid var(--wptb-plugin-gray-400);border-radius:3px!important;text-align:end}.wptb-size2-input input[disabled]{background-color:var(--wptb-plugin-gray-300)!important;cursor:not-allowed}.wptb-size2-control-input-component{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,1fr);justify-items:center;align-items:center;height:100%;width:100%}.wptb-size2-aspect-icon{width:100%;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer;color:var(--wptb-plugin-red-600)}.wptb-size2-aspect-icon[data-wptb-linked=true]{color:var(--wptb-plugin-green-500)!important}.wptb-size2-aspect-icon svg{width:100%;height:100%;transition:all .2s ease-out}.wptb-size2-unit-dropdown{border:1.5px solid var(--wptb-plugin-gray-400)!important;border-radius:3px!important}.wptb-size-control-aspect-ratio-info-container{padding:10px;grid-column:1/-1;justify-self:center;color:var(--wptb-plugin-gray-500);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wptb-multi-checkbox-wrapper .wptb-settings-checkbox-row label,.wptb-settings-reset-size2-control{transition:all .2s ease-out}.wptb-settings-reset-size2-control:active{transform:rotateZ(-180deg)}.wptb-lazy-load-wrapper{max-width:800px;width:100%;height:100%;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;gap:10px;grid-template-areas:'left right'}.wptb-lazy-load-left-column{grid-area:left;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) 1fr minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) 1fr minmax(min-content,max-content);grid-template-areas:'basic' 'preview' 'disclaimer';justify-content:center;align-items:center;gap:10px;overflow:auto}.wptb-lazy-load-basic-options{grid-area:basic}.wptb-lazy-load-preview-container{grid-area:preview;width:100%;height:100%;display:grid;grid-template-columns:minmax(150px,-webkit-max-content);grid-template-columns:minmax(150px,max-content);grid-template-rows:minmax(-webkit-min-content,-webkit-max-content) minmax(150px,-webkit-max-content) minmax(-webkit-min-content,-webkit-max-content);grid-template-rows:minmax(min-content,max-content) minmax(150px,max-content) minmax(min-content,max-content);justify-content:center;justify-items:center;align-content:center;align-items:center;grid-template-areas:'header' 'preview' 'footer';gap:5px}.wptb-lazy-load-preview-header{grid-area:header;text-transform:uppercase;font-weight:700}.wptb-lazy-load-preview{grid-area:preview}.wptb-lazy-load-preview img{width:150px;height:150px}.wptb-lazy-load-preview-button-container{grid-area:footer}.wptb-lazy-load-preview-button-container>div{margin:10px}.wptb-lazy-load-pro-options{padding:0 10px;overflow:auto;color:var(--wptb-plugin-gray-500);position:relative;grid-area:right}.wptb-controls-for-settings>div{border:1px solid var(--wptb-plugin-gray-300);border-bottom:0}.wptb-lazy-load-pro-options>div:last-of-type{border-bottom:1px solid var(--wptb-plugin-gray-300)}.wptb-lazy-load-pro-disabled-overlay{width:100%;height:100%;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,#3299d132 15px,#3299d132 30px);z-index:10;display:flex;justify-content:center;align-items:center}.wptb-controls-for-settings *{font-size:inherit!important;color:var(--wptb-plugin-theme-text-color-main);box-sizing:border-box}.wptb-control-tip-wrapper{position:relative}.wptb-control-tip-wrapper[disabled] .wptb-tip-popup{color:var(--wptb-plugin-gray-400)}.wptb-control-tip-wrapper[disabled] .wptb-tip-popup:hover{background-color:inherit!important}.wptb-tip-popup{position:absolute;border:2px solid var(--wptb-plugin-gray-300);border-radius:100%;width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wptb-plugin-theme-color-light);transition:background-color .2s ease-out}.wptb-tip-popup,.wptb-tip-popup[data-tip-positon=topRight]{top:5px;right:5px}.wptb-tip-popup:hover{background-color:var(--wptb-plugin-gray-200)}.wptb-lazy-load-img[data-wptb-lazy-load-status=false]{opacity:0}.wptb-lazy-load-img[data-wptb-lazy-load-status=true]{opacity:1}.wptb-lazy-load-buffer-element-container{position:relative}.wptb-lazy-load-buffer-element{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:5px}.wptb-lazy-load-buffer-element,.wptb-lazy-load-buffer-icon-wrapper{display:flex;justify-content:center;align-items:center}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=heartBeat] svg{-webkit-animation:wptb-beat 1.3s ease-out forwards infinite;animation:wptb-beat 1.3s ease-out forwards infinite}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=rotate] svg{-webkit-animation:wptb-rotate-simple 1s ease-out forwards infinite;animation:wptb-rotate-simple 1s ease-out forwards infinite}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=jump] svg{-webkit-animation:wptb-jump .5s ease-out alternate infinite;animation:wptb-jump .5s ease-out alternate infinite}.wptb-lazy-load-buffer-icon-wrapper[data-wptb-lazy-load-icon-animation=flip] svg{-webkit-animation:wptb-flip 1s ease-out forwards infinite;animation:wptb-flip 1s ease-out forwards infinite}.wptb-panel-direction-control-indicators-container{display:grid;grid-template-columns:repeat(3,minmax(-webkit-min-content,-webkit-max-content));grid-template-columns:repeat(3,minmax(min-content,max-content));grid-template-rows:repeat(3,minmax(-webkit-min-content,-webkit-max-content));grid-template-rows:repeat(3,minmax(min-content,max-content));grid-template-areas:'up up up' 'left static right' 'down down down';grid-gap:3px;justify-content:center;align-items:center}.wptb-panel-direction-cadet{display:flex;justify-content:center;align-items:center;cursor:pointer}.wptb-panel-direction-cadet svg{width:25px;height:25px;fill:var(--wptb-plugin-gray-400);transition:fill .2s ease-out}.wptb-panel-direction-cadet:hover svg{fill:var(--wptb-plugin-gray-500)}.wptb-panel-direction-cadet[data-wptb-active-direction=true] svg{fill:var(--wptb-plugin-logo-color)}.wptb-panel-direction-cadet[data-wptb-panel-direction=up]{grid-area:up}.wptb-panel-direction-cadet[data-wptb-panel-direction=left]{grid-area:left}.wptb-panel-direction-cadet[data-wptb-panel-direction=right]{grid-area:right}.wptb-panel-direction-cadet[data-wptb-panel-direction=down]{grid-area:down}.wptb-panel-direction-static{grid-area:static;width:20px;height:20px;background-color:var(--wptb-plugin-gray-400);border:1px solid var(--wptb-plugin-gray-500);border-radius:3px}[data-wptb-disabled=true] .wptb-panel-direction-cadet svg{fill:var(--wptb-plugin-gray-300)!important}[data-wptb-disabled=true] .wptb-panel-direction-static{background-color:var(--wptb-plugin-gray-300);border:1px solid var(--wptb-plugin-gray-400)}[data-wptb-disabled=true] .wptb-panel-direction-cadet{cursor:pointer;pointer-events:none}.wptb-disclaimer-container{width:100%;display:flex;justify-content:center;padding:10px 0;flex-direction:column}.wptb-disclaimer-title{color:var(--wptb-plugin-red-600)!important;text-transform:uppercase;font-weight:700;font-size:120%}.wptb-code{font-family:monospace!important;padding:0 3px;border-radius:3px;background-color:#fde68a;border:1px solid #fcd34d;font-size:inherit!important}.wptb-element[data-wptb-dummy=true]{pointer-events:none}.wptb-element[data-wptb-dummy=true] svg{fill:currentColor!important}.wptb-element[data-wptb-dummy=true],.wptb-element[data-wptb-dummy=true] .wptb-element-draggable-icon{color:var(--wptb-plugin-gray-400)!important}.wptb-disabled-overlay-container{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;justify-content:center;align-items:center;grid-template-areas:'content'}.wptb-disabled-overlay{grid-area:content;width:100%;height:100%;z-index:10;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,#3299d13c 15px,#3299d13c 30px);cursor:not-allowed}.wptb-disabled-overlay-slot-wrapper{grid-area:content;z-index:9}.wptb-upsells-pro-overlay{position:absolute;display:flex;justify-content:center;align-items:center;width:100%;height:100%;top:0;left:0;background-image:repeating-linear-gradient(45deg,transparent,transparent 15px,#3299d13c 15px,#3299d13c 30px)}.wptb-data-listing-row-search-clause-wrap{color:var(--wptb-plugin-gray-500)}.wptb-data-listing-row-search-clause{color:var(--wptb-plugin-logo-color)!important;font-weight:700!important}.wptb-search-input-wrapper{position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wptb-search-input-element{width:100%!important;border:1px solid var(--wptb-plugin-gray-400)!important;text-align:center;color:inherit;border-radius:999px!important;padding:0!important;font-size:inherit!important}.wptb-search-input-element:active,.wptb-search-input-element:focus{border:1px solid var(--wptb-plugin-gray-500)!important;inset:0!important;box-shadow:none!important}.wptb-search-input-clear{position:absolute;top:0;right:10px;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:0 5px;color:var(--wptb-plugin-red-500);font-weight:700}.wptb-search-input-clear[data-disabled=true]{color:var(--wptb-plugin-gray-500)!important}.wptb-svg-inherit-color svg{fill:currentColor}.wptb-image-element-dummy{display:none!important}.wptb-settings-generic-icon{width:16px;height:16px;cursor:pointer}.wptb-svg-14px svg{width:14px}.wptb-multi-checkbox-wrapper .wptb-settings-checkbox-row[data-wptb-checked=true] label{color:var(--wptb-plugin-logo-color)}.CodeMirror{font-family:monospace;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:0}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:0!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:0 0}
|
inc/admin/css/src/admin.css
CHANGED
@@ -156,7 +156,7 @@ body > img {
|
|
156 |
}
|
157 |
|
158 |
.wptb-plugin-width-full {
|
159 |
-
width: 100
|
160 |
}
|
161 |
|
162 |
.wptb-plugin-height-full {
|
@@ -1797,10 +1797,11 @@ table.wptb-table {
|
|
1797 |
padding: 0;
|
1798 |
max-width: 100%;
|
1799 |
height: auto;
|
|
|
1800 |
}
|
1801 |
|
1802 |
.wptb-image-wrapper a {
|
1803 |
-
display: block
|
1804 |
max-width: 100%;
|
1805 |
position: relative;
|
1806 |
margin: auto;
|
@@ -4353,7 +4354,6 @@ label.wptb-control-row {
|
|
4353 |
align-items: center;
|
4354 |
}
|
4355 |
|
4356 |
-
|
4357 |
/*region sides control*/
|
4358 |
.wptb-sides-link-icon-wrapper {
|
4359 |
width: 16px;
|
@@ -4381,7 +4381,7 @@ label.wptb-control-row {
|
|
4381 |
.wptb-side-control-main-input {
|
4382 |
width: 100%;
|
4383 |
height: 30px !important;
|
4384 |
-
border: 1.5px solid var(--wptb-plugin-gray-
|
4385 |
border-radius: 0 !important;
|
4386 |
text-align: center;
|
4387 |
}
|
@@ -6543,6 +6543,83 @@ label.wptb-control-row {
|
|
6543 |
fill: var(--wptb-plugin-yellow-500);
|
6544 |
}
|
6545 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6546 |
/*endregion*/
|
6547 |
|
6548 |
/*region lazy load settings menu*/
|
@@ -6999,3 +7076,33 @@ label.wptb-control-row {
|
|
6999 |
}
|
7000 |
|
7001 |
/*endregion*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
}
|
157 |
|
158 |
.wptb-plugin-width-full {
|
159 |
+
width: 100% !important;
|
160 |
}
|
161 |
|
162 |
.wptb-plugin-height-full {
|
1797 |
padding: 0;
|
1798 |
max-width: 100%;
|
1799 |
height: auto;
|
1800 |
+
transition: all 0.2s ease-out;
|
1801 |
}
|
1802 |
|
1803 |
.wptb-image-wrapper a {
|
1804 |
+
display: block;
|
1805 |
max-width: 100%;
|
1806 |
position: relative;
|
1807 |
margin: auto;
|
4354 |
align-items: center;
|
4355 |
}
|
4356 |
|
|
|
4357 |
/*region sides control*/
|
4358 |
.wptb-sides-link-icon-wrapper {
|
4359 |
width: 16px;
|
4381 |
.wptb-side-control-main-input {
|
4382 |
width: 100%;
|
4383 |
height: 30px !important;
|
4384 |
+
border: 1.5px solid var(--wptb-plugin-gray-400) !important;
|
4385 |
border-radius: 0 !important;
|
4386 |
text-align: center;
|
4387 |
}
|
6543 |
fill: var(--wptb-plugin-yellow-500);
|
6544 |
}
|
6545 |
|
6546 |
+
|
6547 |
+
/*endregion*/
|
6548 |
+
|
6549 |
+
/*region size2 control*/
|
6550 |
+
.wptb-size2-control-input-wrapper {
|
6551 |
+
display: grid;
|
6552 |
+
grid-template-columns: 1.2fr 20px 1.2fr 1fr;
|
6553 |
+
grid-template-rows: 1fr auto;
|
6554 |
+
justify-content: center;
|
6555 |
+
align-content: center;
|
6556 |
+
grid-gap: 10px;
|
6557 |
+
}
|
6558 |
+
|
6559 |
+
.wptb-size2-input input {
|
6560 |
+
transition: all 0.2s ease-out;
|
6561 |
+
width: 100%;
|
6562 |
+
border: 1.5px solid var(--wptb-plugin-gray-400);
|
6563 |
+
border-radius: 3px !important;
|
6564 |
+
text-align: end;
|
6565 |
+
}
|
6566 |
+
|
6567 |
+
.wptb-size2-input input[disabled] {
|
6568 |
+
background-color: var(--wptb-plugin-gray-300) !important;
|
6569 |
+
cursor: not-allowed;
|
6570 |
+
}
|
6571 |
+
|
6572 |
+
.wptb-size2-control-input-component {
|
6573 |
+
display: grid;
|
6574 |
+
grid-template-columns: 1fr;
|
6575 |
+
grid-template-rows: repeat(2, 1fr);
|
6576 |
+
justify-items: center;
|
6577 |
+
align-items: center;
|
6578 |
+
height: 100%;
|
6579 |
+
width: 100%;
|
6580 |
+
}
|
6581 |
+
|
6582 |
+
.wptb-size2-aspect-icon {
|
6583 |
+
width: 100%;
|
6584 |
+
height: 100%;
|
6585 |
+
display: flex;
|
6586 |
+
justify-content: center;
|
6587 |
+
align-items: center;
|
6588 |
+
cursor: pointer;
|
6589 |
+
color: var(--wptb-plugin-red-600);
|
6590 |
+
}
|
6591 |
+
|
6592 |
+
.wptb-size2-aspect-icon[data-wptb-linked = 'true'] {
|
6593 |
+
color: var(--wptb-plugin-green-500) !important;
|
6594 |
+
}
|
6595 |
+
|
6596 |
+
.wptb-size2-aspect-icon svg {
|
6597 |
+
width: 100%;
|
6598 |
+
height: 100%;
|
6599 |
+
transition: all 0.2s ease-out;
|
6600 |
+
}
|
6601 |
+
|
6602 |
+
.wptb-size2-unit-dropdown {
|
6603 |
+
border: 1.5px solid var(--wptb-plugin-gray-400) !important;
|
6604 |
+
border-radius: 3px !important;
|
6605 |
+
}
|
6606 |
+
|
6607 |
+
.wptb-size-control-aspect-ratio-info-container {
|
6608 |
+
padding: 10px;
|
6609 |
+
grid-column: 1/-1;
|
6610 |
+
justify-self: center;
|
6611 |
+
color: var(--wptb-plugin-gray-500);
|
6612 |
+
user-select: none;
|
6613 |
+
}
|
6614 |
+
|
6615 |
+
.wptb-settings-reset-size2-control {
|
6616 |
+
transition: all 0.2s ease-out;
|
6617 |
+
}
|
6618 |
+
|
6619 |
+
.wptb-settings-reset-size2-control:active {
|
6620 |
+
transform: rotateZ(-180deg);
|
6621 |
+
}
|
6622 |
+
|
6623 |
/*endregion*/
|
6624 |
|
6625 |
/*region lazy load settings menu*/
|
7076 |
}
|
7077 |
|
7078 |
/*endregion*/
|
7079 |
+
|
7080 |
+
.wptb-svg-inherit-color svg {
|
7081 |
+
fill: currentColor;
|
7082 |
+
}
|
7083 |
+
|
7084 |
+
.wptb-image-element-dummy {
|
7085 |
+
display: none !important;
|
7086 |
+
}
|
7087 |
+
|
7088 |
+
.wptb-settings-generic-icon {
|
7089 |
+
width: 16px;
|
7090 |
+
height: 16px;
|
7091 |
+
cursor: pointer;
|
7092 |
+
}
|
7093 |
+
|
7094 |
+
.wptb-svg-14px svg {
|
7095 |
+
width: 14px;
|
7096 |
+
}
|
7097 |
+
|
7098 |
+
/*region multi checkbox control*/
|
7099 |
+
.wptb-multi-checkbox-wrapper .wptb-settings-checkbox-row label {
|
7100 |
+
transition: all 0.2s ease-out;
|
7101 |
+
}
|
7102 |
+
|
7103 |
+
.wptb-multi-checkbox-wrapper .wptb-settings-checkbox-row[data-wptb-checked="true"] label {
|
7104 |
+
/*font-weight: bold;*/
|
7105 |
+
color: var(--wptb-plugin-logo-color);
|
7106 |
+
}
|
7107 |
+
|
7108 |
+
/*endregion*/
|
inc/admin/data/what-is-new.json
CHANGED
@@ -1,21 +1,17 @@
|
|
1 |
{
|
2 |
-
"1.3.
|
3 |
[
|
4 |
-
"
|
5 |
-
"
|
6 |
true
|
7 |
],
|
8 |
[
|
9 |
-
"
|
10 |
-
"
|
11 |
],
|
12 |
[
|
13 |
-
"
|
14 |
-
"
|
15 |
-
],
|
16 |
-
[
|
17 |
-
"Sortable columns for table listing page.",
|
18 |
-
"table_listing_sortable_columns.png"
|
19 |
]
|
20 |
]
|
21 |
}
|
1 |
{
|
2 |
+
"1.3.11": [
|
3 |
[
|
4 |
+
"Advanced image sizing controls.",
|
5 |
+
"advanced_image_size_controls.png",
|
6 |
true
|
7 |
],
|
8 |
[
|
9 |
+
"JQuery removal and complete rewrite of frontend code to improve performance",
|
10 |
+
"jquery_removal.png"
|
11 |
],
|
12 |
[
|
13 |
+
"Multiple selection text element link rel attributes",
|
14 |
+
"text_element_link_rel_control.png"
|
|
|
|
|
|
|
|
|
15 |
]
|
16 |
]
|
17 |
}
|
inc/admin/element-classes/element-scripts/image-element.js
CHANGED
@@ -1,99 +1,140 @@
|
|
1 |
-
let a = element.getElementsByTagName(
|
2 |
-
if(
|
3 |
-
|
4 |
}
|
5 |
-
a.onclick = function(
|
6 |
-
|
7 |
};
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
addMedia( element, true );
|
83 |
-
}
|
84 |
}
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
}
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
-
|
|
|
|
1 |
+
let a = element.getElementsByTagName('a');
|
2 |
+
if (a.length > 0) {
|
3 |
+
a = a[0];
|
4 |
}
|
5 |
+
a.onclick = function (e) {
|
6 |
+
e.preventDefault();
|
7 |
};
|
8 |
|
9 |
+
const addMedia = function (element, imageChange = false) {
|
10 |
+
const img = element.querySelector('img');
|
11 |
+
|
12 |
+
let src;
|
13 |
+
if (img && img.src) {
|
14 |
+
src = img.src;
|
15 |
+
}
|
16 |
+
|
17 |
+
file_frame = wp.media.frames.file_frame = wp.media({
|
18 |
+
title: 'Select a image to upload',
|
19 |
+
button: {
|
20 |
+
text: 'Use this image',
|
21 |
+
},
|
22 |
+
multiple: false,
|
23 |
+
frame: 'post',
|
24 |
+
});
|
25 |
+
|
26 |
+
const imageSetting = function (img, attachment) {
|
27 |
+
if (!img) {
|
28 |
+
img = document.createElement('img');
|
29 |
+
|
30 |
+
let a = element.getElementsByTagName('a');
|
31 |
+
if (a.length > 0) {
|
32 |
+
a = a[0];
|
33 |
+
a.innerHTML = '';
|
34 |
+
|
35 |
+
a.appendChild(img);
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
const imageButton = a.querySelector('.wptb-icon-image-button');
|
40 |
+
|
41 |
+
// remove image button that is present when image element is empty
|
42 |
+
if (imageButton) {
|
43 |
+
a.removeChild(imageButton);
|
44 |
+
}
|
45 |
+
|
46 |
+
// make img tag visible
|
47 |
+
img.classList.remove('wptb-image-element-dummy');
|
48 |
+
|
49 |
+
const imgSrc = attachment.url;
|
50 |
+
const linkArr = imgSrc.split(':');
|
51 |
+
let linkClean;
|
52 |
+
if (Array.isArray(linkArr) && linkArr.length > 0) {
|
53 |
+
linkClean = linkArr[linkArr.length - 1];
|
54 |
+
}
|
55 |
+
|
56 |
+
img.height = attachment.height;
|
57 |
+
img.width = attachment.width;
|
58 |
+
img.style.width = '100%';
|
59 |
+
img.src = linkClean;
|
60 |
+
|
61 |
+
// add image element class for easy filtering
|
62 |
+
img.classList.add('wptb-image-element-target');
|
63 |
+
|
64 |
+
element.classList.remove('wptb-elem-placeholder');
|
65 |
+
|
66 |
+
const wptbTableStateSaveManager = new WPTB_TableStateSaveManager();
|
67 |
+
wptbTableStateSaveManager.tableStateSet();
|
68 |
+
};
|
69 |
+
|
70 |
+
file_frame.on('select', function () {
|
71 |
+
attachment = file_frame.state().props.toJSON();
|
72 |
+
imageSetting(img, attachment);
|
73 |
+
});
|
74 |
+
|
75 |
+
file_frame.on('insert', function () {
|
76 |
+
attachment = file_frame.state().get('selection').first().toJSON();
|
77 |
+
imageSetting(img, attachment);
|
78 |
+
});
|
79 |
+
|
80 |
+
if (src == undefined || imageChange == true) {
|
81 |
+
file_frame.open();
|
82 |
+
file_frame.menuItemVisibility('gallery', 'hide');
|
83 |
+
file_frame.menuItemVisibility('playlist', 'hide'),
|
84 |
+
file_frame.menuItemVisibility('video-playlist', 'hide'),
|
85 |
+
file_frame.menuItemVisibility('audio-playlist', 'hide');
|
86 |
+
} else {
|
87 |
+
img.src = src;
|
88 |
+
}
|
89 |
+
};
|
90 |
+
|
91 |
+
const iconImageButton = element.querySelector('.wptb-icon-image-button');
|
92 |
+
if (iconImageButton) {
|
93 |
+
iconImageButton.onclick = function () {
|
94 |
+
addMedia(element, true);
|
95 |
+
};
|
96 |
}
|
97 |
|
98 |
+
if (iconImageButton && !element.classList.contains('wptb-elem-placeholder')) {
|
99 |
+
element.classList.add('wptb-elem-placeholder');
|
100 |
+
addMedia(element);
|
|
|
|
|
101 |
}
|
102 |
+
|
103 |
+
const watchList = {
|
104 |
+
imageReplaceButton(val, element) {
|
105 |
+
addMedia(element, true);
|
106 |
+
},
|
107 |
+
};
|
108 |
+
|
109 |
+
function controlsChange(inputs, element) {
|
110 |
+
// eslint-disable-next-line array-callback-return
|
111 |
+
Object.keys(inputs).map((input) => {
|
112 |
+
if (Object.prototype.hasOwnProperty.call(inputs, input)) {
|
113 |
+
if (Object.prototype.hasOwnProperty.call(watchList, input)) {
|
114 |
+
watchList[input](inputs[input].eventValue || inputs[input].targetValue, element);
|
115 |
+
}
|
116 |
+
}
|
117 |
+
});
|
118 |
}
|
119 |
|
120 |
+
/**
|
121 |
+
* Backward compatibility operations for tables created before.
|
122 |
+
*/
|
123 |
+
function imageElementBackwardCompatibility() {
|
124 |
+
const imageAnchor = element.querySelector('a');
|
125 |
+
|
126 |
+
if (imageAnchor) {
|
127 |
+
// compatibility update for new image alignment control
|
128 |
+
const floatVal = (imageAnchor.style.float === 'none' ? 'center' : imageAnchor.style.float) || 'center';
|
129 |
+
|
130 |
+
const imageSizeRelative = element.dataset.wptbImageSizeRelative;
|
131 |
+
|
132 |
+
if (!imageSizeRelative) {
|
133 |
+
WPTB_ControlsManager.updateControlValue(elementId, 'imageAlignment', floatVal);
|
134 |
+
}
|
135 |
+
}
|
136 |
}
|
137 |
|
138 |
+
imageElementBackwardCompatibility();
|
139 |
+
|
140 |
+
WPTB_Helper.controlsInclude(element, controlsChange, true);
|
inc/admin/element-classes/element-scripts/text-element.js
CHANGED
@@ -12,15 +12,9 @@ const tinyMceInitStart = function () {
|
|
12 |
fixed_toolbar_container: '#wpcd_fixed_toolbar',
|
13 |
paste_as_text: true,
|
14 |
toolbar: 'bold italic strikethrough link unlink | alignleft aligncenter alignright alignjustify',
|
15 |
-
rel_list: [
|
16 |
-
{ title: 'None', value: '' },
|
17 |
-
{ title: 'nofollow', value: 'nofollow' },
|
18 |
-
{ title: 'noreferrer', value: 'noreferrer' },
|
19 |
-
{ title: 'sponsored', value: 'sponsored' },
|
20 |
-
],
|
21 |
convert_urls: false,
|
22 |
setup(ed) {
|
23 |
-
ed.on('change', function (
|
24 |
const row = WPTB_Helper.findAncestor(element, 'wptb-row');
|
25 |
if (WPTB_Helper.rowIsTop(row)) {
|
26 |
const table = WPTB_Helper.findAncestor(row, 'wptb-preview-table');
|
@@ -78,6 +72,27 @@ const tinyMceInitStart = function () {
|
|
78 |
},
|
79 |
init_instance_callback(editor) {
|
80 |
window.currentEditor = editor;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
editor.on('focus', function (e) {
|
82 |
const totalWidth = document.getElementsByClassName('wptb-builder-panel')[0].offsetWidth;
|
83 |
if (
|
@@ -116,6 +131,7 @@ observer.observe(element, config);
|
|
116 |
|
117 |
function controlsChange(inputs, element) {
|
118 |
if (inputs && typeof inputs === 'object') {
|
|
|
119 |
if (inputs.hasOwnProperty('color')) {
|
120 |
const row = WPTB_Helper.findAncestor(element, 'wptb-row');
|
121 |
const table = WPTB_Helper.findAncestor(row, 'wptb-preview-table');
|
@@ -126,4 +142,13 @@ function controlsChange(inputs, element) {
|
|
126 |
}
|
127 |
}
|
128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
WPTB_Helper.controlsInclude(element, controlsChange);
|
12 |
fixed_toolbar_container: '#wpcd_fixed_toolbar',
|
13 |
paste_as_text: true,
|
14 |
toolbar: 'bold italic strikethrough link unlink | alignleft aligncenter alignright alignjustify',
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
convert_urls: false,
|
16 |
setup(ed) {
|
17 |
+
ed.on('change', function () {
|
18 |
const row = WPTB_Helper.findAncestor(element, 'wptb-row');
|
19 |
if (WPTB_Helper.rowIsTop(row)) {
|
20 |
const table = WPTB_Helper.findAncestor(row, 'wptb-preview-table');
|
72 |
},
|
73 |
init_instance_callback(editor) {
|
74 |
window.currentEditor = editor;
|
75 |
+
|
76 |
+
editor.on('NodeChange', (e) => {
|
77 |
+
let multipleRelControlVisibility = false;
|
78 |
+
if (
|
79 |
+
e.element.nodeName.toLowerCase() === 'a' ||
|
80 |
+
e.parents.some((parent) => {
|
81 |
+
return parent.nodeName.toLowerCase() === 'a';
|
82 |
+
})
|
83 |
+
) {
|
84 |
+
multipleRelControlVisibility = true;
|
85 |
+
}
|
86 |
+
|
87 |
+
// update rel control visibility based on if there is an anchor element present inside text element
|
88 |
+
WPTB_ControlsManager.updateControlValue(
|
89 |
+
elementId,
|
90 |
+
'linkRel',
|
91 |
+
multipleRelControlVisibility,
|
92 |
+
'componentVisibility'
|
93 |
+
);
|
94 |
+
});
|
95 |
+
|
96 |
editor.on('focus', function (e) {
|
97 |
const totalWidth = document.getElementsByClassName('wptb-builder-panel')[0].offsetWidth;
|
98 |
if (
|
131 |
|
132 |
function controlsChange(inputs, element) {
|
133 |
if (inputs && typeof inputs === 'object') {
|
134 |
+
// eslint-disable-next-line no-prototype-builtins
|
135 |
if (inputs.hasOwnProperty('color')) {
|
136 |
const row = WPTB_Helper.findAncestor(element, 'wptb-row');
|
137 |
const table = WPTB_Helper.findAncestor(row, 'wptb-preview-table');
|
142 |
}
|
143 |
}
|
144 |
|
145 |
+
// start linkRel component as hidden
|
146 |
+
WPTB_ControlsManager.updateControlValue(
|
147 |
+
elementId,
|
148 |
+
'linkRel',
|
149 |
+
false,
|
150 |
+
'componentVisibility'
|
151 |
+
);
|
152 |
+
|
153 |
+
|
154 |
WPTB_Helper.controlsInclude(element, controlsChange);
|
inc/admin/element-classes/elements/image-element.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
namespace WP_Table_Builder\Inc\Admin\Element_Classes\Elements;
|
3 |
|
4 |
use WP_Table_Builder\Inc\Admin\Element_Classes\Base\Element_Base as Element_Base;
|
@@ -11,16 +12,16 @@ if ( ! defined( 'WPINC' ) ) {
|
|
11 |
}
|
12 |
|
13 |
class Image_Element extends Element_Base {
|
14 |
-
|
15 |
-
|
16 |
* Get element name.
|
17 |
*
|
18 |
* Retrieve image editor element name.
|
19 |
*
|
|
|
20 |
* @since 1.1.2
|
21 |
* @access public
|
22 |
*
|
23 |
-
* @return string element name.
|
24 |
*/
|
25 |
public function get_name() {
|
26 |
return 'image';
|
@@ -31,10 +32,10 @@ class Image_Element extends Element_Base {
|
|
31 |
*
|
32 |
* Retrieve image editor element.
|
33 |
*
|
|
|
34 |
* @since 1.1.2
|
35 |
* @access public
|
36 |
*
|
37 |
-
* @return string Element title.
|
38 |
*/
|
39 |
public function get_title() {
|
40 |
return esc_html_e( 'Image', 'wp-table-builder' );
|
@@ -45,40 +46,40 @@ class Image_Element extends Element_Base {
|
|
45 |
*
|
46 |
* Retrieve directory image editor element icon.
|
47 |
*
|
|
|
48 |
* @since 1.1.2
|
49 |
* @access public
|
50 |
*
|
51 |
-
* @return string Directory Element icon.
|
52 |
*/
|
53 |
public function get_directory_icon() {
|
54 |
return NS\WP_TABLE_BUILDER_DIR . 'inc/admin/views/builder/icons/image.svg';
|
55 |
}
|
56 |
-
|
57 |
-
|
58 |
* Get url icon.
|
59 |
*
|
60 |
* Return url image icon
|
61 |
*
|
|
|
62 |
* @since 1.1.2
|
63 |
* @access public
|
64 |
*
|
65 |
-
* @return string Url Element icon.
|
66 |
*/
|
67 |
public function get_url_icon() {
|
68 |
-
return wp_normalize_path
|
69 |
}
|
70 |
-
|
71 |
-
|
72 |
* Include file with js script for element image
|
73 |
*
|
74 |
* @since 1.1.2
|
75 |
* @access protected
|
76 |
*/
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
* Register the element controls.
|
83 |
*
|
84 |
* Adds different fields to allow the user to change and customize the element settings.
|
@@ -91,70 +92,74 @@ class Image_Element extends Element_Base {
|
|
91 |
$this->add_control(
|
92 |
'section_header',
|
93 |
[
|
94 |
-
'label'
|
95 |
-
'type'
|
96 |
-
|
97 |
]
|
98 |
);
|
99 |
-
|
100 |
-
|
101 |
'imageReplaceButton',
|
102 |
[
|
103 |
'label' => __( 'Replace Image', 'wp_table_builder' ),
|
104 |
-
'type'
|
105 |
]
|
106 |
);
|
107 |
-
|
108 |
$this->add_control(
|
109 |
-
'
|
110 |
[
|
111 |
-
'label'
|
112 |
-
'type'
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
117 |
]
|
118 |
);
|
119 |
-
|
120 |
$this->add_control(
|
121 |
'imageSize',
|
122 |
[
|
123 |
-
'label'
|
124 |
-
'type'
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
]
|
133 |
);
|
134 |
-
|
135 |
-
|
136 |
'imageLink',
|
137 |
[
|
138 |
-
'label'
|
139 |
-
'type'
|
140 |
-
|
141 |
]
|
142 |
);
|
143 |
|
144 |
$this->add_control(
|
145 |
'imageAlternativeText',
|
146 |
[
|
147 |
-
'label'
|
148 |
-
'type'
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
]
|
154 |
);
|
155 |
}
|
156 |
-
|
157 |
-
|
158 |
* Render text editor element output in the editor.
|
159 |
*
|
160 |
* Written as a wp js template and used to generate the live preview.
|
@@ -167,7 +172,7 @@ class Image_Element extends Element_Base {
|
|
167 |
<div class="wptb-image-wrapper">
|
168 |
<a style="display: block;">
|
169 |
<span class="wptb-icon-image-button">
|
170 |
-
<svg class="wptb-draggable-prototype" xmlns="http://www.w3.org/2000/svg"
|
171 |
viewBox="0 0 489.4 489.4" width="40px" height="50px">
|
172 |
<path d="M0 437.8c0 28.5 23.2 51.6 51.6 51.6h386.2c28.5 0 51.6-23.2
|
173 |
51.6-51.6V51.6c0-28.5-23.2-51.6-51.6-51.6H51.6C23.1 0 0 23.2 0
|
@@ -184,6 +189,7 @@ class Image_Element extends Element_Base {
|
|
184 |
</svg>
|
185 |
<span>Insert Image</span>
|
186 |
</span>
|
|
|
187 |
</a>
|
188 |
</div>
|
189 |
<?php
|
1 |
<?php
|
2 |
+
|
3 |
namespace WP_Table_Builder\Inc\Admin\Element_Classes\Elements;
|
4 |
|
5 |
use WP_Table_Builder\Inc\Admin\Element_Classes\Base\Element_Base as Element_Base;
|
12 |
}
|
13 |
|
14 |
class Image_Element extends Element_Base {
|
15 |
+
|
16 |
+
/**
|
17 |
* Get element name.
|
18 |
*
|
19 |
* Retrieve image editor element name.
|
20 |
*
|
21 |
+
* @return string element name.
|
22 |
* @since 1.1.2
|
23 |
* @access public
|
24 |
*
|
|
|
25 |
*/
|
26 |
public function get_name() {
|
27 |
return 'image';
|
32 |
*
|
33 |
* Retrieve image editor element.
|
34 |
*
|
35 |
+
* @return string Element title.
|
36 |
* @since 1.1.2
|
37 |
* @access public
|
38 |
*
|
|
|
39 |
*/
|
40 |
public function get_title() {
|
41 |
return esc_html_e( 'Image', 'wp-table-builder' );
|
46 |
*
|
47 |
* Retrieve directory image editor element icon.
|
48 |
*
|
49 |
+
* @return string Directory Element icon.
|
50 |
* @since 1.1.2
|
51 |
* @access public
|
52 |
*
|
|
|
53 |
*/
|
54 |
public function get_directory_icon() {
|
55 |
return NS\WP_TABLE_BUILDER_DIR . 'inc/admin/views/builder/icons/image.svg';
|
56 |
}
|
57 |
+
|
58 |
+
/**
|
59 |
* Get url icon.
|
60 |
*
|
61 |
* Return url image icon
|
62 |
*
|
63 |
+
* @return string Url Element icon.
|
64 |
* @since 1.1.2
|
65 |
* @access public
|
66 |
*
|
|
|
67 |
*/
|
68 |
public function get_url_icon() {
|
69 |
+
return wp_normalize_path( NS\WP_TABLE_BUILDER_URL . 'inc/admin/views/builder/icons/image.svg' );
|
70 |
}
|
71 |
+
|
72 |
+
/**
|
73 |
* Include file with js script for element image
|
74 |
*
|
75 |
* @since 1.1.2
|
76 |
* @access protected
|
77 |
*/
|
78 |
+
public function element_script() {
|
79 |
+
return wp_normalize_path( NS\WP_TABLE_BUILDER_DIR . 'inc/admin/element-classes/element-scripts/image-element.js' );
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
* Register the element controls.
|
84 |
*
|
85 |
* Adds different fields to allow the user to change and customize the element settings.
|
92 |
$this->add_control(
|
93 |
'section_header',
|
94 |
[
|
95 |
+
'label' => __( 'Image Options', 'wp_table_builder' ),
|
96 |
+
'type' => Controls_Manager::SECTION_HEADER,
|
97 |
+
'buttonBack' => true
|
98 |
]
|
99 |
);
|
100 |
+
|
101 |
+
$this->add_control(
|
102 |
'imageReplaceButton',
|
103 |
[
|
104 |
'label' => __( 'Replace Image', 'wp_table_builder' ),
|
105 |
+
'type' => Controls_Manager::BUTTON,
|
106 |
]
|
107 |
);
|
108 |
+
|
109 |
$this->add_control(
|
110 |
+
'imageAlignment',
|
111 |
[
|
112 |
+
'label' => __( 'Image Alignment', 'wp_table_builder' ),
|
113 |
+
'type' => Controls_Manager::ALIGNMENT2,
|
114 |
+
'selectors' => [
|
115 |
+
[
|
116 |
+
'query' => '{{{data.container}}}',
|
117 |
+
'type' => Controls_Manager::DATASET,
|
118 |
+
'key' => 'wptbImageAlignment',
|
119 |
+
]
|
120 |
+
],
|
121 |
+
'defaultValue' => 'center'
|
122 |
]
|
123 |
);
|
124 |
+
|
125 |
$this->add_control(
|
126 |
'imageSize',
|
127 |
[
|
128 |
+
'label' => __( 'Image Size', 'wp_table_builder' ),
|
129 |
+
'type' => Controls_Manager::SIZE,
|
130 |
+
'selectors' => [
|
131 |
+
'{{{data.container}}} .wptb-image-wrapper a' => 'width',
|
132 |
+
],
|
133 |
+
'min' => 10,
|
134 |
+
'max' => 100,
|
135 |
+
'defaultValue' => 100,
|
136 |
+
'dimension' => '%'
|
137 |
]
|
138 |
);
|
139 |
+
|
140 |
+
$this->add_control(
|
141 |
'imageLink',
|
142 |
[
|
143 |
+
'label' => __( 'Image Link', 'wp_table_builder' ),
|
144 |
+
'type' => Controls_Manager::URL,
|
145 |
+
'selector' => '{{{data.container}}} .wptb-image-wrapper a'
|
146 |
]
|
147 |
);
|
148 |
|
149 |
$this->add_control(
|
150 |
'imageAlternativeText',
|
151 |
[
|
152 |
+
'label' => __( 'Image Alternative Text', 'wp_table_builder' ),
|
153 |
+
'type' => Controls_Manager::TEXT,
|
154 |
+
'selectors' => [
|
155 |
+
'{{{data.container}}} .wptb-image-wrapper a img' => 'alt',
|
156 |
+
],
|
157 |
+
'placeholder' => __( 'Image Alt Text', 'wp_table_builder' ),
|
158 |
]
|
159 |
);
|
160 |
}
|
161 |
+
|
162 |
+
/**
|
163 |
* Render text editor element output in the editor.
|
164 |
*
|
165 |
* Written as a wp js template and used to generate the live preview.
|
172 |
<div class="wptb-image-wrapper">
|
173 |
<a style="display: block;">
|
174 |
<span class="wptb-icon-image-button">
|
175 |
+
<svg class="wptb-draggable-prototype" xmlns="http://www.w3.org/2000/svg"
|
176 |
viewBox="0 0 489.4 489.4" width="40px" height="50px">
|
177 |
<path d="M0 437.8c0 28.5 23.2 51.6 51.6 51.6h386.2c28.5 0 51.6-23.2
|
178 |
51.6-51.6V51.6c0-28.5-23.2-51.6-51.6-51.6H51.6C23.1 0 0 23.2 0
|
189 |
</svg>
|
190 |
<span>Insert Image</span>
|
191 |
</span>
|
192 |
+
<img class="wptb-image-element-dummy">
|
193 |
</a>
|
194 |
</div>
|
195 |
<?php
|
inc/admin/element-classes/elements/text-element.php
CHANGED
@@ -133,9 +133,29 @@ class Text_Element extends Element_Base {
|
|
133 |
'dimension' => 'px'
|
134 |
]
|
135 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
}
|
137 |
-
|
138 |
-
|
139 |
* Render text editor element output in the editor.
|
140 |
*
|
141 |
* Written as a wp js template and used to generate the live preview.
|
133 |
'dimension' => 'px'
|
134 |
]
|
135 |
);
|
136 |
+
|
137 |
+
$this->add_control(
|
138 |
+
'linkRel',
|
139 |
+
[
|
140 |
+
'label' => __( 'Link Rel', 'wp_table_builder' ),
|
141 |
+
'type' => Controls_Manager::MULTI_CHECKBOX,
|
142 |
+
'checkboxes' => [
|
143 |
+
'sponsored' => 'sponsored',
|
144 |
+
'nofollow' => 'nofollow',
|
145 |
+
'noreferrer' => 'noreferrer',
|
146 |
+
],
|
147 |
+
'selectors' => [
|
148 |
+
[
|
149 |
+
'query' => '{{{data.container}}} a',
|
150 |
+
'type' => Controls_Manager::ATTRIBUTE,
|
151 |
+
'key' => 'rel'
|
152 |
+
]
|
153 |
+
],
|
154 |
+
]
|
155 |
+
);
|
156 |
}
|
157 |
+
|
158 |
+
/**
|
159 |
* Render text editor element output in the editor.
|
160 |
*
|
161 |
* Written as a wp js template and used to generate the live preview.
|
inc/admin/js/WPTB_Admin_Settings.js
CHANGED
@@ -1,15 +1,31 @@
|
|
1 |
-
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"
|
|
|
|
|
2 |
var global = arguments[3];
|
3 |
var e=arguments[3];Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=Object.freeze({});function n(e){return null==e}function r(e){return null!=e}function i(e){return!0===e}function o(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}function l(e){return"[object Object]"===c.call(e)}function f(e){return"[object RegExp]"===c.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var y=m("slot,component",!0),g=m("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function $(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,C=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),A=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),k=/\B([A-Z])/g,O=w(function(e){return e.replace(k,"-$1").toLowerCase()});function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function T(e,t){return e.bind(t)}var N=Function.prototype.bind?T:S;function j(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function D(e,t,n){}var L=function(e,t,n){return!1},I=function(e){return e};function F(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}function P(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return P(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every(function(n){return P(e[n],t[n])})}catch(u){return!1}}function R(e,t){for(var n=0;n<e.length;n++)if(P(e[n],t))return n;return-1}function H(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var B="data-server-rendered",U=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:D,parsePlatformTagName:I,mustUseProp:L,async:!0,_lifecycleHooks:z},J=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function q(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^"+J.source+".$_\\d]");function Z(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var G,X="__proto__"in{},Y="undefined"!=typeof window,Q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ee=Q&&WXEnvironment.platform.toLowerCase(),te=Y&&window.navigator.userAgent.toLowerCase(),ne=te&&/msie|trident/.test(te),re=te&&te.indexOf("msie 9.0")>0,ie=te&&te.indexOf("edge/")>0,oe=te&&te.indexOf("android")>0||"android"===ee,ae=te&&/iphone|ipad|ipod|ios/.test(te)||"ios"===ee,se=te&&/chrome\/\d+/.test(te)&&!ie,ce=te&&/phantomjs/.test(te),ue=te&&te.match(/firefox\/(\d+)/),le={}.watch,fe=!1;if(Y)try{var pe={};Object.defineProperty(pe,"passive",{get:function(){fe=!0}}),window.addEventListener("test-passive",null,pe)}catch(Xl){}var de=function(){return void 0===G&&(G=!Y&&!Q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),G},ve=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function he(e){return"function"==typeof e&&/native code/.test(e.toString())}var me,ye="undefined"!=typeof Symbol&&he(Symbol)&&"undefined"!=typeof Reflect&&he(Reflect.ownKeys);me="undefined"!=typeof Set&&he(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ge,_e,be,$e,we=D,xe=D,Ce=D,Ae=D,ke=0,Oe=function(){this.id=ke++,this.subs=[]};Oe.prototype.addSub=function(e){this.subs.push(e)},Oe.prototype.removeSub=function(e){_(this.subs,e)},Oe.prototype.depend=function(){Oe.target&&Oe.target.addDep(this)},Oe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},Oe.target=null;var Se=[];function Te(e){Se.push(e),Oe.target=e}function Ne(){Se.pop(),Oe.target=Se[Se.length-1]}var je=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ee={child:{configurable:!0}};Ee.child.get=function(){return this.componentInstance},Object.defineProperties(je.prototype,Ee);var Me=function(e){void 0===e&&(e="");var t=new je;return t.text=e,t.isComment=!0,t};function De(e){return new je(void 0,void 0,void 0,String(e))}function Le(e){var t=new je(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ie=Array.prototype,Fe=Object.create(Ie),Pe=["push","pop","shift","unshift","splice","sort","reverse"];Pe.forEach(function(e){var t=Ie[e];q(Fe,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var Re=Object.getOwnPropertyNames(Fe),He=!0;function Be(e){He=e}var Ue=function(e){this.value=e,this.dep=new Oe,this.vmCount=0,q(e,"__ob__",this),Array.isArray(e)?(X?ze(e,Fe):Ve(e,Fe,Re),this.observeArray(e)):this.walk(e)};function ze(e,t){e.__proto__=t}function Ve(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];q(e,o,t[o])}}function Je(e,t){var n;if(s(e)&&!(e instanceof je))return $(e,"__ob__")&&e.__ob__ instanceof Ue?n=e.__ob__:He&&!de()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ue(e)),t&&n&&n.vmCount++,n}function Ke(e,t,n,r,i){var o=new Oe,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var u=!i&&Je(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Oe.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Ze(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!c||(c?c.call(e,t):n=t,u=!i&&Je(t),o.notify())}})}}function qe(e,t,n){if(Array.isArray(e)&&p(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ke(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function We(e,t){if(Array.isArray(e)&&p(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||$(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ze(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ze(t)}Ue.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ke(e,t[n])},Ue.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Je(e[t])};var Ge=V.optionMergeStrategies;function Xe(e,t){if(!t)return e;for(var n,r,i,o=ye?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],$(e,n)?r!==i&&l(r)&&l(i)&&Xe(r,i):qe(e,n,i));return e}function Ye(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Xe(r,i):i}:t?e?function(){return Xe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Qe(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?et(n):n}function et(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function tt(e,t,n,r){var i=Object.create(e||null);return t?E(i,t):i}Ge.data=function(e,t,n){return n?Ye(e,t,n):t&&"function"!=typeof t?e:Ye(e,t)},z.forEach(function(e){Ge[e]=Qe}),U.forEach(function(e){Ge[e+"s"]=tt}),Ge.watch=function(e,t,n,r){if(e===le&&(e=void 0),t===le&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in E(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Ge.props=Ge.methods=Ge.inject=Ge.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return E(i,e),t&&E(i,t),i},Ge.provide=Ye;var nt=function(e,t){return void 0===t?e:t};function rt(e){for(var t in e.components)it(t)}function it(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+J.source+"]*$").test(e)||we('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(y(e)||V.isReservedTag(e))&&we("Do not use built-in or reserved HTML elements as component id: "+e)}function ot(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[C(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[C(a)]=l(i)?i:{type:i};else 0;e.props=o}}function at(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?E({from:o},a):{from:a}}else 0}}function st(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function ct(e,t,n){l(t)||we('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function ut(e,t,n){if("function"==typeof t&&(t=t.options),ot(t,n),at(t,n),st(t),!t._base&&(t.extends&&(e=ut(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=ut(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)$(e,o)||s(o);function s(r){var i=Ge[r]||nt;a[r]=i(e[r],t[r],n,r)}return a}function lt(e,t,n,r){if("string"==typeof n){var i=e[t];if($(i,n))return i[n];var o=C(n);if($(i,o))return i[o];var a=A(o);if($(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function ft(e,t,n,r){var i=t[e],o=!$(n,e),a=n[e],s=gt(Boolean,i.type);if(s>-1)if(o&&!$(i,"default"))a=!1;else if(""===a||a===O(e)){var c=gt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=pt(r,i,e);var u=He;Be(!0),Je(a),Be(u)}return a}function pt(e,t,n){if($(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==mt(t.type)?r.call(e):r}}function dt(e,t,n,r,i){if(e.required&&i)we('Missing required prop: "'+t+'"',r);else if(null!=n||e.required){var o=e.type,a=!o||!0===o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var c=0;c<o.length&&!a;c++){var u=ht(n,o[c]);s.push(u.expectedType||""),a=u.valid}}if(a){var l=e.validator;l&&(l(n)||we('Invalid prop: custom validator check failed for prop "'+t+'".',r))}else we(_t(t,n,s),r)}}var vt=/^(String|Number|Boolean|Function|Symbol)$/;function ht(e,t){var n,r=mt(t);if(vt.test(r)){var i=typeof e;(n=i===r.toLowerCase())||"object"!==i||(n=e instanceof t)}else n="Object"===r?l(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function mt(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function yt(e,t){return mt(e)===mt(t)}function gt(e,t){if(!Array.isArray(t))return yt(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(yt(t[n],e))return n;return-1}function _t(e,t,n){var r='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(A).join(", "),i=n[0],o=u(t),a=bt(t,i),s=bt(t,o);return 1===n.length&&$t(i)&&!wt(i,o)&&(r+=" with value "+a),r+=", got "+o+" ",$t(o)&&(r+="with value "+s+"."),r}function bt(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function $t(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function wt(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}function xt(e,t,n){Te();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(Xl){At(Xl,r,"errorCaptured hook")}}At(e,t,n)}finally{Ne()}}function Ct(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&d(o)&&!o._handled&&(o.catch(function(e){return xt(e,r,i+" (Promise/async)")}),o._handled=!0)}catch(Xl){xt(Xl,r,i)}return o}function At(e,t,n){if(V.errorHandler)try{return V.errorHandler.call(null,e,t,n)}catch(Xl){Xl!==e&&kt(Xl,null,"config.errorHandler")}kt(e,t,n)}function kt(e,t,n){if(!Y&&!Q||"undefined"==typeof console)throw e;console.error(e)}var Ot,St,Tt,Nt,jt,Et,Mt,Dt,Lt,It,Ft,Pt,Rt=!1,Ht=[],Bt=!1;function Ut(){Bt=!1;var e=Ht.slice(0);Ht.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&he(Promise)){var zt=Promise.resolve();Ot=function(){zt.then(Ut),ae&&setTimeout(D)},Rt=!0}else if(ne||"undefined"==typeof MutationObserver||!he(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ot="undefined"!=typeof setImmediate&&he(setImmediate)?function(){setImmediate(Ut)}:function(){setTimeout(Ut,0)};else{var Vt=1,Jt=new MutationObserver(Ut),Kt=document.createTextNode(String(Vt));Jt.observe(Kt,{characterData:!0}),Ot=function(){Vt=(Vt+1)%2,Kt.data=String(Vt)},Rt=!0}function qt(e,t){var n;if(Ht.push(function(){if(e)try{e.call(t)}catch(Xl){xt(Xl,t,"nextTick")}else n&&n(t)}),Bt||(Bt=!0,Ot()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var Wt=new me;function Zt(e){Gt(e,Wt),Wt.clear()}function Gt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!s(e)||Object.isFrozen(e)||e instanceof je)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)Gt(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)Gt(e[r[n]],t)}}var Xt=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function Yt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return Ct(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Ct(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function Qt(e,t,r,o,a,s){var c,u,l,f;for(c in e)u=e[c],l=t[c],f=Xt(c),n(u)||(n(l)?(n(u.fns)&&(u=e[c]=Yt(u,s)),i(f.once)&&(u=e[c]=a(f.name,u,f.capture)),r(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)n(e[c])&&o((f=Xt(c)).name,t[c],f.capture)}function en(e,t,o){var a;e instanceof je&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){o.apply(this,arguments),_(a.fns,c)}n(s)?a=Yt([c]):r(s.fns)&&i(s.merged)?(a=s).fns.push(c):a=Yt([s,c]),a.merged=!0,e[t]=a}function tn(e,t,i){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,c=e.props;if(r(s)||r(c))for(var u in o){var l=O(u);nn(a,c,u,l,!0)||nn(a,s,u,l,!1)}return a}}function nn(e,t,n,i,o){if(r(t)){if($(t,n))return e[n]=t[n],o||delete t[n],!0;if($(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function rn(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function on(e){return a(e)?[De(e)]:Array.isArray(e)?sn(e):void 0}function an(e){return r(e)&&r(e.text)&&o(e.isComment)}function sn(e,t){var o,s,c,u,l=[];for(o=0;o<e.length;o++)n(s=e[o])||"boolean"==typeof s||(u=l[c=l.length-1],Array.isArray(s)?s.length>0&&(an((s=sn(s,(t||"")+"_"+o))[0])&&an(u)&&(l[c]=De(u.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?an(u)?l[c]=De(u.text+s):""!==s&&l.push(De(s)):an(s)&&an(u)?l[c]=De(u.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),l.push(s)));return l}function cn(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function un(e){var t=ln(e.$options.inject,e);t&&(Be(!1),Object.keys(t).forEach(function(n){Ke(e,n,t[n])}),Be(!0))}function ln(e,t){if(e){for(var n=Object.create(null),r=ye?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&$(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var c=e[o].default;n[o]="function"==typeof c?c.call(t):c}else 0}}return n}}function fn(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(pn)&&delete n[u];return n}function pn(e){return e.isComment&&!e.asyncFactory||" "===e.text}function dn(e,n,r){var i,o=Object.keys(n).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==t&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=vn(n,c,e[c]))}else i={};for(var u in n)u in i||(i[u]=hn(n,u));return e&&Object.isExtensible(e)&&(e._normalized=i),q(i,"$stable",a),q(i,"$key",s),q(i,"$hasNormal",o),i}function vn(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:on(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function hn(e,t){return function(){return e[t]}}function mn(e,t){var n,i,o,a,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(s(e))if(ye&&e[Symbol.iterator]){n=[];for(var u=e[Symbol.iterator](),l=u.next();!l.done;)n.push(t(l.value,n.length)),l=u.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)c=a[i],n[i]=t(e[c],c,i);return r(n)||(n=[]),n._isVList=!0,n}function yn(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=E(E({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function gn(e){return lt(this.$options,"filters",e,!0)||I}function _n(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function bn(e,t,n,r,i){var o=V.keyCodes[t]||n;return i&&r&&!V.keyCodes[t]?_n(i,r):o?_n(o,e):r?O(r)!==t:void 0}function $n(e,t,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=M(n));var a=function(a){if("class"===a||"style"===a||g(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||V.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=C(a),u=O(a);c in o||u in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var c in n)a(c)}else;return e}function wn(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?r:(Cn(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r)}function xn(e,t,n){return Cn(e,"__once__"+t+(n?"_"+n:""),!0),e}function Cn(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&An(e[r],t+"_"+r,n);else An(e,t,n)}function An(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function kn(e,t){if(t)if(l(t)){var n=e.on=e.on?E({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function On(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?On(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function Sn(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Tn(e,t){return"string"==typeof e?t+e:e}function Nn(e){e._o=xn,e._n=h,e._s=v,e._l=mn,e._t=yn,e._q=P,e._i=R,e._m=wn,e._f=gn,e._k=bn,e._b=$n,e._v=De,e._e=Me,e._u=On,e._g=kn,e._d=Sn,e._p=Tn}function jn(e,n,r,o,a){var s,c=this,u=a.options;$(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var l=i(u._compiled),f=!l;this.data=e,this.props=n,this.children=r,this.parent=o,this.listeners=e.on||t,this.injections=ln(u.inject,o),this.slots=function(){return c.$slots||dn(e.scopedSlots,c.$slots=fn(r,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dn(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=dn(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var i=Vn(s,e,t,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return Vn(s,e,t,n,r,f)}}function En(e,n,i,o,a){var s=e.options,c={},u=s.props;if(r(u))for(var l in u)c[l]=ft(l,u,n||t);else r(i.attrs)&&Dn(c,i.attrs),r(i.props)&&Dn(c,i.props);var f=new jn(i,c,a,o,e),p=s.render.call(null,f._c,f);if(p instanceof je)return Mn(p,i,f.parent,s,f);if(Array.isArray(p)){for(var d=on(p)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=Mn(d[h],i,f.parent,s,f);return v}}function Mn(e,t,n,r,i){var o=Le(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Dn(e,t){for(var n in t)e[C(n)]=t[n]}Nn(jn.prototype);var Ln={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ln.prepatch(n,n)}else{(e.componentInstance=Pn(e,ur)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;hr(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,_r(n,"mounted")),e.data.keepAlive&&(t._isMounted?Dr(n):yr(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?gr(t,!0):t.$destroy())}},In=Object.keys(Ln);function Fn(e,t,o,a,c){if(!n(e)){var u=o.$options._base;if(s(e)&&(e=u.extend(e)),"function"==typeof e){var l;if(n(e.cid)&&void 0===(e=er(l=e,u)))return Qn(l,t,o,a,c);t=t||{},ri(e),r(t.model)&&Bn(e.options,t);var f=tn(t,e,c);if(i(e.options.functional))return En(e,f,t,o,a);var p=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var d=t.slot;t={},d&&(t.slot=d)}Rn(t);var v=e.options.name||c;return new je("vue-component-"+e.cid+(v?"-"+v:""),t,void 0,void 0,void 0,o,{Ctor:e,propsData:f,listeners:p,tag:c,children:a},l)}}}function Pn(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}function Rn(e){for(var t=e.hook||(e.hook={}),n=0;n<In.length;n++){var r=In[n],i=t[r],o=Ln[r];i===o||i&&i._merged||(t[r]=i?Hn(o,i):o)}}function Hn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function Bn(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}var Un=1,zn=2;function Vn(e,t,n,r,o,s){return(Array.isArray(n)||a(n))&&(o=r,r=n,n=void 0),i(s)&&(o=zn),Jn(e,t,n,r,o)}function Jn(e,t,n,i,o){if(r(n)&&r(n.__ob__))return Me();if(r(n)&&r(n.is)&&(t=n.is),!t)return Me();var a,s,c;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),o===zn?i=on(i):o===Un&&(i=rn(i)),"string"==typeof t)?(s=e.$vnode&&e.$vnode.ns||V.getTagNamespace(t),a=V.isReservedTag(t)?new je(V.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!r(c=lt(e.$options,"components",t))?new je(t,n,i,void 0,void 0,e):Fn(c,n,e,i,t)):a=Fn(t,n,e,i);return Array.isArray(a)?a:r(a)?(r(s)&&Kn(a,s),r(n)&&qn(n),a):Me()}function Kn(e,t,o){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,o=!0),r(e.children))for(var a=0,s=e.children.length;a<s;a++){var c=e.children[a];r(c.tag)&&(n(c.ns)||i(o)&&"svg"!==c.tag)&&Kn(c,t,o)}}function qn(e){s(e.style)&&Zt(e.style),s(e.class)&&Zt(e.class)}function Wn(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,i=r&&r.context;e.$slots=fn(n._renderChildren,i),e.$scopedSlots=t,e._c=function(t,n,r,i){return Vn(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Vn(e,t,n,r,i,!0)};var o=r&&r.data;Ke(e,"$attrs",o&&o.attrs||t,null,!0),Ke(e,"$listeners",n._parentListeners||t,null,!0)}var Zn,Gn=null;function Xn(e){Nn(e.prototype),e.prototype.$nextTick=function(e){return qt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=dn(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Gn=t,e=r.call(t._renderProxy,t.$createElement)}catch(Xl){xt(Xl,t,"render"),e=t._vnode}finally{Gn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof je||(e=Me()),e.parent=i,e}}function Yn(e,t){return(e.__esModule||ye&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Qn(e,t,n,r,i){var o=Me();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function er(e,t){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var o=Gn;if(o&&r(e.owners)&&-1===e.owners.indexOf(o)&&e.owners.push(o),i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(o&&!r(e.owners)){var a=e.owners=[o],c=!0,u=null,l=null;o.$on("hook:destroyed",function(){return _(a,o)});var f=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},p=H(function(n){e.resolved=Yn(n,t),c?a.length=0:f(!0)}),v=H(function(t){r(e.errorComp)&&(e.error=!0,f(!0))}),h=e(p,v);return s(h)&&(d(h)?n(e.resolved)&&h.then(p,v):d(h.component)&&(h.component.then(p,v),r(h.error)&&(e.errorComp=Yn(h.error,t)),r(h.loading)&&(e.loadingComp=Yn(h.loading,t),0===h.delay?e.loading=!0:u=setTimeout(function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,f(!1))},h.delay||200)),r(h.timeout)&&(l=setTimeout(function(){l=null,n(e.resolved)&&v(null)},h.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}function tr(e){return e.isComment&&e.asyncFactory}function nr(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||tr(n)))return n}}function rr(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&sr(e,t)}function ir(e,t){Zn.$on(e,t)}function or(e,t){Zn.$off(e,t)}function ar(e,t){var n=Zn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function sr(e,t,n){Zn=e,Qt(t,n||{},ir,or,ar,e),Zn=void 0}function cr(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)Ct(n[o],t,r,t,i)}return t}}var ur=null,lr=!1;function fr(e){var t=ur;return ur=e,function(){ur=t}}function pr(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function dr(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=fr(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){_r(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),_r(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function vr(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=Me),_r(e,"beforeMount"),r=function(){e._update(e._render(),n)},new Pr(e,r,D,{before:function(){e._isMounted&&!e._isDestroyed&&_r(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,_r(e,"mounted")),e}function hr(e,n,r,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==t&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||t,e.$listeners=r||t,n&&e.$options.props){Be(!1);for(var l=e._props,f=e.$options._propKeys||[],p=0;p<f.length;p++){var d=f[p],v=e.$options.props;l[d]=ft(d,v,n,e)}Be(!0),e.$options.propsData=n}r=r||t;var h=e.$options._parentListeners;e.$options._parentListeners=r,sr(e,r,h),u&&(e.$slots=fn(o,i.context),e.$forceUpdate())}function mr(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function yr(e,t){if(t){if(e._directInactive=!1,mr(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)yr(e.$children[n]);_r(e,"activated")}}function gr(e,t){if(!(t&&(e._directInactive=!0,mr(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)gr(e.$children[n]);_r(e,"deactivated")}}function _r(e,t){Te();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Ct(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),Ne()}var br=100,$r=[],wr=[],xr={},Cr={},Ar=!1,kr=!1,Or=0;function Sr(){Or=$r.length=wr.length=0,xr={},Ar=kr=!1}var Tr=0,Nr=Date.now;if(Y&&!ne){var jr=window.performance;jr&&"function"==typeof jr.now&&Nr()>document.createEvent("Event").timeStamp&&(Nr=function(){return jr.now()})}function Er(){var e,t;for(Tr=Nr(),kr=!0,$r.sort(function(e,t){return e.id-t.id}),Or=0;Or<$r.length;Or++)(e=$r[Or]).before&&e.before(),t=e.id,xr[t]=null,e.run();var n=wr.slice(),r=$r.slice();Sr(),Lr(n),Mr(r),ve&&V.devtools&&ve.emit("flush")}function Mr(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&_r(r,"updated")}}function Dr(e){e._inactive=!1,wr.push(e)}function Lr(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,yr(e[t],!0)}function Ir(e){var t=e.id;if(null==xr[t]){if(xr[t]=!0,kr){for(var n=$r.length-1;n>Or&&$r[n].id>e.id;)n--;$r.splice(n+1,0,e)}else $r.push(e);Ar||(Ar=!0,qt(Er))}}var Fr=0,Pr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Fr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new me,this.newDepIds=new me,this.expression="","function"==typeof t?this.getter=t:(this.getter=Z(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};Pr.prototype.get=function(){var e;Te(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Xl){if(!this.user)throw Xl;xt(Xl,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Zt(e),Ne(),this.cleanupDeps()}return e},Pr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Pr.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Pr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ir(this)},Pr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Xl){xt(Xl,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Pr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Pr.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Pr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Rr={enumerable:!0,configurable:!0,get:D,set:D};function Hr(e,t,n){Rr.get=function(){return this[t][n]},Rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Rr)}function Br(e){e._watchers=[];var t=e.$options;t.props&&Ur(e,t.props),t.methods&&Gr(e,t.methods),t.data?zr(e):Je(e._data={},!0),t.computed&&Kr(e,t.computed),t.watch&&t.watch!==le&&Xr(e,t.watch)}function Ur(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Be(!1);var a=function(o){i.push(o);var a=ft(o,t,n,e);Ke(r,o,a),o in e||Hr(e,"_props",o)};for(var s in t)a(s);Be(!0)}function zr(e){var t=e.$options.data;l(t=e._data="function"==typeof t?Vr(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];0,r&&$(r,o)||K(o)||Hr(e,"_data",o)}Je(t,!0)}function Vr(e,t){Te();try{return e.call(t,t)}catch(Xl){return xt(Xl,t,"data()"),{}}finally{Ne()}}var Jr={lazy:!0};function Kr(e,t){var n=e._computedWatchers=Object.create(null),r=de();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new Pr(e,a||D,D,Jr)),i in e||qr(e,i,o)}}function qr(e,t,n){var r=!de();"function"==typeof n?(Rr.get=r?Wr(t):Zr(n),Rr.set=D):(Rr.get=n.get?r&&!1!==n.cache?Wr(t):Zr(n.get):D,Rr.set=n.set||D),Object.defineProperty(e,t,Rr)}function Wr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Oe.target&&t.depend(),t.value}}function Zr(e){return function(){return e.call(this,this)}}function Gr(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?D:N(t[n],e)}function Xr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Yr(e,n,r[i]);else Yr(e,n,r)}}function Yr(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Qr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=qe,e.prototype.$delete=We,e.prototype.$watch=function(e,t,n){if(l(t))return Yr(this,e,t,n);(n=n||{}).user=!0;var r=new Pr(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(i){xt(i,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}var ei=0;function ti(e){e.prototype._init=function(e){var t=this;t._uid=ei++,t._isVue=!0,e&&e._isComponent?ni(t,e):t.$options=ut(ri(t.constructor),e||{},t),t._renderProxy=t,t._self=t,pr(t),rr(t),Wn(t),_r(t,"beforeCreate"),un(t),Br(t),cn(t),_r(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function ni(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function ri(e){var t=e.options;if(e.super){var n=ri(e.super);if(n!==e.superOptions){e.superOptions=n;var r=ii(e);r&&E(e.extendOptions,r),(t=e.options=ut(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function ii(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function oi(e){this._init(e)}function ai(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=j(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function si(e){e.mixin=function(e){return this.options=ut(this.options,e),this}}function ci(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=ut(n.options,e),a.super=n,a.options.props&&ui(a),a.options.computed&&li(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=E({},a.options),i[r]=a,a}}function ui(e){var t=e.options.props;for(var n in t)Hr(e.prototype,"_props",n)}function li(e){var t=e.options.computed;for(var n in t)qr(e.prototype,n,t[n])}function fi(e){U.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function pi(e){return e&&(e.Ctor.options.name||e.tag)}function di(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function vi(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=pi(a.componentOptions);s&&!t(s)&&hi(n,o,r,i)}}}function hi(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,_(n,t)}ti(oi),Qr(oi),cr(oi),dr(oi),Xn(oi);var mi=[String,RegExp,Array],yi={name:"keep-alive",abstract:!0,props:{include:mi,exclude:mi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)hi(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){vi(e,function(e){return di(t,e)})}),this.$watch("exclude",function(t){vi(e,function(e){return!di(t,e)})})},render:function(){var e=this.$slots.default,t=nr(e),n=t&&t.componentOptions;if(n){var r=pi(n),i=this.include,o=this.exclude;if(i&&(!r||!di(i,r))||o&&r&&di(o,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,_(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&hi(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},gi={KeepAlive:yi};function _i(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:we,extend:E,mergeOptions:ut,defineReactive:Ke},e.set=qe,e.delete=We,e.nextTick=qt,e.observable=function(e){return Je(e),e},e.options=Object.create(null),U.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,gi),ai(e),si(e),ci(e),fi(e)}_i(oi),Object.defineProperty(oi.prototype,"$isServer",{get:de}),Object.defineProperty(oi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(oi,"FunctionalRenderContext",{value:jn}),oi.version="2.6.12";var bi=m("style,class"),$i=m("input,textarea,option,select,progress"),wi=function(e,t,n){return"value"===n&&$i(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},xi=m("contenteditable,draggable,spellcheck"),Ci=m("events,caret,typing,plaintext-only"),Ai=function(e,t){return Ni(t)||"false"===t?"false":"contenteditable"===e&&Ci(t)?t:"true"},ki=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Oi="http://www.w3.org/1999/xlink",Si=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ti=function(e){return Si(e)?e.slice(6,e.length):""},Ni=function(e){return null==e||!1===e};function ji(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Ei(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Ei(t,n.data));return Mi(t.staticClass,t.class)}function Ei(e,t){return{staticClass:Di(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Mi(e,t){return r(e)||r(t)?Di(e,Li(t)):""}function Di(e,t){return e?t?e+" "+t:e:t||""}function Li(e){return Array.isArray(e)?Ii(e):s(e)?Fi(e):"string"==typeof e?e:""}function Ii(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=Li(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Fi(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Pi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ri=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Hi=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Bi=function(e){return"pre"===e},Ui=function(e){return Ri(e)||Hi(e)};function zi(e){return Hi(e)?"svg":"math"===e?"math":void 0}var Vi=Object.create(null);function Ji(e){if(!Y)return!0;if(Ui(e))return!1;if(e=e.toLowerCase(),null!=Vi[e])return Vi[e];var t=document.createElement(e);return e.indexOf("-")>-1?Vi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Vi[e]=/HTMLUnknownElement/.test(t.toString())}var Ki=m("text,number,password,search,email,tel,url");function qi(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Wi(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Zi(e,t){return document.createElementNS(Pi[e],t)}function Gi(e){return document.createTextNode(e)}function Xi(e){return document.createComment(e)}function Yi(e,t,n){e.insertBefore(t,n)}function Qi(e,t){e.removeChild(t)}function eo(e,t){e.appendChild(t)}function to(e){return e.parentNode}function no(e){return e.nextSibling}function ro(e){return e.tagName}function io(e,t){e.textContent=t}function oo(e,t){e.setAttribute(t,"")}var ao=Object.freeze({createElement:Wi,createElementNS:Zi,createTextNode:Gi,createComment:Xi,insertBefore:Yi,removeChild:Qi,appendChild:eo,parentNode:to,nextSibling:no,tagName:ro,setTextContent:io,setStyleScope:oo}),so={create:function(e,t){co(t)},update:function(e,t){e.data.ref!==t.data.ref&&(co(e,!0),co(t))},destroy:function(e){co(e,!0)}};function co(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?_(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var uo=new je("",{},[]),lo=["create","activate","update","remove","destroy"];function fo(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&po(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function po(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ki(i)&&Ki(o)}function vo(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}function ho(e){var t,o,s={},c=e.modules,u=e.nodeOps;for(t=0;t<lo.length;++t)for(s[lo[t]]=[],o=0;o<c.length;++o)r(c[o][lo[t]])&&s[lo[t]].push(c[o][lo[t]]);function l(e){var t=u.parentNode(e);r(t)&&u.removeChild(t,e)}function f(e,t,n,o,a,c,l){if(r(e.elm)&&r(c)&&(e=c[l]=Le(e)),e.isRootInsert=!a,!function(e,t,n,o){var a=e.data;if(r(a)){var c=r(e.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(e,!1),r(e.componentInstance))return p(e,t),d(n,e.elm,o),i(c)&&function(e,t,n,i){var o,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,r(o=a.data)&&r(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](uo,a);t.push(a);break}d(n,e.elm,i)}(e,t,n,o),!0}}(e,t,n,o)){var f=e.data,h=e.children,m=e.tag;r(m)?(e.elm=e.ns?u.createElementNS(e.ns,m):u.createElement(m,e),g(e),v(e,h,t),r(f)&&y(e,t),d(n,e.elm,o)):i(e.isComment)?(e.elm=u.createComment(e.text),d(n,e.elm,o)):(e.elm=u.createTextNode(e.text),d(n,e.elm,o))}}function p(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,h(e)?(y(e,t),g(e)):(co(e),t.push(e))}function d(e,t,n){r(e)&&(r(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function v(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else a(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function h(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function y(e,n){for(var i=0;i<s.create.length;++i)s.create[i](uo,e);r(t=e.data.hook)&&(r(t.create)&&t.create(uo,e),r(t.insert)&&n.push(e))}function g(e){var t;if(r(t=e.fnScopeId))u.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent;r(t=ur)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function _(e,t,n,r,i,o){for(;r<=i;++r)f(n[r],o,e,t,!1,n,r)}function b(e){var t,n,i=e.data;if(r(i))for(r(t=i.hook)&&r(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function $(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(r(i.tag)?(w(i),b(i)):l(i.elm))}}function w(e,t){if(r(t)||r(e.data)){var n,i=s.remove.length+1;for(r(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,i),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&w(n,t),n=0;n<s.remove.length;++n)s.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else l(e.elm)}function x(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&fo(e,a))return o}}function C(e,t,o,a,c,l){if(e!==t){r(t.elm)&&r(a)&&(t=a[c]=Le(t));var p=t.elm=e.elm;if(i(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?O(e.elm,t,o):t.isAsyncPlaceholder=!0;else if(i(t.isStatic)&&i(e.isStatic)&&t.key===e.key&&(i(t.isCloned)||i(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,v=t.data;r(v)&&r(d=v.hook)&&r(d=d.prepatch)&&d(e,t);var m=e.children,y=t.children;if(r(v)&&h(t)){for(d=0;d<s.update.length;++d)s.update[d](e,t);r(d=v.hook)&&r(d=d.update)&&d(e,t)}n(t.text)?r(m)&&r(y)?m!==y&&function(e,t,i,o,a){var s,c,l,p=0,d=0,v=t.length-1,h=t[0],m=t[v],y=i.length-1,g=i[0],b=i[y],w=!a;for(;p<=v&&d<=y;)n(h)?h=t[++p]:n(m)?m=t[--v]:fo(h,g)?(C(h,g,o,i,d),h=t[++p],g=i[++d]):fo(m,b)?(C(m,b,o,i,y),m=t[--v],b=i[--y]):fo(h,b)?(C(h,b,o,i,y),w&&u.insertBefore(e,h.elm,u.nextSibling(m.elm)),h=t[++p],b=i[--y]):fo(m,g)?(C(m,g,o,i,d),w&&u.insertBefore(e,m.elm,h.elm),m=t[--v],g=i[++d]):(n(s)&&(s=vo(t,p,v)),n(c=r(g.key)?s[g.key]:x(g,t,p,v))?f(g,o,e,h.elm,!1,i,d):fo(l=t[c],g)?(C(l,g,o,i,d),t[c]=void 0,w&&u.insertBefore(e,l.elm,h.elm)):f(g,o,e,h.elm,!1,i,d),g=i[++d]);p>v?_(e,n(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(t,p,v)}(p,m,y,o,l):r(y)?(r(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):r(m)?$(m,0,m.length-1):r(e.text)&&u.setTextContent(p,""):e.text!==t.text&&u.setTextContent(p,t.text),r(v)&&r(d=v.hook)&&r(d=d.postpatch)&&d(e,t)}}}function A(e,t,n){if(i(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o<t.length;++o)t[o].data.hook.insert(t[o])}var k=m("attrs,class,staticClass,staticStyle,key");function O(e,t,n,o){var a,s=t.tag,c=t.data,u=t.children;if(o=o||c&&c.pre,t.elm=e,i(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(a=c.hook)&&r(a=a.init)&&a(t,!0),r(a=t.componentInstance)))return p(t,n),!0;if(r(s)){if(r(u))if(e.hasChildNodes())if(r(a=c)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var l=!0,f=e.firstChild,d=0;d<u.length;d++){if(!f||!O(f,u[d],n,o)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else v(t,u,n);if(r(c)){var h=!1;for(var m in c)if(!k(m)){h=!0,y(t,n);break}!h&&c.class&&Zt(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,o,a){if(!n(t)){var c,l=!1,p=[];if(n(e))l=!0,f(t,p);else{var d=r(e.nodeType);if(!d&&fo(e,t))C(e,t,p,null,null,a);else{if(d){if(1===e.nodeType&&e.hasAttribute(B)&&(e.removeAttribute(B),o=!0),i(o)&&O(e,t,p))return A(t,p,!0),e;c=e,e=new je(u.tagName(c).toLowerCase(),{},[],void 0,c)}var v=e.elm,m=u.parentNode(v);if(f(t,p,v._leaveCb?null:m,u.nextSibling(v)),r(t.parent))for(var y=t.parent,g=h(t);y;){for(var _=0;_<s.destroy.length;++_)s.destroy[_](y);if(y.elm=t.elm,g){for(var w=0;w<s.create.length;++w)s.create[w](uo,y);var x=y.data.hook.insert;if(x.merged)for(var k=1;k<x.fns.length;k++)x.fns[k]()}else co(y);y=y.parent}r(m)?$([e],0,0):r(e.tag)&&b(e)}}return A(t,p,l),t.elm}r(e)&&b(e)}}var mo={create:yo,update:yo,destroy:function(e){yo(e,uo)}};function yo(e,t){(e.data.directives||t.data.directives)&&go(e,t)}function go(e,t){var n,r,i,o=e===uo,a=t===uo,s=bo(e.data.directives,e.context),c=bo(t.data.directives,t.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,wo(i,"update",t,e),i.def&&i.def.componentUpdated&&l.push(i)):(wo(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)wo(u[n],"inserted",t,e)};o?en(t,"insert",f):f()}if(l.length&&en(t,"postpatch",function(){for(var n=0;n<l.length;n++)wo(l[n],"componentUpdated",t,e)}),!o)for(n in s)c[n]||wo(s[n],"unbind",e,e,a)}var _o=Object.create(null);function bo(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=_o),i[$o(r)]=r,r.def=lt(t.$options,"directives",r.name,!0);return i}function $o(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function wo(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(Xl){xt(Xl,n.context,"directive "+e.name+" "+t+" hook")}}var xo=[so,mo];function Co(e,t){var i=t.componentOptions;if(!(r(i)&&!1===i.Ctor.options.inheritAttrs||n(e.data.attrs)&&n(t.data.attrs))){var o,a,s=t.elm,c=e.data.attrs||{},u=t.data.attrs||{};for(o in r(u.__ob__)&&(u=t.data.attrs=E({},u)),u)a=u[o],c[o]!==a&&Ao(s,o,a);for(o in(ne||ie)&&u.value!==c.value&&Ao(s,"value",u.value),c)n(u[o])&&(Si(o)?s.removeAttributeNS(Oi,Ti(o)):xi(o)||s.removeAttribute(o))}}function Ao(e,t,n){e.tagName.indexOf("-")>-1?ko(e,t,n):ki(t)?Ni(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):xi(t)?e.setAttribute(t,Ai(t,n)):Si(t)?Ni(n)?e.removeAttributeNS(Oi,Ti(t)):e.setAttributeNS(Oi,t,n):ko(e,t,n)}function ko(e,t,n){if(Ni(n))e.removeAttribute(t);else{if(ne&&!re&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Oo={create:Co,update:Co};function So(e,t){var i=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=ji(t),c=i._transitionClasses;r(c)&&(s=Di(s,Li(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var To,No,jo,Eo,Mo,Do,Lo,Io={create:So,update:So},Fo=/[\w).+\-_$\]]/;function Po(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(u)47===t&&92!==n&&(u=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||l||f||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:l++;break;case 125:l--}if(47===t){for(var v=r-1,h=void 0;v>=0&&" "===(h=e.charAt(v));v--);h&&Fo.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r<o.length;r++)i=Ro(i,o[r]);return i}function Ro(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==i?","+i:i)}function Ho(e,t){console.error("[Vue compiler]: "+e)}function Bo(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Uo(e,t,n,r,i){(e.props||(e.props=[])).push(Yo({name:t,value:n,dynamic:i},r)),e.plain=!1}function zo(e,t,n,r,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Yo({name:t,value:n,dynamic:i},r)),e.plain=!1}function Vo(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(Yo({name:t,value:n},r))}function Jo(e,t,n,r,i,o,a,s){(e.directives||(e.directives=[])).push(Yo({name:t,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Ko(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function qo(e,n,r,i,o,a,s,c){var u;(i=i||t).right?c?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete i.right):i.middle&&(c?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),i.capture&&(delete i.capture,n=Ko("!",n,c)),i.once&&(delete i.once,n=Ko("~",n,c)),i.passive&&(delete i.passive,n=Ko("&",n,c)),i.native?(delete i.native,u=e.nativeEvents||(e.nativeEvents={})):u=e.events||(e.events={});var l=Yo({value:r.trim(),dynamic:c},s);i!==t&&(l.modifiers=i);var f=u[n];Array.isArray(f)?o?f.unshift(l):f.push(l):u[n]=f?o?[l,f]:[f,l]:l,e.plain=!1}function Wo(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function Zo(e,t,n){var r=Go(e,":"+t)||Go(e,"v-bind:"+t);if(null!=r)return Po(r);if(!1!==n){var i=Go(e,t);if(null!=i)return JSON.stringify(i)}}function Go(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function Xo(e,t){for(var n=e.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(t.test(o.name))return n.splice(r,1),o}}function Yo(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Qo(e,t,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=ea(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function ea(e,t){var n=ta(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function ta(e){if(e=e.trim(),To=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<To-1)return(Eo=e.lastIndexOf("."))>-1?{exp:e.slice(0,Eo),key:'"'+e.slice(Eo+1)+'"'}:{exp:e,key:null};for(No=e,Eo=Mo=Do=0;!ra();)ia(jo=na())?aa(jo):91===jo&&oa(jo);return{exp:e.slice(0,Mo),key:e.slice(Mo+1,Do)}}function na(){return No.charCodeAt(++Eo)}function ra(){return Eo>=To}function ia(e){return 34===e||39===e}function oa(e){var t=1;for(Mo=Eo;!ra();)if(ia(e=na()))aa(e);else if(91===e&&t++,93===e&&t--,0===t){Do=Eo;break}}function aa(e){for(var t=e;!ra()&&(e=na())!==t;);}var sa,ca="__r",ua="__c";function la(e,t,n){Lo=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Qo(e,r,i),!1;if("select"===o)da(e,r,i);else if("input"===o&&"checkbox"===a)fa(e,r,i);else if("input"===o&&"radio"===a)pa(e,r,i);else if("input"===o||"textarea"===o)va(e,r,i);else{if(!V.isReservedTag(o))return Qo(e,r,i),!1}return!0}function fa(e,t,n){var r=n&&n.number,i=Zo(e,"value")||"null",o=Zo(e,"true-value")||"true",a=Zo(e,"false-value")||"false";Uo(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),qo(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+ea(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+ea(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+ea(t,"$$c")+"}",null,!0)}function pa(e,t,n){var r=n&&n.number,i=Zo(e,"value")||"null";Uo(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),qo(e,"change",ea(t,i),null,!0)}function da(e,t,n){var r="var $$selectedVal = "+('Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"})")+";";qo(e,"change",r=r+" "+ea(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}function va(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?ca:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=ea(t,l);c&&(f="if($event.target.composing)return;"+f),Uo(e,"value","("+t+")"),qo(e,u,f,null,!0),(s||a)&&qo(e,"blur","$forceUpdate()")}function ha(e){if(r(e[ca])){var t=ne?"change":"input";e[t]=[].concat(e[ca],e[t]||[]),delete e[ca]}r(e[ua])&&(e.change=[].concat(e[ua],e.change||[]),delete e[ua])}function ma(e,t,n){var r=sa;return function i(){null!==t.apply(null,arguments)&&_a(e,i,n,r)}}var ya=Rt&&!(ue&&Number(ue[1])<=53);function ga(e,t,n,r){if(ya){var i=Tr,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}sa.addEventListener(e,t,fe?{capture:n,passive:r}:n)}function _a(e,t,n,r){(r||sa).removeEventListener(e,t._wrapper||t,n)}function ba(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};sa=t.elm,ha(r),Qt(r,i,ga,_a,ma,t.context),sa=void 0}}var $a,wa={create:ba,update:ba};function xa(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(i in r(c.__ob__)&&(c=t.data.domProps=E({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=n(o)?"":String(o);Ca(a,u)&&(a.value=u)}else if("innerHTML"===i&&Hi(a.tagName)&&n(a.innerHTML)){($a=$a||document.createElement("div")).innerHTML="<svg>"+o+"</svg>";for(var l=$a.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(Xl){}}}}function Ca(e,t){return!e.composing&&("OPTION"===e.tagName||Aa(e,t)||ka(e,t))}function Aa(e,t){var n=!0;try{n=document.activeElement!==e}catch(Xl){}return n&&e.value!==t}function ka(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return h(n)!==h(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var Oa={create:xa,update:xa},Sa=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Ta(e){var t=Na(e.style);return e.staticStyle?E(e.staticStyle,t):t}function Na(e){return Array.isArray(e)?M(e):"string"==typeof e?Sa(e):e}function ja(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Ta(i.data))&&E(r,n);(n=Ta(e.data))&&E(r,n);for(var o=e;o=o.parent;)o.data&&(n=Ta(o.data))&&E(r,n);return r}var Ea,Ma=/^--/,Da=/\s*!important$/,La=function(e,t,n){if(Ma.test(t))e.style.setProperty(t,n);else if(Da.test(n))e.style.setProperty(O(t),n.replace(Da,""),"important");else{var r=Fa(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Ia=["Webkit","Moz","ms"],Fa=w(function(e){if(Ea=Ea||document.createElement("div").style,"filter"!==(e=C(e))&&e in Ea)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ia.length;n++){var r=Ia[n]+t;if(r in Ea)return r}});function Pa(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,c=t.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,p=Na(t.data.style)||{};t.data.normalizedStyle=r(p.__ob__)?E({},p):p;var d=ja(t,!0);for(s in f)n(d[s])&&La(c,s,"");for(s in d)(a=d[s])!==f[s]&&La(c,s,null==a?"":a)}}var Ra={create:Pa,update:Pa},Ha=/\s+/;function Ba(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ha).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ua(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ha).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function za(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,Va(e.name||"v")),E(t,e),t}return"string"==typeof e?Va(e):void 0}}var Va=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Ja=Y&&!re,Ka="transition",qa="animation",Wa="transition",Za="transitionend",Ga="animation",Xa="animationend";Ja&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wa="WebkitTransition",Za="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ga="WebkitAnimation",Xa="webkitAnimationEnd"));var Ya=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Qa(e){Ya(function(){Ya(e)})}function es(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ba(e,t))}function ts(e,t){e._transitionClasses&&_(e._transitionClasses,t),Ua(e,t)}function ns(e,t,n){var r=is(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ka?Za:Xa,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),e.addEventListener(s,l)}var rs=/\b(transform|all)(,|$)/;function is(e,t){var n,r=window.getComputedStyle(e),i=(r[Wa+"Delay"]||"").split(", "),o=(r[Wa+"Duration"]||"").split(", "),a=os(i,o),s=(r[Ga+"Delay"]||"").split(", "),c=(r[Ga+"Duration"]||"").split(", "),u=os(s,c),l=0,f=0;return t===Ka?a>0&&(n=Ka,l=a,f=o.length):t===qa?u>0&&(n=qa,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ka:qa:null)?n===Ka?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ka&&rs.test(r[Wa+"Property"])}}function os(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return as(t)+as(e[n])}))}function as(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ss(e,t){var i=e.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=za(e.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,c=o.type,u=o.enterClass,l=o.enterToClass,f=o.enterActiveClass,p=o.appearClass,d=o.appearToClass,v=o.appearActiveClass,m=o.beforeEnter,y=o.enter,g=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,$=o.appear,w=o.afterAppear,x=o.appearCancelled,C=o.duration,A=ur,k=ur.$vnode;k&&k.parent;)A=k.context,k=k.parent;var O=!A._isMounted||!e.isRootInsert;if(!O||$||""===$){var S=O&&p?p:u,T=O&&v?v:f,N=O&&d?d:l,j=O&&b||m,E=O&&"function"==typeof $?$:y,M=O&&w||g,D=O&&x||_,L=h(s(C)?C.enter:C);0;var I=!1!==a&&!re,F=fs(E),P=i._enterCb=H(function(){I&&(ts(i,N),ts(i,T)),P.cancelled?(I&&ts(i,S),D&&D(i)):M&&M(i),i._enterCb=null});e.data.show||en(e,"insert",function(){var t=i.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),E&&E(i,P)}),j&&j(i),I&&(es(i,S),es(i,T),Qa(function(){ts(i,S),P.cancelled||(es(i,N),F||(ls(L)?setTimeout(P,L):ns(i,c,P)))})),e.data.show&&(t&&t(),E&&E(i,P)),I||F||P()}}}function cs(e,t){var i=e.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var o=za(e.data.transition);if(n(o)||1!==i.nodeType)return t();if(!r(i._leaveCb)){var a=o.css,c=o.type,u=o.leaveClass,l=o.leaveToClass,f=o.leaveActiveClass,p=o.beforeLeave,d=o.leave,v=o.afterLeave,m=o.leaveCancelled,y=o.delayLeave,g=o.duration,_=!1!==a&&!re,b=fs(d),$=h(s(g)?g.leave:g);0;var w=i._leaveCb=H(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),_&&(ts(i,l),ts(i,f)),w.cancelled?(_&&ts(i,u),m&&m(i)):(t(),v&&v(i)),i._leaveCb=null});y?y(x):x()}function x(){w.cancelled||(!e.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),p&&p(i),_&&(es(i,u),es(i,f),Qa(function(){ts(i,u),w.cancelled||(es(i,l),b||(ls($)?setTimeout(w,$):ns(i,c,w)))})),d&&d(i,w),_||b||w())}}function us(e,t,n){"number"!=typeof e?we("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&we("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function ls(e){return"number"==typeof e&&!isNaN(e)}function fs(e){if(n(e))return!1;var t=e.fns;return r(t)?fs(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function ps(e,t){!0!==t.data.show&&ss(t)}var ds=Y?{create:ps,activate:ps,remove:function(e,t){!0!==e.data.show?cs(e,t):t()}}:{},vs=[Oo,Io,wa,Oa,Ra,ds],hs=vs.concat(xo),ms=ho({nodeOps:ao,modules:hs});re&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Cs(e,"input")});var ys={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?en(n,"postpatch",function(){ys.componentUpdated(e,t,n)}):gs(e,t,n.context),e._vOptions=[].map.call(e.options,$s)):("textarea"===n.tag||Ki(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ws),e.addEventListener("compositionend",xs),e.addEventListener("change",xs),re&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){gs(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,$s);if(i.some(function(e,t){return!P(e,r[t])}))(e.multiple?t.value.some(function(e){return bs(e,i)}):t.value!==t.oldValue&&bs(t.value,i))&&Cs(e,"change")}}};function gs(e,t,n){_s(e,t,n),(ne||ie)&&setTimeout(function(){_s(e,t,n)},0)}function _s(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],i)o=R(r,$s(a))>-1,a.selected!==o&&(a.selected=o);else if(P($s(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function bs(e,t){return t.every(function(t){return!P(t,e)})}function $s(e){return"_value"in e?e._value:e.value}function ws(e){e.target.composing=!0}function xs(e){e.target.composing&&(e.target.composing=!1,Cs(e.target,"input"))}function Cs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function As(e){return!e.componentInstance||e.data&&e.data.transition?e:As(e.componentInstance._vnode)}var ks={bind:function(e,t,n){var r=t.value,i=(n=As(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,ss(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=As(n)).data&&n.data.transition?(n.data.show=!0,r?ss(n,function(){e.style.display=e.__vOriginalDisplay}):cs(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Os={model:ys,show:ks},Ss={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ts(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ts(nr(t.children)):e}function Ns(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function js(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Es(e){for(;e=e.parent;)if(e.data.transition)return!0}function Ms(e,t){return t.key===e.key&&t.tag===e.tag}var Ds=function(e){return e.tag||tr(e)},Ls=function(e){return"show"===e.name},Is={name:"transition",props:Ss,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Ds)).length){0;var r=this.mode;0;var i=n[0];if(Es(this.$vnode))return i;var o=Ts(i);if(!o)return i;if(this._leaving)return js(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=Ns(this),u=this._vnode,l=Ts(u);if(o.data.directives&&o.data.directives.some(Ls)&&(o.data.show=!0),l&&l.data&&!Ms(o,l)&&!tr(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=E({},c);if("out-in"===r)return this._leaving=!0,en(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),js(e,i);if("in-out"===r){if(tr(o))return u;var p,d=function(){p()};en(c,"afterEnter",d),en(c,"enterCancelled",d),en(f,"delayLeave",function(e){p=e})}}return i}}},Fs=E({tag:String,moveClass:String},Ss);delete Fs.mode;var Ps={props:Fs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=fr(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ns(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=e(t,null,u),this.removed=l}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Rs),e.forEach(Hs),e.forEach(Bs),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;es(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Za,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Za,e),n._moveCb=null,ts(n,t))})}}))},methods:{hasMove:function(e,t){if(!Ja)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Ua(n,e)}),Ba(n,t),n.style.display="none",this.$el.appendChild(n);var r=is(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Rs(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Hs(e){e.data.newPos=e.elm.getBoundingClientRect()}function Bs(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var Us={Transition:Is,TransitionGroup:Ps};oi.config.mustUseProp=wi,oi.config.isReservedTag=Ui,oi.config.isReservedAttr=bi,oi.config.getTagNamespace=zi,oi.config.isUnknownElement=Ji,E(oi.options.directives,Os),E(oi.options.components,Us),oi.prototype.__patch__=Y?ms:D,oi.prototype.$mount=function(e,t){return vr(this,e=e&&Y?qi(e):void 0,t)},Y&&setTimeout(function(){V.devtools&&ve&&ve.emit("init",oi)},0);var zs=/\{\{((?:.|\r?\n)+?)\}\}/g,Vs=/[-.*+?^${}()|[\]\/\\]/g,Js=w(function(e){var t=e[0].replace(Vs,"\\$&"),n=e[1].replace(Vs,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function Ks(e,t){var n=t?Js(t):zs;if(n.test(e)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(i=r.index)>c&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Po(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function qs(e,t){t.warn;var n=Go(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Zo(e,"class",!1);r&&(e.classBinding=r)}function Ws(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}var Zs={staticKeys:["staticClass"],transformNode:qs,genData:Ws};function Gs(e,t){t.warn;var n=Go(e,"style");n&&(e.staticStyle=JSON.stringify(Sa(n)));var r=Zo(e,"style",!1);r&&(e.styleBinding=r)}function Xs(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}var Ys,Qs={staticKeys:["staticStyle"],transformNode:Gs,genData:Xs},ec={decode:function(e){return(Ys=Ys||document.createElement("div")).innerHTML=e,Ys.textContent}},tc=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),nc=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),rc=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ic=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oc=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ac="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+J.source+"]*",sc="((?:"+ac+"\\:)?"+ac+")",cc=new RegExp("^<"+sc),uc=/^\s*(\/?)>/,lc=new RegExp("^<\\/"+sc+"[^>]*>"),fc=/^<!DOCTYPE [^>]+>/i,pc=/^<!\--/,dc=/^<!\[/,vc=m("script,style,textarea",!0),hc={},mc={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},yc=/&(?:lt|gt|quot|amp|#39);/g,gc=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,_c=m("pre,textarea",!0),bc=function(e,t){return e&&_c(e)&&"\n"===t[0]};function $c(e,t){var n=t?gc:yc;return e.replace(n,function(e){return mc[e]})}function wc(e,t){for(var n,r,i=[],o=t.expectHTML,a=t.isUnaryTag||L,s=t.canBeLeftOpenTag||L,c=0;e;){if(n=e,r&&vc(r)){var u=0,l=r.toLowerCase(),f=hc[l]||(hc[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,vc(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),bc(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(pc.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),x(v+3);continue}}if(dc.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(fc);if(m){x(m[0].length);continue}var y=e.match(lc);if(y){var g=c;x(y[0].length),k(y[1],g,c);continue}var _=C();if(_){A(_),bc(_.tagName,e)&&x(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(lc.test($)||cc.test($)||pc.test($)||dc.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&x(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function x(t){c+=t,e=e.substring(t)}function C(){var t=e.match(cc);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(uc))&&(r=e.match(oc)||e.match(ic));)r.start=c,x(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=c,i}}function A(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&rc(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p<l;p++){var d=e.attrs[p],v=d[3]||d[4]||d[5]||"",h="a"===n&&"href"===d[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[p]={name:d[1],value:$c(v,h)}}u||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f,start:e.start,end:e.end}),r=n),t.start&&t.start(n,f,u,e.start,e.end)}function k(e,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),e)for(s=e.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}var xc,Cc,Ac,kc,Oc,Sc,Tc,Nc,jc,Ec=/^@|^v-on:/,Mc=/^v-|^@|^:|^#/,Dc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Lc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ic=/^\(|\)$/g,Fc=/^\[.*\]$/,Pc=/:(.*)$/,Rc=/^:|^\.|^v-bind:/,Hc=/\.[^.\]]+(?=[^\]]*$)/g,Bc=/^v-slot(:|$)|^#/,Uc=/[\r\n]/,zc=/\s+/g,Vc=/[\s"'<>\/=]/,Jc=w(ec.decode),Kc="_empty_";function qc(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:vu(t),rawAttrsMap:{},parent:n,children:[]}}function Wc(e,t){xc=t.warn||Ho,Sc=t.isPreTag||L,Tc=t.mustUseProp||L,Nc=t.getTagNamespace||L;var n=t.isReservedTag||L;jc=function(e){return!!e.component||!n(e.tag)},Ac=Bo(t.modules,"transformNode"),kc=Bo(t.modules,"preTransformNode"),Oc=Bo(t.modules,"postTransformNode"),Cc=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,u=!1;function l(e){if(f(e),c||e.processed||(e=Xc(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&ou(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)ru(e,i);else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}e.children=e.children.filter(function(e){return!e.slotScope}),f(e),e.pre&&(c=!1),Sc(e.tag)&&(u=!1);for(var a=0;a<Oc.length;a++)Oc[a](e,t)}function f(e){if(!u)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return wc(e,{warn:xc,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,f){var p=i&&i.ns||Nc(e);ne&&"svg"===p&&(n=_u(n));var d=qc(e,n,i);p&&(d.ns=p),mu(d)&&!de()&&(d.forbidden=!0);for(var v=0;v<kc.length;v++)d=kc[v](d,t)||d;c||(Zc(d),d.pre&&(c=!0)),Sc(d.tag)&&(u=!0),c?Gc(d):d.processed||(eu(d),nu(d),au(d)),r||(r=d),a?l(d):(i=d,o.push(d))},end:function(e,t,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],l(r)},chars:function(e,t,n){if(i&&(!ne||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,o,l=i.children;if(e=u||e.trim()?hu(i)?e:Jc(e):l.length?s?"condense"===s&&Uc.test(e)?"":" ":a?" ":"":"")u||"condense"!==s||(e=e.replace(zc," ")),!c&&" "!==e&&(r=Ks(e,Cc))?o={type:2,expression:r.expression,tokens:r.tokens,text:e}:" "===e&&l.length&&" "===l[l.length-1].text||(o={type:3,text:e}),o&&l.push(o)}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};0,i.children.push(r)}}}),r}function Zc(e){null!=Go(e,"v-pre")&&(e.pre=!0)}function Gc(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),i=0;i<n;i++)r[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(r[i].start=t[i].start,r[i].end=t[i].end);else e.pre||(e.plain=!0)}function Xc(e,t){Yc(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,Qc(e),su(e),uu(e),lu(e);for(var n=0;n<Ac.length;n++)e=Ac[n](e,t)||e;return fu(e),e}function Yc(e){var t=Zo(e,"key");t&&(e.key=t)}function Qc(e){var t=Zo(e,"ref");t&&(e.ref=t,e.refInFor=pu(e))}function eu(e){var t;if(t=Go(e,"v-for")){var n=tu(t);n&&E(e,n)}}function tu(e){var t=e.match(Dc);if(t){var n={};n.for=t[2].trim();var r=t[1].trim().replace(Ic,""),i=r.match(Lc);return i?(n.alias=r.replace(Lc,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r,n}}function nu(e){var t=Go(e,"v-if");if(t)e.if=t,ou(e,{exp:t,block:e});else{null!=Go(e,"v-else")&&(e.else=!0);var n=Go(e,"v-else-if");n&&(e.elseif=n)}}function ru(e,t){var n=iu(t.children);n&&n.if&&ou(n,{exp:e.elseif,block:e})}function iu(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function ou(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function au(e){null!=Go(e,"v-once")&&(e.once=!0)}function su(e){var t;"template"===e.tag?(t=Go(e,"scope"),e.slotScope=t||Go(e,"slot-scope")):(t=Go(e,"slot-scope"))&&(e.slotScope=t);var n=Zo(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||zo(e,"slot",n,Wo(e,"slot"))),"template"===e.tag){var r=Xo(e,Bc);if(r){0;var i=cu(r),o=i.name,a=i.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=r.value||Kc}}else{var s=Xo(e,Bc);if(s){0;var c=e.scopedSlots||(e.scopedSlots={}),u=cu(s),l=u.name,f=u.dynamic,p=c[l]=qc("template",[],e);p.slotTarget=l,p.slotTargetDynamic=f,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=s.value||Kc,e.children=[],e.plain=!1}}}function cu(e){var t=e.name.replace(Bc,"");return t||"#"!==e.name[0]&&(t="default"),Fc.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function uu(e){"slot"===e.tag&&(e.slotName=Zo(e,"name"))}function lu(e){var t;(t=Zo(e,"is"))&&(e.component=t),null!=Go(e,"inline-template")&&(e.inlineTemplate=!0)}function fu(e){var t,n,r,i,o,a,s,c,u=e.attrsList;for(t=0,n=u.length;t<n;t++){if(r=i=u[t].name,o=u[t].value,Mc.test(r))if(e.hasBindings=!0,(a=du(r.replace(Mc,"")))&&(r=r.replace(Hc,"")),Rc.test(r))r=r.replace(Rc,""),o=Po(o),(c=Fc.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=C(r))&&(r="innerHTML"),a.camel&&!c&&(r=C(r)),a.sync&&(s=ea(o,"$event"),c?qo(e,'"update:"+('+r+")",s,null,!1,xc,u[t],!0):(qo(e,"update:"+C(r),s,null,!1,xc,u[t]),O(r)!==C(r)&&qo(e,"update:"+O(r),s,null,!1,xc,u[t])))),a&&a.prop||!e.component&&Tc(e.tag,e.attrsMap.type,r)?Uo(e,r,o,u[t],c):zo(e,r,o,u[t],c);else if(Ec.test(r))r=r.replace(Ec,""),(c=Fc.test(r))&&(r=r.slice(1,-1)),qo(e,r,o,a,!1,xc,u[t],c);else{var l=(r=r.replace(Mc,"")).match(Pc),f=l&&l[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),Fc.test(f)&&(f=f.slice(1,-1),c=!0)),Jo(e,r,i,o,f,c,a,u[t])}else zo(e,r,JSON.stringify(o),u[t]),!e.component&&"muted"===r&&Tc(e.tag,e.attrsMap.type,r)&&Uo(e,r,"true",u[t])}}function pu(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function du(e){var t=e.match(Hc);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function vu(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}function hu(e){return"script"===e.tag||"style"===e.tag}function mu(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}var yu=/^xmlns:NS\d+/,gu=/^NS\d+:/;function _u(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];yu.test(r.name)||(r.name=r.name.replace(gu,""),t.push(r))}return t}function bu(e,t){for(var n=e;n;)n.for&&n.alias===t&&xc("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function $u(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Zo(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Go(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Go(e,"v-else",!0),s=Go(e,"v-else-if",!0),c=wu(e);eu(c),Vo(c,"type","checkbox"),Xc(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,ou(c,{exp:c.if,block:c});var u=wu(e);Go(u,"v-for",!0),Vo(u,"type","radio"),Xc(u,t),ou(c,{exp:"("+n+")==='radio'"+o,block:u});var l=wu(e);return Go(l,"v-for",!0),Vo(l,":type",n),Xc(l,t),ou(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}function wu(e){return qc(e.tag,e.attrsList.slice(),e.parent)}var xu={preTransformNode:$u},Cu=[Zs,Qs,xu];function Au(e,t){t.value&&Uo(e,"textContent","_s("+t.value+")",t)}function ku(e,t){t.value&&Uo(e,"innerHTML","_s("+t.value+")",t)}var Ou,Su,Tu={model:la,text:Au,html:ku},Nu={expectHTML:!0,modules:Cu,directives:Tu,isPreTag:Bi,isUnaryTag:tc,mustUseProp:wi,canBeLeftOpenTag:nc,isReservedTag:Ui,getTagNamespace:zi,staticKeys:F(Cu)},ju=w(Mu);function Eu(e,t){e&&(Ou=ju(t.staticKeys||""),Su=t.isReservedTag||L,Du(e),Lu(e,!1))}function Mu(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}function Du(e){if(e.static=Iu(e),1===e.type){if(!Su(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Du(r),r.static||(e.static=!1)}if(e.ifConditions)for(var i=1,o=e.ifConditions.length;i<o;i++){var a=e.ifConditions[i].block;Du(a),a.static||(e.static=!1)}}}function Lu(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)Lu(e.children[n],t||!!e.for);if(e.ifConditions)for(var i=1,o=e.ifConditions.length;i<o;i++)Lu(e.ifConditions[i].block,t)}}function Iu(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||y(e.tag)||!Su(e.tag)||Fu(e)||!Object.keys(e).every(Ou))))}function Fu(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}var Pu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ru=/\([^)]*?\);*$/,Hu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Bu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Uu={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},zu=function(e){return"if("+e+")return null;"},Vu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:zu("$event.target !== $event.currentTarget"),ctrl:zu("!$event.ctrlKey"),shift:zu("!$event.shiftKey"),alt:zu("!$event.altKey"),meta:zu("!$event.metaKey"),left:zu("'button' in $event && $event.button !== 0"),middle:zu("'button' in $event && $event.button !== 1"),right:zu("'button' in $event && $event.button !== 2")};function Ju(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Ku(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ku(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ku(e)}).join(",")+"]";var t=Hu.test(e.value),n=Pu.test(e.value),r=Hu.test(e.value.replace(Ru,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Vu[s])o+=Vu[s],Bu[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=zu(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=qu(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function qu(e){return"if(!$event.type.indexOf('key')&&"+e.map(Wu).join("&&")+")return null;"}function Wu(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Bu[e],r=Uu[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function Zu(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}}function Gu(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}}var Xu={on:Zu,bind:Gu,cloak:D},Yu=function(e){this.options=e,this.warn=e.warn||Ho,this.transforms=Bo(e.modules,"transformCode"),this.dataGenFns=Bo(e.modules,"genData"),this.directives=E(E({},Xu),e.directives);var t=e.isReservedTag||L;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Qu(e,t){var n=new Yu(t);return{render:"with(this){return "+(e?el(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function el(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return tl(e,t);if(e.once&&!e.onceProcessed)return nl(e,t);if(e.for&&!e.forProcessed)return ol(e,t);if(e.if&&!e.ifProcessed)return rl(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return _l(e,t);var n;if(e.component)n=bl(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=al(e,t));var i=e.inlineTemplate?null:dl(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return dl(e,t)||"void 0"}function tl(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+el(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function nl(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return rl(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+el(e,t)+","+t.onceId+++","+n+")":el(e,t)}return tl(e,t)}function rl(e,t,n,r){return e.ifProcessed=!0,il(e.ifConditions.slice(),t,n,r)}function il(e,t,n,r){if(!e.length)return r||"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+o(i.block)+":"+il(e,t,n,r):""+o(i.block);function o(e){return n?n(e,t):e.once?nl(e,t):el(e,t)}}function ol(e,t,n,r){var i=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||el)(e,t)+"})"}function al(e,t){var n="{",r=sl(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:"+$l(e.attrs)+","),e.props&&(n+="domProps:"+$l(e.props)+","),e.events&&(n+=Ju(e.events,!1)+","),e.nativeEvents&&(n+=Ju(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=ul(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=cl(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+$l(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function sl(e,t){var n=e.directives;if(n){var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var u=t.directives[o.name];u&&(a=!!u(e,o,t.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function cl(e,t){var n=e.children[0];if(n&&1===n.type){var r=Qu(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function ul(e,t,n){var r=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||fl(n)}),i=!!e.if;if(!r)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==Kc||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(t).map(function(e){return pl(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&i?",null,false,"+ll(a):"")+")"}function ll(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}function fl(e){return 1===e.type&&("slot"===e.tag||e.children.some(fl))}function pl(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return rl(e,t,pl,"null");if(e.for&&!e.forProcessed)return ol(e,t,pl);var r=e.slotScope===Kc?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(dl(e,t)||"undefined")+":undefined":dl(e,t)||"undefined":el(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function dl(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||el)(a,t)+s}var c=n?vl(o,t.maybeComponent):0,u=i||ml;return"["+o.map(function(e){return u(e,t)}).join(",")+"]"+(c?","+c:"")}}function vl(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(hl(i)||i.ifConditions&&i.ifConditions.some(function(e){return hl(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}function hl(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ml(e,t){return 1===e.type?el(e,t):3===e.type&&e.isComment?gl(e):yl(e)}function yl(e){return"_v("+(2===e.type?e.expression:wl(JSON.stringify(e.text)))+")"}function gl(e){return"_e("+JSON.stringify(e.text)+")"}function _l(e,t){var n=e.slotName||'"default"',r=dl(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?$l((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=","+o),a&&(i+=(o?"":",null")+","+a),i+")"}function bl(e,t,n){var r=t.inlineTemplate?null:dl(t,n,!0);return"_c("+e+","+al(t,n)+(r?","+r:"")+")"}function $l(e){for(var t="",n="",r=0;r<e.length;r++){var i=e[r],o=wl(i.value);i.dynamic?n+=i.name+","+o+",":t+='"'+i.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function wl(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var xl=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Cl=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),Al=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function kl(e,t){e&&Ol(e,t)}function Ol(e,t){if(1===e.type){for(var n in e.attrsMap)if(Mc.test(n)){var r=e.attrsMap[n];if(r){var i=e.rawAttrsMap[n];"v-for"===n?Tl(e,'v-for="'+r+'"',t,i):"v-slot"===n||"#"===n[0]?El(r,n+'="'+r+'"',t,i):Ec.test(n)?Sl(r,n+'="'+r+'"',t,i):jl(r,n+'="'+r+'"',t,i)}}if(e.children)for(var o=0;o<e.children.length;o++)Ol(e.children[o],t)}else 2===e.type&&jl(e.expression,e.text,t,e)}function Sl(e,t,n,r){var i=e.replace(Al,""),o=i.match(Cl);o&&"$"!==i.charAt(o.index-1)&&n('avoid using JavaScript unary operator as property name: "'+o[0]+'" in expression '+t.trim(),r),jl(e,t,n,r)}function Tl(e,t,n,r){jl(e.for||"",t,n,r),Nl(e.alias,"v-for alias",t,n,r),Nl(e.iterator1,"v-for iterator",t,n,r),Nl(e.iterator2,"v-for iterator",t,n,r)}function Nl(e,t,n,r,i){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(Xl){r("invalid "+t+' "'+e+'" in expression: '+n.trim(),i)}}function jl(e,t,n,r){try{new Function("return "+e)}catch(Xl){var i=e.replace(Al,"").match(xl);n(i?'avoid using JavaScript keyword as property name: "'+i[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+Xl.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}function El(e,t,n,r){try{new Function(e,"")}catch(Xl){n("invalid function parameter expression: "+Xl.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}var Ml=2;function Dl(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r=e.split(/\r?\n/),i=0,o=[],a=0;a<r.length;a++)if((i+=r[a].length+1)>=t){for(var s=a-Ml;s<=a+Ml||n>i;s++)if(!(s<0||s>=r.length)){o.push(""+(s+1)+Ll(" ",3-String(s+1).length)+"| "+r[s]);var c=r[s].length;if(s===a){var u=t-(i-c)+1,l=n>i?c-u:n-t;o.push(" | "+Ll(" ",u)+Ll("^",l))}else if(s>a){if(n>i){var f=Math.min(n-i,c);o.push(" | "+Ll("^",f))}i+=c+1}}break}return o.join("\n")}function Ll(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function Il(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),D}}function Fl(e){var t=Object.create(null);return function(n,r,i){(r=E({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r);var s={},c=[];return s.render=Il(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Il(e,c)}),t[o]=s}}function Pl(e){return function(t){function n(n,r){var i=Object.create(t),o=[],a=[],s=function(e,t,n){(n?a:o).push(e)};if(r)for(var c in r.modules&&(i.modules=(t.modules||[]).concat(r.modules)),r.directives&&(i.directives=E(Object.create(t.directives||null),r.directives)),r)"modules"!==c&&"directives"!==c&&(i[c]=r[c]);i.warn=s;var u=e(n.trim(),i);return u.errors=o,u.tips=a,u}return{compile:n,compileToFunctions:Fl(n)}}}var Rl,Hl=Pl(function(e,t){var n=Wc(e.trim(),t);!1!==t.optimize&&Eu(n,t);var r=Qu(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}),Bl=Hl(Nu),Ul=Bl.compile,zl=Bl.compileToFunctions;function Vl(e){return(Rl=Rl||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Rl.innerHTML.indexOf(" ")>0}var Jl=!!Y&&Vl(!1),Kl=!!Y&&Vl(!0),ql=w(function(e){var t=qi(e);return t&&t.innerHTML}),Wl=oi.prototype.$mount;function Zl(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}oi.prototype.$mount=function(e,t){if((e=e&&qi(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ql(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=Zl(e));if(r){0;var i=zl(r,{outputSourceRange:!1,shouldDecodeNewlines:Jl,shouldDecodeNewlinesForHref:Kl,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Wl.call(this,e,t)},oi.compile=zl;var Gl=oi;exports.default=Gl;
|
4 |
},{}],"Lue2":[function(require,module,exports) {
|
5 |
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var e=t(require("vue"));function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t){return o(t)||s(t)||i()}function o(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}function s(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var a="undefined"!=typeof window;function u(t){return Array.isArray(t)||"object"===r(t)?Object.freeze(t):t}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce(function(t,r){var n=r.passengers[0],o="function"==typeof n?n(e):r.passengers;return t.concat(o)},[])}function c(t,e){return t.map(function(t,e){return[e,t]}).sort(function(t,r){return e(t[1],r[1])||t[0]-r[0]}).map(function(t){return t[1]})}function p(t,e){return e.reduce(function(e,r){return t.hasOwnProperty(r)&&(e[r]=t[r]),e},{})}var h={},d={},f={},g=e.extend({data:function(){return{transports:h,targets:d,sources:f,trackInstances:a}},methods:{open:function(t){if(a){var r=t.to,n=t.from,o=t.passengers,s=t.order,i=void 0===s?1/0:s;if(r&&n&&o){var l={to:r,from:n,passengers:u(o),order:i};-1===Object.keys(this.transports).indexOf(r)&&e.set(this.transports,r,[]);var p=this.$_getTransportIndex(l),h=this.transports[r].slice(0);-1===p?h.push(l):h[p]=l,this.transports[r]=c(h,function(t,e){return t.order-e.order})}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.to,n=t.from;if(r&&(n||!1!==e)&&this.transports[r])if(e)this.transports[r]=[];else{var o=this.$_getTransportIndex(t);if(o>=0){var s=this.transports[r].slice(0);s.splice(o,1),this.transports[r]=s}}},registerTarget:function(t,e,r){a&&(this.trackInstances&&!r&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,r){a&&(this.trackInstances&&!r&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,r=t.from;for(var n in this.transports[e])if(this.transports[e][n].from===r)return+n;return-1}}}),m=new g(h),y=1,v=e.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(y++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick(function(){m.registerSource(t.name,t)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){m.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};m.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:n(t),order:this.order};m.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],r=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(r,[this.normalizeOwnChildren(e)]):this.slim?t():t(r,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),S=e.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:m.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick(function(){m.registerTarget(t.name,t)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){m.unregisterTarget(e),m.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick(function(){t.firstRender=!1})},beforeDestroy:function(){m.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return l(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),r=this.children(),n=this.transition||this.tag;return e?r[0]:this.slim&&!n?t():t(n,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},r)}}),b=0,T=["disabled","name","order","slim","slotProps","tag","to"],$=["multiple","transition"],w=e.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(b++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(m.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=m.targets[e.name];else{var r=e.append;if(r){var n="string"==typeof r?r:"DIV",o=document.createElement(n);t.appendChild(o),t=o}var s=p(this.$props,$);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new S({el:t,parent:this.$parent||this,propsData:s})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,T);return t(v,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var r=this.$scopedSlots.manual({to:this.to});return Array.isArray(r)&&(r=r[0]),r||t()}});function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",v),t.component(e.portalTargetName||"PortalTarget",S),t.component(e.MountingPortalName||"MountingPortal",w)}var x={install:P};exports.default=x,exports.Portal=v,exports.PortalTarget=S,exports.MountingPortal=w,exports.Wormhole=m;
|
6 |
},{"vue":"HYXJ"}],"CDb8":[function(require,module,exports) {
|
7 |
"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(n){e(t,n,r[n])})}return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Plugin=exports.SSR=exports.Fragment=exports.default=void 0;var n=function(e,t,n){Object.defineProperty(e,t,{configurable:!0,get:function(){return n},set:function(e){console.warn("tried to set frozen property ".concat(t," with ").concat(e))}})},r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n})},o={abstract:!0,name:"Fragment",props:{name:{type:String,default:function(){return Math.floor(Date.now()*Math.random()).toString(16)}}},mounted:function(){var e=this.$el,t=e.parentNode,o=document.createComment("fragment#".concat(this.name,"#head")),i=document.createComment("fragment#".concat(this.name,"#tail"));t.insertBefore(o,e),t.insertBefore(i,e),e.appendChild=function(r){t.insertBefore(r,i),n(r,"parentNode",e)},e.insertBefore=function(r,o){t.insertBefore(r,o),n(r,"parentNode",e)},e.removeChild=function(e){t.removeChild(e),r(e,"parentNode")},Array.from(e.childNodes).forEach(function(t){return e.appendChild(t)}),t.removeChild(e),n(e,"parentNode",t),n(e,"nextSibling",i.nextSibling);var a=t.insertBefore;t.insertBefore=function(n,r){a.call(t,n,r!==e?r:o)};var c=t.removeChild;t.removeChild=function(n){if(n===e){for(;o.nextSibling!==i;)e.removeChild(o.nextSibling);t.removeChild(o),t.removeChild(i),r(e,"parentNode"),t.insertBefore=a,t.removeChild=c}else c.call(t,n)}},render:function(e){var n=this,r=this.$slots.default;return r&&r.length&&r.forEach(function(e){return e.data=t({},e.data,{attrs:t({fragment:n.name},(e.data||{}).attrs)})}),e("div",{attrs:{fragment:this.name}},r)}};function i(e,t){}var a=o,c=i,f={install:function(e){e.component("fragment",o)}},l={Fragment:o,Plugin:f,SSR:i};exports.Plugin=f,exports.SSR=c,exports.Fragment=a;var u=l;exports.default=u;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
},{}],"D1kn":[function(require,module,exports) {
|
9 |
-
"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function
|
10 |
-
},{}],"wm3G":[function(require,module,exports) {
|
11 |
-
"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,s)}return r}function
|
12 |
-
},{}],"vi91":[function(require,module,exports) {
|
13 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:["logoSrc","logoAlt","pluginName"]};exports.default=e;
|
14 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"wptb-settings-header"},[e("div",{staticClass:"wptb-settings-brand"},[e("img",{attrs:{src:t.logoSrc,alt:t.logoAlt}}),t._v(" "),e("span",{staticClass:"wptb-settings-header-name"},[t._v(" "+t._s(t.pluginName)+" ")])]),t._v(" "),e("div",{staticClass:"wptb-settings-links"},[t._t("default")],2)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
15 |
},{}],"bosS":[function(require,module,exports) {
|
@@ -19,9 +35,9 @@ var e=arguments[3];Object.defineProperty(exports,"__esModule",{value:!0}),export
|
|
19 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={props:["activeItem","relativeParent"],methods:{toPx:function(t){return"".concat(t,"px")}},computed:{styleCalculations:function(){if(this.activeItem){var t=this.activeItem.getBoundingClientRect(),e=this.relativeParent.getBoundingClientRect(),i=Math.abs(t.left-e.left);return{width:this.toPx(t.width),height:"2px",bottom:0,left:this.toPx(i)}}return{}}}};exports.default=t;
|
20 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"wptb-menu-active-section-indicator",style:this.styleCalculations})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
21 |
},{}],"yPIx":[function(require,module,exports) {
|
22 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=n(require("./SectionItem")),
|
23 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{ref:"wrapper",staticClass:"wptb-settings-sections-wrapper",class:{child:e.child}},[e._l(e.getItems,function(t){return n("section-item",{key:t.id,attrs:{name:t.id,label:t.label,current:e.innerCurrentSection,disabled:e.disabled},on:{sectionchange:e.handleSectionChange,activeSectionElement:e.handleActiveSectionElement}})}),e._v(" "),n("active-section-indicator",{attrs:{"relative-parent":e.$refs.wrapper,"active-item":e.activeSectionElement}})],2),e._v(" "),e._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
24 |
-
},{"./SectionItem":"bosS","./ActiveSectionIndicator":"jLHe"}],"SbnK":[function(require,module,exports) {
|
25 |
|
26 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(t,n){return(0,n._c)("span",{staticClass:"dashicons dashicons-image-rotate wptb-settings-fetching"})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:!0});})();
|
27 |
},{}],"P9T4":[function(require,module,exports) {
|
@@ -63,9 +79,9 @@ var e=arguments[3];Object.defineProperty(exports,"__esModule",{value:!0}),export
|
|
63 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{title:{type:String,default:"title"},message:{type:String,default:"message"}},computed:{messageHtml:function(){return"<p>".concat(this.message,"</p>")}}};exports.default=e;
|
64 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"wptb-disclaimer-container"},[s("div",{staticClass:"wptb-disclaimer-title"},[this._v(this._s(this.title)+":")]),this._v(" "),s("div",{staticClass:"wptb-disclaimer-message",domProps:{innerHTML:this._s(this.messageHtml)}})])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
65 |
},{}],"V4Tn":[function(require,module,exports) {
|
66 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("vue-fragment"),
|
67 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("fragment",[s("menu-content",{attrs:{center:!0}},[t.showForm?s("div",{domProps:{innerHTML:t._s(t.form)}}):s("div",{staticClass:"wptb-settings-version-control"},[s("div",{staticClass:"wptb-version-control-main"},[s("div",{staticClass:"wptb-version-control-main-row"},[t._v(t._s(t.strings.versionControlInfo))]),t._v(" "),s("div",{staticClass:"wptb-version-control-controls"},[s("version-control-row",{attrs:{label:t.strings.yourVersion}},[s("version-indicator",{attrs:{"latest-version":t.latestVersion,version:t.currentVersion}})],1),t._v(" "),s("version-control-row",{attrs:{label:t.strings.latestVersion}},[s("version-indicator",{attrs:{"latest-version":t.latestVersion,version:t.latestVersion}}),t._v(" "),t.showUpdateToLatest?s("a",{staticClass:"wptb-version-control-anchor",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.updateToLatest(e)}}},[t._v(t._s(t.strings.updateToLatest))]):t._e()],1),t._v(" "),s("version-control-row",{attrs:{label:t.strings.installVersion}},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedVersion,expression:"selectedVersion"}],attrs:{disabled:t.isBusy()},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.selectedVersion=e.target.multiple?s:s[0]}}},t._l(t.sortedVersions,function(e){return s("option",{key:e,attrs:{disabled:e===t.currentVersion},domProps:{selected:t.isVersionSelected(e)}},[t._v(" "+t._s(e)+" ")])}),0)])],1),t._v(" "),s("disclaimer",{attrs:{title:t.strings.warning,message:t.strings.warningInfo}})],1),t._v(" "),s("changelog",{attrs:{version:t.selectedVersion,"raw-changelog":t.sectionData.changelog}})],1)]),t._v(" "),s("footer-buttons",[t.installResult?t._e():s("menu-button",{attrs:{disabled:t.isVersionSelected(t.currentVersion)||t.isBusy(),type:"primary"},on:{click:t.installVersion}},[t._v(t._s(t.strings.installVersion+" "+t.selectedVersion)+" ")]),t._v(" "),t.installResult?s("menu-button",{attrs:{type:"primary"},on:{click:t.reloadPage}},[t._v(t._s(t.strings.reload))]):t._e()],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
68 |
-
},{"vue-fragment":"CDb8","./MenuContent":"vTRD","./MenuButton":"ksMR","./VersionControlRow":"TQBY","./VersionIndicator":"j6V8","./Changelog":"sarO","../mixins/withMessage":"wm3G","./Settings/FooterButtons":"jkrZ","../mixins/SettingsMenuSection":"qeqP","$Settings/Disclaimer":"ZYQN"}],"L7e6":[function(require,module,exports) {
|
69 |
var define;
|
70 |
var global = arguments[3];
|
71 |
var e,t=arguments[3];!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof e&&e.amd?e(r):(t=t||self).CodeMirror=r()}(this,function(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),l=n||i||o,s=l&&(n?document.documentMode||6:+(o||i)[1]),a=!o&&/WebKit\//.test(e),u=a&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),h=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),m=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),w=/win/i.test(t),x=h&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(h=!1,a=!0);var C=y&&(u||h&&(null==x||x<12.11)),S=r||l&&s>=9;function L(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,T=function(e,t){var r=e.className,n=L(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function N(e,t){return M(e).appendChild(t)}function O(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function A(e,t,r,n){var i=O(e,t,r,n);return i.setAttribute("role","presentation"),i}function D(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function W(){var e;try{e=document.activeElement}catch(De){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function H(e,t){var r=e.className;L(t).test(r)||(e.className+=(r?" ":"")+t)}function F(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!L(r[n]).test(t)&&(t+=" "+r[n]);return t}k=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(De){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var P=function(e){e.select()};function E(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,r){for(var n in t||(t={}),e)!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function R(e,t,r,n,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=n||0,l=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return l+(t-o);l+=s-o,l+=r-l%r,o=s+1}}g?P=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:l&&(P=function(e){try{e.select()}catch(t){}});var z=function(){this.id=null,this.f=null,this.time=0,this.handler=E(this.onTimeout,this)};function B(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}z.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},z.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)};var G=50,U={toString:function(){return"CodeMirror.Pass"}},V={scroll:!1},K={origin:"*mouse"},j={origin:"+move"};function X(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var l=o-n;if(o==e.length||i+l>=t)return n+Math.min(l,t-i);if(i+=o-n,n=o+1,(i+=r-i%r)>=t)return n}}var Y=[""];function _(e){for(;Y.length<=e;)Y.push($(Y)+" ");return Y[e]}function $(e){return e[e.length-1]}function q(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function Z(){}function Q(e,t){var r;return Object.create?r=Object.create(e):(Z.prototype=e,r=new Z),t&&I(t,r),r}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&ne.test(e)}function oe(e,t,r){for(;(r<0?t>0:t<e.length)&&ie(e.charAt(t));)t+=r;return t}function le(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}var se=null;function ae(e,t,r){var n;se=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:se=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:se=i)}return null!=n?n:se}var ue=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,i=/[LRr]/,o=/[Lb1n]/,l=/[1n]/;function s(e,t,r){this.level=e,this.from=t,this.to=r}return function(a,u){var c="ltr"==u?"L":"R";if(0==a.length||"ltr"==u&&!r.test(a))return!1;for(var h,f=a.length,d=[],p=0;p<f;++p)d.push((h=a.charCodeAt(p))<=247?e.charAt(h):1424<=h&&h<=1524?"R":1536<=h&&h<=1785?t.charAt(h-1536):1774<=h&&h<=2220?"r":8192<=h&&h<=8203?"w":8204==h?"b":"L");for(var g=0,v=c;g<f;++g){var m=d[g];"m"==m?d[g]=v:v=m}for(var y=0,b=c;y<f;++y){var w=d[y];"1"==w&&"r"==b?d[y]="n":i.test(w)&&(b=w,"r"==w&&(d[y]="R"))}for(var x=1,C=d[0];x<f-1;++x){var S=d[x];"+"==S&&"1"==C&&"1"==d[x+1]?d[x]="1":","!=S||C!=d[x+1]||"1"!=C&&"n"!=C||(d[x]=C),C=S}for(var L=0;L<f;++L){var k=d[L];if(","==k)d[L]="N";else if("%"==k){var T=void 0;for(T=L+1;T<f&&"%"==d[T];++T);for(var M=L&&"!"==d[L-1]||T<f&&"1"==d[T]?"1":"N",N=L;N<T;++N)d[N]=M;L=T-1}}for(var O=0,A=c;O<f;++O){var D=d[O];"L"==A&&"1"==D?d[O]="L":i.test(D)&&(A=D)}for(var W=0;W<f;++W)if(n.test(d[W])){var H=void 0;for(H=W+1;H<f&&n.test(d[H]);++H);for(var F="L"==(W?d[W-1]:c),P=F==("L"==(H<f?d[H]:c))?F?"L":"R":c,E=W;E<H;++E)d[E]=P;W=H-1}for(var I,R=[],z=0;z<f;)if(o.test(d[z])){var B=z;for(++z;z<f&&o.test(d[z]);++z);R.push(new s(0,B,z))}else{var G=z,U=R.length,V="rtl"==u?1:0;for(++z;z<f&&"L"!=d[z];++z);for(var K=G;K<z;)if(l.test(d[K])){G<K&&(R.splice(U,0,new s(1,G,K)),U+=V);var j=K;for(++K;K<z&&l.test(d[K]);++K);R.splice(U,0,new s(2,j,K)),U+=V,G=K}else++K;G<z&&R.splice(U,0,new s(1,G,z))}return"ltr"==u&&(1==R[0].level&&(I=a.match(/^\s+/))&&(R[0].from=I[0].length,R.unshift(new s(0,0,I[0].length))),1==$(R).level&&(I=a.match(/\s+$/))&&($(R).to-=I[0].length,R.push(new s(0,f-I[0].length,f)))),"rtl"==u?R.reverse():R}}();function ce(e,t){var r=e.order;return null==r&&(r=e.order=ue(e.text,t)),r}var he=[],fe=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||he).concat(r)}};function de(e,t){return e._handlers&&e._handlers[t]||he}function pe(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=B(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ge(e,t){var r=de(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function ve(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ge(e,r||t.type,e,t),Ce(t)||t.codemirrorIgnore}function me(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)-1==B(r,t[n])&&r.push(t[n])}function ye(e,t){return de(e,t).length>0}function be(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){pe(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ce(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Se(e){we(e),xe(e)}function Le(e){return e.target||e.srcElement}function ke(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Te,Me,Ne=function(){if(l&&s<9)return!1;var e=O("div");return"draggable"in e||"dragDrop"in e}();function Oe(e){if(null==Te){var t=O("span","");N(e,O("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Te=t.offsetWidth<=1&&t.offsetHeight>2&&!(l&&s<8))}var r=Te?O("span",""):O("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Ae(e){if(null!=Me)return Me;var t=N(e,document.createTextNode("AخA")),r=k(t,0,1).getBoundingClientRect(),n=k(t,1,2).getBoundingClientRect();return M(e),!(!r||r.left==r.right)&&(Me=n.right-r.right<3)}var De,We=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),l=o.indexOf("\r");-1!=l?(r.push(o.slice(0,l)),t+=l+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},He=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(De){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(De){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Fe="oncopy"in(De=O("div"))||(De.setAttribute("oncopy","return;"),"function"==typeof De.oncopy),Pe=null;var Ee={},Ie={};function Re(e){if("string"==typeof e&&Ie.hasOwnProperty(e))e=Ie[e];else if(e&&"string"==typeof e.name&&Ie.hasOwnProperty(e.name)){var t=Ie[e.name];"string"==typeof t&&(t={name:t}),(e=Q(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Re("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Re("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function ze(e,t){t=Re(t);var r=Ee[t.name];if(!r)return ze(e,"text/plain");var n=r(e,t);if(Be.hasOwnProperty(t.name)){var i=Be[t.name];for(var o in i)i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var l in t.modeProps)n[l]=t.modeProps[l];return n}var Be={};function Ge(e,t){I(t,Be.hasOwnProperty(e)?Be[e]:Be[e]={})}function Ue(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Ve(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;)t=r.state,e=r.mode;return r||{mode:e,state:t}}function Ke(e,t,r){return!e.startState||e.startState(t,r)}var je=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};function Xe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}return r.lines[t]}function Ye(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i}),n}function _e(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text)}),n}function $e(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function qe(e){if(null==e.parent)return null;for(var t=e.parent,r=B(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;n.children[i]!=t;++i)r+=n.children[i].chunkSize();return r+t.first}function Ze(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var l=0;l<e.lines.length;++l){var s=e.lines[l].height;if(t<s)break;t-=s}return r+l}function Qe(e,t){return t>=e.first&&t<e.first+e.size}function Je(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,r){if(void 0===r&&(r=null),!(this instanceof et))return new et(e,t,r);this.line=e,this.ch=t,this.sticky=r}function tt(e,t){return e.line-t.line||e.ch-t.ch}function rt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function nt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function lt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var r=e.first+e.size-1;return t.line>r?et(r,Xe(e,r).text.length):function(e,t){var r=e.ch;return null==r||r>t?et(e.line,t):r<0?et(e.line,0):e}(t,Xe(e,t.line).text.length)}function at(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=st(e,t[n]);return r}je.prototype.eol=function(){return this.pos>=this.string.length},je.prototype.sol=function(){return this.pos==this.lineStart},je.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},je.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},je.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},je.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},je.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},je.prototype.skipToEnd=function(){this.pos=this.string.length},je.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},je.prototype.backUp=function(e){this.pos-=e},je.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},je.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},je.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},je.prototype.current=function(){return this.string.slice(this.start,this.pos)},je.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},je.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},je.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ut=function(e,t){this.state=e,this.lookAhead=t},ct=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};function ht(e,t,r,n){var i=[e.state.modeGen],o={};wt(e,t.text,e.doc.mode,r,function(e,t){return i.push(e,t)},o,n);for(var l=r.state,s=function(n){r.baseTokens=i;var s=e.state.overlays[n],a=1,u=0;r.state=!0,wt(e,t.text,s.mode,r,function(e,t){for(var r=a;u<e;){var n=i[a];n>e&&i.splice(a,1,e,i[a+1],n),a+=2,u=Math.min(e,n)}if(t)if(s.opaque)i.splice(r,a-r,e,"overlay "+t),a=r+2;else for(;r<a;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"overlay "+t}},o),r.state=l,r.baseTokens=null,r.baseTokenPos=1},a=0;a<e.state.overlays.length;++a)s(a);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function ft(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=dt(e,qe(t)),i=t.text.length>e.options.maxHighlightLength&&Ue(e.doc.mode,n.state),o=ht(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new ct(n,!0,t);var o=function(e,t,r){for(var n,i,o=e.doc,l=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>l;--s){if(s<=o.first)return o.first;var a=Xe(o,s-1),u=a.stateAfter;if(u&&(!r||s+(u instanceof ut?u.lookAhead:0)<=o.modeFrontier))return s;var c=R(a.text,null,e.options.tabSize);(null==i||n>c)&&(i=s-1,n=c)}return i}(e,t,r),l=o>n.first&&Xe(n,o-1).stateAfter,s=l?ct.fromSaved(n,l,o):new ct(n,Ke(n.mode),o);return n.iter(o,t,function(r){pt(e,r.text,s);var n=s.line;r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?s.save():null,s.nextLine()}),r&&(n.modeFrontier=s.line),s}function pt(e,t,r,n){var i=e.doc.mode,o=new je(t,e.options.tabSize,r);for(o.start=o.pos=n||0,""==t&>(i,r.state);!o.eol();)vt(i,o,r.state),o.start=o.pos}function gt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=Ve(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function vt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Ve(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ct.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(e,t,r){return t instanceof ut?new ct(e,Ue(e.mode,t.state),r,t.lookAhead):new ct(e,Ue(e.mode,t),r)},ct.prototype.save=function(e){var t=!1!==e?Ue(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ut(t,this.maxLookAhead):t};var mt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function yt(e,t,r,n){var i,o,l=e.doc,s=l.mode,a=Xe(l,(t=st(l,t)).line),u=dt(e,t.line,r),c=new je(a.text,e.options.tabSize,u);for(n&&(o=[]);(n||c.pos<t.ch)&&!c.eol();)c.start=c.pos,i=vt(s,c,u.state),n&&o.push(new mt(c,i,Ue(l.mode,u.state)));return n?o:new mt(c,i,u.state)}function bt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2])}return e}function wt(e,t,r,n,i,o,l){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var a,u=0,c=null,h=new je(t,e.options.tabSize,n),f=e.options.addModeClass&&[null];for(""==t&&bt(gt(r,n.state),o);!h.eol();){if(h.pos>e.options.maxHighlightLength?(s=!1,l&&pt(e,t,n,h.pos),h.pos=t.length,a=null):a=bt(vt(r,h,n.state,f),o),f){var d=f[0].name;d&&(a="m-"+(a?d+" "+a:d))}if(!s||c!=a){for(;u<h.start;)i(u=Math.min(h.start,u+5e3),c);c=a}h.start=h.pos}for(;u<h.pos;){var p=Math.min(h.pos,u+5e3);i(p,c),u=p}}var xt=!1,Ct=!1;function St(e,t,r){this.marker=e,this.from=t,this.to=r}function Lt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function kt(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function Tt(e,t){if(t.full)return null;var r=Qe(e,t.from.line)&&Xe(e,t.from.line).markedSpans,n=Qe(e,t.to.line)&&Xe(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,l=0==tt(t.from,t.to),s=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],l=o.marker;if(null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==l.type&&(!r||!o.marker.insertLeft)){var s=null==o.to||(l.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new St(l,o.from,s?null:o.to))}}return n}(r,i,l),a=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],l=o.marker;if(null==o.to||(l.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==l.type&&(!r||o.marker.insertLeft)){var s=null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new St(l,s?null:o.from-t,null==o.to?null:o.to-t))}}return n}(n,o,l),u=1==t.text.length,c=$(t.text).length+(u?i:0);if(s)for(var h=0;h<s.length;++h){var f=s[h];if(null==f.to){var d=Lt(a,f.marker);d?u&&(f.to=null==d.to?null:d.to+c):f.to=i}}if(a)for(var p=0;p<a.length;++p){var g=a[p];if(null!=g.to&&(g.to+=c),null==g.from)Lt(s,g.marker)||(g.from=c,u&&(s||(s=[])).push(g));else g.from+=c,u&&(s||(s=[])).push(g)}s&&(s=Mt(s)),a&&a!=s&&(a=Mt(a));var v=[s];if(!u){var m,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(m||(m=[])).push(new St(s[b].marker,null,null));for(var w=0;w<y;++w)v.push(m);v.push(a)}return v}function Mt(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Nt(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function Ot(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function At(e){return e.inclusiveLeft?-1:0}function Dt(e){return e.inclusiveRight?1:0}function Wt(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=tt(n.from,i.from)||At(e)-At(t);if(o)return-o;var l=tt(n.to,i.to)||Dt(e)-Dt(t);return l||t.id-e.id}function Ht(e,t){var r,n=Ct&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o)(i=n[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!r||Wt(r,i.marker)<0)&&(r=i.marker);return r}function Ft(e){return Ht(e,!0)}function Pt(e){return Ht(e,!1)}function Et(e,t){var r,n=Ct&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||Wt(r,o.marker)<0)&&(r=o.marker)}return r}function It(e,t,r,n,i){var o=Xe(e,t),l=Ct&&o.markedSpans;if(l)for(var s=0;s<l.length;++s){var a=l[s];if(a.marker.collapsed){var u=a.marker.find(0),c=tt(u.from,r)||At(a.marker)-At(i),h=tt(u.to,n)||Dt(a.marker)-Dt(i);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?tt(u.to,r)>=0:tt(u.to,r)>0)||c>=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?tt(u.from,n)<=0:tt(u.from,n)<0)))return!0}}}function Rt(e){for(var t;t=Ft(e);)e=t.find(-1,!0).line;return e}function zt(e,t){var r=Xe(e,t),n=Rt(r);return r==n?t:qe(n)}function Bt(e,t){if(t>e.lastLine())return t;var r,n=Xe(e,t);if(!Gt(e,n))return t;for(;r=Pt(n);)n=r.find(1,!0).line;return qe(n)+1}function Gt(e,t){var r=Ct&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i)if((n=r[i]).marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&Ut(e,t,n))return!0}}function Ut(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return Ut(e,n.line,Lt(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Ut(e,t,i))return!0}function Vt(e){for(var t=0,r=(e=Rt(e)).parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var o=r.parent;o;o=(r=o).parent)for(var l=0;l<o.children.length;++l){var s=o.children[l];if(s==r)break;t+=s.height}return t}function Kt(e){if(0==e.height)return 0;for(var t,r=e.text.length,n=e;t=Ft(n);){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch}for(n=e;t=Pt(n);){var o=t.find(0,!0);r-=n.text.length-o.from.ch,r+=(n=o.to.line).text.length-o.to.ch}return r}function jt(e){var t=e.display,r=e.doc;t.maxLine=Xe(r,r.first),t.maxLineLength=Kt(t.maxLine),t.maxLineChanged=!0,r.iter(function(e){var r=Kt(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)})}var Xt=function(e,t,r){this.text=e,Ot(this,t),this.height=r?r(this):1};function Yt(e){e.parent=null,Nt(e)}Xt.prototype.lineNo=function(){return qe(this)},be(Xt);var _t={},$t={};function qt(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?$t:_t;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function Zt(e,t){var r=A("span",null,null,a?"padding-right: .1px":null),n={pre:A("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,l=void 0;n.pos=0,n.addToken=Jt,Ae(e.display.measure)&&(l=ce(o,e.doc.direction))&&(n.addToken=er(n.addToken,l)),n.map=[],rr(o,n,ft(e,o,t!=e.display.externalMeasured&&qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=F(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=F(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Oe(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(a){var s=n.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=F(n.pre.className,n.textClass||"")),n}function Qt(e){var t=O("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,r,n,i,o,a){if(t){var u,c=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o}return n}(t,e.trailingSpace):t,h=e.cm.state.specialChars,f=!1;if(h.test(t)){u=document.createDocumentFragment();for(var d=0;;){h.lastIndex=d;var p=h.exec(t),g=p?p.index-d:t.length-d;if(g){var v=document.createTextNode(c.slice(d,d+g));l&&s<9?u.appendChild(O("span",[v])):u.appendChild(v),e.map.push(e.pos,e.pos+g,v),e.col+=g,e.pos+=g}if(!p)break;d+=g+1;var m=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(m=u.appendChild(O("span",_(b),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?((m=u.appendChild(O("span","\r"==p[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((m=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),l&&s<9?u.appendChild(O("span",[m])):u.appendChild(m),e.col+=1);e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),l&&s<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),r||n||i||f||o||a){var w=r||"";n&&(w+=n),i&&(w+=i);var x=O("span",[u],w,o);if(a)for(var C in a)a.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&x.setAttribute(C,a[C]);return e.content.appendChild(x)}e.content.appendChild(u)}}function er(e,t){return function(r,n,i,o,l,s,a){i=i?i+" cm-force-border":"cm-force-border";for(var u=r.pos,c=u+n.length;;){for(var h=void 0,f=0;f<t.length&&!((h=t[f]).to>u&&h.from<=u);f++);if(h.to>=c)return e(r,n,i,o,l,s,a);e(r,n.slice(0,h.to-u),i,o,null,s,a),o=null,n=n.slice(h.to-u),u=h.to}}}function tr(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function rr(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var l,s,a,u,c,h,f,d=i.length,p=0,g=1,v="",m=0;;){if(m==p){a=u=c=s="",f=null,h=null,m=1/0;for(var y=[],b=void 0,w=0;w<n.length;++w){var x=n[w],C=x.marker;if("bookmark"==C.type&&x.from==p&&C.widgetNode)y.push(C);else if(x.from<=p&&(null==x.to||x.to>p||C.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&m>x.to&&(m=x.to,u=""),C.className&&(a+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==p&&(c+=" "+C.startStyle),C.endStyle&&x.to==m&&(b||(b=[])).push(C.endStyle,x.to),C.title&&((f||(f={})).title=C.title),C.attributes)for(var S in C.attributes)(f||(f={}))[S]=C.attributes[S];C.collapsed&&(!h||Wt(h.marker,C)<0)&&(h=x)}else x.from>p&&m>x.from&&(m=x.from)}if(b)for(var L=0;L<b.length;L+=2)b[L+1]==m&&(u+=" "+b[L]);if(!h||h.from==p)for(var k=0;k<y.length;++k)tr(t,0,y[k]);if(h&&(h.from||0)==p){if(tr(t,(null==h.to?d+1:h.to)-p,h.marker,null==h.from),null==h.to)return;h.to==p&&(h=!1)}}if(p>=d)break;for(var T=Math.min(d,m);;){if(v){var M=p+v.length;if(!h){var N=M>T?v.slice(0,T-p):v;t.addToken(t,N,l?l+a:a,c,p+N.length==m?u:"",s,f)}if(M>=T){v=v.slice(T-p),p=T;break}p=M,c=""}v=i.slice(o,o=r[g++]),l=qt(r[g++],t.cm.options)}}else for(var O=1;O<r.length;O+=2)t.addToken(t,i.slice(o,o=r[O]),qt(r[O+1],t.cm.options))}function nr(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=Pt(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}(t),this.size=this.rest?qe($(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Gt(e,t)}function ir(e,t,r){for(var n,i=[],o=t;o<r;o=n){var l=new nr(e.doc,Xe(e.doc,o),o);n=o+l.size,i.push(l)}return i}var or=null;var lr=null;function sr(e,t){var r=de(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);or?n=or.delayedCallbacks:lr?n=lr:(n=lr=[],setTimeout(ar,0));for(var o=function(e){n.push(function(){return r[e].apply(null,i)})},l=0;l<r.length;++l)o(l)}}function ar(){var e=lr;lr=null;for(var t=0;t<e.length;++t)e[t]()}function ur(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?fr(e,t):"gutter"==o?pr(e,t,r,n):"class"==o?dr(e,t):"widget"==o&&gr(e,t,n)}t.changes=null}function cr(e){return e.node==e.text&&(e.node=O("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),l&&s<8&&(e.node.style.zIndex=2)),e.node}function hr(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Zt(e,t)}function fr(e,t){var r=t.text.className,n=hr(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,dr(e,t)):r&&(t.text.className=r)}function dr(e,t){!function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=cr(t);t.background=n.insertBefore(O("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?cr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function pr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=cr(t);t.gutterBackground=O("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var l=cr(t),s=t.gutter=O("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),l.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(O("div",Je(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var a=0;a<e.display.gutterSpecs.length;++a){var u=e.display.gutterSpecs[a].className,c=o.hasOwnProperty(u)&&o[u];c&&s.appendChild(O("div",[c],"CodeMirror-gutter-elt","left: "+n.gutterLeft[u]+"px; width: "+n.gutterWidth[u]+"px"))}}}function gr(e,t,r){t.alignable&&(t.alignable=null);for(var n=L("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);mr(e,t,r)}function vr(e,t,r,n){var i=hr(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),dr(e,t),pr(e,t,r,n),mr(e,t,n),t.node}function mr(e,t,r){if(yr(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)yr(e,t.rest[n],t,r,!1)}function yr(e,t,r,n,i){if(t.widgets)for(var o=cr(r),l=0,s=t.widgets;l<s.length;++l){var a=s[l],u=O("div",[a.node],"CodeMirror-linewidget"+(a.className?" "+a.className:""));a.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),br(a,u,r,n),e.display.input.setUneditable(u),i&&a.above?o.insertBefore(u,r.gutter||r.text):o.appendChild(u),sr(a,"redraw")}}function br(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function wr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!D(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),N(t.display.measure,O("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function xr(e,t){for(var r=Le(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Cr(e){return e.lineSpace.offsetTop}function Sr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Lr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=N(e.measure,O("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function kr(e){return G-e.display.nativeBarWidth}function Tr(e){return e.display.scroller.clientWidth-kr(e)-e.display.barWidth}function Mr(e){return e.display.scroller.clientHeight-kr(e)-e.display.barHeight}function Nr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(qe(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Or(e,t,r,n){return Wr(e,Dr(e,t),r,n)}function Ar(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[an(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function Dr(e,t){var r=qe(t),n=Ar(e,r);n&&!n.text?n=null:n&&n.changes&&(ur(e,n,r,rn(e)),e.curOp.forceUpdate=!0),n||(n=function(e,t){var r=qe(t=Rt(t)),n=e.display.externalMeasured=new nr(e.doc,t,r);n.lineN=r;var i=n.built=Zt(e,n);return n.text=i.pre,N(e.display.lineMeasure,i.pre),n}(e,t));var i=Nr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Wr(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(!function(e,t,r){var n=e.options.lineWrapping,i=n&&Tr(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var l=t.text.firstChild.getClientRects(),s=0;s<l.length-1;s++){var a=l[s],u=l[s+1];Math.abs(a.bottom-u.bottom)>2&&o.push((a.bottom+u.top)/2-r.top)}}o.push(r.bottom-r.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,r,n){var i,o=Pr(t.map,r,n),a=o.node,u=o.start,c=o.end,h=o.collapse;if(3==a.nodeType){for(var f=0;f<4;f++){for(;u&&ie(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+c<o.coverEnd&&ie(t.line.text.charAt(o.coverStart+c));)++c;if((i=l&&s<9&&0==u&&c==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():Er(k(a,u,c).getClientRects(),n)).left||i.right||0==u)break;c=u,u-=1,h="right"}l&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Pe)return Pe;var t=N(e,O("span","x")),r=t.getBoundingClientRect(),n=k(t,0,1).getBoundingClientRect();return Pe=Math.abs(r.left-n.left)>1}(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}(e.display.measure,i))}else{var d;u>0&&(h=n="right"),i=e.options.lineWrapping&&(d=a.getClientRects()).length>1?d["right"==n?d.length-1:0]:a.getBoundingClientRect()}if(l&&s<9&&!u&&(!i||!i.left&&!i.right)){var p=a.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+tn(e.display),top:p.top,bottom:p.bottom}:Fr}for(var g=i.top-t.rect.top,v=i.bottom-t.rect.top,m=(g+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(m<y[b]);b++);var w=b?y[b-1]:0,x=y[b],C={left:("right"==h?i.right:i.left)-t.rect.left,right:("left"==h?i.left:i.right)-t.rect.left,top:w,bottom:x};i.left||i.right||(C.bogus=!0);e.options.singleCursorHeightPerLine||(C.rtop=g,C.rbottom=v);return C}(e,t,r,n)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Hr,Fr={left:0,right:0,top:0,bottom:0};function Pr(e,t,r){for(var n,i,o,l,s,a,u=0;u<e.length;u+=3)if(s=e[u],a=e[u+1],t<s?(i=0,o=1,l="left"):t<a?o=(i=t-s)+1:(u==e.length-3||t==a&&e[u+3]>t)&&(i=(o=a-s)-1,t>=a&&(l="right")),null!=i){if(n=e[u+2],s==a&&r==(n.insertLeft?"left":"right")&&(l=r),"left"==r&&0==i)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)n=e[2+(u-=3)],l="left";if("right"==r&&i==a-s)for(;u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft;)n=e[(u+=3)+2],l="right";break}return{node:n,start:i,end:o,collapse:l,coverStart:s,coverEnd:a}}function Er(e,t){var r=Fr;if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++);else for(var i=e.length-1;i>=0&&(r=e[i]).left==r.right;i--);return r}function Ir(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Rr(e){e.display.externalMeasure=null,M(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Ir(e.display.view[t])}function zr(e){Rr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Br(){return c&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Gr(){return c&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ur(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r)e.widgets[r].above&&(t+=wr(e.widgets[r]));return t}function Vr(e,t,r,n,i){if(!i){var o=Ur(t);r.top+=o,r.bottom+=o}if("line"==n)return r;n||(n="local");var l=Vt(t);if("local"==n?l+=Cr(e.display):l-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();l+=s.top+("window"==n?0:Gr());var a=s.left+("window"==n?0:Br());r.left+=a,r.right+=a}return r.top+=l,r.bottom+=l,r}function Kr(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=Br(),i-=Gr();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top}var l=e.display.lineSpace.getBoundingClientRect();return{left:n-l.left,top:i-l.top}}function jr(e,t,r,n,i){return n||(n=Xe(e.doc,t.line)),Vr(e,n,Or(e,n,t.ch,i),r)}function Xr(e,t,r,n,i,o){function l(t,l){var s=Wr(e,i,t,l?"right":"left",o);return l?s.left=s.right:s.right=s.left,Vr(e,n,s,r)}n=n||Xe(e.doc,t.line),i||(i=Dr(e,n));var s=ce(n,e.doc.direction),a=t.ch,u=t.sticky;if(a>=n.text.length?(a=n.text.length,u="before"):a<=0&&(a=0,u="after"),!s)return l("before"==u?a-1:a,"before"==u);function c(e,t,r){return l(r?e-1:e,1==s[t].level!=r)}var h=ae(s,a,u),f=se,d=c(a,h,"before"==u);return null!=f&&(d.other=c(a,f,"before"!=u)),d}function Yr(e,t){var r=0;t=st(e.doc,t),e.options.lineWrapping||(r=tn(e.display)*t.ch);var n=Xe(e.doc,t.line),i=Vt(n)+Cr(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function _r(e,t,r,n,i){var o=et(e,t,r);return o.xRel=i,n&&(o.outside=n),o}function $r(e,t,r){var n=e.doc;if((r+=e.display.viewOffset)<0)return _r(n.first,0,null,-1,-1);var i=Ze(n,r),o=n.first+n.size-1;if(i>o)return _r(n.first+n.size-1,Xe(n,o).text.length,null,1,1);t<0&&(t=0);for(var l=Xe(n,i);;){var s=Jr(e,l,i,t,r),a=Et(l,s.ch+(s.xRel>0||s.outside>0?1:0));if(!a)return s;var u=a.find(1);if(u.line==i)return u;l=Xe(n,i=u.line)}}function qr(e,t,r,n){n-=Ur(t);var i=t.text.length,o=le(function(t){return Wr(e,r,t-1).bottom<=n},i,0);return{begin:o,end:i=le(function(t){return Wr(e,r,t).top>n},o,i)}}function Zr(e,t,r,n){return r||(r=Dr(e,t)),qr(e,t,r,Vr(e,t,Wr(e,r,n),"line").top)}function Qr(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t)}function Jr(e,t,r,n,i){i-=Vt(t);var o=Dr(e,t),l=Ur(t),s=0,a=t.text.length,u=!0,c=ce(t,e.doc.direction);if(c){var h=(e.options.lineWrapping?function(e,t,r,n,i,o,l){var s=qr(e,t,n,l),a=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,h=null,f=0;f<i.length;f++){var d=i[f];if(!(d.from>=u||d.to<=a)){var p=1!=d.level,g=Wr(e,n,p?Math.min(u,d.to)-1:Math.max(a,d.from)).right,v=g<o?o-g+1e9:g-o;(!c||h>v)&&(c=d,h=v)}}c||(c=i[i.length-1]);c.from<a&&(c={from:a,to:c.to,level:c.level});c.to>u&&(c={from:c.from,to:u,level:c.level});return c}:function(e,t,r,n,i,o,l){var s=le(function(s){var a=i[s],u=1!=a.level;return Qr(Xr(e,et(r,u?a.to:a.from,u?"before":"after"),"line",t,n),o,l,!0)},0,i.length-1),a=i[s];if(s>0){var u=1!=a.level,c=Xr(e,et(r,u?a.from:a.to,u?"after":"before"),"line",t,n);Qr(c,o,l,!0)&&c.top>l&&(a=i[s-1])}return a})(e,t,r,o,c,n,i);s=(u=1!=h.level)?h.from:h.to-1,a=u?h.to:h.from-1}var f,d,p=null,g=null,v=le(function(t){var r=Wr(e,o,t);return r.top+=l,r.bottom+=l,!!Qr(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(p=t,g=r),!0)},s,a),m=!1;if(g){var y=n-g.left<g.right-n,b=y==u;v=p+(b?0:1),d=b?"after":"before",f=y?g.left:g.right}else{u||v!=a&&v!=s||v++,d=0==v?"after":v==t.text.length?"before":Wr(e,o,v-(u?1:0)).bottom+l<=i==u?"after":"before";var w=Xr(e,et(r,v,d),"line",t,o);f=w.left,m=i<w.top?-1:i>=w.bottom?1:0}return _r(r,v=oe(t.text,v,1),d,m,n-f)}function en(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Hr){Hr=O("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Hr.appendChild(document.createTextNode("x")),Hr.appendChild(O("br"));Hr.appendChild(document.createTextNode("x"))}N(e.measure,Hr);var r=Hr.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),M(e.measure),r||1}function tn(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=O("span","xxxxxxxxxx"),r=O("pre",[t],"CodeMirror-line-like");N(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function rn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,l=0;o;o=o.nextSibling,++l){var s=e.display.gutterSpecs[l].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth}return{fixedPos:nn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function nn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function on(e){var t=en(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/tn(e.display)-3);return function(i){if(Gt(e.doc,i))return 0;var o=0;if(i.widgets)for(var l=0;l<i.widgets.length;l++)i.widgets[l].height&&(o+=i.widgets[l].height);return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t}}function ln(e){var t=e.doc,r=on(e);t.iter(function(e){var t=r(e);t!=e.height&&$e(e,t)})}function sn(e,t,r,n){var i=e.display;if(!r&&"true"==Le(t).getAttribute("cm-not-content"))return null;var o,l,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,l=t.clientY-s.top}catch(h){return null}var a,u=$r(e,o,l);if(n&&u.xRel>0&&(a=Xe(e.doc,u.line).text).length==u.ch){var c=R(a,a.length,e.options.tabSize)-a.length;u=et(u.line,Math.max(0,Math.round((o-Lr(e.display).left)/tn(e.display))-c))}return u}function an(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if((t-=r[n].size)<0)return n}function un(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ct&&zt(e.doc,t)<i.viewTo&&hn(e);else if(r<=i.viewFrom)Ct&&Bt(e.doc,r+n)>i.viewFrom?hn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)hn(e);else if(t<=i.viewFrom){var o=fn(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):hn(e)}else if(r>=i.viewTo){var l=fn(e,t,t,-1);l?(i.view=i.view.slice(0,l.index),i.viewTo=l.lineN):hn(e)}else{var s=fn(e,t,t,-1),a=fn(e,r,r+n,1);s&&a?(i.view=i.view.slice(0,s.index).concat(ir(e,s.lineN,a.lineN)).concat(i.view.slice(a.index)),i.viewTo+=n):hn(e)}var u=i.externalMeasured;u&&(r<u.lineN?u.lineN+=n:t<u.lineN+u.size&&(i.externalMeasured=null))}function cn(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[an(e,t)];if(null!=o.node){var l=o.changes||(o.changes=[]);-1==B(l,r)&&l.push(r)}}}function hn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function fn(e,t,r,n){var i,o=an(e,t),l=e.display.view;if(!Ct||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,a=0;a<o;a++)s+=l[a].size;if(s!=t){if(n>0){if(o==l.length-1)return null;i=s+l[o].size-t,o++}else i=s-t;t+=i,r+=i}for(;zt(e.doc,r)!=r;){if(o==(n<0?0:l.length-1))return null;r+=n*l[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:r}}function dn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r}return r}function pn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),l=0;l<r.sel.ranges.length;l++)if(t||l!=r.sel.primIndex){var s=r.sel.ranges[l];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var a=s.empty();(a||e.options.showCursorWhenSelecting)&&vn(e,s.head,i),a||yn(e,s,o)}}return n}function vn(e,t,r){var n=Xr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(O("div"," ","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(O("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function mn(e,t){return e.top-t.top||e.left-t.left}function yn(e,t,r){var n=e.display,i=e.doc,o=document.createDocumentFragment(),l=Lr(e.display),s=l.left,a=Math.max(n.sizerWidth,Tr(e)-n.sizer.offsetLeft)-l.right,u="ltr"==i.direction;function c(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?a-e:r)+"px;\n height: "+(n-t)+"px"))}function h(t,r,n){var o,l,h=Xe(i,t),f=h.text.length;function d(r,n){return jr(e,et(t,r),"div",h,n)}function p(t,r,n){var i=Zr(e,h,null,t),o="ltr"==r==("after"==n)?"left":"right";return d("after"==n?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1),o)[o]}var g=ce(h,i.direction);return function(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var l=e[o];(l.from<r&&l.to>t||t==r&&l.to==t)&&(n(Math.max(l.from,t),Math.min(l.to,r),1==l.level?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}(g,r||0,null==n?f:n,function(e,t,i,h){var v="ltr"==i,m=d(e,v?"left":"right"),y=d(t-1,v?"right":"left"),b=null==r&&0==e,w=null==n&&t==f,x=0==h,C=!g||h==g.length-1;if(y.top-m.top<=3){var S=(u?w:b)&&C,L=(u?b:w)&&x?s:(v?m:y).left,k=S?a:(v?y:m).right;c(L,m.top,k-L,m.bottom)}else{var T,M,N,O;v?(T=u&&b&&x?s:m.left,M=u?a:p(e,i,"before"),N=u?s:p(t,i,"after"),O=u&&w&&C?a:y.right):(T=u?p(e,i,"before"):s,M=!u&&b&&x?a:m.right,N=!u&&w&&C?s:y.left,O=u?p(t,i,"after"):a),c(T,m.top,M-T,m.bottom),m.bottom<y.top&&c(s,m.bottom,null,y.top),c(N,y.top,O-N,y.bottom)}(!o||mn(m,o)<0)&&(o=m),mn(y,o)<0&&(o=y),(!l||mn(m,l)<0)&&(l=m),mn(y,l)<0&&(l=y)}),{start:o,end:l}}var f=t.from(),d=t.to();if(f.line==d.line)h(f.line,f.ch,d.ch);else{var p=Xe(i,f.line),g=Xe(i,d.line),v=Rt(p)==Rt(g),m=h(f.line,f.ch,v?p.text.length+1:null).end,y=h(d.line,v?0:null,d.ch).start;v&&(m.top<y.top-2?(c(m.right,m.top,null,m.bottom),c(s,y.top,y.left,y.bottom)):c(m.right,m.top,y.left-m.right,m.bottom)),m.bottom<y.top&&c(s,m.bottom,null,y.top)}r.appendChild(o)}function bn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Sn(e),t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function wn(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Cn(e))}function xn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Sn(e))},100)}function Cn(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,H(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),a&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),bn(e))}function Sn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Ln(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,a=void 0,u=0;if(!i.hidden){if(l&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;a=c-r,r=c}else{var h=i.node.getBoundingClientRect();a=h.bottom-h.top,!o&&i.text.firstChild&&(u=i.text.firstChild.getBoundingClientRect().right-h.left-1)}var f=i.line.height-a;if((f>.005||f<-.005)&&($e(i.line,a),kn(i.line),i.rest))for(var d=0;d<i.rest.length;d++)kn(i.rest[d]);if(u>e.display.sizerWidth){var p=Math.ceil(u/tn(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function kn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight)}}function Tn(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Cr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=Ze(t,n),l=Ze(t,i);if(r&&r.ensure){var s=r.ensure.from.line,a=r.ensure.to.line;s<o?(o=s,l=Ze(t,Vt(Xe(t,s))+e.wrapper.clientHeight)):Math.min(a,t.lastLine())>=l&&(o=Ze(t,Vt(Xe(t,a))-e.wrapper.clientHeight),l=a)}return{from:o,to:Math.max(l,o+1)}}function Mn(e,t){var r=e.display,n=en(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Mr(e),l={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Sr(r),a=t.top<n,u=t.bottom>s-n;if(t.top<i)l.scrollTop=a?0:t.top;else if(t.bottom>i+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(l.scrollTop=c)}var h=e.options.fixedGutter?0:r.gutters.offsetWidth,f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft-h,d=Tr(e)-r.gutters.offsetWidth,p=t.right-t.left>d;return p&&(t.right=t.left+d),t.left<10?l.scrollLeft=0:t.left<f?l.scrollLeft=Math.max(0,t.left+h-(p?0:10)):t.right>d+f-3&&(l.scrollLeft=t.right+(p?0:10)-d),l}function Nn(e,t){null!=t&&(Dn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function On(e){Dn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function An(e,t,r){null==t&&null==r||Dn(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function Dn(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Wn(e,Yr(e,t.from),Yr(e,t.to),t.margin))}function Wn(e,t,r,n){var i=Mn(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});An(e,i.scrollLeft,i.scrollTop)}function Hn(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||oi(e,{top:t}),Fn(e,t,!0),r&&oi(e),ei(e,100))}function Fn(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Pn(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,ai(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function En(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Sr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+kr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var In=function(e,t,r){this.cm=r;var n=this.vert=O("div",[O("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=O("div",[O("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),fe(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),fe(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,l&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};In.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},In.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},In.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},In.prototype.zeroWidthHack=function(){var e=y&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new z,this.disableVert=new z},In.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto",t.set(1e3,function n(){var i=e.getBoundingClientRect();("vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,n)})},In.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Rn=function(){};function zn(e,t){t||(t=En(e));var r=e.display.barWidth,n=e.display.barHeight;Bn(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&Ln(e),Bn(e,En(e)),r=e.display.barWidth,n=e.display.barHeight}function Bn(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}Rn.prototype.update=function(){return{bottom:0,right:0}},Rn.prototype.setScrollLeft=function(){},Rn.prototype.setScrollTop=function(){},Rn.prototype.clear=function(){};var Gn={native:In,null:Rn};function Un(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Gn[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,r){"horizontal"==r?Pn(e,t):Hn(e,t)},e),e.display.scrollbars.addClass&&H(e.display.wrapper,e.display.scrollbars.addClass)}var Vn=0;function Kn(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Vn},t=e.curOp,or?or.ops.push(t):t.ownsGroup=or={ops:[t],delayedCallbacks:[]}}function jn(e){var t=e.curOp;t&&function(e,t){var r=e.ownsGroup;if(r)try{!function(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}(r)}finally{or=null,t(r)}}(t,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,r=0;r<t.length;r++)Xn(t[r]);for(var n=0;n<t.length;n++)(i=t[n]).updatedDisplay=i.mustUpdate&&ni(i.cm,i.update);var i;for(var o=0;o<t.length;o++)Yn(t[o]);for(var l=0;l<t.length;l++)_n(t[l]);for(var s=0;s<t.length;s++)$n(t[s])}(e)})}function Xn(e){var t=e.cm,r=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=kr(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=kr(e)+"px",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&jt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ri(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yn(e){var t=e.cm,r=t.display;e.updatedDisplay&&Ln(t),e.barMeasure=En(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Or(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+kr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Tr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function _n(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Pn(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==W();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&zn(t,e.barMeasure),e.updatedDisplay&&si(t,e.barMeasure),e.selectionChanged&&bn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&wn(e.cm)}function $n(e){var t=e.cm,r=t.display,n=t.doc;(e.updatedDisplay&&ii(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&Fn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Pn(t,e.scrollLeft,!0,!0),e.scrollToPos)&&function(e,t){if(!ve(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=O("div","",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Cr(e.display))+"px;\n height: "+(t.bottom-t.top+kr(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(r="before"==(t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?et(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var l=!1,s=Xr(e,t),a=r&&r!=t?Xr(e,r):s,u=Mn(e,i={left:Math.min(s.left,a.left),top:Math.min(s.top,a.top)-n,right:Math.max(s.left,a.left),bottom:Math.max(s.bottom,a.bottom)+n}),c=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=u.scrollTop&&(Hn(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(l=!0)),null!=u.scrollLeft&&(Pn(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(l=!0)),!l)break}return i}(t,st(n,e.scrollToPos.from),st(n,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var l=0;l<i.length;++l)i[l].lines.length||ge(i[l],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&ge(o[s],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ge(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function qn(e,t){if(e.curOp)return t();Kn(e);try{return t()}finally{jn(e)}}function Zn(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kn(e);try{return t.apply(e,arguments)}finally{jn(e)}}}function Qn(e){return function(){if(this.curOp)return e.apply(this,arguments);Kn(this);try{return e.apply(this,arguments)}finally{jn(this)}}}function Jn(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kn(t);try{return e.apply(this,arguments)}finally{jn(t)}}}function ei(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,E(ti,e))}function ti(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,n=dt(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(n.line>=e.display.viewFrom){var l=o.styles,s=o.text.length>e.options.maxHighlightLength?Ue(t.mode,n.state):null,a=ht(e,o,n,!0);s&&(n.state=s),o.styles=a.styles;var u=o.styleClasses,c=a.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!l||l.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),f=0;!h&&f<l.length;++f)h=l[f]!=o.styles[f];h&&i.push(n.line),o.stateAfter=n.save(),n.nextLine()}else o.text.length<=e.options.maxHighlightLength&&pt(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>r)return ei(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&qn(e,function(){for(var t=0;t<i.length;t++)cn(e,i[t],"text")})}}var ri=function(e,t,r){var n=e.display;this.viewport=t,this.visible=Tn(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Tr(e),this.force=r,this.dims=rn(e),this.events=[]};function ni(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return hn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==dn(e))return!1;ui(e)&&(hn(e),t.dims=rn(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),l=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>l&&r.viewTo-l<20&&(l=Math.min(i,r.viewTo)),Ct&&(o=zt(e.doc,o),l=Bt(e.doc,l));var s=o!=r.viewFrom||l!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;!function(e,t,r){var n=e.display;0==n.view.length||t>=n.viewTo||r<=n.viewFrom?(n.view=ir(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=ir(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(an(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(ir(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,an(e,r)))),n.viewTo=r}(e,o,l),r.viewOffset=Vt(Xe(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var u=dn(e);if(!s&&0==u&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=W();if(!t||!D(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&D(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}(e);return u>4&&(r.lineDiv.style.display="none"),function(e,t,r){var n=e.display,i=e.options.lineNumbers,o=n.lineDiv,l=o.firstChild;function s(t){var r=t.nextSibling;return a&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var u=n.view,c=n.viewFrom,h=0;h<u.length;h++){var f=u[h];if(f.hidden);else if(f.node&&f.node.parentNode==o){for(;l!=f.node;)l=s(l);var d=i&&null!=t&&t<=c&&f.lineNumber;f.changes&&(B(f.changes,"gutter")>-1&&(d=!1),ur(e,f,c,r)),d&&(M(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(Je(e.options,c)))),l=f.node.nextSibling}else{var p=vr(e,f,c,r);o.insertBefore(p,l)}c+=f.size}for(;l;)l=s(l)}(e,r.updateLineNumbers,t.dims),u>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=W()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&D(document.body,e.anchorNode)&&D(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}(c),M(r.cursorDiv),M(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,ei(e,400)),r.updateLineNumbers=null,!0}function ii(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Tr(e))n&&(t.visible=Tn(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Sr(e.display)-Mr(e),r.top)}),t.visible=Tn(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ni(e,t))break;Ln(e);var i=En(e);pn(e),zn(e,i),si(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function oi(e,t){var r=new ri(e,t);if(ni(e,r)){Ln(e),ii(e,r);var n=En(e);pn(e),zn(e,n),si(e,n),r.finish()}}function li(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function si(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+kr(e)+"px"}function ai(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=nn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",l=0;l<r.length;l++)if(!r[l].hidden){e.options.fixedGutter&&(r[l].gutter&&(r[l].gutter.style.left=o),r[l].gutterBackground&&(r[l].gutterBackground.style.left=o));var s=r[l].alignable;if(s)for(var a=0;a<s.length;a++)s[a].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function ui(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=Je(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(O("div",[O("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,l=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-l)+1,n.lineNumWidth=n.lineNumInnerWidth+l,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",li(e.display),!0}return!1}function ci(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],l=null;if("string"!=typeof o&&(l=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0}r.push({className:o,style:l})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function hi(e){var t=e.gutters,r=e.gutterSpecs;M(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,l=i.style,s=t.appendChild(O("div",null,"CodeMirror-gutter "+o));l&&(s.style.cssText=l),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",li(e)}function fi(e){hi(e.display),un(e),ai(e)}function di(e,t,n,i){var o=this;this.input=n,o.scrollbarFiller=O("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=O("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=A("div",null,"CodeMirror-code"),o.selectionDiv=O("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=O("div",null,"CodeMirror-cursors"),o.measure=O("div",null,"CodeMirror-measure"),o.lineMeasure=O("div",null,"CodeMirror-measure"),o.lineSpace=A("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=A("div",[o.lineSpace],"CodeMirror-lines");o.mover=O("div",[u],null,"position: relative"),o.sizer=O("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=O("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),o.gutters=O("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=O("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=O("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),l&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),a||r&&m||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=ci(i.gutters,i.lineNumbers),hi(o),n.init(o)}ri.prototype.signal=function(e,t){ye(e,t)&&this.events.push(arguments)},ri.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ge.apply(null,this.events[e])};var pi=0,gi=null;function vi(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function mi(e){var t=vi(e);return t.x*=gi,t.y*=gi,t}function yi(e,t){var n=vi(t),i=n.x,o=n.y,l=e.display,s=l.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&y&&a)e:for(var f=t.target,d=l.view;f!=s;f=f.parentNode)for(var p=0;p<d.length;p++)if(d[p].node==f){e.display.currentWheelTarget=f;break e}if(i&&!r&&!h&&null!=gi)return o&&c&&Hn(e,Math.max(0,s.scrollTop+o*gi)),Pn(e,Math.max(0,s.scrollLeft+i*gi)),(!o||o&&c)&&we(t),void(l.wheelStartX=null);if(o&&null!=gi){var g=o*gi,v=e.doc.scrollTop,m=v+l.wrapper.clientHeight;g<0?v=Math.max(0,v+g-50):m=Math.min(e.doc.height,m+g+50),oi(e,{top:v,bottom:m})}pi<20&&(null==l.wheelStartX?(l.wheelStartX=s.scrollLeft,l.wheelStartY=s.scrollTop,l.wheelDX=i,l.wheelDY=o,setTimeout(function(){if(null!=l.wheelStartX){var e=s.scrollLeft-l.wheelStartX,t=s.scrollTop-l.wheelStartY,r=t&&l.wheelDY&&t/l.wheelDY||e&&l.wheelDX&&e/l.wheelDX;l.wheelStartX=l.wheelStartY=null,r&&(gi=(gi*pi+r)/(pi+1),++pi)}},200)):(l.wheelDX+=i,l.wheelDY+=o))}}l?gi=-.53:r?gi=15:c?gi=-.7:f&&(gi=-1/3);var bi=function(e,t){this.ranges=e,this.primIndex=t};bi.prototype.primary=function(){return this.ranges[this.primIndex]},bi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!rt(r.anchor,n.anchor)||!rt(r.head,n.head))return!1}return!0},bi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new wi(nt(this.ranges[t].anchor),nt(this.ranges[t].head));return new bi(e,this.primIndex)},bi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},bi.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(tt(t,n.from())>=0&&tt(e,n.to())<=0)return r}return-1};var wi=function(e,t){this.anchor=e,this.head=t};function xi(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(e,t){return tt(e.from(),t.from())}),r=B(t,i);for(var o=1;o<t.length;o++){var l=t[o],s=t[o-1],a=tt(s.to(),l.from());if(n&&!l.empty()?a>0:a>=0){var u=ot(s.from(),l.from()),c=it(s.to(),l.to()),h=s.empty()?l.from()==l.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new wi(h?c:u,h?u:c))}}return new bi(t,r)}function Ci(e,t){return new bi([new wi(e,t||e)],0)}function Si(e){return e.text?et(e.from.line+e.text.length-1,$(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Li(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return Si(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Si(t).ch-t.to.ch),et(r,n)}function ki(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new wi(Li(i.anchor,t),Li(i.head,t)))}return xi(e.cm,r,e.sel.primIndex)}function Ti(e,t,r){return e.line==t.line?et(r.line,e.ch-t.ch+r.ch):et(r.line+(e.line-t.line),e.ch)}function Mi(e){e.doc.mode=ze(e.options,e.doc.modeOption),Ni(e)}function Ni(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ei(e,100),e.state.modeGen++,e.curOp&&un(e)}function Oi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==$(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Ai(e,t,r,n){function i(e){return r?r[e]:null}function o(e,r,i){!function(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Nt(e),Ot(e,r);var i=n?n(e):1;i!=e.height&&$e(e,i)}(e,r,i,n),sr(e,"change",e,t)}function l(e,t){for(var r=[],o=e;o<t;++o)r.push(new Xt(u[o],i(o),n));return r}var s=t.from,a=t.to,u=t.text,c=Xe(e,s.line),h=Xe(e,a.line),f=$(u),d=i(u.length-1),p=a.line-s.line;if(t.full)e.insert(0,l(0,u.length)),e.remove(u.length,e.size-u.length);else if(Oi(e,t)){var g=l(0,u.length-1);o(h,h.text,d),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,s.ch)+f+c.text.slice(a.ch),d);else{var v=l(1,u.length-1);v.push(new Xt(f+c.text.slice(a.ch),d,n)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,v)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+h.text.slice(a.ch),i(0)),e.remove(s.line+1,p);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(h,f+h.text.slice(a.ch),d);var m=l(1,u.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,m)}sr(e,"change",e,t)}function Di(e,t,r){!function e(n,i,o){if(n.linked)for(var l=0;l<n.linked.length;++l){var s=n.linked[l];if(s.doc!=i){var a=o&&s.sharedHist;r&&!a||(t(s.doc,a),e(s.doc,n,a))}}}(e,null,!0)}function Wi(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ln(e),Mi(e),Hi(e),e.options.lineWrapping||jt(e),e.options.mode=t.modeOption,un(e)}function Hi(e){("rtl"==e.doc.direction?H:T)(e.display.lineDiv,"CodeMirror-rtl")}function Fi(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Pi(e,t){var r={from:nt(t.from),to:Si(t),text:Ye(e,t.from,t.to)};return Bi(e,r,t.from.line,t.to.line+1),Di(e,function(e){return Bi(e,r,t.from.line,t.to.line+1)},!0),r}function Ei(e){for(;e.length;){if(!$(e).ranges)break;e.pop()}}function Ii(e,t,r,n){var i=e.history;i.undone.length=0;var o,l,s=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Ei(e.done),$(e.done)):e.done.length&&!$(e.done).ranges?$(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),$(e.done)):void 0}(i,i.lastOp==n)))l=$(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,l.to)?l.to=Si(t):o.changes.push(Pi(e,t));else{var a=$(i.done);for(a&&a.ranges||zi(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,l||ge(e,"historyAdded")}function Ri(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,$(i.done),t))?i.done[i.done.length-1]=t:zi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=r,n&&!1!==n.clearRedo&&Ei(i.undone)}function zi(e,t){var r=$(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Bi(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o})}function Gi(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function Ui(e,t){var r=function(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(Gi(r[i]));return n}(e,t),n=Tt(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],l=n[i];if(o&&l)e:for(var s=0;s<l.length;++s){for(var a=l[s],u=0;u<o.length;++u)if(o[u].marker==a.marker)continue e;o.push(a)}else l&&(r[i]=l)}return r}function Vi(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?bi.prototype.deepCopy.call(o):o);else{var l=o.changes,s=[];n.push({changes:s});for(var a=0;a<l.length;++a){var u=l[a],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&B(t,Number(c[1]))>-1&&($(s)[h]=u[h],delete u[h])}}}return n}function Ki(e,t,r,n){if(n){var i=e.anchor;if(r){var o=tt(t,i)<0;o!=tt(r,i)<0?(i=t,t=r):o!=tt(t,r)<0&&(t=r)}return new wi(i,t)}return new wi(r||t,t)}function ji(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),qi(e,new bi([Ki(e.sel.primary(),t,r,i)],0),n)}function Xi(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)n[o]=Ki(e.sel.ranges[o],t[o],null,i);qi(e,xi(e.cm,n,e.sel.primIndex),r)}function Yi(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,qi(e,xi(e.cm,i,e.sel.primIndex),n)}function _i(e,t,r,n){qi(e,Ci(t,r),n)}function $i(e,t,r){var n=e.history.done,i=$(n);i&&i.ranges?(n[n.length-1]=t,Zi(e,t,r)):qi(e,t,r)}function qi(e,t,r){Zi(e,t,r),Ri(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Zi(e,t,r){(ye(e,"beforeSelectionChange")||e.cm&&ye(e.cm,"beforeSelectionChange"))&&(t=function(e,t,r){var n={ranges:t.ranges,update:function(t){this.ranges=[];for(var r=0;r<t.length;r++)this.ranges[r]=new wi(st(e,t[r].anchor),st(e,t[r].head))},origin:r&&r.origin};return ge(e,"beforeSelectionChange",e,n),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?xi(e.cm,n.ranges,n.ranges.length-1):t}(e,t,r));var n=r&&r.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);Qi(e,eo(e,t,n,!0)),r&&!1===r.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||On(e.cm)}function Qi(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,me(e.cm)),sr(e,"cursorActivity",e))}function Ji(e){Qi(e,eo(e,e.sel,null,!1))}function eo(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var l=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],a=ro(e,l.anchor,s&&s.anchor,r,n),u=ro(e,l.head,s&&s.head,r,n);(i||a!=l.anchor||u!=l.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new wi(a,u))}return i?xi(e.cm,i,t.primIndex):t}function to(e,t,r,n,i){var o=Xe(e,t.line);if(o.markedSpans)for(var l=0;l<o.markedSpans.length;++l){var s=o.markedSpans[l],a=s.marker,u="selectLeft"in a?!a.selectLeft:a.inclusiveLeft,c="selectRight"in a?!a.selectRight:a.inclusiveRight;if((null==s.from||(u?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(ge(a,"beforeCursorEnter"),a.explicitlyCleared)){if(o.markedSpans){--l;continue}break}if(!a.atomic)continue;if(r){var h=a.find(n<0?1:-1),f=void 0;if((n<0?c:u)&&(h=no(e,h,-n,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(f=tt(h,r))&&(n<0?f<0:f>0))return to(e,h,t,n,i)}var d=a.find(n<0?-1:1);return(n<0?u:c)&&(d=no(e,d,n,d.line==t.line?o:null)),d?to(e,d,t,n,i):null}}return t}function ro(e,t,r,n,i){var o=n||1,l=to(e,t,r,o,i)||!i&&to(e,t,r,o,!0)||to(e,t,r,-o,i)||!i&&to(e,t,r,-o,!0);return l||(e.cantEdit=!0,et(e.first,0))}function no(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:r>0&&t.ch==(n||Xe(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+r)}function io(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),V)}function oo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return r&&(n.update=function(t,r,i,o){t&&(n.from=st(e,t)),r&&(n.to=st(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o)}),ge(e,"beforeChange",e,n),e.cm&&ge(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function lo(e,t,r){if(e.cm){if(!e.cm.curOp)return Zn(e.cm,lo)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(ye(e,"beforeChange")||e.cm&&ye(e.cm,"beforeChange"))||(t=oo(e,t,!0))){var n=xt&&!r&&function(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=B(n,r)||(n||(n=[])).push(r)}}),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o)for(var l=n[o],s=l.find(0),a=0;a<i.length;++a){var u=i[a];if(!(tt(u.to,s.from)<0||tt(u.from,s.to)>0)){var c=[a,1],h=tt(u.from,s.from),f=tt(u.to,s.to);(h<0||!l.inclusiveLeft&&!h)&&c.push({from:u.from,to:s.from}),(f>0||!l.inclusiveRight&&!f)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),a+=c.length-3}}return i}(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i)so(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else so(e,t)}}function so(e,t){if(1!=t.text.length||""!=t.text[0]||0!=tt(t.from,t.to)){var r=ki(e,t);Ii(e,t,r,e.cm?e.cm.curOp.id:NaN),co(e,t,r,Tt(e,t));var n=[];Di(e,function(e,r){r||-1!=B(n,e.history)||(go(e.history,t),n.push(e.history)),co(e,t,null,Tt(e,t))})}}function ao(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!n||r){for(var i,o=e.history,l=e.sel,s="undo"==t?o.done:o.undone,a="undo"==t?o.undone:o.done,u=0;u<s.length&&(i=s[u],r?!i.ranges||i.equals(e.sel):i.ranges);u++);if(u!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(n)return void s.push(i);break}if(zi(i,a),r&&!i.equals(e.sel))return void qi(e,i,{clearRedo:!1});l=i}var c=[];zi(l,a),a.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var h=ye(e,"beforeChange")||e.cm&&ye(e.cm,"beforeChange"),f=function(r){var n=i.changes[r];if(n.origin=t,h&&!oo(e,n,!1))return s.length=0,{};c.push(Pi(e,n));var o=r?ki(e,n):$(s);co(e,n,o,Ui(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:Si(n)});var l=[];Di(e,function(e,t){t||-1!=B(l,e.history)||(go(e.history,n),l.push(e.history)),co(e,n,null,Ui(e,n))})},d=i.changes.length-1;d>=0;--d){var p=f(d);if(p)return p.v}}}}function uo(e,t){if(0!=t&&(e.first+=t,e.sel=new bi(q(e.sel.ranges,function(e){return new wi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){un(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)cn(e.cm,n,"gutter")}}function co(e,t,r,n){if(e.cm&&!e.cm.curOp)return Zn(e.cm,co)(e,t,r,n);if(t.to.line<e.first)uo(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);uo(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[$(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Xe(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ye(e,t.from,t.to),r||(r=ki(e,t)),e.cm?function(e,t,r){var n=e.doc,i=e.display,o=t.from,l=t.to,s=!1,a=o.line;e.options.lineWrapping||(a=qe(Rt(Xe(n,o.line))),n.iter(a,l.line+1,function(e){if(e==i.maxLine)return s=!0,!0}));n.sel.contains(t.from,t.to)>-1&&me(e);Ai(n,t,r,on(e)),e.options.lineWrapping||(n.iter(a,o.line+t.text.length,function(e){var t=Kt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0));(function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Xe(e,n).stateAfter;if(i&&(!(i instanceof ut)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}})(n,o.line),ei(e,400);var u=t.text.length-(l.line-o.line)-1;t.full?un(e):o.line!=l.line||1!=t.text.length||Oi(e.doc,t)?un(e,o.line,l.line+1,u):cn(e,o.line,"text");var c=ye(e,"changes"),h=ye(e,"change");if(h||c){var f={from:o,to:l,text:t.text,removed:t.removed,origin:t.origin};h&&sr(e,"change",e,f),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}(e.cm,t,n):Ai(e,t,n),Zi(e,r,V),e.cantEdit&&ro(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function ho(e,t,r,n,i){var o;n||(n=r),tt(n,r)<0&&(r=(o=[n,r])[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),lo(e,{from:r,to:n,text:t,origin:i})}function fo(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function po(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],l=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)fo(o.ranges[s].anchor,t,r,n),fo(o.ranges[s].head,t,r,n)}else{for(var a=0;a<o.changes.length;++a){var u=o.changes[a];if(r<u.from.line)u.from=et(u.from.line+n,u.from.ch),u.to=et(u.to.line+n,u.to.ch);else if(t<=u.to.line){l=!1;break}}l||(e.splice(0,i+1),i=0)}}}function go(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;po(e.done,r,n,i),po(e.undone,r,n,i)}function vo(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Xe(e,lt(e,t)):i=qe(t),null==i?null:(n(o,i)&&e.cm&&cn(e.cm,i,r),o)}function mo(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}function yo(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}wi.prototype.from=function(){return ot(this.anchor,this.head)},wi.prototype.to=function(){return it(this.anchor,this.head)},wi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},mo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,Yt(i),sr(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}},yo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),l=n.height;if(n.removeInner(e,o),this.height-=l-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof mo))){var s=[];this.collapse(s),this.children=[new mo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var l=i.lines.length%25+25,s=l;s<i.lines.length;){var a=new mo(i.lines.slice(s,s+=25));i.height-=a.height,this.children.splice(++n,0,a),a.parent=this}i.lines=i.lines.slice(0,l),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new yo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var r=B(e.parent.children,e);e.parent.children.splice(r+1,0,t)}else{var n=new yo(e.children);n.parent=e,e.children=[n,t],e=n}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var l=Math.min(t,o-e);if(i.iterN(e,l,r))return!0;if(0==(t-=l))break;e=0}else e-=o}}};var bo=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n]);this.doc=e,this.node=t};function wo(e,t,r){Vt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Nn(e,r)}bo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=qe(r);if(null!=n&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(r.widgets=null);var o=wr(this);$e(r,Math.max(0,r.height-o)),e&&(qn(e,function(){wo(e,r,-o),cn(e,n,"widget")}),sr(e,"lineWidgetCleared",e,this,n))}},bo.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=wr(this)-t;i&&(Gt(this.doc,n)||$e(n,n.height+i),r&&qn(r,function(){r.curOp.forceUpdate=!0,wo(r,n,i),sr(r,"lineWidgetChanged",r,e,qe(n))}))},be(bo);var xo=0,Co=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++xo};function So(e,t,r,n,i){if(n&&n.shared)return function(e,t,r,n,i){(n=I(n)).shared=!1;var o=[So(e,t,r,n,i)],l=o[0],s=n.widgetNode;return Di(e,function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(So(e,st(e,t),st(e,r),n,i));for(var a=0;a<e.linked.length;++a)if(e.linked[a].isParent)return;l=$(o)}),new Lo(o,l)}(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return Zn(e.cm,So)(e,t,r,n,i);var o=new Co(e,i),l=tt(t,r);if(n&&I(n,o,!1),l>0||0==l&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=A("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(It(e,t.line,t,r,o)||t.line!=r.line&&It(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ct=!0}o.addToHistory&&Ii(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s,a=t.line,u=e.cm;if(e.iter(a,r.line+1,function(e){u&&o.collapsed&&!u.options.lineWrapping&&Rt(e)==u.display.maxLine&&(s=!0),o.collapsed&&a!=t.line&&$e(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new St(o,a==t.line?t.ch:null,a==r.line?r.ch:null)),++a}),o.collapsed&&e.iter(t.line,r.line+1,function(t){Gt(e,t)&&$e(t,0)}),o.clearOnEnter&&fe(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(xt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++xo,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)un(u,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=r.line;c++)cn(u,c,"text");o.atomic&&Ji(u.doc),sr(u,"markerAdded",u,o)}return o}Co.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kn(e),ye(this,"clear")){var r=this.find();r&&sr(this,"clear",r.from,r.to)}for(var n=null,i=null,o=0;o<this.lines.length;++o){var l=this.lines[o],s=Lt(l.markedSpans,this);e&&!this.collapsed?cn(e,qe(l),"text"):e&&(null!=s.to&&(i=qe(l)),null!=s.from&&(n=qe(l))),l.markedSpans=kt(l.markedSpans,s),null==s.from&&this.collapsed&&!Gt(this.doc,l)&&e&&$e(l,en(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var a=0;a<this.lines.length;++a){var u=Rt(this.lines[a]),c=Kt(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&un(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ji(e.doc)),e&&sr(e,"markerCleared",e,this,n,i),t&&jn(e),this.parent&&this.parent.clear()}},Co.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],l=Lt(o.markedSpans,this);if(null!=l.from&&(r=et(t?o:qe(o),l.from),-1==e))return r;if(null!=l.to&&(n=et(t?o:qe(o),l.to),1==e))return n}return r&&{from:r,to:n}},Co.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;t&&n&&qn(n,function(){var i=t.line,o=qe(t.line),l=Ar(n,o);if(l&&(Ir(l),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Gt(r.doc,i)&&null!=r.height){var s=r.height;r.height=null;var a=wr(r)-s;a&&$e(i,i.height+a)}sr(n,"markerChanged",n,e)})},Co.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=B(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Co.prototype.detachLine=function(e){if(this.lines.splice(B(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},be(Co);var Lo=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};function ko(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),function(e){return e.parent})}function To(e){for(var t=function(t){var r=e[t],n=[r.primary.doc];Di(r.primary.doc,function(e){return n.push(e)});for(var i=0;i<r.markers.length;i++){var o=r.markers[i];-1==B(n,o.doc)&&(o.parent=null,r.markers.splice(i--,1))}},r=0;r<e.length;r++)t(r)}Lo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();sr(this,"clear")}},Lo.prototype.find=function(e,t){return this.primary.find(e,t)},be(Lo);var Mo=0,No=function(e,t,r,n,i){if(!(this instanceof No))return new No(e,t,r,n,i);null==r&&(r=0),yo.call(this,[new mo([new Xt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var o=et(r,0);this.sel=Ci(o),this.history=new Fi(null),this.id=++Mo,this.modeOption=t,this.lineSep=n,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Ai(this,{from:o,to:o,text:e}),qi(this,Ci(o),V)};No.prototype=Q(yo.prototype,{constructor:No,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=_e(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Jn(function(e){var t=et(this.first,0),r=this.first+this.size-1;lo(this,{from:t,to:et(r,Xe(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&An(this.cm,0,0),qi(this,Ci(t),V)}),replaceRange:function(e,t,r,n){ho(this,e,t=st(this,t),r=r?st(this,r):t,n)},getRange:function(e,t,r){var n=Ye(this,st(this,e),st(this,t));return!1===r?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Qe(this,e))return Xe(this,e)},getLineNumber:function(e){return qe(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Xe(this,e)),Rt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Jn(function(e,t,r){_i(this,st(this,"number"==typeof e?et(e,t||0):e),null,r)}),setSelection:Jn(function(e,t,r){_i(this,st(this,e),st(this,t||e),r)}),extendSelection:Jn(function(e,t,r){ji(this,st(this,e),t&&st(this,t),r)}),extendSelections:Jn(function(e,t){Xi(this,at(this,e),t)}),extendSelectionsBy:Jn(function(e,t){Xi(this,at(this,q(this.sel.ranges,e)),t)}),setSelections:Jn(function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++)n[i]=new wi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),qi(this,xi(this.cm,n,t),r)}}),addSelection:Jn(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new wi(st(this,e),st(this,t||e))),qi(this,xi(this.cm,n,n.length-1),r)}),getSelection:function(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Ye(this,r[n].from(),r[n].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Ye(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:Jn(function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var l=i.ranges[o];n[o]={from:l.from(),to:l.to(),text:this.splitLines(e[o]),origin:r}}for(var s=t&&"end"!=t&&function(e,t,r){for(var n=[],i=et(e.first,0),o=i,l=0;l<t.length;l++){var s=t[l],a=Ti(s.from,i,o),u=Ti(Si(s),i,o);if(i=s.to,o=u,"around"==r){var c=e.sel.ranges[l],h=tt(c.head,c.anchor)<0;n[l]=new wi(h?u:a,h?a:u)}else n[l]=new wi(a,a)}return new bi(n,e.sel.primIndex)}(this,n,t),a=n.length-1;a>=0;a--)lo(this,n[a]);s?$i(this,s):this.cm&&On(this.cm)}),undo:Jn(function(){ao(this,"undo")}),redo:Jn(function(){ao(this,"redo")}),undoSelection:Jn(function(){ao(this,"undo",!0)}),redoSelection:Jn(function(){ao(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){var e=this;this.history=new Fi(this.history),Di(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Vi(this.history.done),undone:Vi(this.history.undone)}},setHistory:function(e){var t=this.history=new Fi(this.history);t.done=Vi(e.done.slice(0),null,!0),t.undone=Vi(e.undone.slice(0),null,!0)},setGutterMarker:Jn(function(e,t,r){return vo(this,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&re(n)&&(e.gutterMarkers=null),!0})}),clearGutter:Jn(function(e){var t=this;this.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&vo(t,r,"gutter",function(){return r.gutterMarkers[e]=null,re(r.gutterMarkers)&&(r.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!Qe(this,e))return null;if(t=e,!(e=Xe(this,e)))return null}else if(null==(t=qe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Jn(function(e,t,r){return vo(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(L(r).test(e[n]))return!1;e[n]+=" "+r}else e[n]=r;return!0})}),removeLineClass:Jn(function(e,t,r){return vo(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n];if(!i)return!1;if(null==r)e[n]=null;else{var o=i.match(L(r));if(!o)return!1;var l=o.index+o[0].length;e[n]=i.slice(0,o.index)+(o.index&&l!=i.length?" ":"")+i.slice(l)||null}return!0})}),addLineWidget:Jn(function(e,t,r){return function(e,t,r,n){var i=new bo(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),vo(e,t,"widget",function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Gt(e,t)){var n=Vt(t)<e.scrollTop;$e(t,t.height+wr(i)),n&&Nn(o,i.height),o.curOp.forceUpdate=!0}return!0}),o&&sr(o,"lineWidgetAdded",o,i,"number"==typeof t?t:qe(t)),i}(this,e,t,r)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return So(this,st(this,e),st(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return So(this,e=st(this,e),e,r,"bookmark")},findMarksAt:function(e){var t=[],r=Xe(this,(e=st(this,e)).line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=st(this,e),t=st(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var l=o.markedSpans;if(l)for(var s=0;s<l.length;s++){var a=l[s];null!=a.to&&i==e.line&&e.ch>=a.to||null==a.from&&i!=e.line||null!=a.from&&i==t.line&&a.from>=t.ch||r&&!r(a.marker)||n.push(a.marker.parent||a.marker)}++i}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n)null!=r[n].from&&e.push(r[n].marker)}),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+n;if(o>e)return t=e,!0;e-=o,++r}),st(this,et(r,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+r}),t},copy:function(e){var t=new No(_e(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new No(_e(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),l=e.clipPos(i.to);if(tt(o,l)){var s=So(e,o,l,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}(n,ko(this)),n},unlinkDoc:function(e){if(e instanceof Ll&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),To(ko(this));break}}if(e.history==this.history){var r=[e.id];Di(e,function(e){return r.push(e.id)},!0),e.history=new Fi(null),e.history.done=Vi(this.history.done,r),e.history.undone=Vi(this.history.undone,r)}},iterLinkedDocs:function(e){Di(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):We(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Jn(function(e){var t;("rtl"!=e&&(e="ltr"),e!=this.direction)&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&qn(t=this.cm,function(){Hi(t),un(t)}))})}),No.prototype.eachLine=No.prototype.iter;var Oo=0;function Ao(e){var t=this;if(Do(t),!ve(t,e)&&!xr(t.display,e)){we(e),l&&(Oo=+new Date);var r=sn(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),s=0,a=function(){++s==i&&Zn(t,function(){var e={from:r=st(t.doc,r),to:r,text:t.doc.splitLines(o.filter(function(e){return null!=e}).join(t.doc.lineSeparator())),origin:"paste"};lo(t.doc,e),$i(t.doc,Ci(st(t.doc,r),st(t.doc,Si(e))))})()},u=function(e,r){if(t.options.allowDropFileTypes&&-1==B(t.options.allowDropFileTypes,e.type))a();else{var n=new FileReader;n.onerror=function(){return a()},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)?a():(o[r]=e,a())},n.readAsText(e)}},c=0;c<n.length;c++)u(n[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var h=e.dataTransfer.getData("Text");if(h){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Zi(t.doc,Ci(r,r)),f)for(var d=0;d<f.length;++d)ho(t.doc,"",f[d].anchor,f[d].head,"drag");t.replaceSelection(h,"around","paste"),t.display.input.focus()}}catch(p){}}}}function Do(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Wo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i)}r.length&&r[0].operation(function(){for(var t=0;t<r.length;t++)e(r[t])})}}var Ho=!1;function Fo(){var e;Ho||(fe(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,Wo(Po)},100))}),fe(window,"blur",function(){return Wo(Sn)}),Ho=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Eo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Io=0;Io<10;Io++)Eo[Io+48]=Eo[Io+96]=String(Io);for(var Ro=65;Ro<=90;Ro++)Eo[Ro]=String.fromCharCode(Ro);for(var zo=1;zo<=12;zo++)Eo[zo+111]=Eo[zo+63235]="F"+zo;var Bo={};function Go(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var l=0;l<o.length-1;l++){var s=o[l];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);n=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Uo(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=q(r.split(" "),Go),o=0;o<i.length;o++){var l=void 0,s=void 0;o==i.length-1?(s=i.join(" "),l=n):(s=i.slice(0,o+1).join(" "),l="...");var a=t[s];if(a){if(a!=l)throw new Error("Inconsistent bindings for "+s)}else t[s]=l}delete e[r]}for(var u in t)e[u]=t[u];return e}function Vo(e,t,r,n){var i=(t=Yo(t)).call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Vo(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var l=Vo(e,t.fallthrough[o],r,n);if(l)return l}}}function Ko(e){var t="string"==typeof e?e:Eo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function jo(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(C?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(C?t.ctrlKey:t.metaKey)&&"Mod"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Xo(e,t){if(h&&34==e.keyCode&&e.char)return!1;var r=Eo[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),jo(r,e,t))}function Yo(e){return"string"==typeof e?Bo[e]:e}function _o(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var o=t(r[i]);n.length&&tt(o.from,$(n).to)<=0;){var l=n.pop();if(tt(l.from,o.from)<0){o.from=l.from;break}}n.push(o)}qn(e,function(){for(var t=n.length-1;t>=0;t--)ho(e.doc,"",n[t].from,n[t].to,"+delete");On(e)})}function $o(e,t,r){var n=oe(e.text,t+r,r);return n<0||n>e.text.length?null:n}function qo(e,t,r){var n=$o(e,t.ch,r);return null==n?null:new et(t.line,n,r<0?"after":"before")}function Zo(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=ce(r,t.doc.direction);if(o){var l,s=i<0?$(o):o[0],a=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=Dr(t,r);l=i<0?r.text.length-1:0;var c=Wr(t,u,l).top;l=le(function(e){return Wr(t,u,e).top==c},i<0==(1==s.level)?s.from:s.to-1,l),"before"==a&&(l=$o(r,l,1))}else l=i<0?s.to:s.from;return new et(n,l,a)}}return new et(n,i<0?r.text.length:0,i<0?"before":"after")}Bo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Bo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Bo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Bo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Bo.default=y?Bo.macDefault:Bo.pcDefault;var Qo={selectAll:io,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return _o(e,function(t){if(t.empty()){var r=Xe(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,r)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return _o(e,function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}})},delLineLeft:function(e){return _o(e,function(e){return{from:et(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return _o(e,function(t){var r=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:r},"div"),to:t.from()}})},delWrappedLineRight:function(e){return _o(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Jo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return el(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return function(e,t){var r=Xe(e.doc,t),n=function(e){for(var t;t=Pt(e);)e=t.find(1,!0).line;return e}(r);n!=r&&(t=qe(n));return Zo(!0,e,r,t,-1)}(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")},j)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")},j)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?el(e,t.head):n},j)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),l=R(e.getLine(o.line),o.ch,n);t.push(_(n-l%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return qn(e,function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)if(t[n].empty()){var i=t[n].head,o=Xe(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var l=Xe(e.doc,i.line-1).text;l&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+l.charAt(l.length-1),et(i.line-1,l.length-1),i,"+transpose"))}r.push(new wi(i,i))}e.setSelections(r)})},newlineAndIndent:function(e){return qn(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);On(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Jo(e,t){var r=Xe(e.doc,t),n=Rt(r);return n!=r&&(t=qe(n)),Zo(!0,e,n,t,1)}function el(e,t){var r=Jo(e,t.line),n=Xe(e.doc,r.line),i=ce(n,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(r.ch,n.text.search(/\S/)),l=t.line==r.line&&t.ch<=o&&t.ch;return et(r.line,l?0:o,r.sticky)}return r}function tl(e,t,r){if("string"==typeof t&&!(t=Qo[t]))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=U}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}var rl=new z;function nl(e,t,r,n){var i=e.state.keySeq;if(i){if(Ko(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rl.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),il(e,i+" "+t,r,n))return!0}return il(e,t,r,n)}function il(e,t,r,n){var i=function(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Vo(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&Vo(t,e.options.extraKeys,r,e)||Vo(t,e.options.keyMap,r,e)}(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&sr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(we(r),bn(e)),!!i}function ol(e,t){var r=Xo(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?nl(e,"Shift-"+r,t,function(t){return tl(e,t,!0)})||nl(e,r,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return tl(e,t)}):nl(e,r,t,function(t){return tl(e,t)}))}var ll=null;function sl(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=W(),ve(t,e)))){l&&s<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=ol(t,e);h&&(ll=i?n:null,!i&&88==n&&!Fe&&(y?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),r&&!y&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(T(t,"CodeMirror-crosshair"),pe(document,"keyup",r),pe(document,"mouseover",r))}H(t,"CodeMirror-crosshair"),fe(document,"keyup",r),fe(document,"mouseover",r)}(t)}}function al(e){16==e.keyCode&&(this.doc.sel.shift=!1),ve(this,e)}function ul(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||xr(t.display,e)||ve(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(h&&r==ll)return ll=null,void we(e);if(!h||e.which&&!(e.which<10)||!ol(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(function(e,t,r){return nl(e,"'"+r+"'",t,function(t){return tl(e,t,!0)})}(t,e,i)||t.display.input.onKeyPress(e))}}}var cl,hl,fl=function(e,t,r){this.time=e,this.pos=t,this.button=r};function dl(e){var t=this,r=t.display;if(!(ve(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,xr(r,e))a||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0},100));else if(!vl(t,e)){var n=sn(t,e),i=ke(e),o=n?function(e,t){var r=+new Date;return hl&&hl.compare(r,e,t)?(cl=hl=null,"triple"):cl&&cl.compare(r,e,t)?(hl=new fl(r,e,t),cl=null,"double"):(cl=new fl(r,e,t),hl=null,"single")}(n,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&function(e,t,r,n,i){var o="Click";"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o);return nl(e,jo(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,function(t){if("string"==typeof t&&(t=Qo[t]),!t)return!1;var n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=U}finally{e.state.suppressEdits=!1}return n})}(t,i,n,o,e)||(1==i?n?function(e,t,r,n){l?setTimeout(E(wn,e),0):e.curOp.focus=W();var i,o=function(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=b?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey);null==i.addNew&&(i.addNew=y?r.metaKey:r.ctrlKey);null==i.moveOnDrag&&(i.moveOnDrag=!(y?r.altKey:r.ctrlKey));return i}(e,r,n),u=e.doc.sel;e.options.dragDrop&&Ne&&!e.isReadOnly()&&"single"==r&&(i=u.contains(t))>-1&&(tt((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,r,n){var i=e.display,o=!1,u=Zn(e,function(t){a&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:xn(e)),pe(i.wrapper.ownerDocument,"mouseup",u),pe(i.wrapper.ownerDocument,"mousemove",c),pe(i.scroller,"dragstart",h),pe(i.scroller,"drop",u),o||(we(t),n.addNew||ji(e.doc,r,null,null,n.extend),a&&!f||l&&9==s?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};a&&(i.scroller.draggable=!0);e.state.draggingText=u,u.copy=!n.moveOnDrag,fe(i.wrapper.ownerDocument,"mouseup",u),fe(i.wrapper.ownerDocument,"mousemove",c),fe(i.scroller,"dragstart",h),fe(i.scroller,"drop",u),e.state.delayingBlurEvent=!0,setTimeout(function(){return i.input.focus()},20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,n,t,o):function(e,t,r,n){l&&xn(e);var i=e.display,o=e.doc;we(t);var s,a,u=o.sel,c=u.ranges;n.addNew&&!n.extend?(a=o.sel.contains(r),s=a>-1?c[a]:new wi(r,r)):(s=o.sel.primary(),a=o.sel.primIndex);if("rectangle"==n.unit)n.addNew||(s=new wi(r,r)),r=sn(e,t,!0,!0),a=-1;else{var h=pl(e,r,n.unit);s=n.extend?Ki(s,h.anchor,h.head,n.extend):h}n.addNew?-1==a?(a=c.length,qi(o,xi(e,c.concat([s]),a),{scroll:!1,origin:"*mouse"})):c.length>1&&c[a].empty()&&"char"==n.unit&&!n.extend?(qi(o,xi(e,c.slice(0,a).concat(c.slice(a+1)),0),{scroll:!1,origin:"*mouse"}),u=o.sel):Yi(o,a,s,K):(a=0,qi(o,new bi([s],0),K),u=o.sel);var f=r;function d(t){if(0!=tt(f,t))if(f=t,"rectangle"==n.unit){for(var i=[],l=e.options.tabSize,c=R(Xe(o,r.line).text,r.ch,l),h=R(Xe(o,t.line).text,t.ch,l),d=Math.min(c,h),p=Math.max(c,h),g=Math.min(r.line,t.line),v=Math.min(e.lastLine(),Math.max(r.line,t.line));g<=v;g++){var m=Xe(o,g).text,y=X(m,d,l);d==p?i.push(new wi(et(g,y),et(g,y))):m.length>y&&i.push(new wi(et(g,y),et(g,X(m,p,l))))}i.length||i.push(new wi(r,r)),qi(o,xi(e,u.ranges.slice(0,a).concat(i),a),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=s,x=pl(e,t,n.unit),C=w.anchor;tt(x.anchor,C)>0?(b=x.head,C=ot(w.from(),x.anchor)):(b=x.anchor,C=it(w.to(),x.head));var S=u.ranges.slice(0);S[a]=function(e,t){var r=t.anchor,n=t.head,i=Xe(e.doc,r.line);if(0==tt(r,n)&&r.sticky==n.sticky)return t;var o=ce(i);if(!o)return t;var l=ae(o,r.ch,r.sticky),s=o[l];if(s.from!=r.ch&&s.to!=r.ch)return t;var a,u=l+(s.from==r.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(n.line!=r.line)a=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=ae(o,n.ch,n.sticky),h=c-l||(n.ch-r.ch)*(1==s.level?-1:1);a=c==u-1||c==u?h<0:h>0}var f=o[u+(a?-1:0)],d=a==(1==f.level),p=d?f.from:f.to,g=d?"after":"before";return r.ch==p&&r.sticky==g?t:new wi(new et(r.line,p,g),n)}(e,new wi(st(o,C),b)),qi(o,xi(e,S,a),K)}}var p=i.wrapper.getBoundingClientRect(),g=0;function v(t){e.state.selectingText=!1,g=1/0,t&&(we(t),i.input.focus()),pe(i.wrapper.ownerDocument,"mousemove",m),pe(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var m=Zn(e,function(t){0!==t.buttons&&ke(t)?function t(r){var l=++g;var s=sn(e,r,!0,"rectangle"==n.unit);if(!s)return;if(0!=tt(s,f)){e.curOp.focus=W(),d(s);var a=Tn(i,o);(s.line>=a.to||s.line<a.from)&&setTimeout(Zn(e,function(){g==l&&t(r)}),150)}else{var u=r.clientY<p.top?-20:r.clientY>p.bottom?20:0;u&&setTimeout(Zn(e,function(){g==l&&(i.scroller.scrollTop+=u,t(r))}),50)}}(t):v(t)}),y=Zn(e,v);e.state.selectingText=y,fe(i.wrapper.ownerDocument,"mousemove",m),fe(i.wrapper.ownerDocument,"mouseup",y)}(e,n,t,o)}(t,n,o,e):Le(e)==r.scroller&&we(e):2==i?(n&&ji(t.doc,n),setTimeout(function(){return r.input.focus()},20)):3==i&&(S?t.display.input.onContextMenu(e):xn(t)))}}function pl(e,t,r){if("char"==r)return new wi(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new wi(et(t.line,0),st(e.doc,et(t.line+1,0)));var n=r(e,t);return new wi(n.from,n.to)}function gl(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(c){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&we(t);var l=e.display,s=l.lineDiv.getBoundingClientRect();if(o>s.bottom||!ye(e,r))return Ce(t);o-=s.top-l.viewOffset;for(var a=0;a<e.display.gutterSpecs.length;++a){var u=l.gutters.childNodes[a];if(u&&u.getBoundingClientRect().right>=i)return ge(e,r,e,Ze(e.doc,o),e.display.gutterSpecs[a].className,t),Ce(t)}}function vl(e,t){return gl(e,t,"gutterClick",!0)}function ml(e,t){xr(e.display,t)||function(e,t){if(!ye(e,"gutterContextMenu"))return!1;return gl(e,t,"gutterContextMenu",!1)}(e,t)||ve(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function yl(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zr(e)}fl.prototype.compare=function(e,t,r){return this.time+400>e&&0==tt(t,this.pos)&&r==this.button};var bl={toString:function(){return"CodeMirror.Init"}},wl={},xl={};function Cl(e,t,r){if(!t!=!(r&&r!=bl)){var n=e.display.dragFunctions,i=t?fe:pe;i(e.display.scroller,"dragstart",n.start),i(e.display.scroller,"dragenter",n.enter),i(e.display.scroller,"dragover",n.over),i(e.display.scroller,"dragleave",n.leave),i(e.display.scroller,"drop",n.drop)}}function Sl(e){e.options.lineWrapping?(H(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),jt(e)),ln(e),un(e),zr(e),setTimeout(function(){return zn(e)},100)}function Ll(e,t){var r=this;if(!(this instanceof Ll))return new Ll(e,t);this.options=t=t?I(t):{},I(wl,t,!1);var n=t.value;"string"==typeof n?n=new No(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new Ll.inputStyles[t.inputStyle](this),o=this.display=new di(e,n,i,t);for(var u in o.wrapper.CodeMirror=this,yl(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Un(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new z,keySeq:null,specialChars:null},t.autofocus&&!m&&o.input.focus(),l&&s<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function(e){var t=e.display;fe(t.scroller,"mousedown",Zn(e,dl)),fe(t.scroller,"dblclick",l&&s<11?Zn(e,function(t){if(!ve(e,t)){var r=sn(e,t);if(r&&!vl(e,t)&&!xr(e.display,t)){we(t);var n=e.findWordAt(r);ji(e.doc,n.anchor,n.head)}}}):function(t){return ve(e,t)||we(t)});fe(t.scroller,"contextmenu",function(t){return ml(e,t)}),fe(t.input.getField(),"contextmenu",function(r){t.scroller.contains(r.target)||ml(e,r)});var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout(function(){return t.activeTouch=null},1e3),(n=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400}fe(t.scroller,"touchstart",function(i){if(!ve(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!vl(e,i)){t.input.ensurePolled(),clearTimeout(r);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),fe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),fe(t.scroller,"touchend",function(r){var n=t.activeTouch;if(n&&!xr(t,r)&&null!=n.left&&!n.moved&&new Date-n.start<300){var l,s=e.coordsChar(t.activeTouch,"page");l=!n.prev||o(n,n.prev)?new wi(s,s):!n.prev.prev||o(n,n.prev.prev)?e.findWordAt(s):new wi(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(l.anchor,l.head),e.focus(),we(r)}i()}),fe(t.scroller,"touchcancel",i),fe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Hn(e,t.scroller.scrollTop),Pn(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e))}),fe(t.scroller,"mousewheel",function(t){return yi(e,t)}),fe(t.scroller,"DOMMouseScroll",function(t){return yi(e,t)}),fe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){ve(e,t)||Se(t)},over:function(t){ve(e,t)||(!function(e,t){var r=sn(e,t);if(r){var n=document.createDocumentFragment();vn(e,r,n),e.display.dragCursor||(e.display.dragCursor=O("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),N(e.display.dragCursor,n)}}(e,t),Se(t))},start:function(t){return function(e,t){if(l&&(!e.state.draggingText||+new Date-Oo<100))Se(t);else if(!ve(e,t)&&!xr(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var r=O("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),h&&r.parentNode.removeChild(r)}}(e,t)},drop:Zn(e,Ao),leave:function(t){ve(e,t)||Do(e)}};var a=t.input.getField();fe(a,"keyup",function(t){return al.call(e,t)}),fe(a,"keydown",Zn(e,sl)),fe(a,"keypress",Zn(e,ul)),fe(a,"focus",function(t){return Cn(e,t)}),fe(a,"blur",function(t){return Sn(e,t)})}(this),Fo(),Kn(this),this.curOp.forceUpdate=!0,Wi(this,n),t.autofocus&&!m||this.hasFocus()?setTimeout(function(){r.hasFocus()&&!r.state.focused&&Cn(r)},20):Sn(this),xl)xl.hasOwnProperty(u)&&xl[u](this,t[u],bl);ui(this),t.finishInit&&t.finishInit(this);for(var c=0;c<kl.length;++c)kl[c](this);jn(this),a&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}Ll.defaults=wl,Ll.optionHandlers=xl;var kl=[];function Tl(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=dt(e,t).state:r="prev");var l=e.options.tabSize,s=Xe(o,t),a=R(s.text,null,l);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&((u=o.mode.indent(i,s.text.slice(c.length),s.text))==U||u>150)){if(!n)return;r="prev"}}else u=0,r="not";"prev"==r?u=t>o.first?R(Xe(o,t-1).text,null,l):0:"add"==r?u=a+e.options.indentUnit:"subtract"==r?u=a-e.options.indentUnit:"number"==typeof r&&(u=a+r),u=Math.max(0,u);var h="",f=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/l);d;--d)f+=l,h+="\t";if(f<u&&(h+=_(u-f)),h!=c)return ho(o,h,et(t,0),et(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<c.length){var v=et(t,c.length);Yi(o,p,new wi(v,v));break}}}Ll.defineInitHook=function(e){return kl.push(e)};var Ml=null;function Nl(e){Ml=e}function Ol(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var l=+new Date-200,s="paste"==i||e.state.pasteIncoming>l,a=We(t),u=null;if(s&&n.ranges.length>1)if(Ml&&Ml.text.join("\n")==t){if(n.ranges.length%Ml.text.length==0){u=[];for(var c=0;c<Ml.text.length;c++)u.push(o.splitLines(Ml.text[c]))}}else a.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(u=q(a,function(e){return[e]}));for(var h=e.curOp.updateInput,f=n.ranges.length-1;f>=0;f--){var d=n.ranges[f],p=d.from(),g=d.to();d.empty()&&(r&&r>0?p=et(p.line,p.ch-r):e.state.overwrite&&!s?g=et(g.line,Math.min(Xe(o,g.line).text.length,g.ch+$(a).length)):s&&Ml&&Ml.lineWise&&Ml.text.join("\n")==a.join("\n")&&(p=g=et(p.line,0)));var v={from:p,to:g,text:u?u[f%u.length]:a,origin:i||(s?"paste":e.state.cutIncoming>l?"cut":"+input")};lo(e.doc,v),sr(e,"inputRead",e,v)}t&&!s&&Dl(e,t),On(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Al(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||qn(t,function(){return Ol(t,r,0,null,"paste")}),!0}function Dl(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),l=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){l=Tl(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Xe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(l=Tl(e,i.head.line,"smart"));l&&sr(e,"electricInput",e,i.head.line)}}}function Wl(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:et(i,0),head:et(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Hl(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function Fl(){var e=O("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=O("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return a?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Hl(e),t}function Pl(e,t,r,n,i){var o=t,l=r,s=Xe(e,t.line),a=i&&"rtl"==e.direction?-r:r;function u(o){var l,u;if("codepoint"==n){var c=s.text.charCodeAt(t.ch+(r>0?0:-1));if(isNaN(c))l=null;else{var h=r>0?c>=55296&&c<56320:c>=56320&&c<57343;l=new et(t.line,Math.max(0,Math.min(s.text.length,t.ch+r*(h?2:1))),-r)}}else l=i?function(e,t,r,n){var i=ce(t,e.doc.direction);if(!i)return qo(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ae(i,r.ch,r.sticky),l=i[o];if("ltr"==e.doc.direction&&l.level%2==0&&(n>0?l.to>r.ch:l.from<r.ch))return qo(t,r,n);var s,a=function(e,r){return $o(t,e instanceof et?e.ch:e,r)},u=function(r){return e.options.lineWrapping?(s=s||Dr(e,t),Zr(e,t,s,r)):{begin:0,end:t.text.length}},c=u("before"==r.sticky?a(r,-1):r.ch);if("rtl"==e.doc.direction||1==l.level){var h=1==l.level==n<0,f=a(r,h?1:-1);if(null!=f&&(h?f<=l.to&&f<=c.end:f>=l.from&&f>=c.begin)){var d=h?"before":"after";return new et(r.line,f,d)}}var p=function(e,t,n){for(var o=function(e,t){return t?new et(r.line,a(e,1),"before"):new et(r.line,e,"after")};e>=0&&e<i.length;e+=t){var l=i[e],s=t>0==(1!=l.level),u=s?n.begin:a(n.end,-1);if(l.from<=u&&u<l.to)return o(u,s);if(u=s?l.from:a(l.to,-1),n.begin<=u&&u<n.end)return o(u,s)}},g=p(o+n,n,c);if(g)return g;var v=n>0?c.end:a(c.begin,-1);return null==v||n>0&&v==t.text.length||!(g=p(n>0?0:i.length-1,n,u(v)))?null:g}(e.cm,s,t,r):qo(s,t,r);if(null==l){if(o||(u=t.line+a)<e.first||u>=e.first+e.size||(t=new et(u,t.ch,t.sticky),!(s=Xe(e,u))))return!1;t=Zo(i,e.cm,s,t.line,a)}else t=l;return!0}if("char"==n||"codepoint"==n)u();else if("column"==n)u(!0);else if("word"==n||"group"==n)for(var c=null,h="group"==n,f=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(r<0)||u(!d);d=!1){var p=s.text.charAt(t.ch)||"\n",g=te(p,f)?"w":h&&"\n"==p?"n":!h||/\s/.test(p)?null:"p";if(!h||d||g||(g="s"),c&&c!=g){r<0&&(r=1,u(),t.sticky="after");break}if(g&&(c=g),r>0&&!u(!d))break}var v=ro(e,t,o,l,!0);return rt(o,v)&&(v.hitSide=!0),v}function El(e,t,r,n){var i,o,l=e.doc,s=t.left;if("page"==n){var a=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(a-.5*en(e.display),3);i=(r>0?t.bottom:t.top)+r*u}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;(o=$r(e,s,i)).outside;){if(r<0?i<=0:i>=l.height){o.hitSide=!0;break}i+=5*r}return o}var Il=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new z,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Rl(e,t){var r=Ar(e,t.line);if(!r||r.hidden)return null;var n=Xe(e.doc,t.line),i=Nr(r,n,t.line),o=ce(n,e.doc.direction),l="left";o&&(l=ae(o,t.ch)%2?"right":"left");var s=Pr(i.map,t.ch,l);return s.offset="right"==s.collapse?s.end:s.start,s}function zl(e,t){return t&&(e.bad=!0),e}function Bl(e,t,r){var n;if(t==e.display.lineDiv){if(!(n=e.display.lineDiv.childNodes[r]))return zl(e.clipPos(et(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return Gl(o,t,r)}}function Gl(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!D(n,t))return zl(et(qe(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var o=e.rest?$(e.rest):e.line;return zl(et(qe(o),o.text.length),i)}var l=3==t.nodeType?t:null,s=t;for(l||1!=t.childNodes.length||3!=t.firstChild.nodeType||(l=t.firstChild,r&&(r=l.nodeValue.length));s.parentNode!=n;)s=s.parentNode;var a=e.measure,u=a.maps;function c(t,r,n){for(var i=-1;i<(u?u.length:0);i++)for(var o=i<0?a.map:u[i],l=0;l<o.length;l+=3){var s=o[l+2];if(s==t||s==r){var c=qe(i<0?e.line:e.rest[i]),h=o[l]+n;return(n<0||s!=t)&&(h=o[l+(n?1:0)]),et(c,h)}}}var h=c(l,s,r);if(h)return zl(h,i);for(var f=s.nextSibling,d=l?l.nodeValue.length-r:0;f;f=f.nextSibling){if(h=c(f,f.firstChild,0))return zl(et(h.line,h.ch-d),i);d+=f.textContent.length}for(var p=s.previousSibling,g=r;p;p=p.previousSibling){if(h=c(p,p.firstChild,-1))return zl(et(h.line,h.ch+g),i);g+=p.textContent.length}}Il.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function l(e){if(o(e)&&!ve(n,e)){if(n.somethingSelected())Nl({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=Wl(n);Nl({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation(function(){n.setSelections(t.ranges,0,V),n.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var l=Ml.text.join("\n");if(e.clipboardData.setData("Text",l),e.clipboardData.getData("Text")==l)return void e.preventDefault()}var s=Fl(),a=s.firstChild;n.display.lineSpace.insertBefore(s,n.display.lineSpace.firstChild),a.value=Ml.text.join("\n");var u=document.activeElement;P(a),setTimeout(function(){n.display.lineSpace.removeChild(s),u.focus(),u==i&&r.showPrimarySelection()},50)}}Hl(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),fe(i,"paste",function(e){!o(e)||ve(n,e)||Al(e,n)||s<=11&&setTimeout(Zn(n,function(){return t.updateFromDOM()}),20)}),fe(i,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),fe(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),fe(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),fe(i,"touchstart",function(){return r.forceCompositionEnd()}),fe(i,"input",function(){t.composing||t.readFromDOMSoon()}),fe(i,"copy",l),fe(i,"cut",l)},Il.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Il.prototype.prepareSelection=function(){var e=gn(this.cm,!1);return e.focus=document.activeElement==this.div,e},Il.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Il.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Il.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var l=Bl(t,e.anchorNode,e.anchorOffset),s=Bl(t,e.focusNode,e.focusOffset);if(!l||l.bad||!s||s.bad||0!=tt(ot(l,s),i)||0!=tt(it(l,s),o)){var a=t.display.view,u=i.line>=t.display.viewFrom&&Rl(t,i)||{node:a[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&Rl(t,o);if(!c){var h=a[a.length-1].measure,f=h.maps?h.maps[h.maps.length-1]:h.map;c={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(u&&c){var d,p=e.rangeCount&&e.getRangeAt(0);try{d=k(u.node,u.offset,c.offset,c.node)}catch(De){}d&&(!r&&t.state.focused?(e.collapse(u.node,u.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),p&&null==e.anchorNode?e.addRange(p):r&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Il.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Il.prototype.showMultipleSelections=function(e){N(this.cm.display.cursorDiv,e.cursors),N(this.cm.display.selectionDiv,e.selection)},Il.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Il.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return D(this.div,t)},Il.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Il.prototype.blur=function(){this.div.blur()},Il.prototype.getField=function(){return this.div},Il.prototype.supportsTouch=function(){return!0},Il.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():qn(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))})},Il.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Il.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&c&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=Bl(t,e.anchorNode,e.anchorOffset),n=Bl(t,e.focusNode,e.focusOffset);r&&n&&qn(t,function(){qi(t.doc,Ci(r,n),V),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}}},Il.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),l=o.from(),s=o.to();if(0==l.ch&&l.line>n.firstLine()&&(l=et(l.line-1,Xe(n.doc,l.line-1).length)),s.ch==Xe(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=et(s.line+1,0)),l.line<i.viewFrom||s.line>i.viewTo-1)return!1;l.line==i.viewFrom||0==(e=an(n,l.line))?(t=qe(i.view[0].line),r=i.view[0].node):(t=qe(i.view[e].line),r=i.view[e-1].node.nextSibling);var a,u,c=an(n,s.line);if(c==i.view.length-1?(a=i.viewTo-1,u=i.lineDiv.lastChild):(a=qe(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!r)return!1;for(var h=n.doc.splitLines(function(e,t,r,n,i){var o="",l=!1,s=e.doc.lineSeparator(),a=!1;function u(){l&&(o+=s,a&&(o+=s),l=a=!1)}function c(e){e&&(u(),o+=e)}function h(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void c(r);var o,f=t.getAttribute("cm-marker");if(f){var d=e.findMarks(et(n,0),et(i+1,0),(v=+f,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&c(Ye(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var p=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;p&&u();for(var g=0;g<t.childNodes.length;g++)h(t.childNodes[g]);/^(pre|p)$/i.test(t.nodeName)&&(a=!0),p&&(l=!0)}else 3==t.nodeType&&c(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var v}for(;h(t),t!=r;)t=t.nextSibling,a=!1;return o}(n,r,u,t,a)),f=Ye(n.doc,et(t,0),et(a,Xe(n.doc,a).text.length));h.length>1&&f.length>1;)if($(h)==$(f))h.pop(),f.pop(),a--;else{if(h[0]!=f[0])break;h.shift(),f.shift(),t++}for(var d=0,p=0,g=h[0],v=f[0],m=Math.min(g.length,v.length);d<m&&g.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=$(h),b=$(f),w=Math.min(y.length-(1==h.length?d:0),b.length-(1==f.length?d:0));p<w&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;if(1==h.length&&1==f.length&&t==l.line)for(;d&&d>l.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)d--,p++;h[h.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var x=et(t,d),C=et(a,f.length?$(f).length-p:0);return h.length>1||h[0]||tt(x,C)?(ho(n.doc,h,x,C,"+input"),!0):void 0},Il.prototype.ensurePolled=function(){this.forceCompositionEnd()},Il.prototype.reset=function(){this.forceCompositionEnd()},Il.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Il.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Il.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||qn(this.cm,function(){return un(e.cm)})},Il.prototype.setUneditable=function(e){e.contentEditable="false"},Il.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Zn(this.cm,Ol)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Il.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Il.prototype.onContextMenu=function(){},Il.prototype.resetPosition=function(){},Il.prototype.needsContentAttribute=!0;var Ul=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new z,this.hasSelection=!1,this.composing=null};Ul.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ve(n,e)){if(n.somethingSelected())Nl({lineWise:!1,text:n.getSelections()});else{if(!n.options.lineWiseCopyCut)return;var t=Wl(n);Nl({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,V):(r.prevInput="",i.value=t.text.join("\n"),P(i))}"cut"==e.type&&(n.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),fe(i,"input",function(){l&&s>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()}),fe(i,"paste",function(e){ve(n,e)||Al(e,n)||(n.state.pasteIncoming=+new Date,r.fastPoll())}),fe(i,"cut",o),fe(i,"copy",o),fe(e.scroller,"paste",function(t){if(!xr(e,t)&&!ve(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date,void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}}),fe(e.lineSpace,"selectstart",function(t){xr(e,t)||we(t)}),fe(i,"compositionstart",function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}}),fe(i,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Ul.prototype.createField=function(e){this.wrapper=Fl(),this.textarea=this.wrapper.firstChild},Ul.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ul.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=gn(e);if(e.options.moveInputWithCursor){var i=Xr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),l=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+l.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+l.left-o.left))}return n},Ul.prototype.showSelection=function(e){var t=this.cm.display;N(t.cursorDiv,e.cursors),N(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ul.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&P(this.textarea),l&&s>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",l&&s>=9&&(this.hasSelection=null))}},Ul.prototype.getField=function(){return this.textarea},Ul.prototype.supportsTouch=function(){return!1},Ul.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||W()!=this.textarea))try{this.textarea.focus()}catch(De){}},Ul.prototype.blur=function(){this.textarea.blur()},Ul.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ul.prototype.receivedFocus=function(){this.slowPoll()},Ul.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ul.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function r(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r))})},Ul.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||He(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(l&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,u=Math.min(n.length,i.length);a<u&&n.charCodeAt(a)==i.charCodeAt(a);)++a;return qn(t,function(){Ol(t,i.slice(a),n.length-a,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ul.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ul.prototype.onKeyPress=function(){l&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ul.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=sn(r,e),u=n.scroller.scrollTop;if(o&&!h){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(o)&&Zn(r,qi)(r.doc,Ci(o),V);var c,f=i.style.cssText,d=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(l?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",a&&(c=window.scrollY),n.input.focus(),a&&window.scrollTo(null,c),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=m,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),l&&s>=9&&v(),S){Se(e);var g=function(){pe(window,"mouseup",g),setTimeout(m,20)};fe(window,"mouseup",g)}else setTimeout(m,50)}function v(){if(null!=i.selectionStart){var e=r.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,n.selForContextMenu=r.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=f,l&&s<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=u),null!=i.selectionStart)){(!l||l&&s<9)&&v();var e=0,o=function(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?Zn(r,io)(r):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(o,200)}}},Ul.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},Ul.prototype.setUneditable=function(){},Ul.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function r(r,n,i,o){e.defaults[r]=n,i&&(t[r]=o?function(e,t,r){r!=bl&&i(e,t,r)}:i)}e.defineOption=r,e.Init=bl,r("value","",function(e,t){return e.setValue(t)},!0),r("mode",null,function(e,t){e.doc.modeOption=t,Mi(e)},!0),r("indentUnit",2,Mi,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,function(e){Ni(e),zr(e),un(e)},!0),r("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,r.push(et(n,o))}n++});for(var i=r.length-1;i>=0;i--)ho(e.doc,t,r[i],et(r[i].line,r[i].ch+t.length))}}),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=bl&&e.refresh()}),r("specialCharPlaceholder",Qt,function(e){return e.refresh()},!0),r("electricChars",!0),r("inputStyle",m?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),r("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),r("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),r("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),r("rtlMoveVisually",!w),r("wholeLineUpdateBefore",!0),r("theme","default",function(e){yl(e),fi(e)},!0),r("keyMap","default",function(e,t,r){var n=Yo(t),i=r!=bl&&Yo(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)}),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Sl,!0),r("gutters",[],function(e,t){e.display.gutterSpecs=ci(t,e.options.lineNumbers),fi(e)},!0),r("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?nn(e.display)+"px":"0",e.refresh()},!0),r("coverGutterNextToScrollbar",!1,function(e){return zn(e)},!0),r("scrollbarStyle","native",function(e){Un(e),zn(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),r("lineNumbers",!1,function(e,t){e.display.gutterSpecs=ci(e.options.gutters,t),fi(e)},!0),r("firstLineNumber",1,fi,!0),r("lineNumberFormatter",function(e){return e},fi,!0),r("showCursorWhenSelecting",!1,pn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,function(e,t){"nocursor"==t&&(Sn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),r("screenReaderLabel",null,function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)}),r("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),r("dragDrop",!0,Cl),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,pn,!0),r("singleCursorHeightPerLine",!0,pn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,Ni,!0),r("addModeClass",!1,Ni,!0),r("pollInterval",100),r("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),r("historyEventDelay",1250),r("viewportMargin",10,function(e){return e.refresh()},!0),r("maxHighlightLength",1e4,Ni,!0),r("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),r("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),r("autofocus",null),r("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),r("phrases",null)}(Ll),function(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&Zn(this,t[e])(this,r,i),ge(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Yo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:Qn(function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");!function(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;)n++;e.splice(n,0,t)}(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},function(e){return e.priority}),this.state.modeGen++,un(this)}),removeOverlay:Qn(function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void un(this)}}),indentLine:Qn(function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Qe(this.doc,e)&&Tl(this,e,t,r)}),indentSelection:Qn(function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n];if(i.empty())i.head.line>r&&(Tl(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&On(this));else{var o=i.from(),l=i.to(),s=Math.max(r,o.line);r=Math.min(this.lastLine(),l.line-(l.ch?0:1))+1;for(var a=s;a<r;++a)Tl(this,a,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[n].from().ch>0&&Yi(this.doc,n,new wi(o,u[n].to()),V)}}}),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,r=ft(this,Xe(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var l=n+i>>1;if((l?r[2*l-1]:0)>=o)i=l;else{if(!(r[2*l+1]<o)){t=r[2*l+2];break}n=l+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!r.hasOwnProperty(t))return n;var i=r[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&n.push(i[o[t]]);else if(o[t])for(var l=0;l<o[t].length;l++){var s=i[o[t][l]];s&&n.push(s)}else o.helperType&&i[o.helperType]?n.push(i[o.helperType]):i[o.name]&&n.push(i[o.name]);for(var a=0;a<i._global.length;a++){var u=i._global[a];u.pred(o,this)&&-1==B(n,u.val)&&n.push(u.val)}return n},getStateAfter:function(e,t){var r=this.doc;return dt(this,(e=lt(r,null==e?r.first+r.size-1:e))+1,t).state},cursorCoords:function(e,t){var r=this.doc.sel.primary();return Xr(this,null==e?r.head:"object"==typeof e?st(this.doc,e):e?r.from():r.to(),t||"page")},charCoords:function(e,t){return jr(this,st(this.doc,e),t||"page")},coordsChar:function(e,t){return $r(this,(e=Kr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Kr(this,{top:e,left:0},t||"page").top,Ze(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=Xe(this.doc,e)}else n=e;return Vr(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-Vt(n):0)},defaultTextHeight:function(){return en(this.display)},defaultCharWidth:function(){return tn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o,l,s,a=this.display,u=(e=Xr(this,st(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==n)u=e.top;else if("above"==n||"near"==n){var h=Math.max(a.wrapper.clientHeight,this.doc.height),f=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>h)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=h&&(u=e.bottom),c+t.offsetWidth>f&&(c=f-t.offsetWidth)}t.style.top=u+"px",t.style.left=t.style.right="","right"==i?(c=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?c=0:"middle"==i&&(c=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),r&&(o=this,l={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(s=Mn(o,l)).scrollTop&&Hn(o,s.scrollTop),null!=s.scrollLeft&&Pn(o,s.scrollLeft))},triggerOnKeyDown:Qn(sl),triggerOnKeyPress:Qn(ul),triggerOnKeyUp:al,triggerOnMouseDown:Qn(dl),execCommand:function(e){if(Qo.hasOwnProperty(e))return Qo[e].call(null,this)},triggerElectric:Qn(function(e){Dl(this,e)}),findPosH:function(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),l=0;l<t&&!(o=Pl(this.doc,o,i,r,n)).hitSide;++l);return o},moveH:Qn(function(e,t){var r=this;this.extendSelectionsBy(function(n){return r.display.shift||r.doc.extend||n.empty()?Pl(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to()},j)}),deleteH:Qn(function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):_o(this,function(r){var i=Pl(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i}})}),findPosV:function(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var l=st(this.doc,e),s=0;s<t;++s){var a=Xr(this,l,"div");if(null==o?o=a.left:a.left=o,(l=El(this,a,i,r)).hitSide)break}return l},moveV:Qn(function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy(function(l){if(o)return e<0?l.from():l.to();var s=Xr(r,l.head,"div");null!=l.goalColumn&&(s.left=l.goalColumn),i.push(s.left);var a=El(r,s,e,t);return"page"==t&&l==n.sel.primary()&&Nn(r,jr(r,a,"div").top-s.top),a},j),i.length)for(var l=0;l<n.sel.ranges.length;l++)n.sel.ranges[l].goalColumn=i[l]}),findWordAt:function(e){var t=Xe(this.doc,e.line).text,r=e.ch,n=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&n!=t.length||!r?++n:--r;for(var o=t.charAt(r),l=te(o,i)?function(e){return te(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!te(e)};r>0&&l(t.charAt(r-1));)--r;for(;n<t.length&&l(t.charAt(n));)++n}return new wi(et(e.line,r),et(e.line,n))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?H(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==W()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Qn(function(e,t){An(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-kr(this)-this.display.barHeight,width:e.scrollWidth-kr(this)-this.display.barWidth,clientHeight:Mr(this),clientWidth:Tr(this)}},scrollIntoView:Qn(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Dn(e),e.curOp.scrollToPos=t}(this,e):Wn(this,e.from,e.to,e.margin)}),setSize:Qn(function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&Rr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){cn(r,i,"widget");break}++i}),this.curOp.forceUpdate=!0,ge(this,"refresh",this)}),operation:function(e){return qn(this,e)},startOperation:function(){return Kn(this)},endOperation:function(){return jn(this)},refresh:Qn(function(){var e=this.display.cachedTextHeight;un(this),this.curOp.forceUpdate=!0,zr(this),An(this,this.doc.scrollLeft,this.doc.scrollTop),li(this.display),(null==e||Math.abs(e-en(this.display))>.5||this.options.lineWrapping)&&ln(this),ge(this,"refresh",this)}),swapDoc:Qn(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Wi(this,e),zr(this),this.display.input.reset(),An(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sr(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},be(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o})}}(Ll);var Vl="iter insert remove copy getEditor constructor".split(" ");for(var Kl in No.prototype)No.prototype.hasOwnProperty(Kl)&&B(Vl,Kl)<0&&(Ll.prototype[Kl]=function(e){return function(){return e.apply(this.doc,arguments)}}(No.prototype[Kl]));return be(No),Ll.inputStyles={textarea:Ul,contenteditable:Il},Ll.defineMode=function(e){Ll.defaults.mode||"null"==e||(Ll.defaults.mode=e),function(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ee[e]=t}.apply(this,arguments)},Ll.defineMIME=function(e,t){Ie[e]=t},Ll.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ll.defineMIME("text/plain","null"),Ll.defineExtension=function(e,t){Ll.prototype[e]=t},Ll.defineDocExtension=function(e,t){No.prototype[e]=t},Ll.fromTextArea=function(e,t){if((t=t?I(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=W();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}function n(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var l=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=l}}catch(De){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(pe(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Ll(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s},function(e){e.off=pe,e.on=fe,e.wheelEventPixels=mi,e.Doc=No,e.splitLines=We,e.countColumn=R,e.findColumn=X,e.isWordChar=ee,e.Pass=U,e.signal=ge,e.Line=Xt,e.changeEnd=Si,e.scrollbarModel=Gn,e.Pos=et,e.cmpPos=tt,e.modes=Ee,e.mimeModes=Ie,e.resolveMode=Re,e.getMode=ze,e.modeExtensions=Be,e.extendMode=Ge,e.copyState=Ue,e.startState=Ke,e.innerMode=Ve,e.commands=Qo,e.keyMap=Bo,e.keyName=Xo,e.isModifierKey=Ko,e.lookupKey=Vo,e.normalizeKeyMap=Uo,e.StringStream=je,e.SharedTextMarker=Lo,e.TextMarker=Co,e.LineWidget=bo,e.e_preventDefault=we,e.e_stopPropagation=xe,e.e_stop=Se,e.addClass=H,e.contains=D,e.rmClass=T,e.keyNames=Eo}(Ll),Ll.version="5.59.4",Ll});
|
@@ -81,43 +97,53 @@ var e;!function(t){"object"==typeof exports&&"object"==typeof module?t(require("
|
|
81 |
|
82 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"wptb-menu-empty-cover"},[this._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
83 |
},{}],"JwAF":[function(require,module,exports) {
|
84 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=
|
85 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"mainWrapper",staticClass:"wptb-css-code-input"},[this.disabled?t("empty-cover",[this._t("disabled")],2):this._e()],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
86 |
-
},{"codemirror":"L7e6","codemirror/lib/codemirror.css":"S5Yr","codemirror/addon/selection/active-line":"X3fE","codemirror/mode/css/css":"Da5z","./EmptyCover":"BOOO"}],"b8SN":[function(require,module,exports) {
|
87 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("vue-fragment"),t=i(require("../MenuContent")),n=i(require("./FooterButtons")),o=i(require("../MenuButton")),s=i(require("../CssCodeInput")),r=i(require("../../mixins/SettingsMenuSection")),a=i(require("../../mixins/withMessage")),u=i(require("../BusyRotate"));function i(e){return e&&e.__esModule?e:{default:e}}var d={mixins:[r.default,a.default],components:{BusyRotate:u.default,CssCodeInput:s.default,MenuButton:o.default,FooterButtons:n.default,MenuContent:t.default,Fragment:e.Fragment},data:function(){return{code:"",cachedCode:""}},beforeMount:function(){this.code=this.sectionData.savedStyles,this.updateCachedCode()},computed:{isCodeChanged:function(){return this.code!==this.cachedCode},buttonDisabledState:function(){return!this.isCodeChanged||this.isBusy()}},methods:{updateCachedCode:function(){this.cachedCode=this.code},resetCodeToCached:function(){this.code=this.cachedCode},sendSavedStyles:function(){var e=this;this.setBusy(!0);var t=this.sectionData.security,n=t.ajaxUrl,o=t.nonce,s=t.action,r=new FormData;r.append("action",s),r.append("nonce",o),r.append("styles",this.code),fetch(n,{method:"POST",body:r}).then(function(e){if(e.ok)return e.json();throw new Error("An error occurred while saving CSS code: ".concat(e.statusText))}).then(function(t){if(t.error)throw new Error("An error occurred while saving CSS code: ".concat(t.error));e.setMessage({message:t.message}),e.updateCachedCode()}).catch(function(t){e.setMessage({type:"error",message:t.message})}).finally(function(){e.setBusy(!1)})}}};exports.default=d;
|
88 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("fragment",[s("menu-content",{attrs:{center:!0}},[s("div",{staticClass:"wptb-general-style-settings"},[s("div",[s("div",{staticClass:"wptb-general-style-header"},[e._v(e._s(e.strings.headerText))])]),e._v(" "),s("div",{staticClass:"wptb-general-css-code-input"},[s("css-code-input",{attrs:{disabled:e.isBusy()},scopedSlots:e._u([{key:"disabled",fn:function(){return[s("busy-rotate")]},proxy:!0}]),model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1)])]),e._v(" "),s("footer-buttons",[s("menu-button",{attrs:{disabled:e.buttonDisabledState,type:"danger"},on:{click:e.resetCodeToCached}},[e._v(e._s(e.strings.revert)+" ")]),e._v(" "),s("menu-button",{attrs:{disabled:e.buttonDisabledState},on:{click:e.sendSavedStyles}},[e._v(e._s(e.strings.submit))])],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
89 |
},{"vue-fragment":"CDb8","../MenuContent":"vTRD","./FooterButtons":"jkrZ","../MenuButton":"ksMR","../CssCodeInput":"JwAF","../../mixins/SettingsMenuSection":"qeqP","../../mixins/withMessage":"wm3G","../BusyRotate":"SbnK"}],"xMlw":[function(require,module,exports) {
|
90 |
"use strict";var r=function(r){return e(r)&&!t(r)};function e(r){return!!r&&"object"==typeof r}function t(r){var e=Object.prototype.toString.call(r);return"[object RegExp]"===e||"[object Date]"===e||c(r)}var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103;function c(r){return r.$$typeof===o}function u(r){return Array.isArray(r)?[]:{}}function a(r,e){return!1!==e.clone&&e.isMergeableObject(r)?g(u(r),r,e):r}function i(r,e,t){return r.concat(e).map(function(r){return a(r,t)})}function f(r,e){if(!e.customMerge)return g;var t=e.customMerge(r);return"function"==typeof t?t:g}function y(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return r.propertyIsEnumerable(e)}):[]}function b(r){return Object.keys(r).concat(y(r))}function l(r,e){try{return e in r}catch(t){return!1}}function s(r,e){return l(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function p(r,e,t){var n={};return t.isMergeableObject(r)&&b(r).forEach(function(e){n[e]=a(r[e],t)}),b(e).forEach(function(o){s(r,o)||(l(r,o)&&t.isMergeableObject(e[o])?n[o]=f(o,t)(r[o],e[o],t):n[o]=a(e[o],t))}),n}function g(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||i,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=a;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):p(e,t,n):a(t,n)}g.all=function(r,e){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(r,t){return g(r,t,e)},{})};var O=g;module.exports=O;
|
91 |
-
},{}],"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
var global = arguments[3];
|
93 |
-
var
|
94 |
-
},{}],"ATQh":[function(require,module,exports) {
|
95 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={props:{click:{type:Function,default:function(){console.log("Material button clicked")}},size:{type:String,default:"fit-content"},disabled:{type:Boolean,default:!1}},computed:{buttonClass:function(){return["wptb-plugin-button-material-".concat(this.size)]}},methods:{handleClick:function(){this.disabled||this.click()}}};exports.default=t;
|
96 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wptb-plugin-button-material",class:t.buttonClass,attrs:{disabled:t.disabled},on:{click:function(e){return e.preventDefault(),t.handleClick(e)}}},[t._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
97 |
},{}],"YDlH":[function(require,module,exports) {
|
98 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{gridArea:{type:String,required:!0},visibility:{type:Boolean,default:!0}},computed:{style:function(){return{gridArea:this.gridArea}}}};exports.default=e;
|
99 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement,e=this._self._c||t;return this.visibility?e("div",{staticClass:"wptb-lazy-load-pro-disabled-overlay",style:this.style},[this._t("default")],2):this._e()},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
100 |
},{}],"vlDi":[function(require,module,exports) {
|
101 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=
|
102 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wptb-flex wptb-flex-align-center wptb-flex-justify-center wptb-lazy-load-preview-container"},[a("div",{staticClass:"wptb-lazy-load-preview-header"},[t._v(t._s(t.strings.preview))]),t._v(" "),a("lazy-load-pro-disabled-overlay",{attrs:{"grid-area":"preview",visibility:!t.sectionData.proStatus||!t.settings.enabled}}),t._v(" "),a("div",{ref:"previewContainer",staticClass:"wptb-lazy-load-preview wptb-preview-table"}),t._v(" "),a("div",{staticClass:"wptb-flex wptb-flex-align-center wptb-flex-justify-center wptb-lazy-load-preview-button-container"},[a("material-button",{attrs:{disabled:t.resetButtonStatus,click:t.reloadPreview}},[t._v("Reset")]),t._v(" "),a("material-button",{attrs:{disabled:t.loadButtonStatus,click:t.loadImages}},[t._v("Load Image")])],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
103 |
-
},{"$FrontEndOnly/WPTB_LazyLoad":"izJK","$Components/MaterialButton":"ATQh","$Mixins/SettingsMenuSection":"qeqP","./LazyLoadProDisabledOverlay":"YDlH"}],"rG9F":[function(require,module,exports) {
|
104 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={name:"SectionGroupCollapse",props:{sectionId:{type:String,default:"sectionGroupCollapse"},label:{type:String,default:"Section group collapse"},startCollapsed:{types:Boolean,default:!0}},mounted:function(){var e=this;this.$nextTick(function(){e.startCollapsed&&e.handleToggle()})},methods:{handleToggle:function(){var e=jQuery;this.$refs.toggleWrapper.classList.toggle("wptb-panel-toggle-content"),e(this.$refs.toggleTarget).slideToggle()}}};exports.default=e;
|
105 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"toggleWrapper",staticClass:"wptb-panel-toggle-group",attrs:{id:t.sectionId}},[a("div",{staticClass:"wptb-panel-toggle",on:{click:function(e){return e.preventDefault(),t.handleToggle(e)}}},[a("div",{staticClass:"header"},[t._v(t._s(t.label))]),t._v(" "),a("span",{staticClass:"dashicons toggle-icon",on:{"!click":function(e){return e.preventDefault(),e.stopPropagation(),t.handleToggle(e)}}})]),t._v(" "),a("div",{ref:"toggleTarget",staticClass:"wptb-panel-section-toggle-target"},[t._t("default")],2)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
106 |
},{}],"vpWQ":[function(require,module,exports) {
|
107 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{label:String,value:{type:null},disabled:{type:Boolean,default:!1},dependsValue:{type:null,default:null},dependsCallback:{type:Function,default:function(e,n){return n}}},data:function(){return{innerValue:""}},model:{prop:"value",event:"valueChanged"},watch:{value:function(e){this.innerValue=e},innerValue:function(e){this.$emit("valueChanged",e)},dependsValue:function(e){null!==e&&(this.innerValue=this.dependsCallback.call(this,e,this.innerValue))}},mounted:function(){this.innerValue=this.value},methods:{setInnerValue:function(e){this.innerValue=e}}},n=e;exports.default=n;
|
108 |
},{}],"B40R":[function(require,module,exports) {
|
109 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{label:{type:String,default:"panel control label"},disabled:{type:Boolean,default:!1}}};exports.default=e;
|
110 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",t._b({staticClass:"wptb-element-option wptb-element-property wptb-plugin-width-full wptb-settings-items",attrs:{"data-wptb-disabled":t.disabled}},"div",t.$attrs,!1),[s("div",{staticClass:"wptb-settings-middle-xs wptb-settings-row"},[s("div",{staticClass:"wptb-settings-space-between"},[s("p",{staticClass:"wptb-settings-item-title wptb-text-transform-cap",attrs:{"data-wptb-text-disabled":t.disabled}},[t._v(" "+t._s(t.label)+" ")]),t._v(" "),s("div",[t._t("default")],2)])])])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
|
|
|
|
111 |
},{}],"fI53":[function(require,module,exports) {
|
112 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=
|
113 |
-
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel2-column-template",{attrs:{disabled:e.disabled,label:e.label}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.innerValue,expression:"innerValue"}],attrs:{disabled:e.disabled},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.innerValue=t.target.multiple?n:n[0]}}},e._l(e.options,function(t,l){return n("option",{key:l,domProps:{value:l}},[e._v(e._s(e._f("cap")(t)))])}),0)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
114 |
-
},{"$Mixins/PanelControlBase":"vpWQ","$LeftPanel/Panel2ColumnTemplate":"B40R"}],"GUbL":[function(require,module,exports) {
|
115 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={props:{direction:{type:String,required:!0},activeDirection:{type:String,required:!0}},data:function(){return{icon:""}},mounted:function(){var t=this;this.$nextTick(function(){WPTB_IconManager.getIcon("caret-".concat(t.direction),null,!0).then(function(e){t.icon=e})})},computed:{active:function(){return this.direction===this.activeDirection}}};exports.default=t;
|
116 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wptb-panel-direction-cadet",attrs:{"data-wptb-panel-direction":t.direction,"data-wptb-active-direction":t.active},domProps:{innerHTML:t._s(t.icon)},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.$emit("directionClick",t.direction)}}})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
117 |
},{}],"s7uX":[function(require,module,exports) {
|
118 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("$Mixins/PanelControlBase")),
|
119 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("panel2-column-template",{attrs:{disabled:t.disabled,label:t.label}},[i("div",{staticClass:"wptb-panel-direction-control-indicators-container"},[i("div",{staticClass:"wptb-panel-direction-static"}),t._v(" "),t._l(t.directions,function(e){return i("panel-direction-cadet",{key:e,attrs:{"active-direction":t.value,direction:e},on:{directionClick:function(i){return t.updateDirection(e)}}})})],2)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
120 |
-
},{"$Mixins/PanelControlBase":"vpWQ","$LeftPanel/Panel2ColumnTemplate":"B40R","$LeftPanel/PanelDirectionCadet":"GUbL"}],"h0P7":[function(require,module,exports) {
|
121 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={inheritAttrs:!1,props:{postFix:{type:String,default:""},value:{type:null,default:0},enableDynamicWidth:{type:Boolean,default:!1},dynamicWidthPadding:{type:Number,default:3},onlyEnter:{type:Boolean,default:!1},min:{type:Number,default:0},max:{type:Number,default:1e3},step:{type:Number,default:1},enableLimit:{type:Boolean,default:!1}},model:{prop:"value",event:"valueChanged"},watch:{value:function(t){this.innerValue=t}},data:function(){return{innerValue:0}},mounted:function(){this.innerValue=this.value},computed:{postFixIt:function(){return"".concat(this.innerValue).concat(this.postFix)},dynamicWidth:function(){return this.enableDynamicWidth?{width:"calc(".concat(this.innerValue.toString().length+this.postFix.length+this.dynamicWidthPadding,"ch) !important")}:{}}},methods:{getValue:function(t){var e=Number.parseFloat(t),i=new RegExp(/^([0-9]+)\.([0-9]+)/,"g").exec(this.step.toString());if(i){var n=i[2].length;e=Number.parseFloat(e.toFixed(n))}return e=isNaN(e)?0:e,this.enableLimit?this.limitValue(e):e},limitValue:function(t){return t<this.min?this.min:t>this.max?this.max:t},handleOnInput:function(t){this.onlyEnter||this.$emit("valueChanged",this.getValue(t.target.value))},handleEnterInput:function(t){this.onlyEnter&&this.$emit("valueChanged",this.getValue(t.target.value))},handleKeyPress:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"up",e=this.getValue(this.innerValue);switch(t){case"up":e+=this.step;break;case"down":e-=this.step;break;default:e+=this.step}e=this.getValue(e),this.$emit("valueChanged",e)}}};exports.default=t;
|
122 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{style:e.dynamicWidth,attrs:{"data-wptb-text-disabled":e.$attrs.disabled,type:"text",disabled:e.$attrs.disabled},domProps:{value:e.postFixIt},on:{input:e.handleOnInput,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.handleKeyPress("up"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.handleKeyPress("down"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.handleEnterInput(t))}]}})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
123 |
},{}],"uI4V":[function(require,module,exports) {
|
@@ -138,9 +164,9 @@ var e,t=arguments[3];!function(t,n){"object"==typeof exports&&"object"==typeof m
|
|
138 |
|
139 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(t,e){return(0,e._c)("transition",{attrs:{name:"wptb-fade",appear:""}},[e._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:!0});})();
|
140 |
},{}],"IDU1":[function(require,module,exports) {
|
141 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("$LeftPanel/SectionGroupCollapse")),t=u(require("$Components/PanelDropdownControl")),
|
142 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("section-group-collapse",{attrs:{"start-collapsed":!1,label:e.strings.imageLoadOptions}},[t("panel-dropdown-control",{attrs:{label:e.strings.animation,options:e.settings.imageLoadAnimationOptions,disabled:e.generalDisabledStatus},model:{value:e.settings.imageLoadAnimation,callback:function(i){e.$set(e.settings,"imageLoadAnimation",i)},expression:"settings.imageLoadAnimation"}}),e._v(" "),t("settings-transition",["flash"===e.settings.imageLoadAnimation?t("color-picker",{attrs:{disabled:e.generalDisabledStatus,label:e.strings.color},model:{value:e.settings.flashColor,callback:function(i){e.$set(e.settings,"flashColor",i)},expression:"settings.flashColor"}}):e._e()],1),e._v(" "),t("settings-transition",[e.directionEnabledAnimations.includes(e.settings.imageLoadAnimation)?t("panel-direction-control",{attrs:{disabled:e.generalDisabledStatus,label:e.strings.direction,"enabled-axis":e.axisControlForAnimations},model:{value:e.settings.imageLoadAnimationDirection,callback:function(i){e.$set(e.settings,"imageLoadAnimationDirection",i)},expression:"settings.imageLoadAnimationDirection"}}):e._e()],1),e._v(" "),t("settings-transition",["flip"===e.settings.imageLoadAnimation?t("range-input",{attrs:{clamp:!0,min:1,max:1e3,label:e.strings.perspective,"post-fix":"px",disabled:e.generalDisabledStatus||"none"===e.settings.imageLoadAnimation},model:{value:e.settings.imageLoadAnimationPerspective,callback:function(i){e.$set(e.settings,"imageLoadAnimationPerspective",i)},expression:"settings.imageLoadAnimationPerspective"}}):e._e()],1),e._v(" "),t("range-input",{attrs:{clamp:!0,min:1,max:10,label:e.strings.speed,disabled:e.generalDisabledStatus||"none"===e.settings.imageLoadAnimation},model:{value:e.settings.imageLoadAnimationSpeed,callback:function(i){e.$set(e.settings,"imageLoadAnimationSpeed",i)},expression:"settings.imageLoadAnimationSpeed"}})],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
143 |
-
},{"$LeftPanel/SectionGroupCollapse":"rG9F","$Components/PanelDropdownControl":"fI53","$LeftPanel/PanelDirectionControl":"s7uX","$Components/RangeInput":"uI4V","$Mixins/SectionGroup":"GhIH","$Components/ColorPicker":"z3gf","$Settings/SettingsTransition":"bvsQ"}],"dqcw":[function(require,module,exports) {
|
144 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{position:{type:String,default:"topRight"},message:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{getMessage:function(){return this.disabled?"":this.message}}};exports.default=e;
|
145 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"wptb-plugin-box-shadow-md wptb-tip-popup",attrs:{"data-tip-position":this.position,title:this.getMessage}},[this._v("?")])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
146 |
},{}],"AUrc":[function(require,module,exports) {
|
@@ -174,12 +200,10 @@ var e,t=arguments[3];!function(t,n){"object"==typeof exports&&"object"==typeof m
|
|
174 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("vue-fragment"),e=f(require("deepmerge")),i=f(require("$Components/MenuContent")),n=f(require("$Mixins/SettingsMenuSection")),s=f(require("$Components/Settings/FooterButtons")),a=f(require("$Components/MenuButton")),o=f(require("$Mixins/withMessage")),r=f(require("$LazyLoadSettings/LazyLoadPreview")),u=f(require("$LazyLoadSettings/LazyLoadProOptions")),d=f(require("$LazyLoadSettings/LazyLoadBasicOptions")),g=f(require("$Settings/Disclaimer")),l=f(require("$Settings/CollapsedVisibility"));function f(t){return t&&t.__esModule?t:{default:t}}var c={components:{CollapsedVisibility:l.default,Disclaimer:g.default,LazyLoadBasicOptions:d.default,LazyLoadProOptions:u.default,LazyLoadPreview:r.default,MenuButton:a.default,FooterButtons:s.default,MenuContent:i.default,Fragment:t.Fragment},mixins:[n.default,o.default],mounted:function(){this.settings=(0,e.default)({},this.sectionData.settings),this.settings.iconName.url=WPTB_IconManager.getIconUrl(this.settings.iconName.name),this.updateInitialSettings()},data:function(){return{settings:{},initialSettings:{}}},computed:{settingsDirtyStatus:function(){return JSON.stringify(this.settings)!==JSON.stringify(this.initialSettings)}},methods:{revertLazyLoadSettings:function(){this.$set(this,"settings",(0,e.default)({},this.initialSettings)),this.$set(this.templateData,"settings",(0,e.default)({},this.initialSettings))},updateInitialSettings:function(){this.initialSettings=(0,e.default)({},this.settings)},updateLazyLoadSettings:function(){var t=this;if(this.settingsDirtyStatus){var i=this.sectionData.security,n=i.action,s=i.nonce,a=i.ajaxUrl,o=new FormData,r=(0,e.default)({},this.settings);r.iconSvg=null,o.append("settings",JSON.stringify(r)),o.append("action",n),o.append("nonce",s),this.setBusy(!0),fetch(a,{method:"POST",body:o}).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)}).then(function(e){t.setMessage({message:e.message}),t.updateInitialSettings()}).catch(function(e){t.setMessage({message:e.message,type:"error"})}).finally(function(){t.setBusy(!1)})}}}};exports.default=c;
|
175 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("fragment",[s("menu-content",{attrs:{center:!0}},[s("div",{staticClass:"wptb-lazy-load-wrapper"},[s("div",{staticClass:"wptb-lazy-load-left-column"},[s("lazy-load-basic-options",{attrs:{"template-data":t.templateData,settings:t.settings}}),t._v(" "),s("lazy-load-preview",{attrs:{"template-data":t.templateData,"default-html":t.sectionData.previewTable,settings:t.settings}}),t._v(" "),s("collapsed-visibility",{attrs:{visible:t.settings.enabled}},[s("disclaimer",{attrs:{title:t.strings.important,message:t.strings.importantMessage}})],1)],1),t._v(" "),s("lazy-load-pro-options",{attrs:{settings:t.settings,"template-data":t.templateData}})],1)]),t._v(" "),s("footer-buttons",[s("menu-button",{attrs:{type:"danger",disabled:!t.settingsDirtyStatus},on:{click:t.revertLazyLoadSettings}},[t._v(t._s(t.strings.revert)+" ")]),t._v(" "),s("menu-button",{attrs:{disabled:!t.settingsDirtyStatus},on:{click:t.updateLazyLoadSettings}},[t._v(t._s(t.strings.submit)+" ")])],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
176 |
},{"vue-fragment":"CDb8","deepmerge":"xMlw","$Components/MenuContent":"vTRD","$Mixins/SettingsMenuSection":"qeqP","$Components/Settings/FooterButtons":"jkrZ","$Components/MenuButton":"ksMR","$Mixins/withMessage":"wm3G","$LazyLoadSettings/LazyLoadPreview":"vlDi","$LazyLoadSettings/LazyLoadProOptions":"j8St","$LazyLoadSettings/LazyLoadBasicOptions":"QK2a","$Settings/Disclaimer":"ZYQN","$Settings/CollapsedVisibility":"oUAl"}],"pZ9N":[function(require,module,exports) {
|
177 |
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=
|
178 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wptb-settings-wrapper"},[n("menu-header",{attrs:{"logo-src":t.pluginInfo.logo,"logo-alt":t.strings.logoAlt,"plugin-name":t.pluginInfo.pluginName}},[n("a",{attrs:{href:t.pluginInfo.pluginHomepage}},[t._v(t._s(t.strings.homepage))])]),t._v(" "),n("sections",{attrs:{items:t.sections,disabled:t.isBusy()},model:{value:t.currentSection,callback:function(e){t.currentSection=e},expression:"currentSection"}}),t._v(" "),n(t.currentTemplate,{tag:"component",attrs:{"current-fields":t.currentFields,store:t.store,disabled:!t.canSubmit,"template-data":t.sectionData},on:{resetStore:t.resetStore,submitSettings:t.submitSettings}}),t._v(" "),n("menu-footer",[n("portal-target",{attrs:{name:"footerButtons"}})],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
179 |
-
},{"$Mixins/withStore":"D1kn","$Mixins/withMessage":"wm3G","$Components/MenuHeader.vue":"vi91","$Components/Sections.vue":"yPIx","$Components/MenuFooter.vue":"nwtb","$Components/MenuButton.vue":"ksMR","$Containers/GeneralSettings":"fmPj","$Components/VersionControlSettings":"V4Tn","$Components/Settings/GeneralStylesSettings":"b8SN","$LazyLoadSettings/LazyLoadSettings":"qXUf"}],"yEip":[function(require,module,exports) {
|
180 |
"use strict";function t(t,e){t.mixin({data:function(){return{strings:e.strings}}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={install:t};exports.default=e;
|
181 |
-
},{}],"GZC0":[function(require,module,exports) {
|
182 |
-
"use strict";function e(e,t){e.filter("cap",function(e){return e.split(" ").map(function(e){return e[0].toUpperCase()+e.slice(1)}).join(" ")})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={install:e};exports.default=t;
|
183 |
},{}],"uD0a":[function(require,module,exports) {
|
184 |
-
"use strict";var e=
|
185 |
-
},{"vue":"HYXJ","portal-vue":"Lue2","vue-fragment":"CDb8","./containers/SettingsApp.vue":"pZ9N","./plugins/strings.js":"yEip","./plugins/filters":"GZC0"}]},{},["uD0a"], null)
|
1 |
+
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"cQfh":[function(require,module,exports) {
|
2 |
+
function e(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}module.exports=e;
|
3 |
+
},{}],"HYXJ":[function(require,module,exports) {
|
4 |
var global = arguments[3];
|
5 |
var e=arguments[3];Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=Object.freeze({});function n(e){return null==e}function r(e){return null!=e}function i(e){return!0===e}function o(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}function l(e){return"[object Object]"===c.call(e)}function f(e){return"[object RegExp]"===c.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var y=m("slot,component",!0),g=m("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function $(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,C=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),A=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),k=/\B([A-Z])/g,O=w(function(e){return e.replace(k,"-$1").toLowerCase()});function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function T(e,t){return e.bind(t)}var N=Function.prototype.bind?T:S;function j(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function D(e,t,n){}var L=function(e,t,n){return!1},I=function(e){return e};function F(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}function P(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return P(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every(function(n){return P(e[n],t[n])})}catch(u){return!1}}function R(e,t){for(var n=0;n<e.length;n++)if(P(e[n],t))return n;return-1}function H(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var B="data-server-rendered",U=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:D,parsePlatformTagName:I,mustUseProp:L,async:!0,_lifecycleHooks:z},J=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function q(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^"+J.source+".$_\\d]");function Z(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var G,X="__proto__"in{},Y="undefined"!=typeof window,Q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ee=Q&&WXEnvironment.platform.toLowerCase(),te=Y&&window.navigator.userAgent.toLowerCase(),ne=te&&/msie|trident/.test(te),re=te&&te.indexOf("msie 9.0")>0,ie=te&&te.indexOf("edge/")>0,oe=te&&te.indexOf("android")>0||"android"===ee,ae=te&&/iphone|ipad|ipod|ios/.test(te)||"ios"===ee,se=te&&/chrome\/\d+/.test(te)&&!ie,ce=te&&/phantomjs/.test(te),ue=te&&te.match(/firefox\/(\d+)/),le={}.watch,fe=!1;if(Y)try{var pe={};Object.defineProperty(pe,"passive",{get:function(){fe=!0}}),window.addEventListener("test-passive",null,pe)}catch(Xl){}var de=function(){return void 0===G&&(G=!Y&&!Q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),G},ve=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function he(e){return"function"==typeof e&&/native code/.test(e.toString())}var me,ye="undefined"!=typeof Symbol&&he(Symbol)&&"undefined"!=typeof Reflect&&he(Reflect.ownKeys);me="undefined"!=typeof Set&&he(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ge,_e,be,$e,we=D,xe=D,Ce=D,Ae=D,ke=0,Oe=function(){this.id=ke++,this.subs=[]};Oe.prototype.addSub=function(e){this.subs.push(e)},Oe.prototype.removeSub=function(e){_(this.subs,e)},Oe.prototype.depend=function(){Oe.target&&Oe.target.addDep(this)},Oe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},Oe.target=null;var Se=[];function Te(e){Se.push(e),Oe.target=e}function Ne(){Se.pop(),Oe.target=Se[Se.length-1]}var je=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ee={child:{configurable:!0}};Ee.child.get=function(){return this.componentInstance},Object.defineProperties(je.prototype,Ee);var Me=function(e){void 0===e&&(e="");var t=new je;return t.text=e,t.isComment=!0,t};function De(e){return new je(void 0,void 0,void 0,String(e))}function Le(e){var t=new je(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ie=Array.prototype,Fe=Object.create(Ie),Pe=["push","pop","shift","unshift","splice","sort","reverse"];Pe.forEach(function(e){var t=Ie[e];q(Fe,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var Re=Object.getOwnPropertyNames(Fe),He=!0;function Be(e){He=e}var Ue=function(e){this.value=e,this.dep=new Oe,this.vmCount=0,q(e,"__ob__",this),Array.isArray(e)?(X?ze(e,Fe):Ve(e,Fe,Re),this.observeArray(e)):this.walk(e)};function ze(e,t){e.__proto__=t}function Ve(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];q(e,o,t[o])}}function Je(e,t){var n;if(s(e)&&!(e instanceof je))return $(e,"__ob__")&&e.__ob__ instanceof Ue?n=e.__ob__:He&&!de()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ue(e)),t&&n&&n.vmCount++,n}function Ke(e,t,n,r,i){var o=new Oe,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var u=!i&&Je(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Oe.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Ze(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!c||(c?c.call(e,t):n=t,u=!i&&Je(t),o.notify())}})}}function qe(e,t,n){if(Array.isArray(e)&&p(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ke(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function We(e,t){if(Array.isArray(e)&&p(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||$(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ze(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ze(t)}Ue.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ke(e,t[n])},Ue.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Je(e[t])};var Ge=V.optionMergeStrategies;function Xe(e,t){if(!t)return e;for(var n,r,i,o=ye?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],$(e,n)?r!==i&&l(r)&&l(i)&&Xe(r,i):qe(e,n,i));return e}function Ye(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Xe(r,i):i}:t?e?function(){return Xe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Qe(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?et(n):n}function et(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function tt(e,t,n,r){var i=Object.create(e||null);return t?E(i,t):i}Ge.data=function(e,t,n){return n?Ye(e,t,n):t&&"function"!=typeof t?e:Ye(e,t)},z.forEach(function(e){Ge[e]=Qe}),U.forEach(function(e){Ge[e+"s"]=tt}),Ge.watch=function(e,t,n,r){if(e===le&&(e=void 0),t===le&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in E(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Ge.props=Ge.methods=Ge.inject=Ge.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return E(i,e),t&&E(i,t),i},Ge.provide=Ye;var nt=function(e,t){return void 0===t?e:t};function rt(e){for(var t in e.components)it(t)}function it(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+J.source+"]*$").test(e)||we('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(y(e)||V.isReservedTag(e))&&we("Do not use built-in or reserved HTML elements as component id: "+e)}function ot(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[C(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[C(a)]=l(i)?i:{type:i};else 0;e.props=o}}function at(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?E({from:o},a):{from:a}}else 0}}function st(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function ct(e,t,n){l(t)||we('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function ut(e,t,n){if("function"==typeof t&&(t=t.options),ot(t,n),at(t,n),st(t),!t._base&&(t.extends&&(e=ut(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=ut(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)$(e,o)||s(o);function s(r){var i=Ge[r]||nt;a[r]=i(e[r],t[r],n,r)}return a}function lt(e,t,n,r){if("string"==typeof n){var i=e[t];if($(i,n))return i[n];var o=C(n);if($(i,o))return i[o];var a=A(o);if($(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function ft(e,t,n,r){var i=t[e],o=!$(n,e),a=n[e],s=gt(Boolean,i.type);if(s>-1)if(o&&!$(i,"default"))a=!1;else if(""===a||a===O(e)){var c=gt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=pt(r,i,e);var u=He;Be(!0),Je(a),Be(u)}return a}function pt(e,t,n){if($(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==mt(t.type)?r.call(e):r}}function dt(e,t,n,r,i){if(e.required&&i)we('Missing required prop: "'+t+'"',r);else if(null!=n||e.required){var o=e.type,a=!o||!0===o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var c=0;c<o.length&&!a;c++){var u=ht(n,o[c]);s.push(u.expectedType||""),a=u.valid}}if(a){var l=e.validator;l&&(l(n)||we('Invalid prop: custom validator check failed for prop "'+t+'".',r))}else we(_t(t,n,s),r)}}var vt=/^(String|Number|Boolean|Function|Symbol)$/;function ht(e,t){var n,r=mt(t);if(vt.test(r)){var i=typeof e;(n=i===r.toLowerCase())||"object"!==i||(n=e instanceof t)}else n="Object"===r?l(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function mt(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function yt(e,t){return mt(e)===mt(t)}function gt(e,t){if(!Array.isArray(t))return yt(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(yt(t[n],e))return n;return-1}function _t(e,t,n){var r='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(A).join(", "),i=n[0],o=u(t),a=bt(t,i),s=bt(t,o);return 1===n.length&&$t(i)&&!wt(i,o)&&(r+=" with value "+a),r+=", got "+o+" ",$t(o)&&(r+="with value "+s+"."),r}function bt(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function $t(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function wt(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}function xt(e,t,n){Te();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(Xl){At(Xl,r,"errorCaptured hook")}}At(e,t,n)}finally{Ne()}}function Ct(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&d(o)&&!o._handled&&(o.catch(function(e){return xt(e,r,i+" (Promise/async)")}),o._handled=!0)}catch(Xl){xt(Xl,r,i)}return o}function At(e,t,n){if(V.errorHandler)try{return V.errorHandler.call(null,e,t,n)}catch(Xl){Xl!==e&&kt(Xl,null,"config.errorHandler")}kt(e,t,n)}function kt(e,t,n){if(!Y&&!Q||"undefined"==typeof console)throw e;console.error(e)}var Ot,St,Tt,Nt,jt,Et,Mt,Dt,Lt,It,Ft,Pt,Rt=!1,Ht=[],Bt=!1;function Ut(){Bt=!1;var e=Ht.slice(0);Ht.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&he(Promise)){var zt=Promise.resolve();Ot=function(){zt.then(Ut),ae&&setTimeout(D)},Rt=!0}else if(ne||"undefined"==typeof MutationObserver||!he(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ot="undefined"!=typeof setImmediate&&he(setImmediate)?function(){setImmediate(Ut)}:function(){setTimeout(Ut,0)};else{var Vt=1,Jt=new MutationObserver(Ut),Kt=document.createTextNode(String(Vt));Jt.observe(Kt,{characterData:!0}),Ot=function(){Vt=(Vt+1)%2,Kt.data=String(Vt)},Rt=!0}function qt(e,t){var n;if(Ht.push(function(){if(e)try{e.call(t)}catch(Xl){xt(Xl,t,"nextTick")}else n&&n(t)}),Bt||(Bt=!0,Ot()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var Wt=new me;function Zt(e){Gt(e,Wt),Wt.clear()}function Gt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!s(e)||Object.isFrozen(e)||e instanceof je)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)Gt(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)Gt(e[r[n]],t)}}var Xt=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function Yt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return Ct(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Ct(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function Qt(e,t,r,o,a,s){var c,u,l,f;for(c in e)u=e[c],l=t[c],f=Xt(c),n(u)||(n(l)?(n(u.fns)&&(u=e[c]=Yt(u,s)),i(f.once)&&(u=e[c]=a(f.name,u,f.capture)),r(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)n(e[c])&&o((f=Xt(c)).name,t[c],f.capture)}function en(e,t,o){var a;e instanceof je&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){o.apply(this,arguments),_(a.fns,c)}n(s)?a=Yt([c]):r(s.fns)&&i(s.merged)?(a=s).fns.push(c):a=Yt([s,c]),a.merged=!0,e[t]=a}function tn(e,t,i){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,c=e.props;if(r(s)||r(c))for(var u in o){var l=O(u);nn(a,c,u,l,!0)||nn(a,s,u,l,!1)}return a}}function nn(e,t,n,i,o){if(r(t)){if($(t,n))return e[n]=t[n],o||delete t[n],!0;if($(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function rn(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function on(e){return a(e)?[De(e)]:Array.isArray(e)?sn(e):void 0}function an(e){return r(e)&&r(e.text)&&o(e.isComment)}function sn(e,t){var o,s,c,u,l=[];for(o=0;o<e.length;o++)n(s=e[o])||"boolean"==typeof s||(u=l[c=l.length-1],Array.isArray(s)?s.length>0&&(an((s=sn(s,(t||"")+"_"+o))[0])&&an(u)&&(l[c]=De(u.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?an(u)?l[c]=De(u.text+s):""!==s&&l.push(De(s)):an(s)&&an(u)?l[c]=De(u.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),l.push(s)));return l}function cn(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function un(e){var t=ln(e.$options.inject,e);t&&(Be(!1),Object.keys(t).forEach(function(n){Ke(e,n,t[n])}),Be(!0))}function ln(e,t){if(e){for(var n=Object.create(null),r=ye?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&$(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var c=e[o].default;n[o]="function"==typeof c?c.call(t):c}else 0}}return n}}function fn(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(pn)&&delete n[u];return n}function pn(e){return e.isComment&&!e.asyncFactory||" "===e.text}function dn(e,n,r){var i,o=Object.keys(n).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==t&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=vn(n,c,e[c]))}else i={};for(var u in n)u in i||(i[u]=hn(n,u));return e&&Object.isExtensible(e)&&(e._normalized=i),q(i,"$stable",a),q(i,"$key",s),q(i,"$hasNormal",o),i}function vn(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:on(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function hn(e,t){return function(){return e[t]}}function mn(e,t){var n,i,o,a,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(s(e))if(ye&&e[Symbol.iterator]){n=[];for(var u=e[Symbol.iterator](),l=u.next();!l.done;)n.push(t(l.value,n.length)),l=u.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)c=a[i],n[i]=t(e[c],c,i);return r(n)||(n=[]),n._isVList=!0,n}function yn(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=E(E({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function gn(e){return lt(this.$options,"filters",e,!0)||I}function _n(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function bn(e,t,n,r,i){var o=V.keyCodes[t]||n;return i&&r&&!V.keyCodes[t]?_n(i,r):o?_n(o,e):r?O(r)!==t:void 0}function $n(e,t,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=M(n));var a=function(a){if("class"===a||"style"===a||g(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||V.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=C(a),u=O(a);c in o||u in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var c in n)a(c)}else;return e}function wn(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?r:(Cn(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r)}function xn(e,t,n){return Cn(e,"__once__"+t+(n?"_"+n:""),!0),e}function Cn(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&An(e[r],t+"_"+r,n);else An(e,t,n)}function An(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function kn(e,t){if(t)if(l(t)){var n=e.on=e.on?E({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function On(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?On(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function Sn(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Tn(e,t){return"string"==typeof e?t+e:e}function Nn(e){e._o=xn,e._n=h,e._s=v,e._l=mn,e._t=yn,e._q=P,e._i=R,e._m=wn,e._f=gn,e._k=bn,e._b=$n,e._v=De,e._e=Me,e._u=On,e._g=kn,e._d=Sn,e._p=Tn}function jn(e,n,r,o,a){var s,c=this,u=a.options;$(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var l=i(u._compiled),f=!l;this.data=e,this.props=n,this.children=r,this.parent=o,this.listeners=e.on||t,this.injections=ln(u.inject,o),this.slots=function(){return c.$slots||dn(e.scopedSlots,c.$slots=fn(r,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dn(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=dn(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var i=Vn(s,e,t,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return Vn(s,e,t,n,r,f)}}function En(e,n,i,o,a){var s=e.options,c={},u=s.props;if(r(u))for(var l in u)c[l]=ft(l,u,n||t);else r(i.attrs)&&Dn(c,i.attrs),r(i.props)&&Dn(c,i.props);var f=new jn(i,c,a,o,e),p=s.render.call(null,f._c,f);if(p instanceof je)return Mn(p,i,f.parent,s,f);if(Array.isArray(p)){for(var d=on(p)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=Mn(d[h],i,f.parent,s,f);return v}}function Mn(e,t,n,r,i){var o=Le(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Dn(e,t){for(var n in t)e[C(n)]=t[n]}Nn(jn.prototype);var Ln={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ln.prepatch(n,n)}else{(e.componentInstance=Pn(e,ur)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;hr(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,_r(n,"mounted")),e.data.keepAlive&&(t._isMounted?Dr(n):yr(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?gr(t,!0):t.$destroy())}},In=Object.keys(Ln);function Fn(e,t,o,a,c){if(!n(e)){var u=o.$options._base;if(s(e)&&(e=u.extend(e)),"function"==typeof e){var l;if(n(e.cid)&&void 0===(e=er(l=e,u)))return Qn(l,t,o,a,c);t=t||{},ri(e),r(t.model)&&Bn(e.options,t);var f=tn(t,e,c);if(i(e.options.functional))return En(e,f,t,o,a);var p=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var d=t.slot;t={},d&&(t.slot=d)}Rn(t);var v=e.options.name||c;return new je("vue-component-"+e.cid+(v?"-"+v:""),t,void 0,void 0,void 0,o,{Ctor:e,propsData:f,listeners:p,tag:c,children:a},l)}}}function Pn(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}function Rn(e){for(var t=e.hook||(e.hook={}),n=0;n<In.length;n++){var r=In[n],i=t[r],o=Ln[r];i===o||i&&i._merged||(t[r]=i?Hn(o,i):o)}}function Hn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function Bn(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}var Un=1,zn=2;function Vn(e,t,n,r,o,s){return(Array.isArray(n)||a(n))&&(o=r,r=n,n=void 0),i(s)&&(o=zn),Jn(e,t,n,r,o)}function Jn(e,t,n,i,o){if(r(n)&&r(n.__ob__))return Me();if(r(n)&&r(n.is)&&(t=n.is),!t)return Me();var a,s,c;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),o===zn?i=on(i):o===Un&&(i=rn(i)),"string"==typeof t)?(s=e.$vnode&&e.$vnode.ns||V.getTagNamespace(t),a=V.isReservedTag(t)?new je(V.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!r(c=lt(e.$options,"components",t))?new je(t,n,i,void 0,void 0,e):Fn(c,n,e,i,t)):a=Fn(t,n,e,i);return Array.isArray(a)?a:r(a)?(r(s)&&Kn(a,s),r(n)&&qn(n),a):Me()}function Kn(e,t,o){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,o=!0),r(e.children))for(var a=0,s=e.children.length;a<s;a++){var c=e.children[a];r(c.tag)&&(n(c.ns)||i(o)&&"svg"!==c.tag)&&Kn(c,t,o)}}function qn(e){s(e.style)&&Zt(e.style),s(e.class)&&Zt(e.class)}function Wn(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,i=r&&r.context;e.$slots=fn(n._renderChildren,i),e.$scopedSlots=t,e._c=function(t,n,r,i){return Vn(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Vn(e,t,n,r,i,!0)};var o=r&&r.data;Ke(e,"$attrs",o&&o.attrs||t,null,!0),Ke(e,"$listeners",n._parentListeners||t,null,!0)}var Zn,Gn=null;function Xn(e){Nn(e.prototype),e.prototype.$nextTick=function(e){return qt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=dn(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Gn=t,e=r.call(t._renderProxy,t.$createElement)}catch(Xl){xt(Xl,t,"render"),e=t._vnode}finally{Gn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof je||(e=Me()),e.parent=i,e}}function Yn(e,t){return(e.__esModule||ye&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Qn(e,t,n,r,i){var o=Me();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function er(e,t){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var o=Gn;if(o&&r(e.owners)&&-1===e.owners.indexOf(o)&&e.owners.push(o),i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(o&&!r(e.owners)){var a=e.owners=[o],c=!0,u=null,l=null;o.$on("hook:destroyed",function(){return _(a,o)});var f=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},p=H(function(n){e.resolved=Yn(n,t),c?a.length=0:f(!0)}),v=H(function(t){r(e.errorComp)&&(e.error=!0,f(!0))}),h=e(p,v);return s(h)&&(d(h)?n(e.resolved)&&h.then(p,v):d(h.component)&&(h.component.then(p,v),r(h.error)&&(e.errorComp=Yn(h.error,t)),r(h.loading)&&(e.loadingComp=Yn(h.loading,t),0===h.delay?e.loading=!0:u=setTimeout(function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,f(!1))},h.delay||200)),r(h.timeout)&&(l=setTimeout(function(){l=null,n(e.resolved)&&v(null)},h.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}function tr(e){return e.isComment&&e.asyncFactory}function nr(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||tr(n)))return n}}function rr(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&sr(e,t)}function ir(e,t){Zn.$on(e,t)}function or(e,t){Zn.$off(e,t)}function ar(e,t){var n=Zn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function sr(e,t,n){Zn=e,Qt(t,n||{},ir,or,ar,e),Zn=void 0}function cr(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)Ct(n[o],t,r,t,i)}return t}}var ur=null,lr=!1;function fr(e){var t=ur;return ur=e,function(){ur=t}}function pr(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function dr(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=fr(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){_r(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),_r(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function vr(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=Me),_r(e,"beforeMount"),r=function(){e._update(e._render(),n)},new Pr(e,r,D,{before:function(){e._isMounted&&!e._isDestroyed&&_r(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,_r(e,"mounted")),e}function hr(e,n,r,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==t&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||t,e.$listeners=r||t,n&&e.$options.props){Be(!1);for(var l=e._props,f=e.$options._propKeys||[],p=0;p<f.length;p++){var d=f[p],v=e.$options.props;l[d]=ft(d,v,n,e)}Be(!0),e.$options.propsData=n}r=r||t;var h=e.$options._parentListeners;e.$options._parentListeners=r,sr(e,r,h),u&&(e.$slots=fn(o,i.context),e.$forceUpdate())}function mr(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function yr(e,t){if(t){if(e._directInactive=!1,mr(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)yr(e.$children[n]);_r(e,"activated")}}function gr(e,t){if(!(t&&(e._directInactive=!0,mr(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)gr(e.$children[n]);_r(e,"deactivated")}}function _r(e,t){Te();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Ct(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),Ne()}var br=100,$r=[],wr=[],xr={},Cr={},Ar=!1,kr=!1,Or=0;function Sr(){Or=$r.length=wr.length=0,xr={},Ar=kr=!1}var Tr=0,Nr=Date.now;if(Y&&!ne){var jr=window.performance;jr&&"function"==typeof jr.now&&Nr()>document.createEvent("Event").timeStamp&&(Nr=function(){return jr.now()})}function Er(){var e,t;for(Tr=Nr(),kr=!0,$r.sort(function(e,t){return e.id-t.id}),Or=0;Or<$r.length;Or++)(e=$r[Or]).before&&e.before(),t=e.id,xr[t]=null,e.run();var n=wr.slice(),r=$r.slice();Sr(),Lr(n),Mr(r),ve&&V.devtools&&ve.emit("flush")}function Mr(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&_r(r,"updated")}}function Dr(e){e._inactive=!1,wr.push(e)}function Lr(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,yr(e[t],!0)}function Ir(e){var t=e.id;if(null==xr[t]){if(xr[t]=!0,kr){for(var n=$r.length-1;n>Or&&$r[n].id>e.id;)n--;$r.splice(n+1,0,e)}else $r.push(e);Ar||(Ar=!0,qt(Er))}}var Fr=0,Pr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Fr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new me,this.newDepIds=new me,this.expression="","function"==typeof t?this.getter=t:(this.getter=Z(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};Pr.prototype.get=function(){var e;Te(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Xl){if(!this.user)throw Xl;xt(Xl,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Zt(e),Ne(),this.cleanupDeps()}return e},Pr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Pr.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Pr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ir(this)},Pr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Xl){xt(Xl,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Pr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Pr.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Pr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Rr={enumerable:!0,configurable:!0,get:D,set:D};function Hr(e,t,n){Rr.get=function(){return this[t][n]},Rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Rr)}function Br(e){e._watchers=[];var t=e.$options;t.props&&Ur(e,t.props),t.methods&&Gr(e,t.methods),t.data?zr(e):Je(e._data={},!0),t.computed&&Kr(e,t.computed),t.watch&&t.watch!==le&&Xr(e,t.watch)}function Ur(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Be(!1);var a=function(o){i.push(o);var a=ft(o,t,n,e);Ke(r,o,a),o in e||Hr(e,"_props",o)};for(var s in t)a(s);Be(!0)}function zr(e){var t=e.$options.data;l(t=e._data="function"==typeof t?Vr(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];0,r&&$(r,o)||K(o)||Hr(e,"_data",o)}Je(t,!0)}function Vr(e,t){Te();try{return e.call(t,t)}catch(Xl){return xt(Xl,t,"data()"),{}}finally{Ne()}}var Jr={lazy:!0};function Kr(e,t){var n=e._computedWatchers=Object.create(null),r=de();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new Pr(e,a||D,D,Jr)),i in e||qr(e,i,o)}}function qr(e,t,n){var r=!de();"function"==typeof n?(Rr.get=r?Wr(t):Zr(n),Rr.set=D):(Rr.get=n.get?r&&!1!==n.cache?Wr(t):Zr(n.get):D,Rr.set=n.set||D),Object.defineProperty(e,t,Rr)}function Wr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Oe.target&&t.depend(),t.value}}function Zr(e){return function(){return e.call(this,this)}}function Gr(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?D:N(t[n],e)}function Xr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Yr(e,n,r[i]);else Yr(e,n,r)}}function Yr(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Qr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=qe,e.prototype.$delete=We,e.prototype.$watch=function(e,t,n){if(l(t))return Yr(this,e,t,n);(n=n||{}).user=!0;var r=new Pr(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(i){xt(i,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}var ei=0;function ti(e){e.prototype._init=function(e){var t=this;t._uid=ei++,t._isVue=!0,e&&e._isComponent?ni(t,e):t.$options=ut(ri(t.constructor),e||{},t),t._renderProxy=t,t._self=t,pr(t),rr(t),Wn(t),_r(t,"beforeCreate"),un(t),Br(t),cn(t),_r(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function ni(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function ri(e){var t=e.options;if(e.super){var n=ri(e.super);if(n!==e.superOptions){e.superOptions=n;var r=ii(e);r&&E(e.extendOptions,r),(t=e.options=ut(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function ii(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function oi(e){this._init(e)}function ai(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=j(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function si(e){e.mixin=function(e){return this.options=ut(this.options,e),this}}function ci(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=ut(n.options,e),a.super=n,a.options.props&&ui(a),a.options.computed&&li(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=E({},a.options),i[r]=a,a}}function ui(e){var t=e.options.props;for(var n in t)Hr(e.prototype,"_props",n)}function li(e){var t=e.options.computed;for(var n in t)qr(e.prototype,n,t[n])}function fi(e){U.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function pi(e){return e&&(e.Ctor.options.name||e.tag)}function di(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function vi(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=pi(a.componentOptions);s&&!t(s)&&hi(n,o,r,i)}}}function hi(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,_(n,t)}ti(oi),Qr(oi),cr(oi),dr(oi),Xn(oi);var mi=[String,RegExp,Array],yi={name:"keep-alive",abstract:!0,props:{include:mi,exclude:mi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)hi(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){vi(e,function(e){return di(t,e)})}),this.$watch("exclude",function(t){vi(e,function(e){return!di(t,e)})})},render:function(){var e=this.$slots.default,t=nr(e),n=t&&t.componentOptions;if(n){var r=pi(n),i=this.include,o=this.exclude;if(i&&(!r||!di(i,r))||o&&r&&di(o,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,_(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&hi(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},gi={KeepAlive:yi};function _i(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:we,extend:E,mergeOptions:ut,defineReactive:Ke},e.set=qe,e.delete=We,e.nextTick=qt,e.observable=function(e){return Je(e),e},e.options=Object.create(null),U.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,gi),ai(e),si(e),ci(e),fi(e)}_i(oi),Object.defineProperty(oi.prototype,"$isServer",{get:de}),Object.defineProperty(oi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(oi,"FunctionalRenderContext",{value:jn}),oi.version="2.6.12";var bi=m("style,class"),$i=m("input,textarea,option,select,progress"),wi=function(e,t,n){return"value"===n&&$i(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},xi=m("contenteditable,draggable,spellcheck"),Ci=m("events,caret,typing,plaintext-only"),Ai=function(e,t){return Ni(t)||"false"===t?"false":"contenteditable"===e&&Ci(t)?t:"true"},ki=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Oi="http://www.w3.org/1999/xlink",Si=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ti=function(e){return Si(e)?e.slice(6,e.length):""},Ni=function(e){return null==e||!1===e};function ji(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Ei(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Ei(t,n.data));return Mi(t.staticClass,t.class)}function Ei(e,t){return{staticClass:Di(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Mi(e,t){return r(e)||r(t)?Di(e,Li(t)):""}function Di(e,t){return e?t?e+" "+t:e:t||""}function Li(e){return Array.isArray(e)?Ii(e):s(e)?Fi(e):"string"==typeof e?e:""}function Ii(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=Li(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Fi(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Pi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ri=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Hi=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Bi=function(e){return"pre"===e},Ui=function(e){return Ri(e)||Hi(e)};function zi(e){return Hi(e)?"svg":"math"===e?"math":void 0}var Vi=Object.create(null);function Ji(e){if(!Y)return!0;if(Ui(e))return!1;if(e=e.toLowerCase(),null!=Vi[e])return Vi[e];var t=document.createElement(e);return e.indexOf("-")>-1?Vi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Vi[e]=/HTMLUnknownElement/.test(t.toString())}var Ki=m("text,number,password,search,email,tel,url");function qi(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Wi(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Zi(e,t){return document.createElementNS(Pi[e],t)}function Gi(e){return document.createTextNode(e)}function Xi(e){return document.createComment(e)}function Yi(e,t,n){e.insertBefore(t,n)}function Qi(e,t){e.removeChild(t)}function eo(e,t){e.appendChild(t)}function to(e){return e.parentNode}function no(e){return e.nextSibling}function ro(e){return e.tagName}function io(e,t){e.textContent=t}function oo(e,t){e.setAttribute(t,"")}var ao=Object.freeze({createElement:Wi,createElementNS:Zi,createTextNode:Gi,createComment:Xi,insertBefore:Yi,removeChild:Qi,appendChild:eo,parentNode:to,nextSibling:no,tagName:ro,setTextContent:io,setStyleScope:oo}),so={create:function(e,t){co(t)},update:function(e,t){e.data.ref!==t.data.ref&&(co(e,!0),co(t))},destroy:function(e){co(e,!0)}};function co(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?_(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var uo=new je("",{},[]),lo=["create","activate","update","remove","destroy"];function fo(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&po(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function po(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ki(i)&&Ki(o)}function vo(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}function ho(e){var t,o,s={},c=e.modules,u=e.nodeOps;for(t=0;t<lo.length;++t)for(s[lo[t]]=[],o=0;o<c.length;++o)r(c[o][lo[t]])&&s[lo[t]].push(c[o][lo[t]]);function l(e){var t=u.parentNode(e);r(t)&&u.removeChild(t,e)}function f(e,t,n,o,a,c,l){if(r(e.elm)&&r(c)&&(e=c[l]=Le(e)),e.isRootInsert=!a,!function(e,t,n,o){var a=e.data;if(r(a)){var c=r(e.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(e,!1),r(e.componentInstance))return p(e,t),d(n,e.elm,o),i(c)&&function(e,t,n,i){var o,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,r(o=a.data)&&r(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](uo,a);t.push(a);break}d(n,e.elm,i)}(e,t,n,o),!0}}(e,t,n,o)){var f=e.data,h=e.children,m=e.tag;r(m)?(e.elm=e.ns?u.createElementNS(e.ns,m):u.createElement(m,e),g(e),v(e,h,t),r(f)&&y(e,t),d(n,e.elm,o)):i(e.isComment)?(e.elm=u.createComment(e.text),d(n,e.elm,o)):(e.elm=u.createTextNode(e.text),d(n,e.elm,o))}}function p(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,h(e)?(y(e,t),g(e)):(co(e),t.push(e))}function d(e,t,n){r(e)&&(r(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function v(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else a(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function h(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function y(e,n){for(var i=0;i<s.create.length;++i)s.create[i](uo,e);r(t=e.data.hook)&&(r(t.create)&&t.create(uo,e),r(t.insert)&&n.push(e))}function g(e){var t;if(r(t=e.fnScopeId))u.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent;r(t=ur)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function _(e,t,n,r,i,o){for(;r<=i;++r)f(n[r],o,e,t,!1,n,r)}function b(e){var t,n,i=e.data;if(r(i))for(r(t=i.hook)&&r(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function $(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(r(i.tag)?(w(i),b(i)):l(i.elm))}}function w(e,t){if(r(t)||r(e.data)){var n,i=s.remove.length+1;for(r(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,i),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&w(n,t),n=0;n<s.remove.length;++n)s.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else l(e.elm)}function x(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&fo(e,a))return o}}function C(e,t,o,a,c,l){if(e!==t){r(t.elm)&&r(a)&&(t=a[c]=Le(t));var p=t.elm=e.elm;if(i(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?O(e.elm,t,o):t.isAsyncPlaceholder=!0;else if(i(t.isStatic)&&i(e.isStatic)&&t.key===e.key&&(i(t.isCloned)||i(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,v=t.data;r(v)&&r(d=v.hook)&&r(d=d.prepatch)&&d(e,t);var m=e.children,y=t.children;if(r(v)&&h(t)){for(d=0;d<s.update.length;++d)s.update[d](e,t);r(d=v.hook)&&r(d=d.update)&&d(e,t)}n(t.text)?r(m)&&r(y)?m!==y&&function(e,t,i,o,a){var s,c,l,p=0,d=0,v=t.length-1,h=t[0],m=t[v],y=i.length-1,g=i[0],b=i[y],w=!a;for(;p<=v&&d<=y;)n(h)?h=t[++p]:n(m)?m=t[--v]:fo(h,g)?(C(h,g,o,i,d),h=t[++p],g=i[++d]):fo(m,b)?(C(m,b,o,i,y),m=t[--v],b=i[--y]):fo(h,b)?(C(h,b,o,i,y),w&&u.insertBefore(e,h.elm,u.nextSibling(m.elm)),h=t[++p],b=i[--y]):fo(m,g)?(C(m,g,o,i,d),w&&u.insertBefore(e,m.elm,h.elm),m=t[--v],g=i[++d]):(n(s)&&(s=vo(t,p,v)),n(c=r(g.key)?s[g.key]:x(g,t,p,v))?f(g,o,e,h.elm,!1,i,d):fo(l=t[c],g)?(C(l,g,o,i,d),t[c]=void 0,w&&u.insertBefore(e,l.elm,h.elm)):f(g,o,e,h.elm,!1,i,d),g=i[++d]);p>v?_(e,n(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(t,p,v)}(p,m,y,o,l):r(y)?(r(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):r(m)?$(m,0,m.length-1):r(e.text)&&u.setTextContent(p,""):e.text!==t.text&&u.setTextContent(p,t.text),r(v)&&r(d=v.hook)&&r(d=d.postpatch)&&d(e,t)}}}function A(e,t,n){if(i(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o<t.length;++o)t[o].data.hook.insert(t[o])}var k=m("attrs,class,staticClass,staticStyle,key");function O(e,t,n,o){var a,s=t.tag,c=t.data,u=t.children;if(o=o||c&&c.pre,t.elm=e,i(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(a=c.hook)&&r(a=a.init)&&a(t,!0),r(a=t.componentInstance)))return p(t,n),!0;if(r(s)){if(r(u))if(e.hasChildNodes())if(r(a=c)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var l=!0,f=e.firstChild,d=0;d<u.length;d++){if(!f||!O(f,u[d],n,o)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else v(t,u,n);if(r(c)){var h=!1;for(var m in c)if(!k(m)){h=!0,y(t,n);break}!h&&c.class&&Zt(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,o,a){if(!n(t)){var c,l=!1,p=[];if(n(e))l=!0,f(t,p);else{var d=r(e.nodeType);if(!d&&fo(e,t))C(e,t,p,null,null,a);else{if(d){if(1===e.nodeType&&e.hasAttribute(B)&&(e.removeAttribute(B),o=!0),i(o)&&O(e,t,p))return A(t,p,!0),e;c=e,e=new je(u.tagName(c).toLowerCase(),{},[],void 0,c)}var v=e.elm,m=u.parentNode(v);if(f(t,p,v._leaveCb?null:m,u.nextSibling(v)),r(t.parent))for(var y=t.parent,g=h(t);y;){for(var _=0;_<s.destroy.length;++_)s.destroy[_](y);if(y.elm=t.elm,g){for(var w=0;w<s.create.length;++w)s.create[w](uo,y);var x=y.data.hook.insert;if(x.merged)for(var k=1;k<x.fns.length;k++)x.fns[k]()}else co(y);y=y.parent}r(m)?$([e],0,0):r(e.tag)&&b(e)}}return A(t,p,l),t.elm}r(e)&&b(e)}}var mo={create:yo,update:yo,destroy:function(e){yo(e,uo)}};function yo(e,t){(e.data.directives||t.data.directives)&&go(e,t)}function go(e,t){var n,r,i,o=e===uo,a=t===uo,s=bo(e.data.directives,e.context),c=bo(t.data.directives,t.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,wo(i,"update",t,e),i.def&&i.def.componentUpdated&&l.push(i)):(wo(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)wo(u[n],"inserted",t,e)};o?en(t,"insert",f):f()}if(l.length&&en(t,"postpatch",function(){for(var n=0;n<l.length;n++)wo(l[n],"componentUpdated",t,e)}),!o)for(n in s)c[n]||wo(s[n],"unbind",e,e,a)}var _o=Object.create(null);function bo(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=_o),i[$o(r)]=r,r.def=lt(t.$options,"directives",r.name,!0);return i}function $o(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function wo(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(Xl){xt(Xl,n.context,"directive "+e.name+" "+t+" hook")}}var xo=[so,mo];function Co(e,t){var i=t.componentOptions;if(!(r(i)&&!1===i.Ctor.options.inheritAttrs||n(e.data.attrs)&&n(t.data.attrs))){var o,a,s=t.elm,c=e.data.attrs||{},u=t.data.attrs||{};for(o in r(u.__ob__)&&(u=t.data.attrs=E({},u)),u)a=u[o],c[o]!==a&&Ao(s,o,a);for(o in(ne||ie)&&u.value!==c.value&&Ao(s,"value",u.value),c)n(u[o])&&(Si(o)?s.removeAttributeNS(Oi,Ti(o)):xi(o)||s.removeAttribute(o))}}function Ao(e,t,n){e.tagName.indexOf("-")>-1?ko(e,t,n):ki(t)?Ni(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):xi(t)?e.setAttribute(t,Ai(t,n)):Si(t)?Ni(n)?e.removeAttributeNS(Oi,Ti(t)):e.setAttributeNS(Oi,t,n):ko(e,t,n)}function ko(e,t,n){if(Ni(n))e.removeAttribute(t);else{if(ne&&!re&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Oo={create:Co,update:Co};function So(e,t){var i=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=ji(t),c=i._transitionClasses;r(c)&&(s=Di(s,Li(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var To,No,jo,Eo,Mo,Do,Lo,Io={create:So,update:So},Fo=/[\w).+\-_$\]]/;function Po(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(u)47===t&&92!==n&&(u=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||l||f||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:l++;break;case 125:l--}if(47===t){for(var v=r-1,h=void 0;v>=0&&" "===(h=e.charAt(v));v--);h&&Fo.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r<o.length;r++)i=Ro(i,o[r]);return i}function Ro(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==i?","+i:i)}function Ho(e,t){console.error("[Vue compiler]: "+e)}function Bo(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Uo(e,t,n,r,i){(e.props||(e.props=[])).push(Yo({name:t,value:n,dynamic:i},r)),e.plain=!1}function zo(e,t,n,r,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Yo({name:t,value:n,dynamic:i},r)),e.plain=!1}function Vo(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(Yo({name:t,value:n},r))}function Jo(e,t,n,r,i,o,a,s){(e.directives||(e.directives=[])).push(Yo({name:t,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Ko(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function qo(e,n,r,i,o,a,s,c){var u;(i=i||t).right?c?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete i.right):i.middle&&(c?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),i.capture&&(delete i.capture,n=Ko("!",n,c)),i.once&&(delete i.once,n=Ko("~",n,c)),i.passive&&(delete i.passive,n=Ko("&",n,c)),i.native?(delete i.native,u=e.nativeEvents||(e.nativeEvents={})):u=e.events||(e.events={});var l=Yo({value:r.trim(),dynamic:c},s);i!==t&&(l.modifiers=i);var f=u[n];Array.isArray(f)?o?f.unshift(l):f.push(l):u[n]=f?o?[l,f]:[f,l]:l,e.plain=!1}function Wo(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function Zo(e,t,n){var r=Go(e,":"+t)||Go(e,"v-bind:"+t);if(null!=r)return Po(r);if(!1!==n){var i=Go(e,t);if(null!=i)return JSON.stringify(i)}}function Go(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function Xo(e,t){for(var n=e.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(t.test(o.name))return n.splice(r,1),o}}function Yo(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Qo(e,t,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=ea(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function ea(e,t){var n=ta(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function ta(e){if(e=e.trim(),To=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<To-1)return(Eo=e.lastIndexOf("."))>-1?{exp:e.slice(0,Eo),key:'"'+e.slice(Eo+1)+'"'}:{exp:e,key:null};for(No=e,Eo=Mo=Do=0;!ra();)ia(jo=na())?aa(jo):91===jo&&oa(jo);return{exp:e.slice(0,Mo),key:e.slice(Mo+1,Do)}}function na(){return No.charCodeAt(++Eo)}function ra(){return Eo>=To}function ia(e){return 34===e||39===e}function oa(e){var t=1;for(Mo=Eo;!ra();)if(ia(e=na()))aa(e);else if(91===e&&t++,93===e&&t--,0===t){Do=Eo;break}}function aa(e){for(var t=e;!ra()&&(e=na())!==t;);}var sa,ca="__r",ua="__c";function la(e,t,n){Lo=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Qo(e,r,i),!1;if("select"===o)da(e,r,i);else if("input"===o&&"checkbox"===a)fa(e,r,i);else if("input"===o&&"radio"===a)pa(e,r,i);else if("input"===o||"textarea"===o)va(e,r,i);else{if(!V.isReservedTag(o))return Qo(e,r,i),!1}return!0}function fa(e,t,n){var r=n&&n.number,i=Zo(e,"value")||"null",o=Zo(e,"true-value")||"true",a=Zo(e,"false-value")||"false";Uo(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),qo(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+ea(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+ea(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+ea(t,"$$c")+"}",null,!0)}function pa(e,t,n){var r=n&&n.number,i=Zo(e,"value")||"null";Uo(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),qo(e,"change",ea(t,i),null,!0)}function da(e,t,n){var r="var $$selectedVal = "+('Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"})")+";";qo(e,"change",r=r+" "+ea(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}function va(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?ca:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=ea(t,l);c&&(f="if($event.target.composing)return;"+f),Uo(e,"value","("+t+")"),qo(e,u,f,null,!0),(s||a)&&qo(e,"blur","$forceUpdate()")}function ha(e){if(r(e[ca])){var t=ne?"change":"input";e[t]=[].concat(e[ca],e[t]||[]),delete e[ca]}r(e[ua])&&(e.change=[].concat(e[ua],e.change||[]),delete e[ua])}function ma(e,t,n){var r=sa;return function i(){null!==t.apply(null,arguments)&&_a(e,i,n,r)}}var ya=Rt&&!(ue&&Number(ue[1])<=53);function ga(e,t,n,r){if(ya){var i=Tr,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}sa.addEventListener(e,t,fe?{capture:n,passive:r}:n)}function _a(e,t,n,r){(r||sa).removeEventListener(e,t._wrapper||t,n)}function ba(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};sa=t.elm,ha(r),Qt(r,i,ga,_a,ma,t.context),sa=void 0}}var $a,wa={create:ba,update:ba};function xa(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(i in r(c.__ob__)&&(c=t.data.domProps=E({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=n(o)?"":String(o);Ca(a,u)&&(a.value=u)}else if("innerHTML"===i&&Hi(a.tagName)&&n(a.innerHTML)){($a=$a||document.createElement("div")).innerHTML="<svg>"+o+"</svg>";for(var l=$a.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(Xl){}}}}function Ca(e,t){return!e.composing&&("OPTION"===e.tagName||Aa(e,t)||ka(e,t))}function Aa(e,t){var n=!0;try{n=document.activeElement!==e}catch(Xl){}return n&&e.value!==t}function ka(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return h(n)!==h(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var Oa={create:xa,update:xa},Sa=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Ta(e){var t=Na(e.style);return e.staticStyle?E(e.staticStyle,t):t}function Na(e){return Array.isArray(e)?M(e):"string"==typeof e?Sa(e):e}function ja(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Ta(i.data))&&E(r,n);(n=Ta(e.data))&&E(r,n);for(var o=e;o=o.parent;)o.data&&(n=Ta(o.data))&&E(r,n);return r}var Ea,Ma=/^--/,Da=/\s*!important$/,La=function(e,t,n){if(Ma.test(t))e.style.setProperty(t,n);else if(Da.test(n))e.style.setProperty(O(t),n.replace(Da,""),"important");else{var r=Fa(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Ia=["Webkit","Moz","ms"],Fa=w(function(e){if(Ea=Ea||document.createElement("div").style,"filter"!==(e=C(e))&&e in Ea)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ia.length;n++){var r=Ia[n]+t;if(r in Ea)return r}});function Pa(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,c=t.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,p=Na(t.data.style)||{};t.data.normalizedStyle=r(p.__ob__)?E({},p):p;var d=ja(t,!0);for(s in f)n(d[s])&&La(c,s,"");for(s in d)(a=d[s])!==f[s]&&La(c,s,null==a?"":a)}}var Ra={create:Pa,update:Pa},Ha=/\s+/;function Ba(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ha).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ua(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ha).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function za(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,Va(e.name||"v")),E(t,e),t}return"string"==typeof e?Va(e):void 0}}var Va=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Ja=Y&&!re,Ka="transition",qa="animation",Wa="transition",Za="transitionend",Ga="animation",Xa="animationend";Ja&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wa="WebkitTransition",Za="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ga="WebkitAnimation",Xa="webkitAnimationEnd"));var Ya=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Qa(e){Ya(function(){Ya(e)})}function es(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ba(e,t))}function ts(e,t){e._transitionClasses&&_(e._transitionClasses,t),Ua(e,t)}function ns(e,t,n){var r=is(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ka?Za:Xa,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),e.addEventListener(s,l)}var rs=/\b(transform|all)(,|$)/;function is(e,t){var n,r=window.getComputedStyle(e),i=(r[Wa+"Delay"]||"").split(", "),o=(r[Wa+"Duration"]||"").split(", "),a=os(i,o),s=(r[Ga+"Delay"]||"").split(", "),c=(r[Ga+"Duration"]||"").split(", "),u=os(s,c),l=0,f=0;return t===Ka?a>0&&(n=Ka,l=a,f=o.length):t===qa?u>0&&(n=qa,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ka:qa:null)?n===Ka?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ka&&rs.test(r[Wa+"Property"])}}function os(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return as(t)+as(e[n])}))}function as(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ss(e,t){var i=e.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=za(e.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,c=o.type,u=o.enterClass,l=o.enterToClass,f=o.enterActiveClass,p=o.appearClass,d=o.appearToClass,v=o.appearActiveClass,m=o.beforeEnter,y=o.enter,g=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,$=o.appear,w=o.afterAppear,x=o.appearCancelled,C=o.duration,A=ur,k=ur.$vnode;k&&k.parent;)A=k.context,k=k.parent;var O=!A._isMounted||!e.isRootInsert;if(!O||$||""===$){var S=O&&p?p:u,T=O&&v?v:f,N=O&&d?d:l,j=O&&b||m,E=O&&"function"==typeof $?$:y,M=O&&w||g,D=O&&x||_,L=h(s(C)?C.enter:C);0;var I=!1!==a&&!re,F=fs(E),P=i._enterCb=H(function(){I&&(ts(i,N),ts(i,T)),P.cancelled?(I&&ts(i,S),D&&D(i)):M&&M(i),i._enterCb=null});e.data.show||en(e,"insert",function(){var t=i.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),E&&E(i,P)}),j&&j(i),I&&(es(i,S),es(i,T),Qa(function(){ts(i,S),P.cancelled||(es(i,N),F||(ls(L)?setTimeout(P,L):ns(i,c,P)))})),e.data.show&&(t&&t(),E&&E(i,P)),I||F||P()}}}function cs(e,t){var i=e.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var o=za(e.data.transition);if(n(o)||1!==i.nodeType)return t();if(!r(i._leaveCb)){var a=o.css,c=o.type,u=o.leaveClass,l=o.leaveToClass,f=o.leaveActiveClass,p=o.beforeLeave,d=o.leave,v=o.afterLeave,m=o.leaveCancelled,y=o.delayLeave,g=o.duration,_=!1!==a&&!re,b=fs(d),$=h(s(g)?g.leave:g);0;var w=i._leaveCb=H(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),_&&(ts(i,l),ts(i,f)),w.cancelled?(_&&ts(i,u),m&&m(i)):(t(),v&&v(i)),i._leaveCb=null});y?y(x):x()}function x(){w.cancelled||(!e.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),p&&p(i),_&&(es(i,u),es(i,f),Qa(function(){ts(i,u),w.cancelled||(es(i,l),b||(ls($)?setTimeout(w,$):ns(i,c,w)))})),d&&d(i,w),_||b||w())}}function us(e,t,n){"number"!=typeof e?we("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&we("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function ls(e){return"number"==typeof e&&!isNaN(e)}function fs(e){if(n(e))return!1;var t=e.fns;return r(t)?fs(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function ps(e,t){!0!==t.data.show&&ss(t)}var ds=Y?{create:ps,activate:ps,remove:function(e,t){!0!==e.data.show?cs(e,t):t()}}:{},vs=[Oo,Io,wa,Oa,Ra,ds],hs=vs.concat(xo),ms=ho({nodeOps:ao,modules:hs});re&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Cs(e,"input")});var ys={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?en(n,"postpatch",function(){ys.componentUpdated(e,t,n)}):gs(e,t,n.context),e._vOptions=[].map.call(e.options,$s)):("textarea"===n.tag||Ki(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ws),e.addEventListener("compositionend",xs),e.addEventListener("change",xs),re&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){gs(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,$s);if(i.some(function(e,t){return!P(e,r[t])}))(e.multiple?t.value.some(function(e){return bs(e,i)}):t.value!==t.oldValue&&bs(t.value,i))&&Cs(e,"change")}}};function gs(e,t,n){_s(e,t,n),(ne||ie)&&setTimeout(function(){_s(e,t,n)},0)}function _s(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],i)o=R(r,$s(a))>-1,a.selected!==o&&(a.selected=o);else if(P($s(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function bs(e,t){return t.every(function(t){return!P(t,e)})}function $s(e){return"_value"in e?e._value:e.value}function ws(e){e.target.composing=!0}function xs(e){e.target.composing&&(e.target.composing=!1,Cs(e.target,"input"))}function Cs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function As(e){return!e.componentInstance||e.data&&e.data.transition?e:As(e.componentInstance._vnode)}var ks={bind:function(e,t,n){var r=t.value,i=(n=As(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,ss(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=As(n)).data&&n.data.transition?(n.data.show=!0,r?ss(n,function(){e.style.display=e.__vOriginalDisplay}):cs(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Os={model:ys,show:ks},Ss={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ts(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ts(nr(t.children)):e}function Ns(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function js(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Es(e){for(;e=e.parent;)if(e.data.transition)return!0}function Ms(e,t){return t.key===e.key&&t.tag===e.tag}var Ds=function(e){return e.tag||tr(e)},Ls=function(e){return"show"===e.name},Is={name:"transition",props:Ss,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Ds)).length){0;var r=this.mode;0;var i=n[0];if(Es(this.$vnode))return i;var o=Ts(i);if(!o)return i;if(this._leaving)return js(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=Ns(this),u=this._vnode,l=Ts(u);if(o.data.directives&&o.data.directives.some(Ls)&&(o.data.show=!0),l&&l.data&&!Ms(o,l)&&!tr(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=E({},c);if("out-in"===r)return this._leaving=!0,en(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),js(e,i);if("in-out"===r){if(tr(o))return u;var p,d=function(){p()};en(c,"afterEnter",d),en(c,"enterCancelled",d),en(f,"delayLeave",function(e){p=e})}}return i}}},Fs=E({tag:String,moveClass:String},Ss);delete Fs.mode;var Ps={props:Fs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=fr(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ns(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=e(t,null,u),this.removed=l}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Rs),e.forEach(Hs),e.forEach(Bs),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;es(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Za,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Za,e),n._moveCb=null,ts(n,t))})}}))},methods:{hasMove:function(e,t){if(!Ja)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Ua(n,e)}),Ba(n,t),n.style.display="none",this.$el.appendChild(n);var r=is(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Rs(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Hs(e){e.data.newPos=e.elm.getBoundingClientRect()}function Bs(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var Us={Transition:Is,TransitionGroup:Ps};oi.config.mustUseProp=wi,oi.config.isReservedTag=Ui,oi.config.isReservedAttr=bi,oi.config.getTagNamespace=zi,oi.config.isUnknownElement=Ji,E(oi.options.directives,Os),E(oi.options.components,Us),oi.prototype.__patch__=Y?ms:D,oi.prototype.$mount=function(e,t){return vr(this,e=e&&Y?qi(e):void 0,t)},Y&&setTimeout(function(){V.devtools&&ve&&ve.emit("init",oi)},0);var zs=/\{\{((?:.|\r?\n)+?)\}\}/g,Vs=/[-.*+?^${}()|[\]\/\\]/g,Js=w(function(e){var t=e[0].replace(Vs,"\\$&"),n=e[1].replace(Vs,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function Ks(e,t){var n=t?Js(t):zs;if(n.test(e)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(i=r.index)>c&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Po(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function qs(e,t){t.warn;var n=Go(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Zo(e,"class",!1);r&&(e.classBinding=r)}function Ws(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}var Zs={staticKeys:["staticClass"],transformNode:qs,genData:Ws};function Gs(e,t){t.warn;var n=Go(e,"style");n&&(e.staticStyle=JSON.stringify(Sa(n)));var r=Zo(e,"style",!1);r&&(e.styleBinding=r)}function Xs(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}var Ys,Qs={staticKeys:["staticStyle"],transformNode:Gs,genData:Xs},ec={decode:function(e){return(Ys=Ys||document.createElement("div")).innerHTML=e,Ys.textContent}},tc=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),nc=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),rc=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ic=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oc=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ac="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+J.source+"]*",sc="((?:"+ac+"\\:)?"+ac+")",cc=new RegExp("^<"+sc),uc=/^\s*(\/?)>/,lc=new RegExp("^<\\/"+sc+"[^>]*>"),fc=/^<!DOCTYPE [^>]+>/i,pc=/^<!\--/,dc=/^<!\[/,vc=m("script,style,textarea",!0),hc={},mc={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},yc=/&(?:lt|gt|quot|amp|#39);/g,gc=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,_c=m("pre,textarea",!0),bc=function(e,t){return e&&_c(e)&&"\n"===t[0]};function $c(e,t){var n=t?gc:yc;return e.replace(n,function(e){return mc[e]})}function wc(e,t){for(var n,r,i=[],o=t.expectHTML,a=t.isUnaryTag||L,s=t.canBeLeftOpenTag||L,c=0;e;){if(n=e,r&&vc(r)){var u=0,l=r.toLowerCase(),f=hc[l]||(hc[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,vc(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),bc(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(pc.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),x(v+3);continue}}if(dc.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(fc);if(m){x(m[0].length);continue}var y=e.match(lc);if(y){var g=c;x(y[0].length),k(y[1],g,c);continue}var _=C();if(_){A(_),bc(_.tagName,e)&&x(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(lc.test($)||cc.test($)||pc.test($)||dc.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&x(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function x(t){c+=t,e=e.substring(t)}function C(){var t=e.match(cc);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(uc))&&(r=e.match(oc)||e.match(ic));)r.start=c,x(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=c,i}}function A(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&rc(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p<l;p++){var d=e.attrs[p],v=d[3]||d[4]||d[5]||"",h="a"===n&&"href"===d[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[p]={name:d[1],value:$c(v,h)}}u||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f,start:e.start,end:e.end}),r=n),t.start&&t.start(n,f,u,e.start,e.end)}function k(e,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),e)for(s=e.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}var xc,Cc,Ac,kc,Oc,Sc,Tc,Nc,jc,Ec=/^@|^v-on:/,Mc=/^v-|^@|^:|^#/,Dc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Lc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ic=/^\(|\)$/g,Fc=/^\[.*\]$/,Pc=/:(.*)$/,Rc=/^:|^\.|^v-bind:/,Hc=/\.[^.\]]+(?=[^\]]*$)/g,Bc=/^v-slot(:|$)|^#/,Uc=/[\r\n]/,zc=/\s+/g,Vc=/[\s"'<>\/=]/,Jc=w(ec.decode),Kc="_empty_";function qc(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:vu(t),rawAttrsMap:{},parent:n,children:[]}}function Wc(e,t){xc=t.warn||Ho,Sc=t.isPreTag||L,Tc=t.mustUseProp||L,Nc=t.getTagNamespace||L;var n=t.isReservedTag||L;jc=function(e){return!!e.component||!n(e.tag)},Ac=Bo(t.modules,"transformNode"),kc=Bo(t.modules,"preTransformNode"),Oc=Bo(t.modules,"postTransformNode"),Cc=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,u=!1;function l(e){if(f(e),c||e.processed||(e=Xc(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&ou(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)ru(e,i);else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}e.children=e.children.filter(function(e){return!e.slotScope}),f(e),e.pre&&(c=!1),Sc(e.tag)&&(u=!1);for(var a=0;a<Oc.length;a++)Oc[a](e,t)}function f(e){if(!u)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return wc(e,{warn:xc,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,f){var p=i&&i.ns||Nc(e);ne&&"svg"===p&&(n=_u(n));var d=qc(e,n,i);p&&(d.ns=p),mu(d)&&!de()&&(d.forbidden=!0);for(var v=0;v<kc.length;v++)d=kc[v](d,t)||d;c||(Zc(d),d.pre&&(c=!0)),Sc(d.tag)&&(u=!0),c?Gc(d):d.processed||(eu(d),nu(d),au(d)),r||(r=d),a?l(d):(i=d,o.push(d))},end:function(e,t,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],l(r)},chars:function(e,t,n){if(i&&(!ne||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,o,l=i.children;if(e=u||e.trim()?hu(i)?e:Jc(e):l.length?s?"condense"===s&&Uc.test(e)?"":" ":a?" ":"":"")u||"condense"!==s||(e=e.replace(zc," ")),!c&&" "!==e&&(r=Ks(e,Cc))?o={type:2,expression:r.expression,tokens:r.tokens,text:e}:" "===e&&l.length&&" "===l[l.length-1].text||(o={type:3,text:e}),o&&l.push(o)}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};0,i.children.push(r)}}}),r}function Zc(e){null!=Go(e,"v-pre")&&(e.pre=!0)}function Gc(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),i=0;i<n;i++)r[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(r[i].start=t[i].start,r[i].end=t[i].end);else e.pre||(e.plain=!0)}function Xc(e,t){Yc(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,Qc(e),su(e),uu(e),lu(e);for(var n=0;n<Ac.length;n++)e=Ac[n](e,t)||e;return fu(e),e}function Yc(e){var t=Zo(e,"key");t&&(e.key=t)}function Qc(e){var t=Zo(e,"ref");t&&(e.ref=t,e.refInFor=pu(e))}function eu(e){var t;if(t=Go(e,"v-for")){var n=tu(t);n&&E(e,n)}}function tu(e){var t=e.match(Dc);if(t){var n={};n.for=t[2].trim();var r=t[1].trim().replace(Ic,""),i=r.match(Lc);return i?(n.alias=r.replace(Lc,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r,n}}function nu(e){var t=Go(e,"v-if");if(t)e.if=t,ou(e,{exp:t,block:e});else{null!=Go(e,"v-else")&&(e.else=!0);var n=Go(e,"v-else-if");n&&(e.elseif=n)}}function ru(e,t){var n=iu(t.children);n&&n.if&&ou(n,{exp:e.elseif,block:e})}function iu(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function ou(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function au(e){null!=Go(e,"v-once")&&(e.once=!0)}function su(e){var t;"template"===e.tag?(t=Go(e,"scope"),e.slotScope=t||Go(e,"slot-scope")):(t=Go(e,"slot-scope"))&&(e.slotScope=t);var n=Zo(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||zo(e,"slot",n,Wo(e,"slot"))),"template"===e.tag){var r=Xo(e,Bc);if(r){0;var i=cu(r),o=i.name,a=i.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=r.value||Kc}}else{var s=Xo(e,Bc);if(s){0;var c=e.scopedSlots||(e.scopedSlots={}),u=cu(s),l=u.name,f=u.dynamic,p=c[l]=qc("template",[],e);p.slotTarget=l,p.slotTargetDynamic=f,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=s.value||Kc,e.children=[],e.plain=!1}}}function cu(e){var t=e.name.replace(Bc,"");return t||"#"!==e.name[0]&&(t="default"),Fc.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function uu(e){"slot"===e.tag&&(e.slotName=Zo(e,"name"))}function lu(e){var t;(t=Zo(e,"is"))&&(e.component=t),null!=Go(e,"inline-template")&&(e.inlineTemplate=!0)}function fu(e){var t,n,r,i,o,a,s,c,u=e.attrsList;for(t=0,n=u.length;t<n;t++){if(r=i=u[t].name,o=u[t].value,Mc.test(r))if(e.hasBindings=!0,(a=du(r.replace(Mc,"")))&&(r=r.replace(Hc,"")),Rc.test(r))r=r.replace(Rc,""),o=Po(o),(c=Fc.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=C(r))&&(r="innerHTML"),a.camel&&!c&&(r=C(r)),a.sync&&(s=ea(o,"$event"),c?qo(e,'"update:"+('+r+")",s,null,!1,xc,u[t],!0):(qo(e,"update:"+C(r),s,null,!1,xc,u[t]),O(r)!==C(r)&&qo(e,"update:"+O(r),s,null,!1,xc,u[t])))),a&&a.prop||!e.component&&Tc(e.tag,e.attrsMap.type,r)?Uo(e,r,o,u[t],c):zo(e,r,o,u[t],c);else if(Ec.test(r))r=r.replace(Ec,""),(c=Fc.test(r))&&(r=r.slice(1,-1)),qo(e,r,o,a,!1,xc,u[t],c);else{var l=(r=r.replace(Mc,"")).match(Pc),f=l&&l[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),Fc.test(f)&&(f=f.slice(1,-1),c=!0)),Jo(e,r,i,o,f,c,a,u[t])}else zo(e,r,JSON.stringify(o),u[t]),!e.component&&"muted"===r&&Tc(e.tag,e.attrsMap.type,r)&&Uo(e,r,"true",u[t])}}function pu(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function du(e){var t=e.match(Hc);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function vu(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}function hu(e){return"script"===e.tag||"style"===e.tag}function mu(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}var yu=/^xmlns:NS\d+/,gu=/^NS\d+:/;function _u(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];yu.test(r.name)||(r.name=r.name.replace(gu,""),t.push(r))}return t}function bu(e,t){for(var n=e;n;)n.for&&n.alias===t&&xc("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function $u(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Zo(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Go(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Go(e,"v-else",!0),s=Go(e,"v-else-if",!0),c=wu(e);eu(c),Vo(c,"type","checkbox"),Xc(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,ou(c,{exp:c.if,block:c});var u=wu(e);Go(u,"v-for",!0),Vo(u,"type","radio"),Xc(u,t),ou(c,{exp:"("+n+")==='radio'"+o,block:u});var l=wu(e);return Go(l,"v-for",!0),Vo(l,":type",n),Xc(l,t),ou(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}function wu(e){return qc(e.tag,e.attrsList.slice(),e.parent)}var xu={preTransformNode:$u},Cu=[Zs,Qs,xu];function Au(e,t){t.value&&Uo(e,"textContent","_s("+t.value+")",t)}function ku(e,t){t.value&&Uo(e,"innerHTML","_s("+t.value+")",t)}var Ou,Su,Tu={model:la,text:Au,html:ku},Nu={expectHTML:!0,modules:Cu,directives:Tu,isPreTag:Bi,isUnaryTag:tc,mustUseProp:wi,canBeLeftOpenTag:nc,isReservedTag:Ui,getTagNamespace:zi,staticKeys:F(Cu)},ju=w(Mu);function Eu(e,t){e&&(Ou=ju(t.staticKeys||""),Su=t.isReservedTag||L,Du(e),Lu(e,!1))}function Mu(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}function Du(e){if(e.static=Iu(e),1===e.type){if(!Su(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Du(r),r.static||(e.static=!1)}if(e.ifConditions)for(var i=1,o=e.ifConditions.length;i<o;i++){var a=e.ifConditions[i].block;Du(a),a.static||(e.static=!1)}}}function Lu(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)Lu(e.children[n],t||!!e.for);if(e.ifConditions)for(var i=1,o=e.ifConditions.length;i<o;i++)Lu(e.ifConditions[i].block,t)}}function Iu(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||y(e.tag)||!Su(e.tag)||Fu(e)||!Object.keys(e).every(Ou))))}function Fu(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}var Pu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ru=/\([^)]*?\);*$/,Hu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Bu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Uu={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},zu=function(e){return"if("+e+")return null;"},Vu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:zu("$event.target !== $event.currentTarget"),ctrl:zu("!$event.ctrlKey"),shift:zu("!$event.shiftKey"),alt:zu("!$event.altKey"),meta:zu("!$event.metaKey"),left:zu("'button' in $event && $event.button !== 0"),middle:zu("'button' in $event && $event.button !== 1"),right:zu("'button' in $event && $event.button !== 2")};function Ju(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Ku(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ku(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ku(e)}).join(",")+"]";var t=Hu.test(e.value),n=Pu.test(e.value),r=Hu.test(e.value.replace(Ru,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Vu[s])o+=Vu[s],Bu[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=zu(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=qu(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function qu(e){return"if(!$event.type.indexOf('key')&&"+e.map(Wu).join("&&")+")return null;"}function Wu(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Bu[e],r=Uu[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function Zu(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}}function Gu(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}}var Xu={on:Zu,bind:Gu,cloak:D},Yu=function(e){this.options=e,this.warn=e.warn||Ho,this.transforms=Bo(e.modules,"transformCode"),this.dataGenFns=Bo(e.modules,"genData"),this.directives=E(E({},Xu),e.directives);var t=e.isReservedTag||L;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Qu(e,t){var n=new Yu(t);return{render:"with(this){return "+(e?el(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function el(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return tl(e,t);if(e.once&&!e.onceProcessed)return nl(e,t);if(e.for&&!e.forProcessed)return ol(e,t);if(e.if&&!e.ifProcessed)return rl(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return _l(e,t);var n;if(e.component)n=bl(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=al(e,t));var i=e.inlineTemplate?null:dl(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return dl(e,t)||"void 0"}function tl(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+el(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function nl(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return rl(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+el(e,t)+","+t.onceId+++","+n+")":el(e,t)}return tl(e,t)}function rl(e,t,n,r){return e.ifProcessed=!0,il(e.ifConditions.slice(),t,n,r)}function il(e,t,n,r){if(!e.length)return r||"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+o(i.block)+":"+il(e,t,n,r):""+o(i.block);function o(e){return n?n(e,t):e.once?nl(e,t):el(e,t)}}function ol(e,t,n,r){var i=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||el)(e,t)+"})"}function al(e,t){var n="{",r=sl(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:"+$l(e.attrs)+","),e.props&&(n+="domProps:"+$l(e.props)+","),e.events&&(n+=Ju(e.events,!1)+","),e.nativeEvents&&(n+=Ju(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=ul(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=cl(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+$l(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function sl(e,t){var n=e.directives;if(n){var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var u=t.directives[o.name];u&&(a=!!u(e,o,t.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function cl(e,t){var n=e.children[0];if(n&&1===n.type){var r=Qu(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function ul(e,t,n){var r=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||fl(n)}),i=!!e.if;if(!r)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==Kc||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(t).map(function(e){return pl(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&i?",null,false,"+ll(a):"")+")"}function ll(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}function fl(e){return 1===e.type&&("slot"===e.tag||e.children.some(fl))}function pl(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return rl(e,t,pl,"null");if(e.for&&!e.forProcessed)return ol(e,t,pl);var r=e.slotScope===Kc?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(dl(e,t)||"undefined")+":undefined":dl(e,t)||"undefined":el(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function dl(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||el)(a,t)+s}var c=n?vl(o,t.maybeComponent):0,u=i||ml;return"["+o.map(function(e){return u(e,t)}).join(",")+"]"+(c?","+c:"")}}function vl(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(hl(i)||i.ifConditions&&i.ifConditions.some(function(e){return hl(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}function hl(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ml(e,t){return 1===e.type?el(e,t):3===e.type&&e.isComment?gl(e):yl(e)}function yl(e){return"_v("+(2===e.type?e.expression:wl(JSON.stringify(e.text)))+")"}function gl(e){return"_e("+JSON.stringify(e.text)+")"}function _l(e,t){var n=e.slotName||'"default"',r=dl(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?$l((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=","+o),a&&(i+=(o?"":",null")+","+a),i+")"}function bl(e,t,n){var r=t.inlineTemplate?null:dl(t,n,!0);return"_c("+e+","+al(t,n)+(r?","+r:"")+")"}function $l(e){for(var t="",n="",r=0;r<e.length;r++){var i=e[r],o=wl(i.value);i.dynamic?n+=i.name+","+o+",":t+='"'+i.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function wl(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var xl=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Cl=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),Al=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function kl(e,t){e&&Ol(e,t)}function Ol(e,t){if(1===e.type){for(var n in e.attrsMap)if(Mc.test(n)){var r=e.attrsMap[n];if(r){var i=e.rawAttrsMap[n];"v-for"===n?Tl(e,'v-for="'+r+'"',t,i):"v-slot"===n||"#"===n[0]?El(r,n+'="'+r+'"',t,i):Ec.test(n)?Sl(r,n+'="'+r+'"',t,i):jl(r,n+'="'+r+'"',t,i)}}if(e.children)for(var o=0;o<e.children.length;o++)Ol(e.children[o],t)}else 2===e.type&&jl(e.expression,e.text,t,e)}function Sl(e,t,n,r){var i=e.replace(Al,""),o=i.match(Cl);o&&"$"!==i.charAt(o.index-1)&&n('avoid using JavaScript unary operator as property name: "'+o[0]+'" in expression '+t.trim(),r),jl(e,t,n,r)}function Tl(e,t,n,r){jl(e.for||"",t,n,r),Nl(e.alias,"v-for alias",t,n,r),Nl(e.iterator1,"v-for iterator",t,n,r),Nl(e.iterator2,"v-for iterator",t,n,r)}function Nl(e,t,n,r,i){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(Xl){r("invalid "+t+' "'+e+'" in expression: '+n.trim(),i)}}function jl(e,t,n,r){try{new Function("return "+e)}catch(Xl){var i=e.replace(Al,"").match(xl);n(i?'avoid using JavaScript keyword as property name: "'+i[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+Xl.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}function El(e,t,n,r){try{new Function(e,"")}catch(Xl){n("invalid function parameter expression: "+Xl.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}var Ml=2;function Dl(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r=e.split(/\r?\n/),i=0,o=[],a=0;a<r.length;a++)if((i+=r[a].length+1)>=t){for(var s=a-Ml;s<=a+Ml||n>i;s++)if(!(s<0||s>=r.length)){o.push(""+(s+1)+Ll(" ",3-String(s+1).length)+"| "+r[s]);var c=r[s].length;if(s===a){var u=t-(i-c)+1,l=n>i?c-u:n-t;o.push(" | "+Ll(" ",u)+Ll("^",l))}else if(s>a){if(n>i){var f=Math.min(n-i,c);o.push(" | "+Ll("^",f))}i+=c+1}}break}return o.join("\n")}function Ll(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function Il(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),D}}function Fl(e){var t=Object.create(null);return function(n,r,i){(r=E({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r);var s={},c=[];return s.render=Il(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Il(e,c)}),t[o]=s}}function Pl(e){return function(t){function n(n,r){var i=Object.create(t),o=[],a=[],s=function(e,t,n){(n?a:o).push(e)};if(r)for(var c in r.modules&&(i.modules=(t.modules||[]).concat(r.modules)),r.directives&&(i.directives=E(Object.create(t.directives||null),r.directives)),r)"modules"!==c&&"directives"!==c&&(i[c]=r[c]);i.warn=s;var u=e(n.trim(),i);return u.errors=o,u.tips=a,u}return{compile:n,compileToFunctions:Fl(n)}}}var Rl,Hl=Pl(function(e,t){var n=Wc(e.trim(),t);!1!==t.optimize&&Eu(n,t);var r=Qu(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}),Bl=Hl(Nu),Ul=Bl.compile,zl=Bl.compileToFunctions;function Vl(e){return(Rl=Rl||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Rl.innerHTML.indexOf(" ")>0}var Jl=!!Y&&Vl(!1),Kl=!!Y&&Vl(!0),ql=w(function(e){var t=qi(e);return t&&t.innerHTML}),Wl=oi.prototype.$mount;function Zl(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}oi.prototype.$mount=function(e,t){if((e=e&&qi(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ql(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=Zl(e));if(r){0;var i=zl(r,{outputSourceRange:!1,shouldDecodeNewlines:Jl,shouldDecodeNewlinesForHref:Kl,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Wl.call(this,e,t)},oi.compile=zl;var Gl=oi;exports.default=Gl;
|
6 |
},{}],"Lue2":[function(require,module,exports) {
|
7 |
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var e=t(require("vue"));function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t){return o(t)||s(t)||i()}function o(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}function s(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var a="undefined"!=typeof window;function u(t){return Array.isArray(t)||"object"===r(t)?Object.freeze(t):t}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce(function(t,r){var n=r.passengers[0],o="function"==typeof n?n(e):r.passengers;return t.concat(o)},[])}function c(t,e){return t.map(function(t,e){return[e,t]}).sort(function(t,r){return e(t[1],r[1])||t[0]-r[0]}).map(function(t){return t[1]})}function p(t,e){return e.reduce(function(e,r){return t.hasOwnProperty(r)&&(e[r]=t[r]),e},{})}var h={},d={},f={},g=e.extend({data:function(){return{transports:h,targets:d,sources:f,trackInstances:a}},methods:{open:function(t){if(a){var r=t.to,n=t.from,o=t.passengers,s=t.order,i=void 0===s?1/0:s;if(r&&n&&o){var l={to:r,from:n,passengers:u(o),order:i};-1===Object.keys(this.transports).indexOf(r)&&e.set(this.transports,r,[]);var p=this.$_getTransportIndex(l),h=this.transports[r].slice(0);-1===p?h.push(l):h[p]=l,this.transports[r]=c(h,function(t,e){return t.order-e.order})}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.to,n=t.from;if(r&&(n||!1!==e)&&this.transports[r])if(e)this.transports[r]=[];else{var o=this.$_getTransportIndex(t);if(o>=0){var s=this.transports[r].slice(0);s.splice(o,1),this.transports[r]=s}}},registerTarget:function(t,e,r){a&&(this.trackInstances&&!r&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,r){a&&(this.trackInstances&&!r&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,r=t.from;for(var n in this.transports[e])if(this.transports[e][n].from===r)return+n;return-1}}}),m=new g(h),y=1,v=e.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(y++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick(function(){m.registerSource(t.name,t)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){m.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};m.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:n(t),order:this.order};m.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],r=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(r,[this.normalizeOwnChildren(e)]):this.slim?t():t(r,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),S=e.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:m.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick(function(){m.registerTarget(t.name,t)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){m.unregisterTarget(e),m.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick(function(){t.firstRender=!1})},beforeDestroy:function(){m.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return l(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),r=this.children(),n=this.transition||this.tag;return e?r[0]:this.slim&&!n?t():t(n,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},r)}}),b=0,T=["disabled","name","order","slim","slotProps","tag","to"],$=["multiple","transition"],w=e.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(b++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(m.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=m.targets[e.name];else{var r=e.append;if(r){var n="string"==typeof r?r:"DIV",o=document.createElement(n);t.appendChild(o),t=o}var s=p(this.$props,$);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new S({el:t,parent:this.$parent||this,propsData:s})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,T);return t(v,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var r=this.$scopedSlots.manual({to:this.to});return Array.isArray(r)&&(r=r[0]),r||t()}});function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",v),t.component(e.portalTargetName||"PortalTarget",S),t.component(e.MountingPortalName||"MountingPortal",w)}var x={install:P};exports.default=x,exports.Portal=v,exports.PortalTarget=S,exports.MountingPortal=w,exports.Wormhole=m;
|
8 |
},{"vue":"HYXJ"}],"CDb8":[function(require,module,exports) {
|
9 |
"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(n){e(t,n,r[n])})}return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Plugin=exports.SSR=exports.Fragment=exports.default=void 0;var n=function(e,t,n){Object.defineProperty(e,t,{configurable:!0,get:function(){return n},set:function(e){console.warn("tried to set frozen property ".concat(t," with ").concat(e))}})},r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n})},o={abstract:!0,name:"Fragment",props:{name:{type:String,default:function(){return Math.floor(Date.now()*Math.random()).toString(16)}}},mounted:function(){var e=this.$el,t=e.parentNode,o=document.createComment("fragment#".concat(this.name,"#head")),i=document.createComment("fragment#".concat(this.name,"#tail"));t.insertBefore(o,e),t.insertBefore(i,e),e.appendChild=function(r){t.insertBefore(r,i),n(r,"parentNode",e)},e.insertBefore=function(r,o){t.insertBefore(r,o),n(r,"parentNode",e)},e.removeChild=function(e){t.removeChild(e),r(e,"parentNode")},Array.from(e.childNodes).forEach(function(t){return e.appendChild(t)}),t.removeChild(e),n(e,"parentNode",t),n(e,"nextSibling",i.nextSibling);var a=t.insertBefore;t.insertBefore=function(n,r){a.call(t,n,r!==e?r:o)};var c=t.removeChild;t.removeChild=function(n){if(n===e){for(;o.nextSibling!==i;)e.removeChild(o.nextSibling);t.removeChild(o),t.removeChild(i),r(e,"parentNode"),t.insertBefore=a,t.removeChild=c}else c.call(t,n)}},render:function(e){var n=this,r=this.$slots.default;return r&&r.length&&r.forEach(function(e){return e.data=t({},e.data,{attrs:t({fragment:n.name},(e.data||{}).attrs)})}),e("div",{attrs:{fragment:this.name}},r)}};function i(e,t){}var a=o,c=i,f={install:function(e){e.component("fragment",o)}},l={Fragment:o,Plugin:f,SSR:i};exports.Plugin=f,exports.SSR=c,exports.Fragment=a;var u=l;exports.default=u;
|
10 |
+
},{}],"DCTP":[function(require,module,exports) {
|
11 |
+
function r(r){if(Array.isArray(r))return r}module.exports=r;
|
12 |
+
},{}],"LoeL":[function(require,module,exports) {
|
13 |
+
function r(r,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r)){var e=[],n=!0,o=!1,l=void 0;try{for(var i,u=r[Symbol.iterator]();!(n=(i=u.next()).done)&&(e.push(i.value),!t||e.length!==t);n=!0);}catch(a){o=!0,l=a}finally{try{n||null==u.return||u.return()}finally{if(o)throw l}}return e}}module.exports=r;
|
14 |
+
},{}],"jEQo":[function(require,module,exports) {
|
15 |
+
function n(n,r){(null==r||r>n.length)&&(r=n.length);for(var e=0,l=new Array(r);e<r;e++)l[e]=n[e];return l}module.exports=n;
|
16 |
+
},{}],"Dbv9":[function(require,module,exports) {
|
17 |
+
var r=require("./arrayLikeToArray");function t(t,e){if(t){if("string"==typeof t)return r(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(t,e):void 0}}module.exports=t;
|
18 |
+
},{"./arrayLikeToArray":"jEQo"}],"MWEO":[function(require,module,exports) {
|
19 |
+
function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}module.exports=e;
|
20 |
+
},{}],"DERy":[function(require,module,exports) {
|
21 |
+
var r=require("./arrayWithHoles"),e=require("./iterableToArrayLimit"),t=require("./unsupportedIterableToArray"),i=require("./nonIterableRest");function u(u,a){return r(u)||e(u,a)||t(u,a)||i()}module.exports=u;
|
22 |
+
},{"./arrayWithHoles":"DCTP","./iterableToArrayLimit":"LoeL","./unsupportedIterableToArray":"Dbv9","./nonIterableRest":"MWEO"}],"xOn8":[function(require,module,exports) {
|
23 |
+
function o(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?module.exports=o=function(o){return typeof o}:module.exports=o=function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},o(t)}module.exports=o;
|
24 |
},{}],"D1kn":[function(require,module,exports) {
|
25 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@babel/runtime/helpers/defineProperty"));function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function o(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?r(Object(n),!0).forEach(function(r){(0,e.default)(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var n=o({},wptbAdminSettingsData.options),i=o({},wptbAdminSettingsData.options),s={data:function(){return{store:n,rawStore:i}},methods:{revertStore:function(){var e=this;Object.keys(this.store).map(function(t){Object.prototype.hasOwnProperty.call(e.store,t)&&(e.store[t]=e.rawStore[t])})}}},c=s;exports.default=c;
|
26 |
+
},{"@babel/runtime/helpers/defineProperty":"cQfh"}],"wm3G":[function(require,module,exports) {
|
27 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@babel/runtime/helpers/defineProperty"));function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,s)}return r}function s(t){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?r(Object(a),!0).forEach(function(r){(0,e.default)(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}var a={withMessageData:{busy:!1,show:!1,message:"",type:"ok",intervalId:-1,intervalTime:5e3}},i=s({},a.withMessageData),n={data:function(){return a},methods:{isBusy:function(){return this.withMessageData.busy},setMessage:function(e){var t=this,r=s(s({},i),e);this.withMessageData.message=r.message,this.withMessageData.type=r.type,this.withMessageData.show=!0,clearInterval(this.withMessageData.intervalId),this.withMessageData.intervalId=setInterval(function(){t.withMessageData.show=!1},r.intervalTime)},setBusy:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.withMessageData.busy=e}}},o=n;exports.default=o;
|
28 |
+
},{"@babel/runtime/helpers/defineProperty":"cQfh"}],"vi91":[function(require,module,exports) {
|
29 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:["logoSrc","logoAlt","pluginName"]};exports.default=e;
|
30 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"wptb-settings-header"},[e("div",{staticClass:"wptb-settings-brand"},[e("img",{attrs:{src:t.logoSrc,alt:t.logoAlt}}),t._v(" "),e("span",{staticClass:"wptb-settings-header-name"},[t._v(" "+t._s(t.pluginName)+" ")])]),t._v(" "),e("div",{staticClass:"wptb-settings-links"},[t._t("default")],2)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
31 |
},{}],"bosS":[function(require,module,exports) {
|
35 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={props:["activeItem","relativeParent"],methods:{toPx:function(t){return"".concat(t,"px")}},computed:{styleCalculations:function(){if(this.activeItem){var t=this.activeItem.getBoundingClientRect(),e=this.relativeParent.getBoundingClientRect(),i=Math.abs(t.left-e.left);return{width:this.toPx(t.width),height:"2px",bottom:0,left:this.toPx(i)}}return{}}}};exports.default=t;
|
36 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"wptb-menu-active-section-indicator",style:this.styleCalculations})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
37 |
},{}],"yPIx":[function(require,module,exports) {
|
38 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=n(require("@babel/runtime/helpers/defineProperty")),t=n(require("./SectionItem")),r=n(require("./ActiveSectionIndicator"));function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach(function(r){(0,e.default)(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var c={model:{prop:"currentSection",event:"updateSection"},props:{child:{type:Boolean,default:!1},items:null,currentSection:String,disabled:{type:Boolean,default:!1}},components:{SectionItem:t.default,ActiveSectionIndicator:r.default},data:function(){return{innerCurrentSection:"",activeSectionElement:null}},mounted:function(){this.innerCurrentSection=this.currentSection||this.items[0]},watch:{innerCurrentSection:function(e){this.$emit("updateSection",e)}},computed:{getItems:function(){var e=this.items;return Object.keys(e).reduce(function(t,r){return Object.prototype.hasOwnProperty.call(e,r)&&t.push(o(o({priority:0},e[r]),{},{id:r})),t},[]).sort(function(e,t){return"general"===e.id||"general"===t.id?"general"===e.id?-1:1:t.priority-e.priority})}},methods:{handleSectionChange:function(e){this.innerCurrentSection=e},handleActiveSectionElement:function(e){this.activeSectionElement=e}}};exports.default=c;
|
39 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{ref:"wrapper",staticClass:"wptb-settings-sections-wrapper",class:{child:e.child}},[e._l(e.getItems,function(t){return n("section-item",{key:t.id,attrs:{name:t.id,label:t.label,current:e.innerCurrentSection,disabled:e.disabled},on:{sectionchange:e.handleSectionChange,activeSectionElement:e.handleActiveSectionElement}})}),e._v(" "),n("active-section-indicator",{attrs:{"relative-parent":e.$refs.wrapper,"active-item":e.activeSectionElement}})],2),e._v(" "),e._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
40 |
+
},{"@babel/runtime/helpers/defineProperty":"cQfh","./SectionItem":"bosS","./ActiveSectionIndicator":"jLHe"}],"SbnK":[function(require,module,exports) {
|
41 |
|
42 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(t,n){return(0,n._c)("span",{staticClass:"dashicons dashicons-image-rotate wptb-settings-fetching"})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:!0});})();
|
43 |
},{}],"P9T4":[function(require,module,exports) {
|
79 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{title:{type:String,default:"title"},message:{type:String,default:"message"}},computed:{messageHtml:function(){return"<p>".concat(this.message,"</p>")}}};exports.default=e;
|
80 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"wptb-disclaimer-container"},[s("div",{staticClass:"wptb-disclaimer-title"},[this._v(this._s(this.title)+":")]),this._v(" "),s("div",{staticClass:"wptb-disclaimer-message",domProps:{innerHTML:this._s(this.messageHtml)}})])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
81 |
},{}],"V4Tn":[function(require,module,exports) {
|
82 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=d(require("@babel/runtime/helpers/typeof")),t=require("vue-fragment"),s=d(require("./MenuContent")),n=d(require("./MenuButton")),r=d(require("./VersionControlRow")),i=d(require("./VersionIndicator")),o=d(require("./Changelog")),a=d(require("../mixins/withMessage")),u=d(require("./Settings/FooterButtons")),l=d(require("../mixins/SettingsMenuSection")),c=d(require("$Settings/Disclaimer"));function d(e){return e&&e.__esModule?e:{default:e}}var f={components:{Disclaimer:c.default,FooterButtons:u.default,VersionControlRow:r.default,MenuContent:s.default,Fragment:t.Fragment,MenuButton:n.default,VersionIndicator:i.default,Changelog:o.default},mixins:[a.default,l.default],data:function(){return{selectedVersion:"1.0.0",currentVersion:"1.0.0",latestVersion:"1.0.0",allVersions:{},installResult:!1,showForm:!1,form:"<p>form</p>"}},mounted:function(){var e=this.sectionData.currentVersion;this.currentVersion=e,this.latestVersion=this.sectionData.latestVersion,this.allVersions=this.sectionData.allVersions,this.selectedVersion=void 0!==this.allVersions[e]?e:this.latestVersion},computed:{showUpdateToLatest:function(){return this.currentVersion!==this.latestVersion},sortedVersions:function(){return Object.keys(this.allVersions).sort(function(e,t){return e>t?-1:e<t?1:0})}},methods:{isVersionSelected:function(e){return this.selectedVersion===e},updateToLatest:function(){this.selectedVersion=this.latestVersion,this.installVersion()},installVersion:function(){var t=this;if(!this.isVersionSelected(this.currentVersion)&&!this.isBusy()&&window.confirm(this.strings.rollbackConfirmation)){this.setBusy(!0);var s=new FormData,n=this.sectionData.security,r=n.action,i=n.nonce,o=n.ajaxUrl;s.append("action",r),s.append("nonce",i),s.append("version",this.selectedVersion);var a=!1;fetch(o,{method:"POST",body:s}).then(function(e){if(e.ok){var t=e.headers.get("Content-Type");return t.includes("text/plain-text")?e.text():t.includes("text/html")?(a=!0,e.text()):e.json()}throw new Error("an error occurred, try again later")}).then(function(s){if("object"===(0,e.default)(s)){if(s.error)throw new Error(s.error);t.setMessage({message:s.message}),t.setInstallResult(!0)}else{if(!a)throw new Error(s);t.showForm=!0,t.form=s}}).catch(function(e){t.setMessage({type:"error",message:e}),t.setInstallResult(!1)}).finally(function(){t.setBusy(!1)})}},setInstallResult:function(e){this.installResult=e},reloadPage:function(){window.location.reload()}}};exports.default=f;
|
83 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("fragment",[s("menu-content",{attrs:{center:!0}},[t.showForm?s("div",{domProps:{innerHTML:t._s(t.form)}}):s("div",{staticClass:"wptb-settings-version-control"},[s("div",{staticClass:"wptb-version-control-main"},[s("div",{staticClass:"wptb-version-control-main-row"},[t._v(t._s(t.strings.versionControlInfo))]),t._v(" "),s("div",{staticClass:"wptb-version-control-controls"},[s("version-control-row",{attrs:{label:t.strings.yourVersion}},[s("version-indicator",{attrs:{"latest-version":t.latestVersion,version:t.currentVersion}})],1),t._v(" "),s("version-control-row",{attrs:{label:t.strings.latestVersion}},[s("version-indicator",{attrs:{"latest-version":t.latestVersion,version:t.latestVersion}}),t._v(" "),t.showUpdateToLatest?s("a",{staticClass:"wptb-version-control-anchor",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.updateToLatest(e)}}},[t._v(t._s(t.strings.updateToLatest))]):t._e()],1),t._v(" "),s("version-control-row",{attrs:{label:t.strings.installVersion}},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedVersion,expression:"selectedVersion"}],attrs:{disabled:t.isBusy()},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.selectedVersion=e.target.multiple?s:s[0]}}},t._l(t.sortedVersions,function(e){return s("option",{key:e,attrs:{disabled:e===t.currentVersion},domProps:{selected:t.isVersionSelected(e)}},[t._v(" "+t._s(e)+" ")])}),0)])],1),t._v(" "),s("disclaimer",{attrs:{title:t.strings.warning,message:t.strings.warningInfo}})],1),t._v(" "),s("changelog",{attrs:{version:t.selectedVersion,"raw-changelog":t.sectionData.changelog}})],1)]),t._v(" "),s("footer-buttons",[t.installResult?t._e():s("menu-button",{attrs:{disabled:t.isVersionSelected(t.currentVersion)||t.isBusy(),type:"primary"},on:{click:t.installVersion}},[t._v(t._s(t.strings.installVersion+" "+t.selectedVersion)+" ")]),t._v(" "),t.installResult?s("menu-button",{attrs:{type:"primary"},on:{click:t.reloadPage}},[t._v(t._s(t.strings.reload))]):t._e()],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
84 |
+
},{"@babel/runtime/helpers/typeof":"xOn8","vue-fragment":"CDb8","./MenuContent":"vTRD","./MenuButton":"ksMR","./VersionControlRow":"TQBY","./VersionIndicator":"j6V8","./Changelog":"sarO","../mixins/withMessage":"wm3G","./Settings/FooterButtons":"jkrZ","../mixins/SettingsMenuSection":"qeqP","$Settings/Disclaimer":"ZYQN"}],"L7e6":[function(require,module,exports) {
|
85 |
var define;
|
86 |
var global = arguments[3];
|
87 |
var e,t=arguments[3];!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof e&&e.amd?e(r):(t=t||self).CodeMirror=r()}(this,function(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),l=n||i||o,s=l&&(n?document.documentMode||6:+(o||i)[1]),a=!o&&/WebKit\//.test(e),u=a&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),h=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),m=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),w=/win/i.test(t),x=h&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(h=!1,a=!0);var C=y&&(u||h&&(null==x||x<12.11)),S=r||l&&s>=9;function L(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,T=function(e,t){var r=e.className,n=L(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function N(e,t){return M(e).appendChild(t)}function O(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function A(e,t,r,n){var i=O(e,t,r,n);return i.setAttribute("role","presentation"),i}function D(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function W(){var e;try{e=document.activeElement}catch(De){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function H(e,t){var r=e.className;L(t).test(r)||(e.className+=(r?" ":"")+t)}function F(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!L(r[n]).test(t)&&(t+=" "+r[n]);return t}k=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(De){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var P=function(e){e.select()};function E(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,r){for(var n in t||(t={}),e)!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function R(e,t,r,n,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=n||0,l=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return l+(t-o);l+=s-o,l+=r-l%r,o=s+1}}g?P=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:l&&(P=function(e){try{e.select()}catch(t){}});var z=function(){this.id=null,this.f=null,this.time=0,this.handler=E(this.onTimeout,this)};function B(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}z.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},z.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)};var G=50,U={toString:function(){return"CodeMirror.Pass"}},V={scroll:!1},K={origin:"*mouse"},j={origin:"+move"};function X(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var l=o-n;if(o==e.length||i+l>=t)return n+Math.min(l,t-i);if(i+=o-n,n=o+1,(i+=r-i%r)>=t)return n}}var Y=[""];function _(e){for(;Y.length<=e;)Y.push($(Y)+" ");return Y[e]}function $(e){return e[e.length-1]}function q(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function Z(){}function Q(e,t){var r;return Object.create?r=Object.create(e):(Z.prototype=e,r=new Z),t&&I(t,r),r}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&ne.test(e)}function oe(e,t,r){for(;(r<0?t>0:t<e.length)&&ie(e.charAt(t));)t+=r;return t}function le(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}var se=null;function ae(e,t,r){var n;se=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:se=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:se=i)}return null!=n?n:se}var ue=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,i=/[LRr]/,o=/[Lb1n]/,l=/[1n]/;function s(e,t,r){this.level=e,this.from=t,this.to=r}return function(a,u){var c="ltr"==u?"L":"R";if(0==a.length||"ltr"==u&&!r.test(a))return!1;for(var h,f=a.length,d=[],p=0;p<f;++p)d.push((h=a.charCodeAt(p))<=247?e.charAt(h):1424<=h&&h<=1524?"R":1536<=h&&h<=1785?t.charAt(h-1536):1774<=h&&h<=2220?"r":8192<=h&&h<=8203?"w":8204==h?"b":"L");for(var g=0,v=c;g<f;++g){var m=d[g];"m"==m?d[g]=v:v=m}for(var y=0,b=c;y<f;++y){var w=d[y];"1"==w&&"r"==b?d[y]="n":i.test(w)&&(b=w,"r"==w&&(d[y]="R"))}for(var x=1,C=d[0];x<f-1;++x){var S=d[x];"+"==S&&"1"==C&&"1"==d[x+1]?d[x]="1":","!=S||C!=d[x+1]||"1"!=C&&"n"!=C||(d[x]=C),C=S}for(var L=0;L<f;++L){var k=d[L];if(","==k)d[L]="N";else if("%"==k){var T=void 0;for(T=L+1;T<f&&"%"==d[T];++T);for(var M=L&&"!"==d[L-1]||T<f&&"1"==d[T]?"1":"N",N=L;N<T;++N)d[N]=M;L=T-1}}for(var O=0,A=c;O<f;++O){var D=d[O];"L"==A&&"1"==D?d[O]="L":i.test(D)&&(A=D)}for(var W=0;W<f;++W)if(n.test(d[W])){var H=void 0;for(H=W+1;H<f&&n.test(d[H]);++H);for(var F="L"==(W?d[W-1]:c),P=F==("L"==(H<f?d[H]:c))?F?"L":"R":c,E=W;E<H;++E)d[E]=P;W=H-1}for(var I,R=[],z=0;z<f;)if(o.test(d[z])){var B=z;for(++z;z<f&&o.test(d[z]);++z);R.push(new s(0,B,z))}else{var G=z,U=R.length,V="rtl"==u?1:0;for(++z;z<f&&"L"!=d[z];++z);for(var K=G;K<z;)if(l.test(d[K])){G<K&&(R.splice(U,0,new s(1,G,K)),U+=V);var j=K;for(++K;K<z&&l.test(d[K]);++K);R.splice(U,0,new s(2,j,K)),U+=V,G=K}else++K;G<z&&R.splice(U,0,new s(1,G,z))}return"ltr"==u&&(1==R[0].level&&(I=a.match(/^\s+/))&&(R[0].from=I[0].length,R.unshift(new s(0,0,I[0].length))),1==$(R).level&&(I=a.match(/\s+$/))&&($(R).to-=I[0].length,R.push(new s(0,f-I[0].length,f)))),"rtl"==u?R.reverse():R}}();function ce(e,t){var r=e.order;return null==r&&(r=e.order=ue(e.text,t)),r}var he=[],fe=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||he).concat(r)}};function de(e,t){return e._handlers&&e._handlers[t]||he}function pe(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=B(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ge(e,t){var r=de(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function ve(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ge(e,r||t.type,e,t),Ce(t)||t.codemirrorIgnore}function me(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)-1==B(r,t[n])&&r.push(t[n])}function ye(e,t){return de(e,t).length>0}function be(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){pe(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ce(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Se(e){we(e),xe(e)}function Le(e){return e.target||e.srcElement}function ke(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Te,Me,Ne=function(){if(l&&s<9)return!1;var e=O("div");return"draggable"in e||"dragDrop"in e}();function Oe(e){if(null==Te){var t=O("span","");N(e,O("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Te=t.offsetWidth<=1&&t.offsetHeight>2&&!(l&&s<8))}var r=Te?O("span",""):O("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Ae(e){if(null!=Me)return Me;var t=N(e,document.createTextNode("AخA")),r=k(t,0,1).getBoundingClientRect(),n=k(t,1,2).getBoundingClientRect();return M(e),!(!r||r.left==r.right)&&(Me=n.right-r.right<3)}var De,We=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),l=o.indexOf("\r");-1!=l?(r.push(o.slice(0,l)),t+=l+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},He=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(De){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(De){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Fe="oncopy"in(De=O("div"))||(De.setAttribute("oncopy","return;"),"function"==typeof De.oncopy),Pe=null;var Ee={},Ie={};function Re(e){if("string"==typeof e&&Ie.hasOwnProperty(e))e=Ie[e];else if(e&&"string"==typeof e.name&&Ie.hasOwnProperty(e.name)){var t=Ie[e.name];"string"==typeof t&&(t={name:t}),(e=Q(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Re("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Re("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function ze(e,t){t=Re(t);var r=Ee[t.name];if(!r)return ze(e,"text/plain");var n=r(e,t);if(Be.hasOwnProperty(t.name)){var i=Be[t.name];for(var o in i)i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var l in t.modeProps)n[l]=t.modeProps[l];return n}var Be={};function Ge(e,t){I(t,Be.hasOwnProperty(e)?Be[e]:Be[e]={})}function Ue(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Ve(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;)t=r.state,e=r.mode;return r||{mode:e,state:t}}function Ke(e,t,r){return!e.startState||e.startState(t,r)}var je=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};function Xe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}return r.lines[t]}function Ye(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i}),n}function _e(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text)}),n}function $e(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function qe(e){if(null==e.parent)return null;for(var t=e.parent,r=B(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;n.children[i]!=t;++i)r+=n.children[i].chunkSize();return r+t.first}function Ze(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var l=0;l<e.lines.length;++l){var s=e.lines[l].height;if(t<s)break;t-=s}return r+l}function Qe(e,t){return t>=e.first&&t<e.first+e.size}function Je(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,r){if(void 0===r&&(r=null),!(this instanceof et))return new et(e,t,r);this.line=e,this.ch=t,this.sticky=r}function tt(e,t){return e.line-t.line||e.ch-t.ch}function rt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function nt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function lt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var r=e.first+e.size-1;return t.line>r?et(r,Xe(e,r).text.length):function(e,t){var r=e.ch;return null==r||r>t?et(e.line,t):r<0?et(e.line,0):e}(t,Xe(e,t.line).text.length)}function at(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=st(e,t[n]);return r}je.prototype.eol=function(){return this.pos>=this.string.length},je.prototype.sol=function(){return this.pos==this.lineStart},je.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},je.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},je.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},je.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},je.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},je.prototype.skipToEnd=function(){this.pos=this.string.length},je.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},je.prototype.backUp=function(e){this.pos-=e},je.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},je.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},je.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},je.prototype.current=function(){return this.string.slice(this.start,this.pos)},je.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},je.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},je.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ut=function(e,t){this.state=e,this.lookAhead=t},ct=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};function ht(e,t,r,n){var i=[e.state.modeGen],o={};wt(e,t.text,e.doc.mode,r,function(e,t){return i.push(e,t)},o,n);for(var l=r.state,s=function(n){r.baseTokens=i;var s=e.state.overlays[n],a=1,u=0;r.state=!0,wt(e,t.text,s.mode,r,function(e,t){for(var r=a;u<e;){var n=i[a];n>e&&i.splice(a,1,e,i[a+1],n),a+=2,u=Math.min(e,n)}if(t)if(s.opaque)i.splice(r,a-r,e,"overlay "+t),a=r+2;else for(;r<a;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"overlay "+t}},o),r.state=l,r.baseTokens=null,r.baseTokenPos=1},a=0;a<e.state.overlays.length;++a)s(a);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function ft(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=dt(e,qe(t)),i=t.text.length>e.options.maxHighlightLength&&Ue(e.doc.mode,n.state),o=ht(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new ct(n,!0,t);var o=function(e,t,r){for(var n,i,o=e.doc,l=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>l;--s){if(s<=o.first)return o.first;var a=Xe(o,s-1),u=a.stateAfter;if(u&&(!r||s+(u instanceof ut?u.lookAhead:0)<=o.modeFrontier))return s;var c=R(a.text,null,e.options.tabSize);(null==i||n>c)&&(i=s-1,n=c)}return i}(e,t,r),l=o>n.first&&Xe(n,o-1).stateAfter,s=l?ct.fromSaved(n,l,o):new ct(n,Ke(n.mode),o);return n.iter(o,t,function(r){pt(e,r.text,s);var n=s.line;r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?s.save():null,s.nextLine()}),r&&(n.modeFrontier=s.line),s}function pt(e,t,r,n){var i=e.doc.mode,o=new je(t,e.options.tabSize,r);for(o.start=o.pos=n||0,""==t&>(i,r.state);!o.eol();)vt(i,o,r.state),o.start=o.pos}function gt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=Ve(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function vt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Ve(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ct.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(e,t,r){return t instanceof ut?new ct(e,Ue(e.mode,t.state),r,t.lookAhead):new ct(e,Ue(e.mode,t),r)},ct.prototype.save=function(e){var t=!1!==e?Ue(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ut(t,this.maxLookAhead):t};var mt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function yt(e,t,r,n){var i,o,l=e.doc,s=l.mode,a=Xe(l,(t=st(l,t)).line),u=dt(e,t.line,r),c=new je(a.text,e.options.tabSize,u);for(n&&(o=[]);(n||c.pos<t.ch)&&!c.eol();)c.start=c.pos,i=vt(s,c,u.state),n&&o.push(new mt(c,i,Ue(l.mode,u.state)));return n?o:new mt(c,i,u.state)}function bt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2])}return e}function wt(e,t,r,n,i,o,l){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var a,u=0,c=null,h=new je(t,e.options.tabSize,n),f=e.options.addModeClass&&[null];for(""==t&&bt(gt(r,n.state),o);!h.eol();){if(h.pos>e.options.maxHighlightLength?(s=!1,l&&pt(e,t,n,h.pos),h.pos=t.length,a=null):a=bt(vt(r,h,n.state,f),o),f){var d=f[0].name;d&&(a="m-"+(a?d+" "+a:d))}if(!s||c!=a){for(;u<h.start;)i(u=Math.min(h.start,u+5e3),c);c=a}h.start=h.pos}for(;u<h.pos;){var p=Math.min(h.pos,u+5e3);i(p,c),u=p}}var xt=!1,Ct=!1;function St(e,t,r){this.marker=e,this.from=t,this.to=r}function Lt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function kt(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function Tt(e,t){if(t.full)return null;var r=Qe(e,t.from.line)&&Xe(e,t.from.line).markedSpans,n=Qe(e,t.to.line)&&Xe(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,l=0==tt(t.from,t.to),s=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],l=o.marker;if(null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==l.type&&(!r||!o.marker.insertLeft)){var s=null==o.to||(l.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new St(l,o.from,s?null:o.to))}}return n}(r,i,l),a=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],l=o.marker;if(null==o.to||(l.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==l.type&&(!r||o.marker.insertLeft)){var s=null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new St(l,s?null:o.from-t,null==o.to?null:o.to-t))}}return n}(n,o,l),u=1==t.text.length,c=$(t.text).length+(u?i:0);if(s)for(var h=0;h<s.length;++h){var f=s[h];if(null==f.to){var d=Lt(a,f.marker);d?u&&(f.to=null==d.to?null:d.to+c):f.to=i}}if(a)for(var p=0;p<a.length;++p){var g=a[p];if(null!=g.to&&(g.to+=c),null==g.from)Lt(s,g.marker)||(g.from=c,u&&(s||(s=[])).push(g));else g.from+=c,u&&(s||(s=[])).push(g)}s&&(s=Mt(s)),a&&a!=s&&(a=Mt(a));var v=[s];if(!u){var m,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(m||(m=[])).push(new St(s[b].marker,null,null));for(var w=0;w<y;++w)v.push(m);v.push(a)}return v}function Mt(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Nt(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function Ot(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function At(e){return e.inclusiveLeft?-1:0}function Dt(e){return e.inclusiveRight?1:0}function Wt(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=tt(n.from,i.from)||At(e)-At(t);if(o)return-o;var l=tt(n.to,i.to)||Dt(e)-Dt(t);return l||t.id-e.id}function Ht(e,t){var r,n=Ct&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o)(i=n[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!r||Wt(r,i.marker)<0)&&(r=i.marker);return r}function Ft(e){return Ht(e,!0)}function Pt(e){return Ht(e,!1)}function Et(e,t){var r,n=Ct&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||Wt(r,o.marker)<0)&&(r=o.marker)}return r}function It(e,t,r,n,i){var o=Xe(e,t),l=Ct&&o.markedSpans;if(l)for(var s=0;s<l.length;++s){var a=l[s];if(a.marker.collapsed){var u=a.marker.find(0),c=tt(u.from,r)||At(a.marker)-At(i),h=tt(u.to,n)||Dt(a.marker)-Dt(i);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?tt(u.to,r)>=0:tt(u.to,r)>0)||c>=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?tt(u.from,n)<=0:tt(u.from,n)<0)))return!0}}}function Rt(e){for(var t;t=Ft(e);)e=t.find(-1,!0).line;return e}function zt(e,t){var r=Xe(e,t),n=Rt(r);return r==n?t:qe(n)}function Bt(e,t){if(t>e.lastLine())return t;var r,n=Xe(e,t);if(!Gt(e,n))return t;for(;r=Pt(n);)n=r.find(1,!0).line;return qe(n)+1}function Gt(e,t){var r=Ct&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i)if((n=r[i]).marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&Ut(e,t,n))return!0}}function Ut(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return Ut(e,n.line,Lt(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Ut(e,t,i))return!0}function Vt(e){for(var t=0,r=(e=Rt(e)).parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var o=r.parent;o;o=(r=o).parent)for(var l=0;l<o.children.length;++l){var s=o.children[l];if(s==r)break;t+=s.height}return t}function Kt(e){if(0==e.height)return 0;for(var t,r=e.text.length,n=e;t=Ft(n);){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch}for(n=e;t=Pt(n);){var o=t.find(0,!0);r-=n.text.length-o.from.ch,r+=(n=o.to.line).text.length-o.to.ch}return r}function jt(e){var t=e.display,r=e.doc;t.maxLine=Xe(r,r.first),t.maxLineLength=Kt(t.maxLine),t.maxLineChanged=!0,r.iter(function(e){var r=Kt(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)})}var Xt=function(e,t,r){this.text=e,Ot(this,t),this.height=r?r(this):1};function Yt(e){e.parent=null,Nt(e)}Xt.prototype.lineNo=function(){return qe(this)},be(Xt);var _t={},$t={};function qt(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?$t:_t;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function Zt(e,t){var r=A("span",null,null,a?"padding-right: .1px":null),n={pre:A("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,l=void 0;n.pos=0,n.addToken=Jt,Ae(e.display.measure)&&(l=ce(o,e.doc.direction))&&(n.addToken=er(n.addToken,l)),n.map=[],rr(o,n,ft(e,o,t!=e.display.externalMeasured&&qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=F(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=F(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Oe(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(a){var s=n.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=F(n.pre.className,n.textClass||"")),n}function Qt(e){var t=O("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,r,n,i,o,a){if(t){var u,c=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o}return n}(t,e.trailingSpace):t,h=e.cm.state.specialChars,f=!1;if(h.test(t)){u=document.createDocumentFragment();for(var d=0;;){h.lastIndex=d;var p=h.exec(t),g=p?p.index-d:t.length-d;if(g){var v=document.createTextNode(c.slice(d,d+g));l&&s<9?u.appendChild(O("span",[v])):u.appendChild(v),e.map.push(e.pos,e.pos+g,v),e.col+=g,e.pos+=g}if(!p)break;d+=g+1;var m=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(m=u.appendChild(O("span",_(b),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?((m=u.appendChild(O("span","\r"==p[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((m=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),l&&s<9?u.appendChild(O("span",[m])):u.appendChild(m),e.col+=1);e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),l&&s<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),r||n||i||f||o||a){var w=r||"";n&&(w+=n),i&&(w+=i);var x=O("span",[u],w,o);if(a)for(var C in a)a.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&x.setAttribute(C,a[C]);return e.content.appendChild(x)}e.content.appendChild(u)}}function er(e,t){return function(r,n,i,o,l,s,a){i=i?i+" cm-force-border":"cm-force-border";for(var u=r.pos,c=u+n.length;;){for(var h=void 0,f=0;f<t.length&&!((h=t[f]).to>u&&h.from<=u);f++);if(h.to>=c)return e(r,n,i,o,l,s,a);e(r,n.slice(0,h.to-u),i,o,null,s,a),o=null,n=n.slice(h.to-u),u=h.to}}}function tr(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function rr(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var l,s,a,u,c,h,f,d=i.length,p=0,g=1,v="",m=0;;){if(m==p){a=u=c=s="",f=null,h=null,m=1/0;for(var y=[],b=void 0,w=0;w<n.length;++w){var x=n[w],C=x.marker;if("bookmark"==C.type&&x.from==p&&C.widgetNode)y.push(C);else if(x.from<=p&&(null==x.to||x.to>p||C.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&m>x.to&&(m=x.to,u=""),C.className&&(a+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==p&&(c+=" "+C.startStyle),C.endStyle&&x.to==m&&(b||(b=[])).push(C.endStyle,x.to),C.title&&((f||(f={})).title=C.title),C.attributes)for(var S in C.attributes)(f||(f={}))[S]=C.attributes[S];C.collapsed&&(!h||Wt(h.marker,C)<0)&&(h=x)}else x.from>p&&m>x.from&&(m=x.from)}if(b)for(var L=0;L<b.length;L+=2)b[L+1]==m&&(u+=" "+b[L]);if(!h||h.from==p)for(var k=0;k<y.length;++k)tr(t,0,y[k]);if(h&&(h.from||0)==p){if(tr(t,(null==h.to?d+1:h.to)-p,h.marker,null==h.from),null==h.to)return;h.to==p&&(h=!1)}}if(p>=d)break;for(var T=Math.min(d,m);;){if(v){var M=p+v.length;if(!h){var N=M>T?v.slice(0,T-p):v;t.addToken(t,N,l?l+a:a,c,p+N.length==m?u:"",s,f)}if(M>=T){v=v.slice(T-p),p=T;break}p=M,c=""}v=i.slice(o,o=r[g++]),l=qt(r[g++],t.cm.options)}}else for(var O=1;O<r.length;O+=2)t.addToken(t,i.slice(o,o=r[O]),qt(r[O+1],t.cm.options))}function nr(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=Pt(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}(t),this.size=this.rest?qe($(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Gt(e,t)}function ir(e,t,r){for(var n,i=[],o=t;o<r;o=n){var l=new nr(e.doc,Xe(e.doc,o),o);n=o+l.size,i.push(l)}return i}var or=null;var lr=null;function sr(e,t){var r=de(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);or?n=or.delayedCallbacks:lr?n=lr:(n=lr=[],setTimeout(ar,0));for(var o=function(e){n.push(function(){return r[e].apply(null,i)})},l=0;l<r.length;++l)o(l)}}function ar(){var e=lr;lr=null;for(var t=0;t<e.length;++t)e[t]()}function ur(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?fr(e,t):"gutter"==o?pr(e,t,r,n):"class"==o?dr(e,t):"widget"==o&&gr(e,t,n)}t.changes=null}function cr(e){return e.node==e.text&&(e.node=O("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),l&&s<8&&(e.node.style.zIndex=2)),e.node}function hr(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Zt(e,t)}function fr(e,t){var r=t.text.className,n=hr(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,dr(e,t)):r&&(t.text.className=r)}function dr(e,t){!function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=cr(t);t.background=n.insertBefore(O("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?cr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function pr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=cr(t);t.gutterBackground=O("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var l=cr(t),s=t.gutter=O("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),l.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(O("div",Je(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var a=0;a<e.display.gutterSpecs.length;++a){var u=e.display.gutterSpecs[a].className,c=o.hasOwnProperty(u)&&o[u];c&&s.appendChild(O("div",[c],"CodeMirror-gutter-elt","left: "+n.gutterLeft[u]+"px; width: "+n.gutterWidth[u]+"px"))}}}function gr(e,t,r){t.alignable&&(t.alignable=null);for(var n=L("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);mr(e,t,r)}function vr(e,t,r,n){var i=hr(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),dr(e,t),pr(e,t,r,n),mr(e,t,n),t.node}function mr(e,t,r){if(yr(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)yr(e,t.rest[n],t,r,!1)}function yr(e,t,r,n,i){if(t.widgets)for(var o=cr(r),l=0,s=t.widgets;l<s.length;++l){var a=s[l],u=O("div",[a.node],"CodeMirror-linewidget"+(a.className?" "+a.className:""));a.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),br(a,u,r,n),e.display.input.setUneditable(u),i&&a.above?o.insertBefore(u,r.gutter||r.text):o.appendChild(u),sr(a,"redraw")}}function br(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function wr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!D(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),N(t.display.measure,O("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function xr(e,t){for(var r=Le(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Cr(e){return e.lineSpace.offsetTop}function Sr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Lr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=N(e.measure,O("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function kr(e){return G-e.display.nativeBarWidth}function Tr(e){return e.display.scroller.clientWidth-kr(e)-e.display.barWidth}function Mr(e){return e.display.scroller.clientHeight-kr(e)-e.display.barHeight}function Nr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(qe(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Or(e,t,r,n){return Wr(e,Dr(e,t),r,n)}function Ar(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[an(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function Dr(e,t){var r=qe(t),n=Ar(e,r);n&&!n.text?n=null:n&&n.changes&&(ur(e,n,r,rn(e)),e.curOp.forceUpdate=!0),n||(n=function(e,t){var r=qe(t=Rt(t)),n=e.display.externalMeasured=new nr(e.doc,t,r);n.lineN=r;var i=n.built=Zt(e,n);return n.text=i.pre,N(e.display.lineMeasure,i.pre),n}(e,t));var i=Nr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Wr(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(!function(e,t,r){var n=e.options.lineWrapping,i=n&&Tr(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var l=t.text.firstChild.getClientRects(),s=0;s<l.length-1;s++){var a=l[s],u=l[s+1];Math.abs(a.bottom-u.bottom)>2&&o.push((a.bottom+u.top)/2-r.top)}}o.push(r.bottom-r.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,r,n){var i,o=Pr(t.map,r,n),a=o.node,u=o.start,c=o.end,h=o.collapse;if(3==a.nodeType){for(var f=0;f<4;f++){for(;u&&ie(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+c<o.coverEnd&&ie(t.line.text.charAt(o.coverStart+c));)++c;if((i=l&&s<9&&0==u&&c==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():Er(k(a,u,c).getClientRects(),n)).left||i.right||0==u)break;c=u,u-=1,h="right"}l&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Pe)return Pe;var t=N(e,O("span","x")),r=t.getBoundingClientRect(),n=k(t,0,1).getBoundingClientRect();return Pe=Math.abs(r.left-n.left)>1}(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}(e.display.measure,i))}else{var d;u>0&&(h=n="right"),i=e.options.lineWrapping&&(d=a.getClientRects()).length>1?d["right"==n?d.length-1:0]:a.getBoundingClientRect()}if(l&&s<9&&!u&&(!i||!i.left&&!i.right)){var p=a.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+tn(e.display),top:p.top,bottom:p.bottom}:Fr}for(var g=i.top-t.rect.top,v=i.bottom-t.rect.top,m=(g+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(m<y[b]);b++);var w=b?y[b-1]:0,x=y[b],C={left:("right"==h?i.right:i.left)-t.rect.left,right:("left"==h?i.left:i.right)-t.rect.left,top:w,bottom:x};i.left||i.right||(C.bogus=!0);e.options.singleCursorHeightPerLine||(C.rtop=g,C.rbottom=v);return C}(e,t,r,n)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Hr,Fr={left:0,right:0,top:0,bottom:0};function Pr(e,t,r){for(var n,i,o,l,s,a,u=0;u<e.length;u+=3)if(s=e[u],a=e[u+1],t<s?(i=0,o=1,l="left"):t<a?o=(i=t-s)+1:(u==e.length-3||t==a&&e[u+3]>t)&&(i=(o=a-s)-1,t>=a&&(l="right")),null!=i){if(n=e[u+2],s==a&&r==(n.insertLeft?"left":"right")&&(l=r),"left"==r&&0==i)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)n=e[2+(u-=3)],l="left";if("right"==r&&i==a-s)for(;u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft;)n=e[(u+=3)+2],l="right";break}return{node:n,start:i,end:o,collapse:l,coverStart:s,coverEnd:a}}function Er(e,t){var r=Fr;if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++);else for(var i=e.length-1;i>=0&&(r=e[i]).left==r.right;i--);return r}function Ir(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Rr(e){e.display.externalMeasure=null,M(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Ir(e.display.view[t])}function zr(e){Rr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Br(){return c&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Gr(){return c&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ur(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r)e.widgets[r].above&&(t+=wr(e.widgets[r]));return t}function Vr(e,t,r,n,i){if(!i){var o=Ur(t);r.top+=o,r.bottom+=o}if("line"==n)return r;n||(n="local");var l=Vt(t);if("local"==n?l+=Cr(e.display):l-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();l+=s.top+("window"==n?0:Gr());var a=s.left+("window"==n?0:Br());r.left+=a,r.right+=a}return r.top+=l,r.bottom+=l,r}function Kr(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=Br(),i-=Gr();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top}var l=e.display.lineSpace.getBoundingClientRect();return{left:n-l.left,top:i-l.top}}function jr(e,t,r,n,i){return n||(n=Xe(e.doc,t.line)),Vr(e,n,Or(e,n,t.ch,i),r)}function Xr(e,t,r,n,i,o){function l(t,l){var s=Wr(e,i,t,l?"right":"left",o);return l?s.left=s.right:s.right=s.left,Vr(e,n,s,r)}n=n||Xe(e.doc,t.line),i||(i=Dr(e,n));var s=ce(n,e.doc.direction),a=t.ch,u=t.sticky;if(a>=n.text.length?(a=n.text.length,u="before"):a<=0&&(a=0,u="after"),!s)return l("before"==u?a-1:a,"before"==u);function c(e,t,r){return l(r?e-1:e,1==s[t].level!=r)}var h=ae(s,a,u),f=se,d=c(a,h,"before"==u);return null!=f&&(d.other=c(a,f,"before"!=u)),d}function Yr(e,t){var r=0;t=st(e.doc,t),e.options.lineWrapping||(r=tn(e.display)*t.ch);var n=Xe(e.doc,t.line),i=Vt(n)+Cr(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function _r(e,t,r,n,i){var o=et(e,t,r);return o.xRel=i,n&&(o.outside=n),o}function $r(e,t,r){var n=e.doc;if((r+=e.display.viewOffset)<0)return _r(n.first,0,null,-1,-1);var i=Ze(n,r),o=n.first+n.size-1;if(i>o)return _r(n.first+n.size-1,Xe(n,o).text.length,null,1,1);t<0&&(t=0);for(var l=Xe(n,i);;){var s=Jr(e,l,i,t,r),a=Et(l,s.ch+(s.xRel>0||s.outside>0?1:0));if(!a)return s;var u=a.find(1);if(u.line==i)return u;l=Xe(n,i=u.line)}}function qr(e,t,r,n){n-=Ur(t);var i=t.text.length,o=le(function(t){return Wr(e,r,t-1).bottom<=n},i,0);return{begin:o,end:i=le(function(t){return Wr(e,r,t).top>n},o,i)}}function Zr(e,t,r,n){return r||(r=Dr(e,t)),qr(e,t,r,Vr(e,t,Wr(e,r,n),"line").top)}function Qr(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t)}function Jr(e,t,r,n,i){i-=Vt(t);var o=Dr(e,t),l=Ur(t),s=0,a=t.text.length,u=!0,c=ce(t,e.doc.direction);if(c){var h=(e.options.lineWrapping?function(e,t,r,n,i,o,l){var s=qr(e,t,n,l),a=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,h=null,f=0;f<i.length;f++){var d=i[f];if(!(d.from>=u||d.to<=a)){var p=1!=d.level,g=Wr(e,n,p?Math.min(u,d.to)-1:Math.max(a,d.from)).right,v=g<o?o-g+1e9:g-o;(!c||h>v)&&(c=d,h=v)}}c||(c=i[i.length-1]);c.from<a&&(c={from:a,to:c.to,level:c.level});c.to>u&&(c={from:c.from,to:u,level:c.level});return c}:function(e,t,r,n,i,o,l){var s=le(function(s){var a=i[s],u=1!=a.level;return Qr(Xr(e,et(r,u?a.to:a.from,u?"before":"after"),"line",t,n),o,l,!0)},0,i.length-1),a=i[s];if(s>0){var u=1!=a.level,c=Xr(e,et(r,u?a.from:a.to,u?"after":"before"),"line",t,n);Qr(c,o,l,!0)&&c.top>l&&(a=i[s-1])}return a})(e,t,r,o,c,n,i);s=(u=1!=h.level)?h.from:h.to-1,a=u?h.to:h.from-1}var f,d,p=null,g=null,v=le(function(t){var r=Wr(e,o,t);return r.top+=l,r.bottom+=l,!!Qr(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(p=t,g=r),!0)},s,a),m=!1;if(g){var y=n-g.left<g.right-n,b=y==u;v=p+(b?0:1),d=b?"after":"before",f=y?g.left:g.right}else{u||v!=a&&v!=s||v++,d=0==v?"after":v==t.text.length?"before":Wr(e,o,v-(u?1:0)).bottom+l<=i==u?"after":"before";var w=Xr(e,et(r,v,d),"line",t,o);f=w.left,m=i<w.top?-1:i>=w.bottom?1:0}return _r(r,v=oe(t.text,v,1),d,m,n-f)}function en(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Hr){Hr=O("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Hr.appendChild(document.createTextNode("x")),Hr.appendChild(O("br"));Hr.appendChild(document.createTextNode("x"))}N(e.measure,Hr);var r=Hr.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),M(e.measure),r||1}function tn(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=O("span","xxxxxxxxxx"),r=O("pre",[t],"CodeMirror-line-like");N(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function rn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,l=0;o;o=o.nextSibling,++l){var s=e.display.gutterSpecs[l].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth}return{fixedPos:nn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function nn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function on(e){var t=en(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/tn(e.display)-3);return function(i){if(Gt(e.doc,i))return 0;var o=0;if(i.widgets)for(var l=0;l<i.widgets.length;l++)i.widgets[l].height&&(o+=i.widgets[l].height);return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t}}function ln(e){var t=e.doc,r=on(e);t.iter(function(e){var t=r(e);t!=e.height&&$e(e,t)})}function sn(e,t,r,n){var i=e.display;if(!r&&"true"==Le(t).getAttribute("cm-not-content"))return null;var o,l,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,l=t.clientY-s.top}catch(h){return null}var a,u=$r(e,o,l);if(n&&u.xRel>0&&(a=Xe(e.doc,u.line).text).length==u.ch){var c=R(a,a.length,e.options.tabSize)-a.length;u=et(u.line,Math.max(0,Math.round((o-Lr(e.display).left)/tn(e.display))-c))}return u}function an(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if((t-=r[n].size)<0)return n}function un(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ct&&zt(e.doc,t)<i.viewTo&&hn(e);else if(r<=i.viewFrom)Ct&&Bt(e.doc,r+n)>i.viewFrom?hn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)hn(e);else if(t<=i.viewFrom){var o=fn(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):hn(e)}else if(r>=i.viewTo){var l=fn(e,t,t,-1);l?(i.view=i.view.slice(0,l.index),i.viewTo=l.lineN):hn(e)}else{var s=fn(e,t,t,-1),a=fn(e,r,r+n,1);s&&a?(i.view=i.view.slice(0,s.index).concat(ir(e,s.lineN,a.lineN)).concat(i.view.slice(a.index)),i.viewTo+=n):hn(e)}var u=i.externalMeasured;u&&(r<u.lineN?u.lineN+=n:t<u.lineN+u.size&&(i.externalMeasured=null))}function cn(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[an(e,t)];if(null!=o.node){var l=o.changes||(o.changes=[]);-1==B(l,r)&&l.push(r)}}}function hn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function fn(e,t,r,n){var i,o=an(e,t),l=e.display.view;if(!Ct||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,a=0;a<o;a++)s+=l[a].size;if(s!=t){if(n>0){if(o==l.length-1)return null;i=s+l[o].size-t,o++}else i=s-t;t+=i,r+=i}for(;zt(e.doc,r)!=r;){if(o==(n<0?0:l.length-1))return null;r+=n*l[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:r}}function dn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r}return r}function pn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),l=0;l<r.sel.ranges.length;l++)if(t||l!=r.sel.primIndex){var s=r.sel.ranges[l];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var a=s.empty();(a||e.options.showCursorWhenSelecting)&&vn(e,s.head,i),a||yn(e,s,o)}}return n}function vn(e,t,r){var n=Xr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(O("div"," ","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(O("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function mn(e,t){return e.top-t.top||e.left-t.left}function yn(e,t,r){var n=e.display,i=e.doc,o=document.createDocumentFragment(),l=Lr(e.display),s=l.left,a=Math.max(n.sizerWidth,Tr(e)-n.sizer.offsetLeft)-l.right,u="ltr"==i.direction;function c(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?a-e:r)+"px;\n height: "+(n-t)+"px"))}function h(t,r,n){var o,l,h=Xe(i,t),f=h.text.length;function d(r,n){return jr(e,et(t,r),"div",h,n)}function p(t,r,n){var i=Zr(e,h,null,t),o="ltr"==r==("after"==n)?"left":"right";return d("after"==n?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1),o)[o]}var g=ce(h,i.direction);return function(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var l=e[o];(l.from<r&&l.to>t||t==r&&l.to==t)&&(n(Math.max(l.from,t),Math.min(l.to,r),1==l.level?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}(g,r||0,null==n?f:n,function(e,t,i,h){var v="ltr"==i,m=d(e,v?"left":"right"),y=d(t-1,v?"right":"left"),b=null==r&&0==e,w=null==n&&t==f,x=0==h,C=!g||h==g.length-1;if(y.top-m.top<=3){var S=(u?w:b)&&C,L=(u?b:w)&&x?s:(v?m:y).left,k=S?a:(v?y:m).right;c(L,m.top,k-L,m.bottom)}else{var T,M,N,O;v?(T=u&&b&&x?s:m.left,M=u?a:p(e,i,"before"),N=u?s:p(t,i,"after"),O=u&&w&&C?a:y.right):(T=u?p(e,i,"before"):s,M=!u&&b&&x?a:m.right,N=!u&&w&&C?s:y.left,O=u?p(t,i,"after"):a),c(T,m.top,M-T,m.bottom),m.bottom<y.top&&c(s,m.bottom,null,y.top),c(N,y.top,O-N,y.bottom)}(!o||mn(m,o)<0)&&(o=m),mn(y,o)<0&&(o=y),(!l||mn(m,l)<0)&&(l=m),mn(y,l)<0&&(l=y)}),{start:o,end:l}}var f=t.from(),d=t.to();if(f.line==d.line)h(f.line,f.ch,d.ch);else{var p=Xe(i,f.line),g=Xe(i,d.line),v=Rt(p)==Rt(g),m=h(f.line,f.ch,v?p.text.length+1:null).end,y=h(d.line,v?0:null,d.ch).start;v&&(m.top<y.top-2?(c(m.right,m.top,null,m.bottom),c(s,y.top,y.left,y.bottom)):c(m.right,m.top,y.left-m.right,m.bottom)),m.bottom<y.top&&c(s,m.bottom,null,y.top)}r.appendChild(o)}function bn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Sn(e),t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function wn(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Cn(e))}function xn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Sn(e))},100)}function Cn(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,H(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),a&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),bn(e))}function Sn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Ln(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,a=void 0,u=0;if(!i.hidden){if(l&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;a=c-r,r=c}else{var h=i.node.getBoundingClientRect();a=h.bottom-h.top,!o&&i.text.firstChild&&(u=i.text.firstChild.getBoundingClientRect().right-h.left-1)}var f=i.line.height-a;if((f>.005||f<-.005)&&($e(i.line,a),kn(i.line),i.rest))for(var d=0;d<i.rest.length;d++)kn(i.rest[d]);if(u>e.display.sizerWidth){var p=Math.ceil(u/tn(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function kn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight)}}function Tn(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Cr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=Ze(t,n),l=Ze(t,i);if(r&&r.ensure){var s=r.ensure.from.line,a=r.ensure.to.line;s<o?(o=s,l=Ze(t,Vt(Xe(t,s))+e.wrapper.clientHeight)):Math.min(a,t.lastLine())>=l&&(o=Ze(t,Vt(Xe(t,a))-e.wrapper.clientHeight),l=a)}return{from:o,to:Math.max(l,o+1)}}function Mn(e,t){var r=e.display,n=en(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Mr(e),l={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Sr(r),a=t.top<n,u=t.bottom>s-n;if(t.top<i)l.scrollTop=a?0:t.top;else if(t.bottom>i+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(l.scrollTop=c)}var h=e.options.fixedGutter?0:r.gutters.offsetWidth,f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft-h,d=Tr(e)-r.gutters.offsetWidth,p=t.right-t.left>d;return p&&(t.right=t.left+d),t.left<10?l.scrollLeft=0:t.left<f?l.scrollLeft=Math.max(0,t.left+h-(p?0:10)):t.right>d+f-3&&(l.scrollLeft=t.right+(p?0:10)-d),l}function Nn(e,t){null!=t&&(Dn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function On(e){Dn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function An(e,t,r){null==t&&null==r||Dn(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function Dn(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Wn(e,Yr(e,t.from),Yr(e,t.to),t.margin))}function Wn(e,t,r,n){var i=Mn(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});An(e,i.scrollLeft,i.scrollTop)}function Hn(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||oi(e,{top:t}),Fn(e,t,!0),r&&oi(e),ei(e,100))}function Fn(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Pn(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,ai(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function En(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Sr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+kr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var In=function(e,t,r){this.cm=r;var n=this.vert=O("div",[O("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=O("div",[O("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),fe(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),fe(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,l&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};In.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},In.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},In.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},In.prototype.zeroWidthHack=function(){var e=y&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new z,this.disableVert=new z},In.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto",t.set(1e3,function n(){var i=e.getBoundingClientRect();("vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,n)})},In.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Rn=function(){};function zn(e,t){t||(t=En(e));var r=e.display.barWidth,n=e.display.barHeight;Bn(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&Ln(e),Bn(e,En(e)),r=e.display.barWidth,n=e.display.barHeight}function Bn(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}Rn.prototype.update=function(){return{bottom:0,right:0}},Rn.prototype.setScrollLeft=function(){},Rn.prototype.setScrollTop=function(){},Rn.prototype.clear=function(){};var Gn={native:In,null:Rn};function Un(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Gn[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,r){"horizontal"==r?Pn(e,t):Hn(e,t)},e),e.display.scrollbars.addClass&&H(e.display.wrapper,e.display.scrollbars.addClass)}var Vn=0;function Kn(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Vn},t=e.curOp,or?or.ops.push(t):t.ownsGroup=or={ops:[t],delayedCallbacks:[]}}function jn(e){var t=e.curOp;t&&function(e,t){var r=e.ownsGroup;if(r)try{!function(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}(r)}finally{or=null,t(r)}}(t,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,r=0;r<t.length;r++)Xn(t[r]);for(var n=0;n<t.length;n++)(i=t[n]).updatedDisplay=i.mustUpdate&&ni(i.cm,i.update);var i;for(var o=0;o<t.length;o++)Yn(t[o]);for(var l=0;l<t.length;l++)_n(t[l]);for(var s=0;s<t.length;s++)$n(t[s])}(e)})}function Xn(e){var t=e.cm,r=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=kr(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=kr(e)+"px",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&jt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ri(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yn(e){var t=e.cm,r=t.display;e.updatedDisplay&&Ln(t),e.barMeasure=En(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Or(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+kr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Tr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function _n(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Pn(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==W();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&zn(t,e.barMeasure),e.updatedDisplay&&si(t,e.barMeasure),e.selectionChanged&&bn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&wn(e.cm)}function $n(e){var t=e.cm,r=t.display,n=t.doc;(e.updatedDisplay&&ii(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&Fn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Pn(t,e.scrollLeft,!0,!0),e.scrollToPos)&&function(e,t){if(!ve(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=O("div","",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Cr(e.display))+"px;\n height: "+(t.bottom-t.top+kr(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(r="before"==(t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?et(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var l=!1,s=Xr(e,t),a=r&&r!=t?Xr(e,r):s,u=Mn(e,i={left:Math.min(s.left,a.left),top:Math.min(s.top,a.top)-n,right:Math.max(s.left,a.left),bottom:Math.max(s.bottom,a.bottom)+n}),c=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=u.scrollTop&&(Hn(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(l=!0)),null!=u.scrollLeft&&(Pn(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(l=!0)),!l)break}return i}(t,st(n,e.scrollToPos.from),st(n,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var l=0;l<i.length;++l)i[l].lines.length||ge(i[l],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&ge(o[s],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ge(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function qn(e,t){if(e.curOp)return t();Kn(e);try{return t()}finally{jn(e)}}function Zn(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kn(e);try{return t.apply(e,arguments)}finally{jn(e)}}}function Qn(e){return function(){if(this.curOp)return e.apply(this,arguments);Kn(this);try{return e.apply(this,arguments)}finally{jn(this)}}}function Jn(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kn(t);try{return e.apply(this,arguments)}finally{jn(t)}}}function ei(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,E(ti,e))}function ti(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,n=dt(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(n.line>=e.display.viewFrom){var l=o.styles,s=o.text.length>e.options.maxHighlightLength?Ue(t.mode,n.state):null,a=ht(e,o,n,!0);s&&(n.state=s),o.styles=a.styles;var u=o.styleClasses,c=a.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!l||l.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),f=0;!h&&f<l.length;++f)h=l[f]!=o.styles[f];h&&i.push(n.line),o.stateAfter=n.save(),n.nextLine()}else o.text.length<=e.options.maxHighlightLength&&pt(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>r)return ei(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&qn(e,function(){for(var t=0;t<i.length;t++)cn(e,i[t],"text")})}}var ri=function(e,t,r){var n=e.display;this.viewport=t,this.visible=Tn(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Tr(e),this.force=r,this.dims=rn(e),this.events=[]};function ni(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return hn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==dn(e))return!1;ui(e)&&(hn(e),t.dims=rn(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),l=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>l&&r.viewTo-l<20&&(l=Math.min(i,r.viewTo)),Ct&&(o=zt(e.doc,o),l=Bt(e.doc,l));var s=o!=r.viewFrom||l!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;!function(e,t,r){var n=e.display;0==n.view.length||t>=n.viewTo||r<=n.viewFrom?(n.view=ir(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=ir(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(an(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(ir(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,an(e,r)))),n.viewTo=r}(e,o,l),r.viewOffset=Vt(Xe(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var u=dn(e);if(!s&&0==u&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=W();if(!t||!D(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&D(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}(e);return u>4&&(r.lineDiv.style.display="none"),function(e,t,r){var n=e.display,i=e.options.lineNumbers,o=n.lineDiv,l=o.firstChild;function s(t){var r=t.nextSibling;return a&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var u=n.view,c=n.viewFrom,h=0;h<u.length;h++){var f=u[h];if(f.hidden);else if(f.node&&f.node.parentNode==o){for(;l!=f.node;)l=s(l);var d=i&&null!=t&&t<=c&&f.lineNumber;f.changes&&(B(f.changes,"gutter")>-1&&(d=!1),ur(e,f,c,r)),d&&(M(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(Je(e.options,c)))),l=f.node.nextSibling}else{var p=vr(e,f,c,r);o.insertBefore(p,l)}c+=f.size}for(;l;)l=s(l)}(e,r.updateLineNumbers,t.dims),u>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=W()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&D(document.body,e.anchorNode)&&D(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}(c),M(r.cursorDiv),M(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,ei(e,400)),r.updateLineNumbers=null,!0}function ii(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Tr(e))n&&(t.visible=Tn(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Sr(e.display)-Mr(e),r.top)}),t.visible=Tn(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ni(e,t))break;Ln(e);var i=En(e);pn(e),zn(e,i),si(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function oi(e,t){var r=new ri(e,t);if(ni(e,r)){Ln(e),ii(e,r);var n=En(e);pn(e),zn(e,n),si(e,n),r.finish()}}function li(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function si(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+kr(e)+"px"}function ai(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=nn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",l=0;l<r.length;l++)if(!r[l].hidden){e.options.fixedGutter&&(r[l].gutter&&(r[l].gutter.style.left=o),r[l].gutterBackground&&(r[l].gutterBackground.style.left=o));var s=r[l].alignable;if(s)for(var a=0;a<s.length;a++)s[a].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function ui(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=Je(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(O("div",[O("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,l=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-l)+1,n.lineNumWidth=n.lineNumInnerWidth+l,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",li(e.display),!0}return!1}function ci(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],l=null;if("string"!=typeof o&&(l=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0}r.push({className:o,style:l})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function hi(e){var t=e.gutters,r=e.gutterSpecs;M(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,l=i.style,s=t.appendChild(O("div",null,"CodeMirror-gutter "+o));l&&(s.style.cssText=l),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",li(e)}function fi(e){hi(e.display),un(e),ai(e)}function di(e,t,n,i){var o=this;this.input=n,o.scrollbarFiller=O("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=O("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=A("div",null,"CodeMirror-code"),o.selectionDiv=O("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=O("div",null,"CodeMirror-cursors"),o.measure=O("div",null,"CodeMirror-measure"),o.lineMeasure=O("div",null,"CodeMirror-measure"),o.lineSpace=A("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=A("div",[o.lineSpace],"CodeMirror-lines");o.mover=O("div",[u],null,"position: relative"),o.sizer=O("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=O("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),o.gutters=O("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=O("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=O("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),l&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),a||r&&m||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=ci(i.gutters,i.lineNumbers),hi(o),n.init(o)}ri.prototype.signal=function(e,t){ye(e,t)&&this.events.push(arguments)},ri.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ge.apply(null,this.events[e])};var pi=0,gi=null;function vi(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function mi(e){var t=vi(e);return t.x*=gi,t.y*=gi,t}function yi(e,t){var n=vi(t),i=n.x,o=n.y,l=e.display,s=l.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&y&&a)e:for(var f=t.target,d=l.view;f!=s;f=f.parentNode)for(var p=0;p<d.length;p++)if(d[p].node==f){e.display.currentWheelTarget=f;break e}if(i&&!r&&!h&&null!=gi)return o&&c&&Hn(e,Math.max(0,s.scrollTop+o*gi)),Pn(e,Math.max(0,s.scrollLeft+i*gi)),(!o||o&&c)&&we(t),void(l.wheelStartX=null);if(o&&null!=gi){var g=o*gi,v=e.doc.scrollTop,m=v+l.wrapper.clientHeight;g<0?v=Math.max(0,v+g-50):m=Math.min(e.doc.height,m+g+50),oi(e,{top:v,bottom:m})}pi<20&&(null==l.wheelStartX?(l.wheelStartX=s.scrollLeft,l.wheelStartY=s.scrollTop,l.wheelDX=i,l.wheelDY=o,setTimeout(function(){if(null!=l.wheelStartX){var e=s.scrollLeft-l.wheelStartX,t=s.scrollTop-l.wheelStartY,r=t&&l.wheelDY&&t/l.wheelDY||e&&l.wheelDX&&e/l.wheelDX;l.wheelStartX=l.wheelStartY=null,r&&(gi=(gi*pi+r)/(pi+1),++pi)}},200)):(l.wheelDX+=i,l.wheelDY+=o))}}l?gi=-.53:r?gi=15:c?gi=-.7:f&&(gi=-1/3);var bi=function(e,t){this.ranges=e,this.primIndex=t};bi.prototype.primary=function(){return this.ranges[this.primIndex]},bi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!rt(r.anchor,n.anchor)||!rt(r.head,n.head))return!1}return!0},bi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new wi(nt(this.ranges[t].anchor),nt(this.ranges[t].head));return new bi(e,this.primIndex)},bi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},bi.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(tt(t,n.from())>=0&&tt(e,n.to())<=0)return r}return-1};var wi=function(e,t){this.anchor=e,this.head=t};function xi(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(e,t){return tt(e.from(),t.from())}),r=B(t,i);for(var o=1;o<t.length;o++){var l=t[o],s=t[o-1],a=tt(s.to(),l.from());if(n&&!l.empty()?a>0:a>=0){var u=ot(s.from(),l.from()),c=it(s.to(),l.to()),h=s.empty()?l.from()==l.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new wi(h?c:u,h?u:c))}}return new bi(t,r)}function Ci(e,t){return new bi([new wi(e,t||e)],0)}function Si(e){return e.text?et(e.from.line+e.text.length-1,$(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Li(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return Si(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Si(t).ch-t.to.ch),et(r,n)}function ki(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new wi(Li(i.anchor,t),Li(i.head,t)))}return xi(e.cm,r,e.sel.primIndex)}function Ti(e,t,r){return e.line==t.line?et(r.line,e.ch-t.ch+r.ch):et(r.line+(e.line-t.line),e.ch)}function Mi(e){e.doc.mode=ze(e.options,e.doc.modeOption),Ni(e)}function Ni(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ei(e,100),e.state.modeGen++,e.curOp&&un(e)}function Oi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==$(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Ai(e,t,r,n){function i(e){return r?r[e]:null}function o(e,r,i){!function(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Nt(e),Ot(e,r);var i=n?n(e):1;i!=e.height&&$e(e,i)}(e,r,i,n),sr(e,"change",e,t)}function l(e,t){for(var r=[],o=e;o<t;++o)r.push(new Xt(u[o],i(o),n));return r}var s=t.from,a=t.to,u=t.text,c=Xe(e,s.line),h=Xe(e,a.line),f=$(u),d=i(u.length-1),p=a.line-s.line;if(t.full)e.insert(0,l(0,u.length)),e.remove(u.length,e.size-u.length);else if(Oi(e,t)){var g=l(0,u.length-1);o(h,h.text,d),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,s.ch)+f+c.text.slice(a.ch),d);else{var v=l(1,u.length-1);v.push(new Xt(f+c.text.slice(a.ch),d,n)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,v)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+h.text.slice(a.ch),i(0)),e.remove(s.line+1,p);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(h,f+h.text.slice(a.ch),d);var m=l(1,u.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,m)}sr(e,"change",e,t)}function Di(e,t,r){!function e(n,i,o){if(n.linked)for(var l=0;l<n.linked.length;++l){var s=n.linked[l];if(s.doc!=i){var a=o&&s.sharedHist;r&&!a||(t(s.doc,a),e(s.doc,n,a))}}}(e,null,!0)}function Wi(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ln(e),Mi(e),Hi(e),e.options.lineWrapping||jt(e),e.options.mode=t.modeOption,un(e)}function Hi(e){("rtl"==e.doc.direction?H:T)(e.display.lineDiv,"CodeMirror-rtl")}function Fi(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Pi(e,t){var r={from:nt(t.from),to:Si(t),text:Ye(e,t.from,t.to)};return Bi(e,r,t.from.line,t.to.line+1),Di(e,function(e){return Bi(e,r,t.from.line,t.to.line+1)},!0),r}function Ei(e){for(;e.length;){if(!$(e).ranges)break;e.pop()}}function Ii(e,t,r,n){var i=e.history;i.undone.length=0;var o,l,s=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Ei(e.done),$(e.done)):e.done.length&&!$(e.done).ranges?$(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),$(e.done)):void 0}(i,i.lastOp==n)))l=$(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,l.to)?l.to=Si(t):o.changes.push(Pi(e,t));else{var a=$(i.done);for(a&&a.ranges||zi(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,l||ge(e,"historyAdded")}function Ri(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,$(i.done),t))?i.done[i.done.length-1]=t:zi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=r,n&&!1!==n.clearRedo&&Ei(i.undone)}function zi(e,t){var r=$(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Bi(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o})}function Gi(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function Ui(e,t){var r=function(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(Gi(r[i]));return n}(e,t),n=Tt(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],l=n[i];if(o&&l)e:for(var s=0;s<l.length;++s){for(var a=l[s],u=0;u<o.length;++u)if(o[u].marker==a.marker)continue e;o.push(a)}else l&&(r[i]=l)}return r}function Vi(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?bi.prototype.deepCopy.call(o):o);else{var l=o.changes,s=[];n.push({changes:s});for(var a=0;a<l.length;++a){var u=l[a],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&B(t,Number(c[1]))>-1&&($(s)[h]=u[h],delete u[h])}}}return n}function Ki(e,t,r,n){if(n){var i=e.anchor;if(r){var o=tt(t,i)<0;o!=tt(r,i)<0?(i=t,t=r):o!=tt(t,r)<0&&(t=r)}return new wi(i,t)}return new wi(r||t,t)}function ji(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),qi(e,new bi([Ki(e.sel.primary(),t,r,i)],0),n)}function Xi(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)n[o]=Ki(e.sel.ranges[o],t[o],null,i);qi(e,xi(e.cm,n,e.sel.primIndex),r)}function Yi(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,qi(e,xi(e.cm,i,e.sel.primIndex),n)}function _i(e,t,r,n){qi(e,Ci(t,r),n)}function $i(e,t,r){var n=e.history.done,i=$(n);i&&i.ranges?(n[n.length-1]=t,Zi(e,t,r)):qi(e,t,r)}function qi(e,t,r){Zi(e,t,r),Ri(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Zi(e,t,r){(ye(e,"beforeSelectionChange")||e.cm&&ye(e.cm,"beforeSelectionChange"))&&(t=function(e,t,r){var n={ranges:t.ranges,update:function(t){this.ranges=[];for(var r=0;r<t.length;r++)this.ranges[r]=new wi(st(e,t[r].anchor),st(e,t[r].head))},origin:r&&r.origin};return ge(e,"beforeSelectionChange",e,n),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?xi(e.cm,n.ranges,n.ranges.length-1):t}(e,t,r));var n=r&&r.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);Qi(e,eo(e,t,n,!0)),r&&!1===r.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||On(e.cm)}function Qi(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,me(e.cm)),sr(e,"cursorActivity",e))}function Ji(e){Qi(e,eo(e,e.sel,null,!1))}function eo(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var l=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],a=ro(e,l.anchor,s&&s.anchor,r,n),u=ro(e,l.head,s&&s.head,r,n);(i||a!=l.anchor||u!=l.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new wi(a,u))}return i?xi(e.cm,i,t.primIndex):t}function to(e,t,r,n,i){var o=Xe(e,t.line);if(o.markedSpans)for(var l=0;l<o.markedSpans.length;++l){var s=o.markedSpans[l],a=s.marker,u="selectLeft"in a?!a.selectLeft:a.inclusiveLeft,c="selectRight"in a?!a.selectRight:a.inclusiveRight;if((null==s.from||(u?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(ge(a,"beforeCursorEnter"),a.explicitlyCleared)){if(o.markedSpans){--l;continue}break}if(!a.atomic)continue;if(r){var h=a.find(n<0?1:-1),f=void 0;if((n<0?c:u)&&(h=no(e,h,-n,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(f=tt(h,r))&&(n<0?f<0:f>0))return to(e,h,t,n,i)}var d=a.find(n<0?-1:1);return(n<0?u:c)&&(d=no(e,d,n,d.line==t.line?o:null)),d?to(e,d,t,n,i):null}}return t}function ro(e,t,r,n,i){var o=n||1,l=to(e,t,r,o,i)||!i&&to(e,t,r,o,!0)||to(e,t,r,-o,i)||!i&&to(e,t,r,-o,!0);return l||(e.cantEdit=!0,et(e.first,0))}function no(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:r>0&&t.ch==(n||Xe(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+r)}function io(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),V)}function oo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return r&&(n.update=function(t,r,i,o){t&&(n.from=st(e,t)),r&&(n.to=st(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o)}),ge(e,"beforeChange",e,n),e.cm&&ge(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function lo(e,t,r){if(e.cm){if(!e.cm.curOp)return Zn(e.cm,lo)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(ye(e,"beforeChange")||e.cm&&ye(e.cm,"beforeChange"))||(t=oo(e,t,!0))){var n=xt&&!r&&function(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=B(n,r)||(n||(n=[])).push(r)}}),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o)for(var l=n[o],s=l.find(0),a=0;a<i.length;++a){var u=i[a];if(!(tt(u.to,s.from)<0||tt(u.from,s.to)>0)){var c=[a,1],h=tt(u.from,s.from),f=tt(u.to,s.to);(h<0||!l.inclusiveLeft&&!h)&&c.push({from:u.from,to:s.from}),(f>0||!l.inclusiveRight&&!f)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),a+=c.length-3}}return i}(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i)so(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else so(e,t)}}function so(e,t){if(1!=t.text.length||""!=t.text[0]||0!=tt(t.from,t.to)){var r=ki(e,t);Ii(e,t,r,e.cm?e.cm.curOp.id:NaN),co(e,t,r,Tt(e,t));var n=[];Di(e,function(e,r){r||-1!=B(n,e.history)||(go(e.history,t),n.push(e.history)),co(e,t,null,Tt(e,t))})}}function ao(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!n||r){for(var i,o=e.history,l=e.sel,s="undo"==t?o.done:o.undone,a="undo"==t?o.undone:o.done,u=0;u<s.length&&(i=s[u],r?!i.ranges||i.equals(e.sel):i.ranges);u++);if(u!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(n)return void s.push(i);break}if(zi(i,a),r&&!i.equals(e.sel))return void qi(e,i,{clearRedo:!1});l=i}var c=[];zi(l,a),a.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var h=ye(e,"beforeChange")||e.cm&&ye(e.cm,"beforeChange"),f=function(r){var n=i.changes[r];if(n.origin=t,h&&!oo(e,n,!1))return s.length=0,{};c.push(Pi(e,n));var o=r?ki(e,n):$(s);co(e,n,o,Ui(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:Si(n)});var l=[];Di(e,function(e,t){t||-1!=B(l,e.history)||(go(e.history,n),l.push(e.history)),co(e,n,null,Ui(e,n))})},d=i.changes.length-1;d>=0;--d){var p=f(d);if(p)return p.v}}}}function uo(e,t){if(0!=t&&(e.first+=t,e.sel=new bi(q(e.sel.ranges,function(e){return new wi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){un(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)cn(e.cm,n,"gutter")}}function co(e,t,r,n){if(e.cm&&!e.cm.curOp)return Zn(e.cm,co)(e,t,r,n);if(t.to.line<e.first)uo(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);uo(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[$(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Xe(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ye(e,t.from,t.to),r||(r=ki(e,t)),e.cm?function(e,t,r){var n=e.doc,i=e.display,o=t.from,l=t.to,s=!1,a=o.line;e.options.lineWrapping||(a=qe(Rt(Xe(n,o.line))),n.iter(a,l.line+1,function(e){if(e==i.maxLine)return s=!0,!0}));n.sel.contains(t.from,t.to)>-1&&me(e);Ai(n,t,r,on(e)),e.options.lineWrapping||(n.iter(a,o.line+t.text.length,function(e){var t=Kt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0));(function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Xe(e,n).stateAfter;if(i&&(!(i instanceof ut)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}})(n,o.line),ei(e,400);var u=t.text.length-(l.line-o.line)-1;t.full?un(e):o.line!=l.line||1!=t.text.length||Oi(e.doc,t)?un(e,o.line,l.line+1,u):cn(e,o.line,"text");var c=ye(e,"changes"),h=ye(e,"change");if(h||c){var f={from:o,to:l,text:t.text,removed:t.removed,origin:t.origin};h&&sr(e,"change",e,f),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}(e.cm,t,n):Ai(e,t,n),Zi(e,r,V),e.cantEdit&&ro(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function ho(e,t,r,n,i){var o;n||(n=r),tt(n,r)<0&&(r=(o=[n,r])[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),lo(e,{from:r,to:n,text:t,origin:i})}function fo(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function po(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],l=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)fo(o.ranges[s].anchor,t,r,n),fo(o.ranges[s].head,t,r,n)}else{for(var a=0;a<o.changes.length;++a){var u=o.changes[a];if(r<u.from.line)u.from=et(u.from.line+n,u.from.ch),u.to=et(u.to.line+n,u.to.ch);else if(t<=u.to.line){l=!1;break}}l||(e.splice(0,i+1),i=0)}}}function go(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;po(e.done,r,n,i),po(e.undone,r,n,i)}function vo(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Xe(e,lt(e,t)):i=qe(t),null==i?null:(n(o,i)&&e.cm&&cn(e.cm,i,r),o)}function mo(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}function yo(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}wi.prototype.from=function(){return ot(this.anchor,this.head)},wi.prototype.to=function(){return it(this.anchor,this.head)},wi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},mo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,Yt(i),sr(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}},yo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),l=n.height;if(n.removeInner(e,o),this.height-=l-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof mo))){var s=[];this.collapse(s),this.children=[new mo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var l=i.lines.length%25+25,s=l;s<i.lines.length;){var a=new mo(i.lines.slice(s,s+=25));i.height-=a.height,this.children.splice(++n,0,a),a.parent=this}i.lines=i.lines.slice(0,l),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new yo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var r=B(e.parent.children,e);e.parent.children.splice(r+1,0,t)}else{var n=new yo(e.children);n.parent=e,e.children=[n,t],e=n}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var l=Math.min(t,o-e);if(i.iterN(e,l,r))return!0;if(0==(t-=l))break;e=0}else e-=o}}};var bo=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n]);this.doc=e,this.node=t};function wo(e,t,r){Vt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Nn(e,r)}bo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=qe(r);if(null!=n&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(r.widgets=null);var o=wr(this);$e(r,Math.max(0,r.height-o)),e&&(qn(e,function(){wo(e,r,-o),cn(e,n,"widget")}),sr(e,"lineWidgetCleared",e,this,n))}},bo.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=wr(this)-t;i&&(Gt(this.doc,n)||$e(n,n.height+i),r&&qn(r,function(){r.curOp.forceUpdate=!0,wo(r,n,i),sr(r,"lineWidgetChanged",r,e,qe(n))}))},be(bo);var xo=0,Co=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++xo};function So(e,t,r,n,i){if(n&&n.shared)return function(e,t,r,n,i){(n=I(n)).shared=!1;var o=[So(e,t,r,n,i)],l=o[0],s=n.widgetNode;return Di(e,function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(So(e,st(e,t),st(e,r),n,i));for(var a=0;a<e.linked.length;++a)if(e.linked[a].isParent)return;l=$(o)}),new Lo(o,l)}(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return Zn(e.cm,So)(e,t,r,n,i);var o=new Co(e,i),l=tt(t,r);if(n&&I(n,o,!1),l>0||0==l&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=A("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(It(e,t.line,t,r,o)||t.line!=r.line&&It(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ct=!0}o.addToHistory&&Ii(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s,a=t.line,u=e.cm;if(e.iter(a,r.line+1,function(e){u&&o.collapsed&&!u.options.lineWrapping&&Rt(e)==u.display.maxLine&&(s=!0),o.collapsed&&a!=t.line&&$e(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new St(o,a==t.line?t.ch:null,a==r.line?r.ch:null)),++a}),o.collapsed&&e.iter(t.line,r.line+1,function(t){Gt(e,t)&&$e(t,0)}),o.clearOnEnter&&fe(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(xt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++xo,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)un(u,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=r.line;c++)cn(u,c,"text");o.atomic&&Ji(u.doc),sr(u,"markerAdded",u,o)}return o}Co.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kn(e),ye(this,"clear")){var r=this.find();r&&sr(this,"clear",r.from,r.to)}for(var n=null,i=null,o=0;o<this.lines.length;++o){var l=this.lines[o],s=Lt(l.markedSpans,this);e&&!this.collapsed?cn(e,qe(l),"text"):e&&(null!=s.to&&(i=qe(l)),null!=s.from&&(n=qe(l))),l.markedSpans=kt(l.markedSpans,s),null==s.from&&this.collapsed&&!Gt(this.doc,l)&&e&&$e(l,en(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var a=0;a<this.lines.length;++a){var u=Rt(this.lines[a]),c=Kt(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&un(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ji(e.doc)),e&&sr(e,"markerCleared",e,this,n,i),t&&jn(e),this.parent&&this.parent.clear()}},Co.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],l=Lt(o.markedSpans,this);if(null!=l.from&&(r=et(t?o:qe(o),l.from),-1==e))return r;if(null!=l.to&&(n=et(t?o:qe(o),l.to),1==e))return n}return r&&{from:r,to:n}},Co.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;t&&n&&qn(n,function(){var i=t.line,o=qe(t.line),l=Ar(n,o);if(l&&(Ir(l),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Gt(r.doc,i)&&null!=r.height){var s=r.height;r.height=null;var a=wr(r)-s;a&&$e(i,i.height+a)}sr(n,"markerChanged",n,e)})},Co.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=B(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Co.prototype.detachLine=function(e){if(this.lines.splice(B(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},be(Co);var Lo=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};function ko(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),function(e){return e.parent})}function To(e){for(var t=function(t){var r=e[t],n=[r.primary.doc];Di(r.primary.doc,function(e){return n.push(e)});for(var i=0;i<r.markers.length;i++){var o=r.markers[i];-1==B(n,o.doc)&&(o.parent=null,r.markers.splice(i--,1))}},r=0;r<e.length;r++)t(r)}Lo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();sr(this,"clear")}},Lo.prototype.find=function(e,t){return this.primary.find(e,t)},be(Lo);var Mo=0,No=function(e,t,r,n,i){if(!(this instanceof No))return new No(e,t,r,n,i);null==r&&(r=0),yo.call(this,[new mo([new Xt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var o=et(r,0);this.sel=Ci(o),this.history=new Fi(null),this.id=++Mo,this.modeOption=t,this.lineSep=n,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Ai(this,{from:o,to:o,text:e}),qi(this,Ci(o),V)};No.prototype=Q(yo.prototype,{constructor:No,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=_e(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Jn(function(e){var t=et(this.first,0),r=this.first+this.size-1;lo(this,{from:t,to:et(r,Xe(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&An(this.cm,0,0),qi(this,Ci(t),V)}),replaceRange:function(e,t,r,n){ho(this,e,t=st(this,t),r=r?st(this,r):t,n)},getRange:function(e,t,r){var n=Ye(this,st(this,e),st(this,t));return!1===r?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Qe(this,e))return Xe(this,e)},getLineNumber:function(e){return qe(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Xe(this,e)),Rt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Jn(function(e,t,r){_i(this,st(this,"number"==typeof e?et(e,t||0):e),null,r)}),setSelection:Jn(function(e,t,r){_i(this,st(this,e),st(this,t||e),r)}),extendSelection:Jn(function(e,t,r){ji(this,st(this,e),t&&st(this,t),r)}),extendSelections:Jn(function(e,t){Xi(this,at(this,e),t)}),extendSelectionsBy:Jn(function(e,t){Xi(this,at(this,q(this.sel.ranges,e)),t)}),setSelections:Jn(function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++)n[i]=new wi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),qi(this,xi(this.cm,n,t),r)}}),addSelection:Jn(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new wi(st(this,e),st(this,t||e))),qi(this,xi(this.cm,n,n.length-1),r)}),getSelection:function(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Ye(this,r[n].from(),r[n].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Ye(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:Jn(function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var l=i.ranges[o];n[o]={from:l.from(),to:l.to(),text:this.splitLines(e[o]),origin:r}}for(var s=t&&"end"!=t&&function(e,t,r){for(var n=[],i=et(e.first,0),o=i,l=0;l<t.length;l++){var s=t[l],a=Ti(s.from,i,o),u=Ti(Si(s),i,o);if(i=s.to,o=u,"around"==r){var c=e.sel.ranges[l],h=tt(c.head,c.anchor)<0;n[l]=new wi(h?u:a,h?a:u)}else n[l]=new wi(a,a)}return new bi(n,e.sel.primIndex)}(this,n,t),a=n.length-1;a>=0;a--)lo(this,n[a]);s?$i(this,s):this.cm&&On(this.cm)}),undo:Jn(function(){ao(this,"undo")}),redo:Jn(function(){ao(this,"redo")}),undoSelection:Jn(function(){ao(this,"undo",!0)}),redoSelection:Jn(function(){ao(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){var e=this;this.history=new Fi(this.history),Di(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Vi(this.history.done),undone:Vi(this.history.undone)}},setHistory:function(e){var t=this.history=new Fi(this.history);t.done=Vi(e.done.slice(0),null,!0),t.undone=Vi(e.undone.slice(0),null,!0)},setGutterMarker:Jn(function(e,t,r){return vo(this,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&re(n)&&(e.gutterMarkers=null),!0})}),clearGutter:Jn(function(e){var t=this;this.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&vo(t,r,"gutter",function(){return r.gutterMarkers[e]=null,re(r.gutterMarkers)&&(r.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!Qe(this,e))return null;if(t=e,!(e=Xe(this,e)))return null}else if(null==(t=qe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Jn(function(e,t,r){return vo(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(L(r).test(e[n]))return!1;e[n]+=" "+r}else e[n]=r;return!0})}),removeLineClass:Jn(function(e,t,r){return vo(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n];if(!i)return!1;if(null==r)e[n]=null;else{var o=i.match(L(r));if(!o)return!1;var l=o.index+o[0].length;e[n]=i.slice(0,o.index)+(o.index&&l!=i.length?" ":"")+i.slice(l)||null}return!0})}),addLineWidget:Jn(function(e,t,r){return function(e,t,r,n){var i=new bo(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),vo(e,t,"widget",function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Gt(e,t)){var n=Vt(t)<e.scrollTop;$e(t,t.height+wr(i)),n&&Nn(o,i.height),o.curOp.forceUpdate=!0}return!0}),o&&sr(o,"lineWidgetAdded",o,i,"number"==typeof t?t:qe(t)),i}(this,e,t,r)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return So(this,st(this,e),st(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return So(this,e=st(this,e),e,r,"bookmark")},findMarksAt:function(e){var t=[],r=Xe(this,(e=st(this,e)).line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=st(this,e),t=st(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var l=o.markedSpans;if(l)for(var s=0;s<l.length;s++){var a=l[s];null!=a.to&&i==e.line&&e.ch>=a.to||null==a.from&&i!=e.line||null!=a.from&&i==t.line&&a.from>=t.ch||r&&!r(a.marker)||n.push(a.marker.parent||a.marker)}++i}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n)null!=r[n].from&&e.push(r[n].marker)}),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+n;if(o>e)return t=e,!0;e-=o,++r}),st(this,et(r,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+r}),t},copy:function(e){var t=new No(_e(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new No(_e(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),l=e.clipPos(i.to);if(tt(o,l)){var s=So(e,o,l,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}(n,ko(this)),n},unlinkDoc:function(e){if(e instanceof Ll&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),To(ko(this));break}}if(e.history==this.history){var r=[e.id];Di(e,function(e){return r.push(e.id)},!0),e.history=new Fi(null),e.history.done=Vi(this.history.done,r),e.history.undone=Vi(this.history.undone,r)}},iterLinkedDocs:function(e){Di(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):We(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Jn(function(e){var t;("rtl"!=e&&(e="ltr"),e!=this.direction)&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&qn(t=this.cm,function(){Hi(t),un(t)}))})}),No.prototype.eachLine=No.prototype.iter;var Oo=0;function Ao(e){var t=this;if(Do(t),!ve(t,e)&&!xr(t.display,e)){we(e),l&&(Oo=+new Date);var r=sn(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),s=0,a=function(){++s==i&&Zn(t,function(){var e={from:r=st(t.doc,r),to:r,text:t.doc.splitLines(o.filter(function(e){return null!=e}).join(t.doc.lineSeparator())),origin:"paste"};lo(t.doc,e),$i(t.doc,Ci(st(t.doc,r),st(t.doc,Si(e))))})()},u=function(e,r){if(t.options.allowDropFileTypes&&-1==B(t.options.allowDropFileTypes,e.type))a();else{var n=new FileReader;n.onerror=function(){return a()},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)?a():(o[r]=e,a())},n.readAsText(e)}},c=0;c<n.length;c++)u(n[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var h=e.dataTransfer.getData("Text");if(h){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Zi(t.doc,Ci(r,r)),f)for(var d=0;d<f.length;++d)ho(t.doc,"",f[d].anchor,f[d].head,"drag");t.replaceSelection(h,"around","paste"),t.display.input.focus()}}catch(p){}}}}function Do(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Wo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i)}r.length&&r[0].operation(function(){for(var t=0;t<r.length;t++)e(r[t])})}}var Ho=!1;function Fo(){var e;Ho||(fe(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,Wo(Po)},100))}),fe(window,"blur",function(){return Wo(Sn)}),Ho=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Eo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Io=0;Io<10;Io++)Eo[Io+48]=Eo[Io+96]=String(Io);for(var Ro=65;Ro<=90;Ro++)Eo[Ro]=String.fromCharCode(Ro);for(var zo=1;zo<=12;zo++)Eo[zo+111]=Eo[zo+63235]="F"+zo;var Bo={};function Go(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var l=0;l<o.length-1;l++){var s=o[l];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);n=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Uo(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=q(r.split(" "),Go),o=0;o<i.length;o++){var l=void 0,s=void 0;o==i.length-1?(s=i.join(" "),l=n):(s=i.slice(0,o+1).join(" "),l="...");var a=t[s];if(a){if(a!=l)throw new Error("Inconsistent bindings for "+s)}else t[s]=l}delete e[r]}for(var u in t)e[u]=t[u];return e}function Vo(e,t,r,n){var i=(t=Yo(t)).call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Vo(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var l=Vo(e,t.fallthrough[o],r,n);if(l)return l}}}function Ko(e){var t="string"==typeof e?e:Eo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function jo(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(C?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(C?t.ctrlKey:t.metaKey)&&"Mod"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Xo(e,t){if(h&&34==e.keyCode&&e.char)return!1;var r=Eo[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),jo(r,e,t))}function Yo(e){return"string"==typeof e?Bo[e]:e}function _o(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var o=t(r[i]);n.length&&tt(o.from,$(n).to)<=0;){var l=n.pop();if(tt(l.from,o.from)<0){o.from=l.from;break}}n.push(o)}qn(e,function(){for(var t=n.length-1;t>=0;t--)ho(e.doc,"",n[t].from,n[t].to,"+delete");On(e)})}function $o(e,t,r){var n=oe(e.text,t+r,r);return n<0||n>e.text.length?null:n}function qo(e,t,r){var n=$o(e,t.ch,r);return null==n?null:new et(t.line,n,r<0?"after":"before")}function Zo(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=ce(r,t.doc.direction);if(o){var l,s=i<0?$(o):o[0],a=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=Dr(t,r);l=i<0?r.text.length-1:0;var c=Wr(t,u,l).top;l=le(function(e){return Wr(t,u,e).top==c},i<0==(1==s.level)?s.from:s.to-1,l),"before"==a&&(l=$o(r,l,1))}else l=i<0?s.to:s.from;return new et(n,l,a)}}return new et(n,i<0?r.text.length:0,i<0?"before":"after")}Bo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Bo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Bo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Bo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Bo.default=y?Bo.macDefault:Bo.pcDefault;var Qo={selectAll:io,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return _o(e,function(t){if(t.empty()){var r=Xe(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,r)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return _o(e,function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}})},delLineLeft:function(e){return _o(e,function(e){return{from:et(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return _o(e,function(t){var r=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:r},"div"),to:t.from()}})},delWrappedLineRight:function(e){return _o(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Jo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return el(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return function(e,t){var r=Xe(e.doc,t),n=function(e){for(var t;t=Pt(e);)e=t.find(1,!0).line;return e}(r);n!=r&&(t=qe(n));return Zo(!0,e,r,t,-1)}(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")},j)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")},j)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?el(e,t.head):n},j)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),l=R(e.getLine(o.line),o.ch,n);t.push(_(n-l%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return qn(e,function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)if(t[n].empty()){var i=t[n].head,o=Xe(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var l=Xe(e.doc,i.line-1).text;l&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+l.charAt(l.length-1),et(i.line-1,l.length-1),i,"+transpose"))}r.push(new wi(i,i))}e.setSelections(r)})},newlineAndIndent:function(e){return qn(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);On(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Jo(e,t){var r=Xe(e.doc,t),n=Rt(r);return n!=r&&(t=qe(n)),Zo(!0,e,n,t,1)}function el(e,t){var r=Jo(e,t.line),n=Xe(e.doc,r.line),i=ce(n,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(r.ch,n.text.search(/\S/)),l=t.line==r.line&&t.ch<=o&&t.ch;return et(r.line,l?0:o,r.sticky)}return r}function tl(e,t,r){if("string"==typeof t&&!(t=Qo[t]))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=U}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}var rl=new z;function nl(e,t,r,n){var i=e.state.keySeq;if(i){if(Ko(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rl.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),il(e,i+" "+t,r,n))return!0}return il(e,t,r,n)}function il(e,t,r,n){var i=function(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Vo(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&Vo(t,e.options.extraKeys,r,e)||Vo(t,e.options.keyMap,r,e)}(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&sr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(we(r),bn(e)),!!i}function ol(e,t){var r=Xo(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?nl(e,"Shift-"+r,t,function(t){return tl(e,t,!0)})||nl(e,r,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return tl(e,t)}):nl(e,r,t,function(t){return tl(e,t)}))}var ll=null;function sl(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=W(),ve(t,e)))){l&&s<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=ol(t,e);h&&(ll=i?n:null,!i&&88==n&&!Fe&&(y?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),r&&!y&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(T(t,"CodeMirror-crosshair"),pe(document,"keyup",r),pe(document,"mouseover",r))}H(t,"CodeMirror-crosshair"),fe(document,"keyup",r),fe(document,"mouseover",r)}(t)}}function al(e){16==e.keyCode&&(this.doc.sel.shift=!1),ve(this,e)}function ul(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||xr(t.display,e)||ve(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(h&&r==ll)return ll=null,void we(e);if(!h||e.which&&!(e.which<10)||!ol(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(function(e,t,r){return nl(e,"'"+r+"'",t,function(t){return tl(e,t,!0)})}(t,e,i)||t.display.input.onKeyPress(e))}}}var cl,hl,fl=function(e,t,r){this.time=e,this.pos=t,this.button=r};function dl(e){var t=this,r=t.display;if(!(ve(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,xr(r,e))a||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0},100));else if(!vl(t,e)){var n=sn(t,e),i=ke(e),o=n?function(e,t){var r=+new Date;return hl&&hl.compare(r,e,t)?(cl=hl=null,"triple"):cl&&cl.compare(r,e,t)?(hl=new fl(r,e,t),cl=null,"double"):(cl=new fl(r,e,t),hl=null,"single")}(n,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&function(e,t,r,n,i){var o="Click";"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o);return nl(e,jo(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,function(t){if("string"==typeof t&&(t=Qo[t]),!t)return!1;var n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=U}finally{e.state.suppressEdits=!1}return n})}(t,i,n,o,e)||(1==i?n?function(e,t,r,n){l?setTimeout(E(wn,e),0):e.curOp.focus=W();var i,o=function(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=b?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey);null==i.addNew&&(i.addNew=y?r.metaKey:r.ctrlKey);null==i.moveOnDrag&&(i.moveOnDrag=!(y?r.altKey:r.ctrlKey));return i}(e,r,n),u=e.doc.sel;e.options.dragDrop&&Ne&&!e.isReadOnly()&&"single"==r&&(i=u.contains(t))>-1&&(tt((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,r,n){var i=e.display,o=!1,u=Zn(e,function(t){a&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:xn(e)),pe(i.wrapper.ownerDocument,"mouseup",u),pe(i.wrapper.ownerDocument,"mousemove",c),pe(i.scroller,"dragstart",h),pe(i.scroller,"drop",u),o||(we(t),n.addNew||ji(e.doc,r,null,null,n.extend),a&&!f||l&&9==s?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};a&&(i.scroller.draggable=!0);e.state.draggingText=u,u.copy=!n.moveOnDrag,fe(i.wrapper.ownerDocument,"mouseup",u),fe(i.wrapper.ownerDocument,"mousemove",c),fe(i.scroller,"dragstart",h),fe(i.scroller,"drop",u),e.state.delayingBlurEvent=!0,setTimeout(function(){return i.input.focus()},20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,n,t,o):function(e,t,r,n){l&&xn(e);var i=e.display,o=e.doc;we(t);var s,a,u=o.sel,c=u.ranges;n.addNew&&!n.extend?(a=o.sel.contains(r),s=a>-1?c[a]:new wi(r,r)):(s=o.sel.primary(),a=o.sel.primIndex);if("rectangle"==n.unit)n.addNew||(s=new wi(r,r)),r=sn(e,t,!0,!0),a=-1;else{var h=pl(e,r,n.unit);s=n.extend?Ki(s,h.anchor,h.head,n.extend):h}n.addNew?-1==a?(a=c.length,qi(o,xi(e,c.concat([s]),a),{scroll:!1,origin:"*mouse"})):c.length>1&&c[a].empty()&&"char"==n.unit&&!n.extend?(qi(o,xi(e,c.slice(0,a).concat(c.slice(a+1)),0),{scroll:!1,origin:"*mouse"}),u=o.sel):Yi(o,a,s,K):(a=0,qi(o,new bi([s],0),K),u=o.sel);var f=r;function d(t){if(0!=tt(f,t))if(f=t,"rectangle"==n.unit){for(var i=[],l=e.options.tabSize,c=R(Xe(o,r.line).text,r.ch,l),h=R(Xe(o,t.line).text,t.ch,l),d=Math.min(c,h),p=Math.max(c,h),g=Math.min(r.line,t.line),v=Math.min(e.lastLine(),Math.max(r.line,t.line));g<=v;g++){var m=Xe(o,g).text,y=X(m,d,l);d==p?i.push(new wi(et(g,y),et(g,y))):m.length>y&&i.push(new wi(et(g,y),et(g,X(m,p,l))))}i.length||i.push(new wi(r,r)),qi(o,xi(e,u.ranges.slice(0,a).concat(i),a),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=s,x=pl(e,t,n.unit),C=w.anchor;tt(x.anchor,C)>0?(b=x.head,C=ot(w.from(),x.anchor)):(b=x.anchor,C=it(w.to(),x.head));var S=u.ranges.slice(0);S[a]=function(e,t){var r=t.anchor,n=t.head,i=Xe(e.doc,r.line);if(0==tt(r,n)&&r.sticky==n.sticky)return t;var o=ce(i);if(!o)return t;var l=ae(o,r.ch,r.sticky),s=o[l];if(s.from!=r.ch&&s.to!=r.ch)return t;var a,u=l+(s.from==r.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(n.line!=r.line)a=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=ae(o,n.ch,n.sticky),h=c-l||(n.ch-r.ch)*(1==s.level?-1:1);a=c==u-1||c==u?h<0:h>0}var f=o[u+(a?-1:0)],d=a==(1==f.level),p=d?f.from:f.to,g=d?"after":"before";return r.ch==p&&r.sticky==g?t:new wi(new et(r.line,p,g),n)}(e,new wi(st(o,C),b)),qi(o,xi(e,S,a),K)}}var p=i.wrapper.getBoundingClientRect(),g=0;function v(t){e.state.selectingText=!1,g=1/0,t&&(we(t),i.input.focus()),pe(i.wrapper.ownerDocument,"mousemove",m),pe(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var m=Zn(e,function(t){0!==t.buttons&&ke(t)?function t(r){var l=++g;var s=sn(e,r,!0,"rectangle"==n.unit);if(!s)return;if(0!=tt(s,f)){e.curOp.focus=W(),d(s);var a=Tn(i,o);(s.line>=a.to||s.line<a.from)&&setTimeout(Zn(e,function(){g==l&&t(r)}),150)}else{var u=r.clientY<p.top?-20:r.clientY>p.bottom?20:0;u&&setTimeout(Zn(e,function(){g==l&&(i.scroller.scrollTop+=u,t(r))}),50)}}(t):v(t)}),y=Zn(e,v);e.state.selectingText=y,fe(i.wrapper.ownerDocument,"mousemove",m),fe(i.wrapper.ownerDocument,"mouseup",y)}(e,n,t,o)}(t,n,o,e):Le(e)==r.scroller&&we(e):2==i?(n&&ji(t.doc,n),setTimeout(function(){return r.input.focus()},20)):3==i&&(S?t.display.input.onContextMenu(e):xn(t)))}}function pl(e,t,r){if("char"==r)return new wi(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new wi(et(t.line,0),st(e.doc,et(t.line+1,0)));var n=r(e,t);return new wi(n.from,n.to)}function gl(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(c){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&we(t);var l=e.display,s=l.lineDiv.getBoundingClientRect();if(o>s.bottom||!ye(e,r))return Ce(t);o-=s.top-l.viewOffset;for(var a=0;a<e.display.gutterSpecs.length;++a){var u=l.gutters.childNodes[a];if(u&&u.getBoundingClientRect().right>=i)return ge(e,r,e,Ze(e.doc,o),e.display.gutterSpecs[a].className,t),Ce(t)}}function vl(e,t){return gl(e,t,"gutterClick",!0)}function ml(e,t){xr(e.display,t)||function(e,t){if(!ye(e,"gutterContextMenu"))return!1;return gl(e,t,"gutterContextMenu",!1)}(e,t)||ve(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function yl(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zr(e)}fl.prototype.compare=function(e,t,r){return this.time+400>e&&0==tt(t,this.pos)&&r==this.button};var bl={toString:function(){return"CodeMirror.Init"}},wl={},xl={};function Cl(e,t,r){if(!t!=!(r&&r!=bl)){var n=e.display.dragFunctions,i=t?fe:pe;i(e.display.scroller,"dragstart",n.start),i(e.display.scroller,"dragenter",n.enter),i(e.display.scroller,"dragover",n.over),i(e.display.scroller,"dragleave",n.leave),i(e.display.scroller,"drop",n.drop)}}function Sl(e){e.options.lineWrapping?(H(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),jt(e)),ln(e),un(e),zr(e),setTimeout(function(){return zn(e)},100)}function Ll(e,t){var r=this;if(!(this instanceof Ll))return new Ll(e,t);this.options=t=t?I(t):{},I(wl,t,!1);var n=t.value;"string"==typeof n?n=new No(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new Ll.inputStyles[t.inputStyle](this),o=this.display=new di(e,n,i,t);for(var u in o.wrapper.CodeMirror=this,yl(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Un(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new z,keySeq:null,specialChars:null},t.autofocus&&!m&&o.input.focus(),l&&s<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function(e){var t=e.display;fe(t.scroller,"mousedown",Zn(e,dl)),fe(t.scroller,"dblclick",l&&s<11?Zn(e,function(t){if(!ve(e,t)){var r=sn(e,t);if(r&&!vl(e,t)&&!xr(e.display,t)){we(t);var n=e.findWordAt(r);ji(e.doc,n.anchor,n.head)}}}):function(t){return ve(e,t)||we(t)});fe(t.scroller,"contextmenu",function(t){return ml(e,t)}),fe(t.input.getField(),"contextmenu",function(r){t.scroller.contains(r.target)||ml(e,r)});var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout(function(){return t.activeTouch=null},1e3),(n=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400}fe(t.scroller,"touchstart",function(i){if(!ve(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!vl(e,i)){t.input.ensurePolled(),clearTimeout(r);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),fe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),fe(t.scroller,"touchend",function(r){var n=t.activeTouch;if(n&&!xr(t,r)&&null!=n.left&&!n.moved&&new Date-n.start<300){var l,s=e.coordsChar(t.activeTouch,"page");l=!n.prev||o(n,n.prev)?new wi(s,s):!n.prev.prev||o(n,n.prev.prev)?e.findWordAt(s):new wi(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(l.anchor,l.head),e.focus(),we(r)}i()}),fe(t.scroller,"touchcancel",i),fe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Hn(e,t.scroller.scrollTop),Pn(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e))}),fe(t.scroller,"mousewheel",function(t){return yi(e,t)}),fe(t.scroller,"DOMMouseScroll",function(t){return yi(e,t)}),fe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){ve(e,t)||Se(t)},over:function(t){ve(e,t)||(!function(e,t){var r=sn(e,t);if(r){var n=document.createDocumentFragment();vn(e,r,n),e.display.dragCursor||(e.display.dragCursor=O("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),N(e.display.dragCursor,n)}}(e,t),Se(t))},start:function(t){return function(e,t){if(l&&(!e.state.draggingText||+new Date-Oo<100))Se(t);else if(!ve(e,t)&&!xr(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var r=O("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),h&&r.parentNode.removeChild(r)}}(e,t)},drop:Zn(e,Ao),leave:function(t){ve(e,t)||Do(e)}};var a=t.input.getField();fe(a,"keyup",function(t){return al.call(e,t)}),fe(a,"keydown",Zn(e,sl)),fe(a,"keypress",Zn(e,ul)),fe(a,"focus",function(t){return Cn(e,t)}),fe(a,"blur",function(t){return Sn(e,t)})}(this),Fo(),Kn(this),this.curOp.forceUpdate=!0,Wi(this,n),t.autofocus&&!m||this.hasFocus()?setTimeout(function(){r.hasFocus()&&!r.state.focused&&Cn(r)},20):Sn(this),xl)xl.hasOwnProperty(u)&&xl[u](this,t[u],bl);ui(this),t.finishInit&&t.finishInit(this);for(var c=0;c<kl.length;++c)kl[c](this);jn(this),a&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}Ll.defaults=wl,Ll.optionHandlers=xl;var kl=[];function Tl(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=dt(e,t).state:r="prev");var l=e.options.tabSize,s=Xe(o,t),a=R(s.text,null,l);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&((u=o.mode.indent(i,s.text.slice(c.length),s.text))==U||u>150)){if(!n)return;r="prev"}}else u=0,r="not";"prev"==r?u=t>o.first?R(Xe(o,t-1).text,null,l):0:"add"==r?u=a+e.options.indentUnit:"subtract"==r?u=a-e.options.indentUnit:"number"==typeof r&&(u=a+r),u=Math.max(0,u);var h="",f=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/l);d;--d)f+=l,h+="\t";if(f<u&&(h+=_(u-f)),h!=c)return ho(o,h,et(t,0),et(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<c.length){var v=et(t,c.length);Yi(o,p,new wi(v,v));break}}}Ll.defineInitHook=function(e){return kl.push(e)};var Ml=null;function Nl(e){Ml=e}function Ol(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var l=+new Date-200,s="paste"==i||e.state.pasteIncoming>l,a=We(t),u=null;if(s&&n.ranges.length>1)if(Ml&&Ml.text.join("\n")==t){if(n.ranges.length%Ml.text.length==0){u=[];for(var c=0;c<Ml.text.length;c++)u.push(o.splitLines(Ml.text[c]))}}else a.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(u=q(a,function(e){return[e]}));for(var h=e.curOp.updateInput,f=n.ranges.length-1;f>=0;f--){var d=n.ranges[f],p=d.from(),g=d.to();d.empty()&&(r&&r>0?p=et(p.line,p.ch-r):e.state.overwrite&&!s?g=et(g.line,Math.min(Xe(o,g.line).text.length,g.ch+$(a).length)):s&&Ml&&Ml.lineWise&&Ml.text.join("\n")==a.join("\n")&&(p=g=et(p.line,0)));var v={from:p,to:g,text:u?u[f%u.length]:a,origin:i||(s?"paste":e.state.cutIncoming>l?"cut":"+input")};lo(e.doc,v),sr(e,"inputRead",e,v)}t&&!s&&Dl(e,t),On(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Al(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||qn(t,function(){return Ol(t,r,0,null,"paste")}),!0}function Dl(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),l=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){l=Tl(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Xe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(l=Tl(e,i.head.line,"smart"));l&&sr(e,"electricInput",e,i.head.line)}}}function Wl(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:et(i,0),head:et(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Hl(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function Fl(){var e=O("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=O("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return a?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Hl(e),t}function Pl(e,t,r,n,i){var o=t,l=r,s=Xe(e,t.line),a=i&&"rtl"==e.direction?-r:r;function u(o){var l,u;if("codepoint"==n){var c=s.text.charCodeAt(t.ch+(r>0?0:-1));if(isNaN(c))l=null;else{var h=r>0?c>=55296&&c<56320:c>=56320&&c<57343;l=new et(t.line,Math.max(0,Math.min(s.text.length,t.ch+r*(h?2:1))),-r)}}else l=i?function(e,t,r,n){var i=ce(t,e.doc.direction);if(!i)return qo(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ae(i,r.ch,r.sticky),l=i[o];if("ltr"==e.doc.direction&&l.level%2==0&&(n>0?l.to>r.ch:l.from<r.ch))return qo(t,r,n);var s,a=function(e,r){return $o(t,e instanceof et?e.ch:e,r)},u=function(r){return e.options.lineWrapping?(s=s||Dr(e,t),Zr(e,t,s,r)):{begin:0,end:t.text.length}},c=u("before"==r.sticky?a(r,-1):r.ch);if("rtl"==e.doc.direction||1==l.level){var h=1==l.level==n<0,f=a(r,h?1:-1);if(null!=f&&(h?f<=l.to&&f<=c.end:f>=l.from&&f>=c.begin)){var d=h?"before":"after";return new et(r.line,f,d)}}var p=function(e,t,n){for(var o=function(e,t){return t?new et(r.line,a(e,1),"before"):new et(r.line,e,"after")};e>=0&&e<i.length;e+=t){var l=i[e],s=t>0==(1!=l.level),u=s?n.begin:a(n.end,-1);if(l.from<=u&&u<l.to)return o(u,s);if(u=s?l.from:a(l.to,-1),n.begin<=u&&u<n.end)return o(u,s)}},g=p(o+n,n,c);if(g)return g;var v=n>0?c.end:a(c.begin,-1);return null==v||n>0&&v==t.text.length||!(g=p(n>0?0:i.length-1,n,u(v)))?null:g}(e.cm,s,t,r):qo(s,t,r);if(null==l){if(o||(u=t.line+a)<e.first||u>=e.first+e.size||(t=new et(u,t.ch,t.sticky),!(s=Xe(e,u))))return!1;t=Zo(i,e.cm,s,t.line,a)}else t=l;return!0}if("char"==n||"codepoint"==n)u();else if("column"==n)u(!0);else if("word"==n||"group"==n)for(var c=null,h="group"==n,f=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(r<0)||u(!d);d=!1){var p=s.text.charAt(t.ch)||"\n",g=te(p,f)?"w":h&&"\n"==p?"n":!h||/\s/.test(p)?null:"p";if(!h||d||g||(g="s"),c&&c!=g){r<0&&(r=1,u(),t.sticky="after");break}if(g&&(c=g),r>0&&!u(!d))break}var v=ro(e,t,o,l,!0);return rt(o,v)&&(v.hitSide=!0),v}function El(e,t,r,n){var i,o,l=e.doc,s=t.left;if("page"==n){var a=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(a-.5*en(e.display),3);i=(r>0?t.bottom:t.top)+r*u}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;(o=$r(e,s,i)).outside;){if(r<0?i<=0:i>=l.height){o.hitSide=!0;break}i+=5*r}return o}var Il=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new z,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Rl(e,t){var r=Ar(e,t.line);if(!r||r.hidden)return null;var n=Xe(e.doc,t.line),i=Nr(r,n,t.line),o=ce(n,e.doc.direction),l="left";o&&(l=ae(o,t.ch)%2?"right":"left");var s=Pr(i.map,t.ch,l);return s.offset="right"==s.collapse?s.end:s.start,s}function zl(e,t){return t&&(e.bad=!0),e}function Bl(e,t,r){var n;if(t==e.display.lineDiv){if(!(n=e.display.lineDiv.childNodes[r]))return zl(e.clipPos(et(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return Gl(o,t,r)}}function Gl(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!D(n,t))return zl(et(qe(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var o=e.rest?$(e.rest):e.line;return zl(et(qe(o),o.text.length),i)}var l=3==t.nodeType?t:null,s=t;for(l||1!=t.childNodes.length||3!=t.firstChild.nodeType||(l=t.firstChild,r&&(r=l.nodeValue.length));s.parentNode!=n;)s=s.parentNode;var a=e.measure,u=a.maps;function c(t,r,n){for(var i=-1;i<(u?u.length:0);i++)for(var o=i<0?a.map:u[i],l=0;l<o.length;l+=3){var s=o[l+2];if(s==t||s==r){var c=qe(i<0?e.line:e.rest[i]),h=o[l]+n;return(n<0||s!=t)&&(h=o[l+(n?1:0)]),et(c,h)}}}var h=c(l,s,r);if(h)return zl(h,i);for(var f=s.nextSibling,d=l?l.nodeValue.length-r:0;f;f=f.nextSibling){if(h=c(f,f.firstChild,0))return zl(et(h.line,h.ch-d),i);d+=f.textContent.length}for(var p=s.previousSibling,g=r;p;p=p.previousSibling){if(h=c(p,p.firstChild,-1))return zl(et(h.line,h.ch+g),i);g+=p.textContent.length}}Il.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function l(e){if(o(e)&&!ve(n,e)){if(n.somethingSelected())Nl({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=Wl(n);Nl({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation(function(){n.setSelections(t.ranges,0,V),n.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var l=Ml.text.join("\n");if(e.clipboardData.setData("Text",l),e.clipboardData.getData("Text")==l)return void e.preventDefault()}var s=Fl(),a=s.firstChild;n.display.lineSpace.insertBefore(s,n.display.lineSpace.firstChild),a.value=Ml.text.join("\n");var u=document.activeElement;P(a),setTimeout(function(){n.display.lineSpace.removeChild(s),u.focus(),u==i&&r.showPrimarySelection()},50)}}Hl(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),fe(i,"paste",function(e){!o(e)||ve(n,e)||Al(e,n)||s<=11&&setTimeout(Zn(n,function(){return t.updateFromDOM()}),20)}),fe(i,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),fe(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),fe(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),fe(i,"touchstart",function(){return r.forceCompositionEnd()}),fe(i,"input",function(){t.composing||t.readFromDOMSoon()}),fe(i,"copy",l),fe(i,"cut",l)},Il.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Il.prototype.prepareSelection=function(){var e=gn(this.cm,!1);return e.focus=document.activeElement==this.div,e},Il.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Il.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Il.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var l=Bl(t,e.anchorNode,e.anchorOffset),s=Bl(t,e.focusNode,e.focusOffset);if(!l||l.bad||!s||s.bad||0!=tt(ot(l,s),i)||0!=tt(it(l,s),o)){var a=t.display.view,u=i.line>=t.display.viewFrom&&Rl(t,i)||{node:a[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&Rl(t,o);if(!c){var h=a[a.length-1].measure,f=h.maps?h.maps[h.maps.length-1]:h.map;c={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(u&&c){var d,p=e.rangeCount&&e.getRangeAt(0);try{d=k(u.node,u.offset,c.offset,c.node)}catch(De){}d&&(!r&&t.state.focused?(e.collapse(u.node,u.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),p&&null==e.anchorNode?e.addRange(p):r&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Il.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Il.prototype.showMultipleSelections=function(e){N(this.cm.display.cursorDiv,e.cursors),N(this.cm.display.selectionDiv,e.selection)},Il.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Il.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return D(this.div,t)},Il.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Il.prototype.blur=function(){this.div.blur()},Il.prototype.getField=function(){return this.div},Il.prototype.supportsTouch=function(){return!0},Il.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():qn(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))})},Il.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Il.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&c&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=Bl(t,e.anchorNode,e.anchorOffset),n=Bl(t,e.focusNode,e.focusOffset);r&&n&&qn(t,function(){qi(t.doc,Ci(r,n),V),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}}},Il.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),l=o.from(),s=o.to();if(0==l.ch&&l.line>n.firstLine()&&(l=et(l.line-1,Xe(n.doc,l.line-1).length)),s.ch==Xe(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=et(s.line+1,0)),l.line<i.viewFrom||s.line>i.viewTo-1)return!1;l.line==i.viewFrom||0==(e=an(n,l.line))?(t=qe(i.view[0].line),r=i.view[0].node):(t=qe(i.view[e].line),r=i.view[e-1].node.nextSibling);var a,u,c=an(n,s.line);if(c==i.view.length-1?(a=i.viewTo-1,u=i.lineDiv.lastChild):(a=qe(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!r)return!1;for(var h=n.doc.splitLines(function(e,t,r,n,i){var o="",l=!1,s=e.doc.lineSeparator(),a=!1;function u(){l&&(o+=s,a&&(o+=s),l=a=!1)}function c(e){e&&(u(),o+=e)}function h(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void c(r);var o,f=t.getAttribute("cm-marker");if(f){var d=e.findMarks(et(n,0),et(i+1,0),(v=+f,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&c(Ye(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var p=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;p&&u();for(var g=0;g<t.childNodes.length;g++)h(t.childNodes[g]);/^(pre|p)$/i.test(t.nodeName)&&(a=!0),p&&(l=!0)}else 3==t.nodeType&&c(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var v}for(;h(t),t!=r;)t=t.nextSibling,a=!1;return o}(n,r,u,t,a)),f=Ye(n.doc,et(t,0),et(a,Xe(n.doc,a).text.length));h.length>1&&f.length>1;)if($(h)==$(f))h.pop(),f.pop(),a--;else{if(h[0]!=f[0])break;h.shift(),f.shift(),t++}for(var d=0,p=0,g=h[0],v=f[0],m=Math.min(g.length,v.length);d<m&&g.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=$(h),b=$(f),w=Math.min(y.length-(1==h.length?d:0),b.length-(1==f.length?d:0));p<w&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;if(1==h.length&&1==f.length&&t==l.line)for(;d&&d>l.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)d--,p++;h[h.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var x=et(t,d),C=et(a,f.length?$(f).length-p:0);return h.length>1||h[0]||tt(x,C)?(ho(n.doc,h,x,C,"+input"),!0):void 0},Il.prototype.ensurePolled=function(){this.forceCompositionEnd()},Il.prototype.reset=function(){this.forceCompositionEnd()},Il.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Il.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Il.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||qn(this.cm,function(){return un(e.cm)})},Il.prototype.setUneditable=function(e){e.contentEditable="false"},Il.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Zn(this.cm,Ol)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Il.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Il.prototype.onContextMenu=function(){},Il.prototype.resetPosition=function(){},Il.prototype.needsContentAttribute=!0;var Ul=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new z,this.hasSelection=!1,this.composing=null};Ul.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ve(n,e)){if(n.somethingSelected())Nl({lineWise:!1,text:n.getSelections()});else{if(!n.options.lineWiseCopyCut)return;var t=Wl(n);Nl({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,V):(r.prevInput="",i.value=t.text.join("\n"),P(i))}"cut"==e.type&&(n.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),fe(i,"input",function(){l&&s>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()}),fe(i,"paste",function(e){ve(n,e)||Al(e,n)||(n.state.pasteIncoming=+new Date,r.fastPoll())}),fe(i,"cut",o),fe(i,"copy",o),fe(e.scroller,"paste",function(t){if(!xr(e,t)&&!ve(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date,void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}}),fe(e.lineSpace,"selectstart",function(t){xr(e,t)||we(t)}),fe(i,"compositionstart",function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}}),fe(i,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Ul.prototype.createField=function(e){this.wrapper=Fl(),this.textarea=this.wrapper.firstChild},Ul.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ul.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=gn(e);if(e.options.moveInputWithCursor){var i=Xr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),l=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+l.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+l.left-o.left))}return n},Ul.prototype.showSelection=function(e){var t=this.cm.display;N(t.cursorDiv,e.cursors),N(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ul.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&P(this.textarea),l&&s>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",l&&s>=9&&(this.hasSelection=null))}},Ul.prototype.getField=function(){return this.textarea},Ul.prototype.supportsTouch=function(){return!1},Ul.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||W()!=this.textarea))try{this.textarea.focus()}catch(De){}},Ul.prototype.blur=function(){this.textarea.blur()},Ul.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ul.prototype.receivedFocus=function(){this.slowPoll()},Ul.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ul.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function r(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r))})},Ul.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||He(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(l&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,u=Math.min(n.length,i.length);a<u&&n.charCodeAt(a)==i.charCodeAt(a);)++a;return qn(t,function(){Ol(t,i.slice(a),n.length-a,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ul.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ul.prototype.onKeyPress=function(){l&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ul.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=sn(r,e),u=n.scroller.scrollTop;if(o&&!h){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(o)&&Zn(r,qi)(r.doc,Ci(o),V);var c,f=i.style.cssText,d=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(l?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",a&&(c=window.scrollY),n.input.focus(),a&&window.scrollTo(null,c),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=m,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),l&&s>=9&&v(),S){Se(e);var g=function(){pe(window,"mouseup",g),setTimeout(m,20)};fe(window,"mouseup",g)}else setTimeout(m,50)}function v(){if(null!=i.selectionStart){var e=r.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,n.selForContextMenu=r.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=f,l&&s<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=u),null!=i.selectionStart)){(!l||l&&s<9)&&v();var e=0,o=function(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?Zn(r,io)(r):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(o,200)}}},Ul.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},Ul.prototype.setUneditable=function(){},Ul.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function r(r,n,i,o){e.defaults[r]=n,i&&(t[r]=o?function(e,t,r){r!=bl&&i(e,t,r)}:i)}e.defineOption=r,e.Init=bl,r("value","",function(e,t){return e.setValue(t)},!0),r("mode",null,function(e,t){e.doc.modeOption=t,Mi(e)},!0),r("indentUnit",2,Mi,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,function(e){Ni(e),zr(e),un(e)},!0),r("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,r.push(et(n,o))}n++});for(var i=r.length-1;i>=0;i--)ho(e.doc,t,r[i],et(r[i].line,r[i].ch+t.length))}}),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=bl&&e.refresh()}),r("specialCharPlaceholder",Qt,function(e){return e.refresh()},!0),r("electricChars",!0),r("inputStyle",m?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),r("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),r("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),r("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),r("rtlMoveVisually",!w),r("wholeLineUpdateBefore",!0),r("theme","default",function(e){yl(e),fi(e)},!0),r("keyMap","default",function(e,t,r){var n=Yo(t),i=r!=bl&&Yo(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)}),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Sl,!0),r("gutters",[],function(e,t){e.display.gutterSpecs=ci(t,e.options.lineNumbers),fi(e)},!0),r("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?nn(e.display)+"px":"0",e.refresh()},!0),r("coverGutterNextToScrollbar",!1,function(e){return zn(e)},!0),r("scrollbarStyle","native",function(e){Un(e),zn(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),r("lineNumbers",!1,function(e,t){e.display.gutterSpecs=ci(e.options.gutters,t),fi(e)},!0),r("firstLineNumber",1,fi,!0),r("lineNumberFormatter",function(e){return e},fi,!0),r("showCursorWhenSelecting",!1,pn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,function(e,t){"nocursor"==t&&(Sn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),r("screenReaderLabel",null,function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)}),r("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),r("dragDrop",!0,Cl),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,pn,!0),r("singleCursorHeightPerLine",!0,pn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,Ni,!0),r("addModeClass",!1,Ni,!0),r("pollInterval",100),r("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),r("historyEventDelay",1250),r("viewportMargin",10,function(e){return e.refresh()},!0),r("maxHighlightLength",1e4,Ni,!0),r("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),r("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),r("autofocus",null),r("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),r("phrases",null)}(Ll),function(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&Zn(this,t[e])(this,r,i),ge(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Yo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:Qn(function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");!function(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;)n++;e.splice(n,0,t)}(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},function(e){return e.priority}),this.state.modeGen++,un(this)}),removeOverlay:Qn(function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void un(this)}}),indentLine:Qn(function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Qe(this.doc,e)&&Tl(this,e,t,r)}),indentSelection:Qn(function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n];if(i.empty())i.head.line>r&&(Tl(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&On(this));else{var o=i.from(),l=i.to(),s=Math.max(r,o.line);r=Math.min(this.lastLine(),l.line-(l.ch?0:1))+1;for(var a=s;a<r;++a)Tl(this,a,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[n].from().ch>0&&Yi(this.doc,n,new wi(o,u[n].to()),V)}}}),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,r=ft(this,Xe(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var l=n+i>>1;if((l?r[2*l-1]:0)>=o)i=l;else{if(!(r[2*l+1]<o)){t=r[2*l+2];break}n=l+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!r.hasOwnProperty(t))return n;var i=r[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&n.push(i[o[t]]);else if(o[t])for(var l=0;l<o[t].length;l++){var s=i[o[t][l]];s&&n.push(s)}else o.helperType&&i[o.helperType]?n.push(i[o.helperType]):i[o.name]&&n.push(i[o.name]);for(var a=0;a<i._global.length;a++){var u=i._global[a];u.pred(o,this)&&-1==B(n,u.val)&&n.push(u.val)}return n},getStateAfter:function(e,t){var r=this.doc;return dt(this,(e=lt(r,null==e?r.first+r.size-1:e))+1,t).state},cursorCoords:function(e,t){var r=this.doc.sel.primary();return Xr(this,null==e?r.head:"object"==typeof e?st(this.doc,e):e?r.from():r.to(),t||"page")},charCoords:function(e,t){return jr(this,st(this.doc,e),t||"page")},coordsChar:function(e,t){return $r(this,(e=Kr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Kr(this,{top:e,left:0},t||"page").top,Ze(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=Xe(this.doc,e)}else n=e;return Vr(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-Vt(n):0)},defaultTextHeight:function(){return en(this.display)},defaultCharWidth:function(){return tn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o,l,s,a=this.display,u=(e=Xr(this,st(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==n)u=e.top;else if("above"==n||"near"==n){var h=Math.max(a.wrapper.clientHeight,this.doc.height),f=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>h)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=h&&(u=e.bottom),c+t.offsetWidth>f&&(c=f-t.offsetWidth)}t.style.top=u+"px",t.style.left=t.style.right="","right"==i?(c=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?c=0:"middle"==i&&(c=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),r&&(o=this,l={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(s=Mn(o,l)).scrollTop&&Hn(o,s.scrollTop),null!=s.scrollLeft&&Pn(o,s.scrollLeft))},triggerOnKeyDown:Qn(sl),triggerOnKeyPress:Qn(ul),triggerOnKeyUp:al,triggerOnMouseDown:Qn(dl),execCommand:function(e){if(Qo.hasOwnProperty(e))return Qo[e].call(null,this)},triggerElectric:Qn(function(e){Dl(this,e)}),findPosH:function(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),l=0;l<t&&!(o=Pl(this.doc,o,i,r,n)).hitSide;++l);return o},moveH:Qn(function(e,t){var r=this;this.extendSelectionsBy(function(n){return r.display.shift||r.doc.extend||n.empty()?Pl(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to()},j)}),deleteH:Qn(function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):_o(this,function(r){var i=Pl(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i}})}),findPosV:function(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var l=st(this.doc,e),s=0;s<t;++s){var a=Xr(this,l,"div");if(null==o?o=a.left:a.left=o,(l=El(this,a,i,r)).hitSide)break}return l},moveV:Qn(function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy(function(l){if(o)return e<0?l.from():l.to();var s=Xr(r,l.head,"div");null!=l.goalColumn&&(s.left=l.goalColumn),i.push(s.left);var a=El(r,s,e,t);return"page"==t&&l==n.sel.primary()&&Nn(r,jr(r,a,"div").top-s.top),a},j),i.length)for(var l=0;l<n.sel.ranges.length;l++)n.sel.ranges[l].goalColumn=i[l]}),findWordAt:function(e){var t=Xe(this.doc,e.line).text,r=e.ch,n=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&n!=t.length||!r?++n:--r;for(var o=t.charAt(r),l=te(o,i)?function(e){return te(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!te(e)};r>0&&l(t.charAt(r-1));)--r;for(;n<t.length&&l(t.charAt(n));)++n}return new wi(et(e.line,r),et(e.line,n))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?H(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==W()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Qn(function(e,t){An(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-kr(this)-this.display.barHeight,width:e.scrollWidth-kr(this)-this.display.barWidth,clientHeight:Mr(this),clientWidth:Tr(this)}},scrollIntoView:Qn(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Dn(e),e.curOp.scrollToPos=t}(this,e):Wn(this,e.from,e.to,e.margin)}),setSize:Qn(function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&Rr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){cn(r,i,"widget");break}++i}),this.curOp.forceUpdate=!0,ge(this,"refresh",this)}),operation:function(e){return qn(this,e)},startOperation:function(){return Kn(this)},endOperation:function(){return jn(this)},refresh:Qn(function(){var e=this.display.cachedTextHeight;un(this),this.curOp.forceUpdate=!0,zr(this),An(this,this.doc.scrollLeft,this.doc.scrollTop),li(this.display),(null==e||Math.abs(e-en(this.display))>.5||this.options.lineWrapping)&&ln(this),ge(this,"refresh",this)}),swapDoc:Qn(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Wi(this,e),zr(this),this.display.input.reset(),An(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sr(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},be(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o})}}(Ll);var Vl="iter insert remove copy getEditor constructor".split(" ");for(var Kl in No.prototype)No.prototype.hasOwnProperty(Kl)&&B(Vl,Kl)<0&&(Ll.prototype[Kl]=function(e){return function(){return e.apply(this.doc,arguments)}}(No.prototype[Kl]));return be(No),Ll.inputStyles={textarea:Ul,contenteditable:Il},Ll.defineMode=function(e){Ll.defaults.mode||"null"==e||(Ll.defaults.mode=e),function(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ee[e]=t}.apply(this,arguments)},Ll.defineMIME=function(e,t){Ie[e]=t},Ll.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ll.defineMIME("text/plain","null"),Ll.defineExtension=function(e,t){Ll.prototype[e]=t},Ll.defineDocExtension=function(e,t){No.prototype[e]=t},Ll.fromTextArea=function(e,t){if((t=t?I(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=W();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}function n(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var l=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=l}}catch(De){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(pe(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Ll(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s},function(e){e.off=pe,e.on=fe,e.wheelEventPixels=mi,e.Doc=No,e.splitLines=We,e.countColumn=R,e.findColumn=X,e.isWordChar=ee,e.Pass=U,e.signal=ge,e.Line=Xt,e.changeEnd=Si,e.scrollbarModel=Gn,e.Pos=et,e.cmpPos=tt,e.modes=Ee,e.mimeModes=Ie,e.resolveMode=Re,e.getMode=ze,e.modeExtensions=Be,e.extendMode=Ge,e.copyState=Ue,e.startState=Ke,e.innerMode=Ve,e.commands=Qo,e.keyMap=Bo,e.keyName=Xo,e.isModifierKey=Ko,e.lookupKey=Vo,e.normalizeKeyMap=Uo,e.StringStream=je,e.SharedTextMarker=Lo,e.TextMarker=Co,e.LineWidget=bo,e.e_preventDefault=we,e.e_stopPropagation=xe,e.e_stop=Se,e.addClass=H,e.contains=D,e.rmClass=T,e.keyNames=Eo}(Ll),Ll.version="5.59.4",Ll});
|
97 |
|
98 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"wptb-menu-empty-cover"},[this._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
99 |
},{}],"JwAF":[function(require,module,exports) {
|
100 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=n(require("@babel/runtime/helpers/defineProperty")),t=n(require("codemirror"));require("codemirror/lib/codemirror.css"),require("codemirror/addon/selection/active-line"),require("codemirror/mode/css/css");var r=n(require("./EmptyCover"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach(function(r){(0,e.default)(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var u={components:{EmptyCover:r.default},props:{options:{type:Object,default:function(){return{}}},value:{type:String,default:"/* Enter your custom CSS rules here */"},disabled:{type:Boolean,default:!1}},model:{prop:"value",event:"valueChanged"},data:function(){return{defaultOptions:{mode:"text/css",tabSize:4,styleActiveLine:!0,lineNumbers:!0,line:!0,showCursorWhenSelecting:!0,lineWrapping:!0},instance:null}},watch:{value:function(e){this.instance&&this.instance.getValue()!==e&&this.instance.setValue(e)}},mounted:function(){var e=this;this.$nextTick(function(){e.instance=(0,t.default)(e.$refs.mainWrapper,i(i(i({},e.defaultOptions),e.options),{},{value:e.value})),e.instance.on("change",function(t){e.$emit("valueChanged",t.getValue())}),e.$emit("ready",e.instance)})}};exports.default=u;
|
101 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"mainWrapper",staticClass:"wptb-css-code-input"},[this.disabled?t("empty-cover",[this._t("disabled")],2):this._e()],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
102 |
+
},{"@babel/runtime/helpers/defineProperty":"cQfh","codemirror":"L7e6","codemirror/lib/codemirror.css":"S5Yr","codemirror/addon/selection/active-line":"X3fE","codemirror/mode/css/css":"Da5z","./EmptyCover":"BOOO"}],"b8SN":[function(require,module,exports) {
|
103 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("vue-fragment"),t=i(require("../MenuContent")),n=i(require("./FooterButtons")),o=i(require("../MenuButton")),s=i(require("../CssCodeInput")),r=i(require("../../mixins/SettingsMenuSection")),a=i(require("../../mixins/withMessage")),u=i(require("../BusyRotate"));function i(e){return e&&e.__esModule?e:{default:e}}var d={mixins:[r.default,a.default],components:{BusyRotate:u.default,CssCodeInput:s.default,MenuButton:o.default,FooterButtons:n.default,MenuContent:t.default,Fragment:e.Fragment},data:function(){return{code:"",cachedCode:""}},beforeMount:function(){this.code=this.sectionData.savedStyles,this.updateCachedCode()},computed:{isCodeChanged:function(){return this.code!==this.cachedCode},buttonDisabledState:function(){return!this.isCodeChanged||this.isBusy()}},methods:{updateCachedCode:function(){this.cachedCode=this.code},resetCodeToCached:function(){this.code=this.cachedCode},sendSavedStyles:function(){var e=this;this.setBusy(!0);var t=this.sectionData.security,n=t.ajaxUrl,o=t.nonce,s=t.action,r=new FormData;r.append("action",s),r.append("nonce",o),r.append("styles",this.code),fetch(n,{method:"POST",body:r}).then(function(e){if(e.ok)return e.json();throw new Error("An error occurred while saving CSS code: ".concat(e.statusText))}).then(function(t){if(t.error)throw new Error("An error occurred while saving CSS code: ".concat(t.error));e.setMessage({message:t.message}),e.updateCachedCode()}).catch(function(t){e.setMessage({type:"error",message:t.message})}).finally(function(){e.setBusy(!1)})}}};exports.default=d;
|
104 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("fragment",[s("menu-content",{attrs:{center:!0}},[s("div",{staticClass:"wptb-general-style-settings"},[s("div",[s("div",{staticClass:"wptb-general-style-header"},[e._v(e._s(e.strings.headerText))])]),e._v(" "),s("div",{staticClass:"wptb-general-css-code-input"},[s("css-code-input",{attrs:{disabled:e.isBusy()},scopedSlots:e._u([{key:"disabled",fn:function(){return[s("busy-rotate")]},proxy:!0}]),model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1)])]),e._v(" "),s("footer-buttons",[s("menu-button",{attrs:{disabled:e.buttonDisabledState,type:"danger"},on:{click:e.resetCodeToCached}},[e._v(e._s(e.strings.revert)+" ")]),e._v(" "),s("menu-button",{attrs:{disabled:e.buttonDisabledState},on:{click:e.sendSavedStyles}},[e._v(e._s(e.strings.submit))])],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
105 |
},{"vue-fragment":"CDb8","../MenuContent":"vTRD","./FooterButtons":"jkrZ","../MenuButton":"ksMR","../CssCodeInput":"JwAF","../../mixins/SettingsMenuSection":"qeqP","../../mixins/withMessage":"wm3G","../BusyRotate":"SbnK"}],"xMlw":[function(require,module,exports) {
|
106 |
"use strict";var r=function(r){return e(r)&&!t(r)};function e(r){return!!r&&"object"==typeof r}function t(r){var e=Object.prototype.toString.call(r);return"[object RegExp]"===e||"[object Date]"===e||c(r)}var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103;function c(r){return r.$$typeof===o}function u(r){return Array.isArray(r)?[]:{}}function a(r,e){return!1!==e.clone&&e.isMergeableObject(r)?g(u(r),r,e):r}function i(r,e,t){return r.concat(e).map(function(r){return a(r,t)})}function f(r,e){if(!e.customMerge)return g;var t=e.customMerge(r);return"function"==typeof t?t:g}function y(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return r.propertyIsEnumerable(e)}):[]}function b(r){return Object.keys(r).concat(y(r))}function l(r,e){try{return e in r}catch(t){return!1}}function s(r,e){return l(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function p(r,e,t){var n={};return t.isMergeableObject(r)&&b(r).forEach(function(e){n[e]=a(r[e],t)}),b(e).forEach(function(o){s(r,o)||(l(r,o)&&t.isMergeableObject(e[o])?n[o]=f(o,t)(r[o],e[o],t):n[o]=a(e[o],t))}),n}function g(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||i,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=a;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):p(e,t,n):a(t,n)}g.all=function(r,e){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(r,t){return g(r,t,e)},{})};var O=g;module.exports=O;
|
107 |
+
},{}],"KwLP":[function(require,module,exports) {
|
108 |
+
var r=require("./arrayLikeToArray");function a(a){if(Array.isArray(a))return r(a)}module.exports=a;
|
109 |
+
},{"./arrayLikeToArray":"jEQo"}],"U0SN":[function(require,module,exports) {
|
110 |
+
function e(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}module.exports=e;
|
111 |
+
},{}],"o1nV":[function(require,module,exports) {
|
112 |
+
function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}module.exports=e;
|
113 |
+
},{}],"DJfw":[function(require,module,exports) {
|
114 |
+
var r=require("./arrayWithoutHoles"),e=require("./iterableToArray"),u=require("./unsupportedIterableToArray"),a=require("./nonIterableSpread");function o(o){return r(o)||e(o)||u(o)||a()}module.exports=o;
|
115 |
+
},{"./arrayWithoutHoles":"KwLP","./iterableToArray":"U0SN","./unsupportedIterableToArray":"Dbv9","./nonIterableSpread":"o1nV"}],"izJK":[function(require,module,exports) {
|
116 |
var global = arguments[3];
|
117 |
+
var e=arguments[3],t=o(require("@babel/runtime/helpers/toConsumableArray")),n=o(require("@babel/runtime/helpers/defineProperty")),a=o(require("@babel/runtime/helpers/typeof"));function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach(function(t){(0,n.default)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}!function(e,t,n){"object"===("undefined"==typeof exports?"undefined":(0,a.default)(exports))&&"undefined"!=typeof module?module.exports=n():t[e]=n()}("WPTB_LazyLoad",self||e,function(){function e(e){var t=this,n=i(i({},{name:"",speed:8,step:10,hooks:{},direction:"left",perspective:1e3,flashColor:"#FFFFFF"}),e);this.getOptions=function(){return i({},n)},this.calculateDuration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.max(e,t)-Math.abs(t-e)/n.step*n.speed},this.calculateAnimationDirection=function(){var e=["X","Y"],t=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?1:0;return["left","right"].includes(n.direction)?e[(0+t)%2]:e[(1+t)%2]},this.calculateDirectionConstant=function(){return(arguments.length>0&&void 0!==arguments[0]&&arguments[0]?-1:1)*(["left","up"].includes(t.getOptions().direction)?1:-1)};var a=function(e){var a=function(e){if(Object.prototype.hasOwnProperty.call(n.hooks,e)){var t=n.hooks[e];if("function"==typeof t)return t}return null}(e);if(a){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];a.apply(t,r)}};this.getBufferElement=function(e){return e.parentNode.querySelector(".".concat("wptb-lazy-load-buffer-element"))},this.removeBufferElement=function(e){var n=t.getBufferElement(e);if(n){var a=n.parentNode;a.removeChild(n),a.classList.remove("wptb-lazy-load-buffer-element-container")}},this.addStylesheet=function(e,t){var n=t.querySelector('style[id="'.concat("wptb-lazy-load-styles",'"]'));n||((n=t.createElement("style")).id="wptb-lazy-load-styles",n.type="text/css",t.head.appendChild(n));var a=document.createTextNode(e);n.innerHTML="",n.appendChild(a)},this.beforeAnimation=function(e){a("beforeAnimation",e)},this.animate=function(e){a("animate",e)},this.afterAnimation=function(e){a("afterAnimation",e),delete t}}function n(t){this.getAnimation=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t[n]?new e(i(i({},t[n]),a)):new e({})}}var o={none:{hooks:{animate:function(e){this.removeBufferElement(e)}}},slideIn:{hooks:{beforeAnimation:function(e){e.parentNode.style.overflow="hidden",e.style.transform="translate".concat(this.calculateAnimationDirection(),"(").concat(100*this.calculateDirectionConstant(),"%)")},animate:function(e){this.removeBufferElement(e),e.style.transition="transform ".concat(this.calculateDuration(),"s ease-out"),e.style.transform="translate".concat(this.calculateAnimationDirection(),"(0)")}}},growSling:{hooks:{beforeAnimation:function(e){e.style.transform="scale(0.1)"},animate:function(e){this.removeBufferElement(e),e.style.transition="transform ".concat(this.calculateDuration(),"s cubic-bezier(0.68, -0.55, 0.27, 1.55)"),e.style.transform="scale(1)"}}},flash:{hooks:{beforeAnimation:function(e){var t=document.createElement("div");t.classList.add("wptb-flash-element"),e.parentNode.classList.add("wptb-lazy-load-buffer-element-container"),e.insertAdjacentElement("afterend",t);var n="@keyframes wptb-flash {0% {opacity:1;}100% {opacity: 0;}} .wptb-flash-element {position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; background-color: ".concat(this.getOptions().flashColor,"}.wptb-flash-animation {animation: wptb-flash ").concat(this.calculateDuration(),"s forwards ease-out}");this.addStylesheet(n,e.ownerDocument)},animate:function(e){this.removeBufferElement(e);var t=e.parentNode.querySelector(".wptb-flash-element");t&&(e.parentNode.classList.add("wptb-lazy-load-buffer-element-container"),t.addEventListener("animationend",function(n){"wptb-flash"===n.animationName&&(e.parentNode.classList.remove("wptb-lazy-load-buffer-element-container"),t.remove())}),t.classList.add("wptb-flash-animation"))}}},flip:{hooks:{beforeAnimation:function(e){var t,n=e.parentNode;n.classList.add("wptb-lazy-load-card-container"),null===(t=n.parentNode)||void 0===t||t.classList.add("wptb-lazy-load-perspective-base"),e.classList.add("wptb-lazy-load-card-back","wptb-lazy-load-hidden-backface"),this.getBufferElement(e).classList.add("wptb-lazy-load-hidden-backface","wptb-lazy-load-card-front");var a=this.calculateAnimationDirection(!0),o="".concat(180*this.calculateDirectionConstant(!0),"deg"),r=".wptb-lazy-load-perspective-base{perspective: ".concat(this.getOptions().perspective,"px;} .wptb-lazy-load-card-container{ transform-style: preserve-3d; transition: transform ").concat(this.calculateDuration(),"s ease-out; } .wptb-lazy-load-card-container[data-wptb-card-flip='true']{transform: rotate").concat(a,"(").concat(o,")} [data-wptb-card-flip='true'] .wptb-lazy-load-card-front svg{ animation: none !important; opacity: 0.2;} .wptb-lazy-load-card-back { transform: rotate").concat(a,"(").concat(o,")} .wptb-lazy-load-hidden-backface{backface-visibility: hidden;}");this.addStylesheet(r,e.ownerDocument)},animate:function(e){var t=this,n=e.parentNode;n.addEventListener("transitionend",function(a){"transform"===a.propertyName&&t.removeBufferElement(e),n.classList.remove("wptb-lazy-load-card-container","wptb-lazy-load-flip"),n.parentNode.classList.remove("wptb-lazy-load-perspective-base"),e.classList.remove("wptb-lazy-load-card-back","wptb-lazy-load-hidden-backface")}),n.dataset.wptbCardFlip="true"}}}};return new function(){var e={forceMode:!1},r={},l={lastYPosition:0},c=[],s=new n(o),d=null,f=function(e,t){var n=e.parentNode.getBoundingClientRect(),a=n.top,o=n.height,i=n.bottom,c=r.visibilityPercentage,s=a+o*(c/100),d=i-o*(c/100),f=window.scrollY-l.lastYPosition>=0?s:d;return f>=0&&f<=t},u=function e(t){var n=t.target;d.animate(n),n.removeEventListener("load",e),d.afterAnimation(n)},p=function(e,t){var n,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.filter(function(e){return"false"===e.dataset.wptbLazyLoadStatus}).map(function(e){a&&function(e){var t=document.createElement("div");if(t.classList.add("wptb-lazy-load-buffer-element"),t.style.backgroundColor=r.backgroundColor,r.iconSvg){t.innerHTML='<div class="wptb-lazy-load-buffer-icon-wrapper wptb-plugin-filter-box-shadow-md">'.concat(r.iconSvg,"</div>");var n=t.querySelector("svg"),a=t.querySelector(".wptb-lazy-load-buffer-icon-wrapper");a.style.width="".concat(r.iconSize,"px"),a.style.height="".concat(r.iconSize,"px"),a.dataset.wptbLazyLoadIconAnimation=r.iconAnimation,n&&(n.style.fill=r.iconColor)}e.insertAdjacentElement("afterend",t),e.parentNode.classList.add("wptb-lazy-load-buffer-element-container"),d.beforeAnimation(e)}(e),r.forceMode&&!o||function(e,t){(r.forceMode||f(e,t))&&(e.dataset.wptbLazyLoadStatus="true",e.addEventListener("load",r.delay?function(){setTimeout(function(){u({target:e})},1e3*r.delay)}:u),e.src=e.dataset.wptbLazyLoadTarget)}(e,t)}),n=window.scrollY,l.lastYPosition=n},m=function(){return window.innerHeight},b=function(){var e=Array.from(document.querySelectorAll(".wptb-preview-table")),n=Array.from(document.querySelectorAll(".wptb-shadow-root-container")).reduce(function(e,t){var n=t.shadowRoot.querySelector(".wptb-preview-table");return n&&e.push(n),e},[]),a=[].concat((0,t.default)(e),(0,t.default)(n));c.push.apply(c,(0,t.default)(function(e){return e.reduce(function(e,n){var a=Array.from(n.querySelectorAll(".wptb-lazy-load-img"));return e.push.apply(e,(0,t.default)(a)),e},[])}(a))),p(c,m(),!0),r.forceMode||window.addEventListener("scroll",function(){p(c,m())},{passive:!0})};this.forceLoadImages=function(){p(c,null,!1,!0)},this.init=function(t){t&&"object"===(0,a.default)(t)&&(r=i(i({},e),t)).enabled&&(d=s.getAnimation(r.imageLoadAnimation,i({speed:r.imageLoadAnimationSpeed,direction:r.imageLoadAnimationDirection,perspective:r.imageLoadAnimationPerspective},r)),b())}}});
|
118 |
+
},{"@babel/runtime/helpers/toConsumableArray":"DJfw","@babel/runtime/helpers/defineProperty":"cQfh","@babel/runtime/helpers/typeof":"xOn8"}],"ATQh":[function(require,module,exports) {
|
119 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={props:{click:{type:Function,default:function(){console.log("Material button clicked")}},size:{type:String,default:"fit-content"},disabled:{type:Boolean,default:!1}},computed:{buttonClass:function(){return["wptb-plugin-button-material-".concat(this.size)]}},methods:{handleClick:function(){this.disabled||this.click()}}};exports.default=t;
|
120 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wptb-plugin-button-material",class:t.buttonClass,attrs:{disabled:t.disabled},on:{click:function(e){return e.preventDefault(),t.handleClick(e)}}},[t._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
121 |
},{}],"YDlH":[function(require,module,exports) {
|
122 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{gridArea:{type:String,required:!0},visibility:{type:Boolean,default:!0}},computed:{style:function(){return{gridArea:this.gridArea}}}};exports.default=e;
|
123 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement,e=this._self._c||t;return this.visibility?e("div",{staticClass:"wptb-lazy-load-pro-disabled-overlay",style:this.style},[this._t("default")],2):this._e()},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
124 |
},{}],"vlDi":[function(require,module,exports) {
|
125 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("@babel/runtime/helpers/defineProperty")),t=a(require("$FrontEndOnly/WPTB_LazyLoad")),r=a(require("$Components/MaterialButton")),n=a(require("$Mixins/SettingsMenuSection")),i=a(require("./LazyLoadProDisabledOverlay"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach(function(r){(0,e.default)(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var u={components:{LazyLoadProDisabledOverlay:i.default,MaterialButton:r.default},props:{defaultHtml:{type:String,required:!0},settings:{type:Object,default:function(){return{}}}},mixins:[n.default],data:function(){return{previewHtml:"",imageLoaded:!0}},mounted:function(){var e=this;this.$nextTick(function(){e.previewHtml=e.defaultHtml,e.reloadPreview()})},watch:{previewHtml:function(){this.reloadPreview()},settings:{handler:function(){this.reloadPreview()},deep:!0},"settings.enabled":{handler:function(e){e||this.clearPreview()}}},computed:{buttonStatus:function(){return!this.sectionData.proStatus||!this.settings.enabled},loadButtonStatus:function(){return this.imageLoaded||this.buttonStatus},resetButtonStatus:function(){return!this.imageLoaded||this.buttonStatus}},methods:{clearPreview:function(){this.$refs.previewContainer.childNodes[0]&&(this.$refs.previewContainer.innerHTML="")},generatePreviewTable:function(){var e=document.createRange();e.setStart(this.$refs.previewContainer,0);var t=e.createContextualFragment(this.previewHtml);this.clearPreview(),this.$refs.previewContainer.appendChild(t)},reloadPreview:function(){var e=this;this.imageLoaded=!1,WPTB_IconManager.getIcon(this.settings.iconName.name,null,!0).then(function(t){e.settings.iconSvg=t}).catch(function(){e.settings.iconSvg=null}).finally(function(){e.generatePreviewTable(),t.default.init(s({forceMode:!0},e.settings))})},loadImages:function(){this.imageLoaded=!0,t.default.forceLoadImages()}}};exports.default=u;
|
126 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wptb-flex wptb-flex-align-center wptb-flex-justify-center wptb-lazy-load-preview-container"},[a("div",{staticClass:"wptb-lazy-load-preview-header"},[t._v(t._s(t.strings.preview))]),t._v(" "),a("lazy-load-pro-disabled-overlay",{attrs:{"grid-area":"preview",visibility:!t.sectionData.proStatus||!t.settings.enabled}}),t._v(" "),a("div",{ref:"previewContainer",staticClass:"wptb-lazy-load-preview wptb-preview-table"}),t._v(" "),a("div",{staticClass:"wptb-flex wptb-flex-align-center wptb-flex-justify-center wptb-lazy-load-preview-button-container"},[a("material-button",{attrs:{disabled:t.resetButtonStatus,click:t.reloadPreview}},[t._v("Reset")]),t._v(" "),a("material-button",{attrs:{disabled:t.loadButtonStatus,click:t.loadImages}},[t._v("Load Image")])],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
127 |
+
},{"@babel/runtime/helpers/defineProperty":"cQfh","$FrontEndOnly/WPTB_LazyLoad":"izJK","$Components/MaterialButton":"ATQh","$Mixins/SettingsMenuSection":"qeqP","./LazyLoadProDisabledOverlay":"YDlH"}],"rG9F":[function(require,module,exports) {
|
128 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={name:"SectionGroupCollapse",props:{sectionId:{type:String,default:"sectionGroupCollapse"},label:{type:String,default:"Section group collapse"},startCollapsed:{types:Boolean,default:!0}},mounted:function(){var e=this;this.$nextTick(function(){e.startCollapsed&&e.handleToggle()})},methods:{handleToggle:function(){var e=jQuery;this.$refs.toggleWrapper.classList.toggle("wptb-panel-toggle-content"),e(this.$refs.toggleTarget).slideToggle()}}};exports.default=e;
|
129 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"toggleWrapper",staticClass:"wptb-panel-toggle-group",attrs:{id:t.sectionId}},[a("div",{staticClass:"wptb-panel-toggle",on:{click:function(e){return e.preventDefault(),t.handleToggle(e)}}},[a("div",{staticClass:"header"},[t._v(t._s(t.label))]),t._v(" "),a("span",{staticClass:"dashicons toggle-icon",on:{"!click":function(e){return e.preventDefault(),e.stopPropagation(),t.handleToggle(e)}}})]),t._v(" "),a("div",{ref:"toggleTarget",staticClass:"wptb-panel-section-toggle-target"},[t._t("default")],2)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
130 |
},{}],"vpWQ":[function(require,module,exports) {
|
131 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{label:String,value:{type:null},disabled:{type:Boolean,default:!1},dependsValue:{type:null,default:null},dependsCallback:{type:Function,default:function(e,n){return n}},uniqueId:{type:String,default:""}},data:function(){return{innerValue:""}},model:{prop:"value",event:"valueChanged"},watch:{value:function(e){this.innerValue=e},innerValue:function(e){this.$emit("valueChanged",e)},dependsValue:function(e){null!==e&&(this.innerValue=this.dependsCallback.call(this,e,this.innerValue))}},mounted:function(){this.innerValue=this.value},methods:{setInnerValue:function(e){this.innerValue=e}}},n=e;exports.default=n;
|
132 |
},{}],"B40R":[function(require,module,exports) {
|
133 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{label:{type:String,default:"panel control label"},disabled:{type:Boolean,default:!1}}};exports.default=e;
|
134 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",t._b({staticClass:"wptb-element-option wptb-element-property wptb-plugin-width-full wptb-settings-items",attrs:{"data-wptb-disabled":t.disabled}},"div",t.$attrs,!1),[s("div",{staticClass:"wptb-settings-middle-xs wptb-settings-row"},[s("div",{staticClass:"wptb-settings-space-between"},[s("p",{staticClass:"wptb-settings-item-title wptb-text-transform-cap",attrs:{"data-wptb-text-disabled":t.disabled}},[t._v(" "+t._s(t.label)+" ")]),t._v(" "),s("div",[t._t("default")],2)])])])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
135 |
+
},{}],"GZC0":[function(require,module,exports) {
|
136 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.cap=void 0;var e=function(e){return e.length>0?e.split(" ").map(function(e){return e[0].toUpperCase()+e.slice(1)}).join(" "):e};function t(t,r){t.filter("cap",e)}exports.cap=e;var r={install:t};exports.default=r;
|
137 |
},{}],"fI53":[function(require,module,exports) {
|
138 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("$Mixins/PanelControlBase")),t=r(require("$LeftPanel/Panel2ColumnTemplate")),l=require("../plugins/filters");function r(e){return e&&e.__esModule?e:{default:e}}var n={components:{Panel2ColumnTemplate:t.default},props:{options:{type:Object,default:function(){}}},mixins:[e.default],filters:{cap:l.cap}};exports.default=n;
|
139 |
+
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel2-column-template",{attrs:{disabled:e.disabled,label:e.label}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.innerValue,expression:"innerValue"}],staticClass:"wptb-element-property",class:e.uniqueId,attrs:{disabled:e.disabled},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.innerValue=t.target.multiple?n:n[0]}}},e._l(e.options,function(t,l){return n("option",{key:l,domProps:{value:l}},[e._v(e._s(e._f("cap")(t)))])}),0)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
140 |
+
},{"$Mixins/PanelControlBase":"vpWQ","$LeftPanel/Panel2ColumnTemplate":"B40R","../plugins/filters":"GZC0"}],"GUbL":[function(require,module,exports) {
|
141 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={props:{direction:{type:String,required:!0},activeDirection:{type:String,required:!0}},data:function(){return{icon:""}},mounted:function(){var t=this;this.$nextTick(function(){WPTB_IconManager.getIcon("caret-".concat(t.direction),null,!0).then(function(e){t.icon=e})})},computed:{active:function(){return this.direction===this.activeDirection}}};exports.default=t;
|
142 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wptb-panel-direction-cadet",attrs:{"data-wptb-panel-direction":t.direction,"data-wptb-active-direction":t.active},domProps:{innerHTML:t._s(t.icon)},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.$emit("directionClick",t.direction)}}})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
143 |
},{}],"s7uX":[function(require,module,exports) {
|
144 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("@babel/runtime/helpers/toConsumableArray")),t=r(require("$Mixins/PanelControlBase")),i=r(require("$LeftPanel/Panel2ColumnTemplate")),n=r(require("$LeftPanel/PanelDirectionCadet"));function r(e){return e&&e.__esModule?e:{default:e}}var a={props:{value:{type:String,default:"left"},enabledAxis:{type:Array,default:function(){return["X","Y"]}}},components:{PanelDirectionCadet:n.default,Panel2ColumnTemplate:i.default},mixins:[t.default],data:function(){return{directionsObject:{X:["left","right"],Y:["up","down"]},normalizedEnabledAxis:[]}},watch:{enabledAxis:{handler:function(e){this.normalizeAxis(e),this.assignDefaultDirection()},deep:!0}},mounted:function(){var e=this;this.$nextTick(function(){e.normalizeAxis(e.enabledAxis)})},computed:{directions:function(){var t=this;return this.normalizedEnabledAxis.reduce(function(i,n){return t.directionsObject[n]&&i.push.apply(i,(0,e.default)(t.directionsObject[n])),i},[])}},methods:{assignDefaultDirection:function(){var e=this;this.normalizedEnabledAxis.some(function(t){return e.directionsObject[t].includes(e.value)})||this.updateDirection(this.directionsObject[this.normalizedEnabledAxis[0]][0])},updateDirection:function(e){this.$emit("valueChanged",e)},normalizeAxis:function(e){Array.isArray(e)||(e=[e]),this.normalizedEnabledAxis=e.map(function(e){return e.toUpperCase()})}}};exports.default=a;
|
145 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("panel2-column-template",{attrs:{disabled:t.disabled,label:t.label}},[i("div",{staticClass:"wptb-panel-direction-control-indicators-container"},[i("div",{staticClass:"wptb-panel-direction-static"}),t._v(" "),t._l(t.directions,function(e){return i("panel-direction-cadet",{key:e,attrs:{"active-direction":t.value,direction:e},on:{directionClick:function(i){return t.updateDirection(e)}}})})],2)])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
146 |
+
},{"@babel/runtime/helpers/toConsumableArray":"DJfw","$Mixins/PanelControlBase":"vpWQ","$LeftPanel/Panel2ColumnTemplate":"B40R","$LeftPanel/PanelDirectionCadet":"GUbL"}],"h0P7":[function(require,module,exports) {
|
147 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={inheritAttrs:!1,props:{postFix:{type:String,default:""},value:{type:null,default:0},enableDynamicWidth:{type:Boolean,default:!1},dynamicWidthPadding:{type:Number,default:3},onlyEnter:{type:Boolean,default:!1},min:{type:Number,default:0},max:{type:Number,default:1e3},step:{type:Number,default:1},enableLimit:{type:Boolean,default:!1}},model:{prop:"value",event:"valueChanged"},watch:{value:function(t){this.innerValue=t}},data:function(){return{innerValue:0}},mounted:function(){this.innerValue=this.value},computed:{postFixIt:function(){return"".concat(this.innerValue).concat(this.postFix)},dynamicWidth:function(){return this.enableDynamicWidth?{width:"calc(".concat(this.innerValue.toString().length+this.postFix.length+this.dynamicWidthPadding,"ch) !important")}:{}}},methods:{getValue:function(t){var e=Number.parseFloat(t),i=new RegExp(/^([0-9]+)\.([0-9]+)/,"g").exec(this.step.toString());if(i){var n=i[2].length;e=Number.parseFloat(e.toFixed(n))}return e=isNaN(e)?0:e,this.enableLimit?this.limitValue(e):e},limitValue:function(t){return t<this.min?this.min:t>this.max?this.max:t},handleOnInput:function(t){this.onlyEnter||this.$emit("valueChanged",this.getValue(t.target.value))},handleEnterInput:function(t){this.onlyEnter&&this.$emit("valueChanged",this.getValue(t.target.value))},handleKeyPress:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"up",e=this.getValue(this.innerValue);switch(t){case"up":e+=this.step;break;case"down":e-=this.step;break;default:e+=this.step}e=this.getValue(e),this.$emit("valueChanged",e)}}};exports.default=t;
|
148 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{style:e.dynamicWidth,attrs:{"data-wptb-text-disabled":e.$attrs.disabled,type:"text",disabled:e.$attrs.disabled},domProps:{value:e.postFixIt},on:{input:e.handleOnInput,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.handleKeyPress("up"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.handleKeyPress("down"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.handleEnterInput(t))}]}})},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
149 |
},{}],"uI4V":[function(require,module,exports) {
|
164 |
|
165 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(t,e){return(0,e._c)("transition",{attrs:{name:"wptb-fade",appear:""}},[e._t("default")],2)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:!0});})();
|
166 |
},{}],"IDU1":[function(require,module,exports) {
|
167 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("@babel/runtime/helpers/toConsumableArray")),n=u(require("$LeftPanel/SectionGroupCollapse")),t=u(require("$Components/PanelDropdownControl")),o=u(require("$LeftPanel/PanelDirectionControl")),i=u(require("$Components/RangeInput")),r=u(require("$Mixins/SectionGroup")),a=u(require("$Components/ColorPicker")),l=u(require("$Settings/SettingsTransition"));function u(e){return e&&e.__esModule?e:{default:e}}var s={components:{SettingsTransition:l.default,SectionGroupCollapse:n.default,PanelDropdownControl:t.default,PanelDirectionControl:o.default,RangeInput:i.default,ColorPicker:a.default},mixins:[r.default],data:function(){return{directionEnabledAnimations:["slideIn","flip"]}},computed:{axisControlForAnimations:function(){var n=[],t={slideIn:["x","y"],flip:["x"]};return t[this.settings.imageLoadAnimation]&&n.push.apply(n,(0,e.default)(t[this.settings.imageLoadAnimation])),n}}};exports.default=s;
|
168 |
(function(){var e=exports.default||module.exports;"function"==typeof e&&(e=e.options),Object.assign(e,{render:function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("section-group-collapse",{attrs:{"start-collapsed":!1,label:e.strings.imageLoadOptions}},[t("panel-dropdown-control",{attrs:{label:e.strings.animation,options:e.settings.imageLoadAnimationOptions,disabled:e.generalDisabledStatus},model:{value:e.settings.imageLoadAnimation,callback:function(i){e.$set(e.settings,"imageLoadAnimation",i)},expression:"settings.imageLoadAnimation"}}),e._v(" "),t("settings-transition",["flash"===e.settings.imageLoadAnimation?t("color-picker",{attrs:{disabled:e.generalDisabledStatus,label:e.strings.color},model:{value:e.settings.flashColor,callback:function(i){e.$set(e.settings,"flashColor",i)},expression:"settings.flashColor"}}):e._e()],1),e._v(" "),t("settings-transition",[e.directionEnabledAnimations.includes(e.settings.imageLoadAnimation)?t("panel-direction-control",{attrs:{disabled:e.generalDisabledStatus,label:e.strings.direction,"enabled-axis":e.axisControlForAnimations},model:{value:e.settings.imageLoadAnimationDirection,callback:function(i){e.$set(e.settings,"imageLoadAnimationDirection",i)},expression:"settings.imageLoadAnimationDirection"}}):e._e()],1),e._v(" "),t("settings-transition",["flip"===e.settings.imageLoadAnimation?t("range-input",{attrs:{clamp:!0,min:1,max:1e3,label:e.strings.perspective,"post-fix":"px",disabled:e.generalDisabledStatus||"none"===e.settings.imageLoadAnimation},model:{value:e.settings.imageLoadAnimationPerspective,callback:function(i){e.$set(e.settings,"imageLoadAnimationPerspective",i)},expression:"settings.imageLoadAnimationPerspective"}}):e._e()],1),e._v(" "),t("range-input",{attrs:{clamp:!0,min:1,max:10,label:e.strings.speed,disabled:e.generalDisabledStatus||"none"===e.settings.imageLoadAnimation},model:{value:e.settings.imageLoadAnimationSpeed,callback:function(i){e.$set(e.settings,"imageLoadAnimationSpeed",i)},expression:"settings.imageLoadAnimationSpeed"}})],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
169 |
+
},{"@babel/runtime/helpers/toConsumableArray":"DJfw","$LeftPanel/SectionGroupCollapse":"rG9F","$Components/PanelDropdownControl":"fI53","$LeftPanel/PanelDirectionControl":"s7uX","$Components/RangeInput":"uI4V","$Mixins/SectionGroup":"GhIH","$Components/ColorPicker":"z3gf","$Settings/SettingsTransition":"bvsQ"}],"dqcw":[function(require,module,exports) {
|
170 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={props:{position:{type:String,default:"topRight"},message:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{getMessage:function(){return this.disabled?"":this.message}}};exports.default=e;
|
171 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"wptb-plugin-box-shadow-md wptb-tip-popup",attrs:{"data-tip-position":this.position,title:this.getMessage}},[this._v("?")])},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
172 |
},{}],"AUrc":[function(require,module,exports) {
|
200 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("vue-fragment"),e=f(require("deepmerge")),i=f(require("$Components/MenuContent")),n=f(require("$Mixins/SettingsMenuSection")),s=f(require("$Components/Settings/FooterButtons")),a=f(require("$Components/MenuButton")),o=f(require("$Mixins/withMessage")),r=f(require("$LazyLoadSettings/LazyLoadPreview")),u=f(require("$LazyLoadSettings/LazyLoadProOptions")),d=f(require("$LazyLoadSettings/LazyLoadBasicOptions")),g=f(require("$Settings/Disclaimer")),l=f(require("$Settings/CollapsedVisibility"));function f(t){return t&&t.__esModule?t:{default:t}}var c={components:{CollapsedVisibility:l.default,Disclaimer:g.default,LazyLoadBasicOptions:d.default,LazyLoadProOptions:u.default,LazyLoadPreview:r.default,MenuButton:a.default,FooterButtons:s.default,MenuContent:i.default,Fragment:t.Fragment},mixins:[n.default,o.default],mounted:function(){this.settings=(0,e.default)({},this.sectionData.settings),this.settings.iconName.url=WPTB_IconManager.getIconUrl(this.settings.iconName.name),this.updateInitialSettings()},data:function(){return{settings:{},initialSettings:{}}},computed:{settingsDirtyStatus:function(){return JSON.stringify(this.settings)!==JSON.stringify(this.initialSettings)}},methods:{revertLazyLoadSettings:function(){this.$set(this,"settings",(0,e.default)({},this.initialSettings)),this.$set(this.templateData,"settings",(0,e.default)({},this.initialSettings))},updateInitialSettings:function(){this.initialSettings=(0,e.default)({},this.settings)},updateLazyLoadSettings:function(){var t=this;if(this.settingsDirtyStatus){var i=this.sectionData.security,n=i.action,s=i.nonce,a=i.ajaxUrl,o=new FormData,r=(0,e.default)({},this.settings);r.iconSvg=null,o.append("settings",JSON.stringify(r)),o.append("action",n),o.append("nonce",s),this.setBusy(!0),fetch(a,{method:"POST",body:o}).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)}).then(function(e){t.setMessage({message:e.message}),t.updateInitialSettings()}).catch(function(e){t.setMessage({message:e.message,type:"error"})}).finally(function(){t.setBusy(!1)})}}}};exports.default=c;
|
201 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("fragment",[s("menu-content",{attrs:{center:!0}},[s("div",{staticClass:"wptb-lazy-load-wrapper"},[s("div",{staticClass:"wptb-lazy-load-left-column"},[s("lazy-load-basic-options",{attrs:{"template-data":t.templateData,settings:t.settings}}),t._v(" "),s("lazy-load-preview",{attrs:{"template-data":t.templateData,"default-html":t.sectionData.previewTable,settings:t.settings}}),t._v(" "),s("collapsed-visibility",{attrs:{visible:t.settings.enabled}},[s("disclaimer",{attrs:{title:t.strings.important,message:t.strings.importantMessage}})],1)],1),t._v(" "),s("lazy-load-pro-options",{attrs:{settings:t.settings,"template-data":t.templateData}})],1)]),t._v(" "),s("footer-buttons",[s("menu-button",{attrs:{type:"danger",disabled:!t.settingsDirtyStatus},on:{click:t.revertLazyLoadSettings}},[t._v(t._s(t.strings.revert)+" ")]),t._v(" "),s("menu-button",{attrs:{disabled:!t.settingsDirtyStatus},on:{click:t.updateLazyLoadSettings}},[t._v(t._s(t.strings.submit)+" ")])],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
202 |
},{"vue-fragment":"CDb8","deepmerge":"xMlw","$Components/MenuContent":"vTRD","$Mixins/SettingsMenuSection":"qeqP","$Components/Settings/FooterButtons":"jkrZ","$Components/MenuButton":"ksMR","$Mixins/withMessage":"wm3G","$LazyLoadSettings/LazyLoadPreview":"vlDi","$LazyLoadSettings/LazyLoadProOptions":"j8St","$LazyLoadSettings/LazyLoadBasicOptions":"QK2a","$Settings/Disclaimer":"ZYQN","$Settings/CollapsedVisibility":"oUAl"}],"pZ9N":[function(require,module,exports) {
|
203 |
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=d(require("@babel/runtime/helpers/slicedToArray")),t=d(require("@babel/runtime/helpers/defineProperty")),n=d(require("@babel/runtime/helpers/typeof")),r=d(require("$Mixins/withStore")),s=d(require("$Mixins/withMessage")),i=d(require("$Components/MenuHeader.vue")),o=d(require("$Components/Sections.vue")),a=d(require("$Components/MenuFooter.vue")),c=d(require("$Components/MenuButton.vue")),u=d(require("$Containers/GeneralSettings")),l=d(require("$Components/VersionControlSettings")),p=d(require("$Components/Settings/GeneralStylesSettings")),f=d(require("$LazyLoadSettings/LazyLoadSettings"));function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?h(Object(r),!0).forEach(function(n){(0,t.default)(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var b={props:["sectionsData","settings","pluginInfo"],components:{MenuButton:c.default,MenuHeader:i.default,Sections:o.default,MenuFooter:a.default,GeneralSettings:u.default,VersionControlSettings:l.default,GeneralStylesSettings:p.default,LazyLoadSettings:f.default},mixins:[r.default,s.default],data:function(){return{sections:{},currentSection:"",parsedFields:{},resetActive:!1,canSubmit:!1,fetching:!1}},watch:{store:{handler:function(){this.resetActive?(this.canSubmit=!1,this.resetActive=!1):this.canSubmit=!0},deep:!0},fetching:function(e){this.setBusy(e)}},beforeMount:function(){var t=this;Object.keys(this.sectionsData).map(function(e){t.sections[e]=t.sectionsData[e],Object.prototype.hasOwnProperty.call(t.sectionsData,e)&&(void 0===t.parsedFields[e]&&(t.parsedFields[e]=[]),void 0!==t.sectionsData[e].fields&&"object"===(0,n.default)(t.sectionsData[e].fields)&&Object.keys(t.sectionsData[e].fields).map(function(n){Object.prototype.hasOwnProperty.call(t.sectionsData[e].fields,n)&&t.parsedFields[e].push(g(g({},t.sectionsData[e].fields[n]),{},{id:n}))}))});var r=Object.keys(this.parsedFields).map(function(e){if(Object.prototype.hasOwnProperty.call(t.parsedFields,e))return e}),s=(0,e.default)(r,1);this.currentSection=s[0]},computed:{sectionData:function(){return this.settings[this.currentSection]||{}},currentFields:function(){return this.parsedFields[this.currentSection]},currentTemplate:function(){return"".concat(this.currentSection[0].toUpperCase()+this.currentSection.slice(1),"Settings")}},methods:{resetStore:function(){this.canSubmit&&(this.revertStore(),this.resetActive=!0,this.setMessage({message:this.strings.revertMessage}))},submitSettings:function(){var e=this;if(this.canSubmit){var t=new FormData;t.append("nonce",this.settings.nonce),t.append("action",this.settings.action),t.append("options",JSON.stringify(this.store)),this.canSubmit=!1,this.fetching=!0,fetch(this.settings.ajaxUrl,{method:"POST",body:t}).then(function(e){if(e.ok)return e.json();throw new Error(e.statusText)}).then(function(t){if(t.error)throw new Error(t.error);e.setMessage({message:t.message})}).catch(function(t){console.error(t),e.setMessage({type:"error",message:t})}).finally(function(){e.fetching=!1})}}}};exports.default=b;
|
204 |
(function(){var t=exports.default||module.exports;"function"==typeof t&&(t=t.options),Object.assign(t,{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wptb-settings-wrapper"},[n("menu-header",{attrs:{"logo-src":t.pluginInfo.logo,"logo-alt":t.strings.logoAlt,"plugin-name":t.pluginInfo.pluginName}},[n("a",{attrs:{href:t.pluginInfo.pluginHomepage}},[t._v(t._s(t.strings.homepage))])]),t._v(" "),n("sections",{attrs:{items:t.sections,disabled:t.isBusy()},model:{value:t.currentSection,callback:function(e){t.currentSection=e},expression:"currentSection"}}),t._v(" "),n(t.currentTemplate,{tag:"component",attrs:{"current-fields":t.currentFields,store:t.store,disabled:!t.canSubmit,"template-data":t.sectionData},on:{resetStore:t.resetStore,submitSettings:t.submitSettings}}),t._v(" "),n("menu-footer",[n("portal-target",{attrs:{name:"footerButtons"}})],1)],1)},staticRenderFns:[],_compiled:!0,_scopeId:null,functional:void 0});})();
|
205 |
+
},{"@babel/runtime/helpers/slicedToArray":"DERy","@babel/runtime/helpers/defineProperty":"cQfh","@babel/runtime/helpers/typeof":"xOn8","$Mixins/withStore":"D1kn","$Mixins/withMessage":"wm3G","$Components/MenuHeader.vue":"vi91","$Components/Sections.vue":"yPIx","$Components/MenuFooter.vue":"nwtb","$Components/MenuButton.vue":"ksMR","$Containers/GeneralSettings":"fmPj","$Components/VersionControlSettings":"V4Tn","$Components/Settings/GeneralStylesSettings":"b8SN","$LazyLoadSettings/LazyLoadSettings":"qXUf"}],"yEip":[function(require,module,exports) {
|
206 |
"use strict";function t(t,e){t.mixin({data:function(){return{strings:e.strings}}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={install:t};exports.default=e;
|
|
|
|
|
207 |
},{}],"uD0a":[function(require,module,exports) {
|
208 |
+
"use strict";var e=s(require("@babel/runtime/helpers/defineProperty")),t=s(require("vue")),r=s(require("portal-vue")),n=s(require("vue-fragment")),u=s(require("./containers/SettingsApp.vue")),i=s(require("./plugins/strings.js")),a=s(require("./plugins/filters"));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach(function(r){(0,e.default)(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var l=f({},wptbAdminSettingsData);wptbAdminSettingsData=void 0,t.default.config.productionTip=!1,t.default.use(i.default,{strings:l.strings}),t.default.use(r.default),t.default.use(a.default),t.default.use(n.default.Plugin),new t.default({components:{SettingsApp:u.default},data:{sectionsData:l.sectionsData,settings:l.data,pluginInfo:l.pluginInfo}}).$mount(l.data.mountId);
|
209 |
+
},{"@babel/runtime/helpers/defineProperty":"cQfh","vue":"HYXJ","portal-vue":"Lue2","vue-fragment":"CDb8","./containers/SettingsApp.vue":"pZ9N","./plugins/strings.js":"yEip","./plugins/filters":"GZC0"}]},{},["uD0a"], null)
|
inc/admin/js/WPTB_Admin_Settings.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"sources":["../../../../../node_modules/vue/dist/vue.esm.js","../src/utils/index.ts","../src/components/wormhole.ts","../src/components/portal.tsx","../src/components/portal-target.tsx","../src/components/mounting-portal.tsx","../src/index.ts","../../../../../node_modules/vue-fragment/dist/vue-fragment.esm.js","mixins/withStore.js","mixins/withMessage.js","components/MenuHeader.vue","components/SectionItem.vue","components/ActiveSectionIndicator.vue","components/Sections.vue","components/MessageDisplay.vue","components/MenuButton.vue","components/MenuFooter.vue","components/SettingCard.vue","components/ControlItem.vue","components/MenuContent.vue","containers/GeneralSettings.vue","components/VersionControlRow.vue","components/VersionIndicator.vue","components/Changelog.vue","mixins/SettingsMenuSection.js","components/Settings/Disclaimer.vue","components/VersionControlSettings.vue","../../../../../node_modules/codemirror/lib/codemirror.js","../../../../../node_modules/codemirror/addon/selection/active-line.js","../../../../../node_modules/codemirror/mode/css/css.js","components/CssCodeInput.vue","components/Settings/GeneralStylesSettings.vue","../../../../../node_modules/deepmerge/dist/cjs.js","../../../../frontend/js/frontend-only/WPTB_LazyLoad.js","components/MaterialButton.vue","components/lazyLoadSettings/LazyLoadProDisabledOverlay.vue","components/lazyLoadSettings/LazyLoadPreview.vue","components/leftPanel/SectionGroupCollapse.vue","mixins/PanelControlBase.js","components/leftPanel/Panel2ColumnTemplate.vue","components/PanelDropdownControl.vue","components/leftPanel/PanelDirectionCadet.vue","components/leftPanel/PanelDirectionControl.vue","components/NumberPostfixInput.vue","components/RangeInput.vue","mixins/SectionGroup.js","../../../../../node_modules/vue-color/dist/vue-color.min.js","functions/index.js","components/ColorPicker.vue","components/lazyLoadSettings/ImageLoadOptions.vue","components/TipPopup.vue","components/ControlTipWrapper.vue","components/lazyLoadSettings/LazyLoadGeneralOptions.vue","components/IntersectionObserver.vue","components/leftPanel/PanelIconSelect.vue","components/lazyLoadSettings/LazyLoadIconOptions.vue","components/lazyLoadSettings/LazyLoadProOptions.vue","components/PanelToggleControl.vue","components/lazyLoadSettings/LazyLoadBasicOptions.vue","components/Settings/CollapsedVisibility.vue","components/lazyLoadSettings/LazyLoadSettings.vue","containers/SettingsApp.vue","plugins/strings.js","plugins/filters.js","WPTB_Admin_Settings.js"],"names":["emptyObject","Object","freeze","isUndef","v","undefined","isDef","isTrue","isFalse","isPrimitive","value","isObject","obj","_toString","prototype","toString","toRawType","call","slice","isPlainObject","isRegExp","isValidArrayIndex","val","n","parseFloat","String","Math","floor","isFinite","isPromise","then","catch","Array","isArray","JSON","stringify","toNumber","isNaN","makeMap","str","expectsLowerCase","map","create","list","split","i","length","toLowerCase","isBuiltInTag","isReservedAttribute","remove","arr","item","index","indexOf","splice","hasOwnProperty","hasOwn","key","cached","fn","cache","cachedFn","hit","camelizeRE","camelize","replace","_","c","toUpperCase","capitalize","charAt","hyphenateRE","hyphenate","polyfillBind","ctx","boundFn","a","l","arguments","apply","_length","nativeBind","bind","Function","toArray","start","ret","extend","to","_from","toObject","res","noop","b","no","identity","genStaticKeys","modules","reduce","keys","m","concat","staticKeys","join","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","every","e","Date","getTime","keysA","keysB","looseIndexOf","once","called","SSR_ATTR","ASSET_TYPES","LIFECYCLE_HOOKS","config","optionMergeStrategies","silent","productionTip","devtools","performance","errorHandler","warnHandler","ignoredElements","keyCodes","isReservedTag","isReservedAttr","isUnknownElement","getTagNamespace","parsePlatformTagName","mustUseProp","async","_lifecycleHooks","unicodeRegExp","isReserved","charCodeAt","def","enumerable","defineProperty","writable","configurable","bailRE","RegExp","source","parsePath","path","test","segments","hasProto","inBrowser","window","inWeex","WXEnvironment","platform","weexPlatform","UA","navigator","userAgent","isIE","isIE9","isEdge","isAndroid","isIOS","isChrome","isPhantomJS","isFF","match","nativeWatch","watch","supportsPassive","opts","get","addEventListener","_isServer","isServerRendering","global","env","VUE_ENV","__VUE_DEVTOOLS_GLOBAL_HOOK__","isNative","Ctor","hasSymbol","Symbol","Reflect","ownKeys","_Set","Set","set","has","add","clear","warn","tip","generateComponentTrace","formatComponentName","hasConsole","console","classifyRE","classify","msg","vm","trace","error","includeFile","$root","options","cid","_isVue","$options","constructor","name","_componentTag","file","__file","repeat","$parent","tree","currentRecursiveSequence","last","push","uid","Dep","id","subs","addSub","sub","removeSub","depend","target","addDep","notify","sort","update","targetStack","pushTarget","popTarget","pop","VNode","tag","data","children","text","elm","context","componentOptions","asyncFactory","ns","fnContext","fnOptions","fnScopeId","componentInstance","parent","raw","isStatic","isRootInsert","isComment","isCloned","isOnce","asyncMeta","isAsyncPlaceholder","prototypeAccessors","child","defineProperties","createEmptyVNode","node","createTextVNode","cloneVNode","vnode","cloned","arrayProto","arrayMethods","methodsToPatch","forEach","method","original","mutator","args","len","result","ob","__ob__","inserted","observeArray","dep","arrayKeys","getOwnPropertyNames","shouldObserve","toggleObserving","Observer","vmCount","protoAugment","copyAugment","walk","defineReactive$$1","items","observe","src","__proto__","asRootData","isExtensible","customSetter","shallow","property","getOwnPropertyDescriptor","getter","setter","childOb","reactiveGetter","dependArray","reactiveSetter","newVal","max","del","strats","el","propsData","defaultStrat","mergeData","from","toVal","fromVal","mergeDataOrFn","parentVal","childVal","mergedDataFn","mergedInstanceDataFn","instanceData","defaultData","mergeHook","dedupeHooks","hooks","hook","mergeAssets","assertObjectType","type","key$1","props","methods","inject","computed","provide","checkComponents","components","validateComponentName","normalizeProps","normalizeInject","normalized","normalizeDirectives","dirs","directives","def$$1","mergeOptions","_base","extends","mixins","mergeField","strat","resolveAsset","warnMissing","assets","camelizedId","PascalCaseId","validateProp","propOptions","prop","absent","booleanIndex","getTypeIndex","Boolean","stringIndex","getPropDefaultValue","prevShouldObserve","assertProp","default","_props","getType","required","valid","expectedTypes","assertedType","assertType","expectedType","getInvalidTypeMessage","validator","simpleCheckRE","t","isSameType","message","receivedType","expectedValue","styleValue","receivedValue","isExplicable","isBoolean","Number","explicitTypes","some","elem","handleError","err","info","cur","errorCaptured","capture","globalHandleError","invokeWithErrorHandling","handler","_handled","logError","isUsingMicroTask","callbacks","pending","flushCallbacks","copies","timerFunc","Promise","p","resolve","setTimeout","MutationObserver","counter","observer","textNode","document","createTextNode","characterData","setImmediate","nextTick","cb","_resolve","mark","measure","perf","clearMarks","clearMeasures","startTag","endTag","initProxy","allowedGlobals","warnNonPresent","warnReservedPrefix","hasProxy","Proxy","isBuiltInModifier","hasHandler","isAllowed","$data","getHandler","handlers","render","_withStripped","_renderProxy","seenObjects","traverse","_traverse","seen","isA","isFrozen","depId","normalizeEvent","passive","once$$1","createFnInvoker","fns","invoker","arguments$1","updateListeners","on","oldOn","remove$$1","createOnceHandler","old","event","params","mergeVNodeHook","hookKey","oldHook","wrappedHook","merged","extractPropsFromVNodeData","attrs","altKey","keyInLowerCase","checkProp","hash","preserve","simpleNormalizeChildren","normalizeChildren","normalizeArrayChildren","isTextNode","nestedIndex","lastIndex","shift","_isVList","initProvide","_provided","initInjections","resolveInject","provideKey","provideDefault","resolveSlots","slots","slot","name$1","isWhitespace","normalizeScopedSlots","normalSlots","prevSlots","hasNormalSlots","isStable","$stable","$key","_normalized","$hasNormal","normalizeScopedSlot","key$2","proxyNormalSlot","proxy","renderList","iterator","next","done","renderSlot","fallback","bindObject","scopedSlotFn","$scopedSlots","nodes","$slots","$createElement","resolveFilter","isKeyNotMatch","expect","actual","checkKeyCodes","eventKeyCode","builtInKeyCode","eventKeyName","builtInKeyName","mappedKeyCode","bindObjectProps","asProp","isSync","loop","domProps","camelizedKey","hyphenatedKey","$event","renderStatic","isInFor","_staticTrees","staticRenderFns","markStatic","markOnce","markStaticNode","bindObjectListeners","existing","ours","resolveScopedSlots","hasDynamicKeys","contentHashKey","bindDynamicKeys","baseObj","values","prependModifier","symbol","installRenderHelpers","_o","_n","_s","_l","_t","_q","_i","_m","_f","_k","_b","_v","_e","_u","_g","_d","_p","FunctionalRenderContext","this$1","contextVm","_original","isCompiled","_compiled","needNormalization","listeners","injections","scopedSlots","_scopeId","_c","d","createElement","createFunctionalComponent","mergeProps","renderContext","cloneAndMarkFunctionalResult","vnodes","clone","devtoolsMeta","componentVNodeHooks","init","hydrating","_isDestroyed","keepAlive","mountedNode","prepatch","createComponentInstanceForVnode","activeInstance","$mount","oldVnode","updateChildComponent","insert","_isMounted","callHook","queueActivatedComponent","activateChildComponent","destroy","$destroy","deactivateChildComponent","hooksToMerge","createComponent","baseCtor","resolveAsyncComponent","createAsyncPlaceholder","resolveConstructorOptions","model","transformModel","functional","nativeOn","abstract","installComponentHooks","_isComponent","_parentVnode","inlineTemplate","toMerge","_merged","mergeHook$1","f1","f2","callback","SIMPLE_NORMALIZE","ALWAYS_NORMALIZE","normalizationType","alwaysNormalize","_createElement","is","$vnode","pre","applyNS","registerDeepBindings","force","style","class","initRender","_vnode","parentVnode","_renderChildren","parentData","isUpdatingChildComponent","_parentListeners","currentRenderingInstance","renderMixin","Vue","$nextTick","_render","ref","renderError","ensureCtor","comp","base","__esModule","toStringTag","factory","errorComp","resolved","owner","owners","loading","loadingComp","sync","timerLoading","timerTimeout","$on","forceRender","renderCompleted","$forceUpdate","clearTimeout","reject","reason","component","delay","timeout","getFirstComponentChild","initEvents","_events","_hasHookEvent","updateComponentListeners","remove$1","$off","_target","onceHandler","oldListeners","eventsMixin","hookRE","$once","i$1","cbs","$emit","lowerCaseEvent","setActiveInstance","prevActiveInstance","initLifecycle","$children","$refs","_watcher","_inactive","_directInactive","_isBeingDestroyed","lifecycleMixin","_update","prevEl","$el","prevVnode","restoreActiveInstance","__patch__","__vue__","teardown","_watchers","_data","mountComponent","template","updateComponent","_name","_uid","Watcher","before","renderChildren","newScopedSlots","oldScopedSlots","hasDynamicScopedSlot","needsForceUpdate","$attrs","$listeners","propKeys","_propKeys","isInInactiveTree","direct","j","MAX_UPDATE_COUNT","queue","activatedChildren","circular","waiting","flushing","resetSchedulerState","currentFlushTimestamp","getNow","now","createEvent","timeStamp","flushSchedulerQueue","watcher","run","user","expression","activatedQueue","updatedQueue","callActivatedHooks","callUpdatedHooks","emit","queueWatcher","uid$2","expOrFn","isRenderWatcher","deep","lazy","active","dirty","deps","newDeps","depIds","newDepIds","cleanupDeps","tmp","oldValue","evaluate","sharedPropertyDefinition","sourceKey","proxyGetter","proxySetter","initState","initProps","initMethods","initData","initComputed","initWatch","propsOptions","isRoot","getData","computedWatcherOptions","watchers","_computedWatchers","isSSR","userDef","defineComputed","shouldCache","createComputedGetter","createGetterInvoker","computedGetter","createWatcher","$watch","stateMixin","dataDef","propsDef","$set","$delete","immediate","unwatchFn","uid$3","initMixin","_init","initInternalComponent","_self","vnodeComponentOptions","super","superOptions","cachedSuperOptions","modifiedOptions","resolveModifiedOptions","extendOptions","modified","latest","sealed","sealedOptions","initUse","use","plugin","installedPlugins","_installedPlugins","unshift","install","initMixin$1","mixin","initExtend","Super","SuperId","cachedCtors","_Ctor","Sub","VueComponent","initProps$1","initComputed$1","Comp","initAssetRegisters","definition","getComponentName","matches","pattern","pruneCache","keepAliveInstance","filter","cachedNode","pruneCacheEntry","current","cached$$1","patternTypes","KeepAlive","include","exclude","created","destroyed","mounted","ref$1","parseInt","builtInComponents","initGlobalAPI","configDef","util","defineReactive","delete","observable","ssrContext","version","acceptValue","attr","isEnumeratedAttr","isValidContentEditableValue","convertEnumeratedValue","isFalsyAttrValue","isBooleanAttr","xlinkNS","isXlink","getXlinkProp","genClassForVnode","parentNode","childNode","mergeClassData","renderClass","staticClass","dynamicClass","stringifyClass","stringifyArray","stringifyObject","stringified","namespaceMap","svg","math","isHTMLTag","isSVG","isPreTag","unknownElementCache","HTMLUnknownElement","HTMLElement","isTextInputType","query","selected","querySelector","createElement$1","tagName","multiple","setAttribute","createElementNS","namespace","createComment","insertBefore","newNode","referenceNode","removeChild","appendChild","nextSibling","setTextContent","textContent","setStyleScope","scopeId","nodeOps","registerRef","isRemoval","refs","refInFor","emptyNode","sameVnode","sameInputType","typeA","typeB","createKeyToOldIdx","beginIdx","endIdx","createPatchFunction","backend","emptyNodeAt","createRmCb","childElm","removeNode","isUnknownElement$$1","inVPre","ignore","creatingElmInVPre","createElm","insertedVnodeQueue","parentElm","refElm","nested","ownerArray","setScope","createChildren","invokeCreateHooks","isReactivated","initComponent","reactivateComponent","pendingInsert","isPatchable","innerNode","transition","activate","ref$$1","checkDuplicateKeys","ancestor","addVnodes","startIdx","invokeDestroyHook","removeVnodes","ch","removeAndInvokeRemoveHook","rm","updateChildren","oldCh","newCh","removeOnly","oldStartIdx","newStartIdx","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","oldKeyToIdx","idxInOld","vnodeToMove","canMove","patchVnode","findIdxInOld","seenKeys","end","hydrate","postpatch","invokeInsertHook","initial","hydrationBailed","isRenderedModule","assertNodeMatch","hasChildNodes","innerHTML","childrenMatch","firstChild","childNodes","fullInvoke","nodeType","patch","isInitialPatch","isRealElement","hasAttribute","removeAttribute","oldElm","_leaveCb","patchable","i$2","updateDirectives","unbindDirectives","isCreate","isDestroy","oldDirs","normalizeDirectives$1","newDirs","dirsWithInsert","dirsWithPostpatch","oldDir","dir","callHook$1","oldArg","arg","componentUpdated","callInsert","emptyModifiers","modifiers","getRawDirName","rawName","baseModules","updateAttrs","inheritAttrs","oldAttrs","setAttr","removeAttributeNS","baseSetAttr","setAttributeNS","__ieph","blocker","stopImmediatePropagation","removeEventListener","updateClass","oldData","cls","transitionClass","_transitionClasses","_prevClass","klass","validDivisionCharRE","parseFilters","exp","inSingle","inDouble","inTemplateString","inRegex","curly","square","paren","lastFilterIndex","prev","filters","trim","pushFilter","wrapFilter","baseWarn","range","pluckModuleFunction","addProp","dynamic","rangeSetItem","plain","addAttr","dynamicAttrs","addRawAttr","attrsMap","attrsList","addDirective","isDynamicArg","prependModifierMarker","addHandler","important","prevent","right","middle","events","native","nativeEvents","newHandler","getRawBindingAttr","rawAttrsMap","getBindingAttr","getStatic","dynamicValue","getAndRemoveAttr","staticValue","removeFromMap","getAndRemoveAttrByRegex","genComponentModel","number","baseValueExpression","valueExpression","assignment","genAssignmentCode","parseModel","chr","index$1","expressionPos","expressionEndPos","lastIndexOf","eof","isStringStart","parseString","parseBracket","inBracket","stringQuote","warn$1","RANGE_TOKEN","CHECKBOX_RADIO_TOKEN","_warn","genSelect","genCheckboxModel","genRadioModel","genDefaultModel","valueBinding","trueValueBinding","falseValueBinding","selectedVal","code","value$1","typeBinding","binding","needCompositionGuard","normalizeEvents","change","target$1","createOnceHandler$1","remove$2","useMicrotaskFix","add$1","attachedTimestamp","_wrapper","currentTarget","ownerDocument","updateDOMListeners","svgContainer","updateDOMProps","oldProps","_value","strCur","shouldUpdateValue","checkVal","composing","isNotInFocusAndDirty","isDirtyWithModifiers","notInFocus","activeElement","_vModifiers","parseStyleText","cssText","listDelimiter","propertyDelimiter","normalizeStyleData","normalizeStyleBinding","staticStyle","bindingStyle","getStyle","checkChild","styleData","cssVarRE","importantRE","setProp","setProperty","normalizedName","normalize","vendorNames","emptyStyle","capName","updateStyle","oldStaticStyle","oldStyleBinding","normalizedStyle","oldStyle","newStyle","whitespaceRE","addClass","classList","getAttribute","removeClass","tar","resolveTransition","css","autoCssTransition","enterClass","enterToClass","enterActiveClass","leaveClass","leaveToClass","leaveActiveClass","hasTransition","TRANSITION","ANIMATION","transitionProp","transitionEndEvent","animationProp","animationEndEvent","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","raf","requestAnimationFrame","nextFrame","addTransitionClass","transitionClasses","removeTransitionClass","whenTransitionEnds","getTransitionInfo","propCount","ended","onEnd","transformRE","styles","getComputedStyle","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","hasTransform","delays","durations","toMs","s","enter","toggleDisplay","cancelled","_enterCb","appearClass","appearToClass","appearActiveClass","beforeEnter","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","duration","transitionNode","isAppear","startClass","activeClass","toClass","beforeEnterHook","enterHook","afterEnterHook","enterCancelledHook","explicitEnterDuration","checkDuration","expectsCSS","userWantsControl","getHookArgumentsLength","show","pendingNode","_pending","isValidDuration","leave","beforeLeave","afterLeave","leaveCancelled","delayLeave","explicitLeaveDuration","performLeave","invokerFns","_enter","platformModules","vmodel","trigger","directive","_vOptions","setSelected","getValue","onCompositionStart","onCompositionEnd","prevOptions","curOptions","o","needReset","hasNoMatchingOption","actuallySetSelected","isMultiple","option","selectedIndex","initEvent","dispatchEvent","locateNode","transition$$1","originalDisplay","__vOriginalDisplay","display","unbind","platformDirectives","transitionProps","mode","getRealChild","compOptions","extractTransitionData","placeholder","h","rawChild","hasParentTransition","isSameChild","oldChild","isNotTextNode","isVShowDirective","Transition","_leaving","oldRawChild","delayedLeave","moveClass","TransitionGroup","beforeMount","kept","prevChildren","rawChildren","transitionData","removed","c$1","pos","getBoundingClientRect","updated","hasMove","callPendingCbs","recordPosition","applyTranslation","_reflow","body","offsetHeight","moved","transform","WebkitTransform","transitionDuration","_moveCb","propertyName","_hasMove","cloneNode","newPos","oldPos","dx","left","dy","top","platformComponents","defaultTagRE","regexEscapeRE","buildRegex","delimiters","open","close","parseText","tagRE","tokens","rawTokens","tokenValue","exec","transformNode","classBinding","genData","klass$1","transformNode$1","styleBinding","genData$1","style$1","decoder","he","decode","html","isUnaryTag","canBeLeftOpenTag","isNonPhrasingTag","attribute","dynamicArgAttribute","ncname","qnameCapture","startTagOpen","startTagClose","doctype","comment","conditionalComment","isPlainTextElement","reCache","decodingMap","encodedAttr","encodedAttrWithNewLines","isIgnoreNewlineTag","shouldIgnoreFirstNewline","decodeAttr","shouldDecodeNewlines","re","parseHTML","stack","expectHTML","isUnaryTag$$1","canBeLeftOpenTag$$1","lastTag","textEnd","commentEnd","shouldKeepComment","substring","advance","conditionalEnd","doctypeMatch","endTagMatch","curIndex","parseEndTag","startTagMatch","parseStartTag","handleStartTag","rest","chars","endTagLength","stackedTag","reStackedTag","rest$1","all","unarySlash","unary","shouldDecodeNewlinesForHref","outputSourceRange","lowerCasedTag","lowerCasedTagName","onRE","dirRE","forAliasRE","forIteratorRE","stripParensRE","dynamicArgRE","argRE","bindRE","modifierRE","slotRE","lineBreakRE","whitespaceRE$1","invalidAttributeRE","decodeHTMLCached","emptySlotScopeToken","warn$2","transforms","preTransforms","postTransforms","platformIsPreTag","platformMustUseProp","platformGetTagNamespace","maybeComponent","createASTElement","makeAttrsMap","parse","preserveWhitespace","whitespaceOption","whitespace","root","currentParent","inPre","warned","warnOnce","closeElement","element","trimEndingWhitespace","processed","processElement","if","elseif","else","checkRootConstraints","addIfCondition","block","forbidden","processIfConditions","slotScope","slotTarget","lastNode","comments","start$1","guardIESVGBug","cumulated","isForbiddenTag","processPre","processRawAttrs","processFor","processIf","processOnce","end$1","isTextTag","processKey","processRef","processSlotContent","processSlotOutlet","processComponent","processAttrs","for","iterator2","iterator1","checkInFor","parseFor","inMatch","alias","iteratorMatch","findPrevElement","condition","ifConditions","slotTargetDynamic","slotBinding","getSlotName","slotBinding$1","dynamic$1","slotContainer","slotName","syncGen","isDynamic","hasBindings","parseModifiers","camel","argMatch","checkForAliasModel","ieNSBug","ieNSPrefix","_el","preTransformNode","ifCondition","ifConditionExtra","hasElse","elseIfCondition","branch0","cloneASTElement","branch1","branch2","model$1","modules$1","directives$1","baseOptions","isStaticKey","isPlatformReservedTag","genStaticKeysCached","genStaticKeys$1","optimize","markStatic$1","markStaticRoots","static","l$1","staticInFor","staticRoot","isDirectChildOfTemplateFor","fnExpRE","fnInvokeRE","simplePathRE","esc","tab","space","up","down","keyNames","genGuard","modifierCode","stop","self","ctrl","alt","meta","genHandlers","prefix","staticHandlers","dynamicHandlers","handlerCode","genHandler","isMethodPath","isFunctionExpression","isFunctionInvocation","genModifierCode","keyModifier","genKeyFilter","genFilterCode","keyVal","keyCode","keyName","wrapListeners","bind$1","wrapData","baseDirectives","cloak","CodegenState","dataGenFns","onceId","generate","ast","state","genElement","staticProcessed","genStatic","onceProcessed","genOnce","forProcessed","genFor","ifProcessed","genIf","genChildren","genSlot","genComponent","genData$2","originalPreState","altGen","altEmpty","genIfConditions","conditions","genTernaryExp","altHelper","genDirectives","genProps","genScopedSlots","genInlineTemplate","hasRuntime","needRuntime","gen","inlineRenderFns","containsSlotChild","needsKey","generatedSlots","genScopedSlot","isLegacySyntax","reverseProxy","checkSkip","altGenElement","altGenNode","el$1","normalizationType$1","getNormalizationType","genNode","needsNormalization","genComment","genText","transformSpecialNewlines","bind$$1","componentName","staticProps","dynamicProps","prohibitedKeywordRE","unaryOperatorsRE","stripStringRE","detectErrors","checkNode","checkFor","checkFunctionParameterExpression","checkEvent","checkExpression","stripped","keywordMatch","checkIdentifier","ident","generateCodeFrame","lines","count","repeat$1","lineLength","pad","length$1","min","createFunction","errors","createCompileToFunctionFn","compile","compileToFunctions","warn$$1","compiled","tips","fnGenErrors","createCompilerCreator","baseCompile","createCompiler","finalOptions","leadingSpaceLength","div","getShouldDecode","href","idToTemplate","mount","documentElement","getOuterHTML","outerHTML","container","combinePassengers","transports","slotProps","passengers","transport","temp","newPassengers","stableSort","array","compareFn","idx","pick","acc","targets","sources","Wormhole","trackInstances","order","Infinity","newTransport","currentIndex","$_getTransportIndex","newTransports","registerTarget","unregisterTarget","registerSource","unregisterSource","hasTarget","hasSource","hasContentFor","wormhole","_id","disabled","slim","round","random","sendUpdate","beforeDestroy","newValue","closer","normalizeSlots","normalizeOwnChildren","slotContent","Tag","firstRender","ownTransports","oldVal","noWrapper","portalProps","targetProps","append","bail","mountTo","targetSlim","targetSlotProps","targetTag","$props","portalTarget","mountEl","PortalTarget","manual","Portal","content","portalName","portalTargetName","MountingPortalName","MountingPortal","_defineProperty","_objectSpread","r","getOwnPropertySymbols","unfreeze","fragment","ssr","Fragment","SSR","Plugin","store","wptbAdminSettingsData","rawStore","withStore","revertStore","k","messageData","withMessageData","busy","intervalId","intervalTime","defaults","withMessage","isBusy","setMessage","mergedOptions","clearInterval","setInterval","setBusy","templateData","sectionData","isMergeableObject","isNonNullObject","isSpecial","stringValue","isReactElement","canUseSymbol","REACT_ELEMENT_TYPE","$$typeof","emptyTarget","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","getMergeFunction","customMerge","getEnumerableOwnPropertySymbols","propertyIsEnumerable","getKeys","propertyIsOnObject","object","propertyIsUnsafe","mergeObject","destination","arrayMerge","sourceIsArray","targetIsArray","sourceAndTargetTypesMatch","deepmergeAll","Error","deepmerge_1","module","exports","assignToGlobal","LazyLoadAnimation","speed","step","direction","perspective","flashColor","instanceOptions","styleId","bufferElementClass","bufferElementContainerClass","getOptions","calculateDuration","abs","calculateAnimationDirection","invert","xAxis","names","indexConstant","includes","calculateDirectionConstant","positiveConstant","getHook","userHook","hookName","cleanUp","getBufferElement","imgElement","removeBufferElement","bufferElement","addStylesheet","contentRoot","lazyloadStyleSheet","head","styleRules","beforeAnimation","animate","afterAnimation","LazyLoadAnimationFactory","getAnimation","animationName","extraOptions","factoryOptions","none","imageElement","slideIn","overflow","growSling","flash","flashElement","insertAdjacentElement","flashStyle","flip","parentWrapper","animationDirection","rotationAmount","dataset","wptbCardFlip","WPTB_LazyLoad","defaultOptions","forceMode","cachedScrollData","lastYPosition","allImages","animationFactory","isGoingDown","scrollY","animation","isElementVisible","currentYPos","height","bottom","visibilityPercentage","visibilityRangeTop","visibilityRangeBottom","visibilityVariable","addBufferElement","backgroundColor","iconSvg","svgIcon","iconWrapper","width","iconSize","wptbLazyLoadIconAnimation","iconAnimation","fill","iconColor","imageElementLoadCallback","processIndividualImageElement","delayCallback","wptbLazyLoadStatus","wptbLazyLoadTarget","updateLastScrollY","position","processImageElements","imgElements","firstTimeProcess","forceLoad","img","windowCurrentYPosition","innerHeight","getAllTableImages","allTables","carry","tableElement","images","querySelectorAll","assignLazyLoadToElements","tables","shadowTables","shadowRootContainer","table","shadowRoot","forceLoadImages","initOptions","enabled","imageLoadAnimation","imageLoadAnimationSpeed","imageLoadAnimationDirection","imageLoadAnimationPerspective","PanelControlBase","label","dependsValue","dependsCallback","innerValue","setInnerValue","settings","generalDisabledStatus","generateUniqueId","variables","getMainBuilderTable","strings","frontendData","withStrings","PortalVue","SettingsApp","sectionsData","pluginInfo","mountId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;;AACA;AAEA,IAAIA,WAAW,GAAGC,MAAM,CAACC,MAAP,CAAc,EAAd,CAAlB,EAEA;AACA;;AACA,SAASC,OAAT,CAAkBC,CAAlB,EAAqB;AACnB,SAAOA,CAAC,KAAKC,SAAN,IAAmBD,CAAC,KAAK,IAAhC;AACD;;AAED,SAASE,KAAT,CAAgBF,CAAhB,EAAmB;AACjB,SAAOA,CAAC,KAAKC,SAAN,IAAmBD,CAAC,KAAK,IAAhC;AACD;;AAED,SAASG,MAAT,CAAiBH,CAAjB,EAAoB;AAClB,SAAOA,CAAC,KAAK,IAAb;AACD;;AAED,SAASI,OAAT,CAAkBJ,CAAlB,EAAqB;AACnB,SAAOA,CAAC,KAAK,KAAb;AACD;AAED;AACA;AACA;;;AACA,SAASK,WAAT,CAAsBC,KAAtB,EAA6B;AAC3B,SACE,OAAOA,KAAP,KAAiB,QAAjB,IACA,OAA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA
|
|